Deleted Added
full compact
ldscript.i386 (331689) ldscript.i386 (344213)
1/* $FreeBSD: stable/11/sys/conf/ldscript.i386 331689 2018-03-28 16:58:24Z emaste $ */
1/* $FreeBSD: stable/11/sys/conf/ldscript.i386 344213 2019-02-16 15:57:29Z dim $ */
2OUTPUT_FORMAT("elf32-i386-freebsd", "elf32-i386-freebsd", "elf32-i386-freebsd")
3OUTPUT_ARCH(i386)
4ENTRY(btext)
5SEARCH_DIR(/usr/lib);
6SECTIONS
7{
8 /* Read-only sections, merged into text segment: */
9 . = kernbase + kernload + SIZEOF_HEADERS;

--- 125 unchanged lines hidden (view full) ---

135 .got.plt : { *(.got.plt) }
136 .data :
137 {
138 *(.data .data.* .gnu.linkonce.d.*)
139 KEEP (*(.gnu.linkonce.d.*personality*))
140 }
141 .data1 : { *(.data1) }
142 _edata = .; PROVIDE (edata = .);
2OUTPUT_FORMAT("elf32-i386-freebsd", "elf32-i386-freebsd", "elf32-i386-freebsd")
3OUTPUT_ARCH(i386)
4ENTRY(btext)
5SEARCH_DIR(/usr/lib);
6SECTIONS
7{
8 /* Read-only sections, merged into text segment: */
9 . = kernbase + kernload + SIZEOF_HEADERS;

--- 125 unchanged lines hidden (view full) ---

135 .got.plt : { *(.got.plt) }
136 .data :
137 {
138 *(.data .data.* .gnu.linkonce.d.*)
139 KEEP (*(.gnu.linkonce.d.*personality*))
140 }
141 .data1 : { *(.data1) }
142 _edata = .; PROVIDE (edata = .);
143 __bss_start = .;
144 .bss :
145 {
143 .bss :
144 {
145 __bss_start = .;
146 *(.dynbss)
147 *(.bss .bss.* .gnu.linkonce.b.*)
148 *(COMMON)
149 /* Align here to ensure that the .bss section occupies space up to
150 _end. Align after .bss to ensure correct alignment even if the
151 .bss section disappears because there are no input sections.
152 FIXME: Why do we need it? When there is no .bss section, we don't
153 pad the .data section. */
154 . = ALIGN(. != 0 ? 32 / 8 : 1);
146 *(.dynbss)
147 *(.bss .bss.* .gnu.linkonce.b.*)
148 *(COMMON)
149 /* Align here to ensure that the .bss section occupies space up to
150 _end. Align after .bss to ensure correct alignment even if the
151 .bss section disappears because there are no input sections.
152 FIXME: Why do we need it? When there is no .bss section, we don't
153 pad the .data section. */
154 . = ALIGN(. != 0 ? 32 / 8 : 1);
155 __bss_end = .;
155 }
156 . = ALIGN(32 / 8);
157 . = ALIGN(32 / 8);
158 _end = .; PROVIDE (end = .);
159 . = DATA_SEGMENT_END (.);
160 /* Stabs debugging sections. */
161 .stab 0 : { *(.stab) }
162 .stabstr 0 : { *(.stabstr) }

--- 36 unchanged lines hidden ---
156 }
157 . = ALIGN(32 / 8);
158 . = ALIGN(32 / 8);
159 _end = .; PROVIDE (end = .);
160 . = DATA_SEGMENT_END (.);
161 /* Stabs debugging sections. */
162 .stab 0 : { *(.stab) }
163 .stabstr 0 : { *(.stabstr) }

--- 36 unchanged lines hidden ---