| OLD | NEW |
| 1 # | 1 # |
| 2 # Unusual variables checked by this code: | 2 # Unusual variables checked by this code: |
| 3 # NOP - four byte opcode for no-op (defaults to 0) | 3 # NOP - four byte opcode for no-op (defaults to 0) |
| 4 # NO_SMALL_DATA - no .sbss/.sbss2/.sdata/.sdata2 sections if not | 4 # NO_SMALL_DATA - no .sbss/.sbss2/.sdata/.sdata2 sections if not |
| 5 # empty. | 5 # empty. |
| 6 # SMALL_DATA_CTOR - .ctors contains small data. | 6 # SMALL_DATA_CTOR - .ctors contains small data. |
| 7 # SMALL_DATA_DTOR - .dtors contains small data. | 7 # SMALL_DATA_DTOR - .dtors contains small data. |
| 8 # DATA_ADDR - if end-of-text-plus-one-page isn't right for data start | 8 # DATA_ADDR - if end-of-text-plus-one-page isn't right for data start |
| 9 # INITIAL_READONLY_SECTIONS - at start of text segment | 9 # INITIAL_READONLY_SECTIONS - at start of text segment |
| 10 # OTHER_READONLY_SECTIONS - other than .text .init .rodata ... | 10 # OTHER_READONLY_SECTIONS - other than .text .init .rodata ... |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 .gnu.version_d ${RELOCATING-0}: { *(.gnu.version_d) } | 304 .gnu.version_d ${RELOCATING-0}: { *(.gnu.version_d) } |
| 305 .gnu.version_r ${RELOCATING-0}: { *(.gnu.version_r) } | 305 .gnu.version_r ${RELOCATING-0}: { *(.gnu.version_r) } |
| 306 EOF | 306 EOF |
| 307 | 307 |
| 308 if [ "x$COMBRELOC" = x ]; then | 308 if [ "x$COMBRELOC" = x ]; then |
| 309 COMBRELOCCAT="cat >> ldscripts/dyntmp.$$" | 309 COMBRELOCCAT="cat >> ldscripts/dyntmp.$$" |
| 310 else | 310 else |
| 311 COMBRELOCCAT="cat > $COMBRELOC" | 311 COMBRELOCCAT="cat > $COMBRELOC" |
| 312 fi | 312 fi |
| 313 eval $COMBRELOCCAT <<EOF | 313 eval $COMBRELOCCAT <<EOF |
| 314 ${INITIAL_RELOC_SECTIONS} |
| 314 .rel.init ${RELOCATING-0} : { *(.rel.init) } | 315 .rel.init ${RELOCATING-0} : { *(.rel.init) } |
| 315 .rela.init ${RELOCATING-0} : { *(.rela.init) } | 316 .rela.init ${RELOCATING-0} : { *(.rela.init) } |
| 316 .rel.text ${RELOCATING-0} : { *(.rel.text${RELOCATING+ .rel.text.* .rel.gn
u.linkonce.t.*}) } | 317 .rel.text ${RELOCATING-0} : { *(.rel.text${RELOCATING+ .rel.text.* .rel.gn
u.linkonce.t.*}) } |
| 317 .rela.text ${RELOCATING-0} : { *(.rela.text${RELOCATING+ .rela.text.* .rela
.gnu.linkonce.t.*}) } | 318 .rela.text ${RELOCATING-0} : { *(.rela.text${RELOCATING+ .rela.text.* .rela
.gnu.linkonce.t.*}) } |
| 318 .rel.fini ${RELOCATING-0} : { *(.rel.fini) } | 319 .rel.fini ${RELOCATING-0} : { *(.rel.fini) } |
| 319 .rela.fini ${RELOCATING-0} : { *(.rela.fini) } | 320 .rela.fini ${RELOCATING-0} : { *(.rela.fini) } |
| 320 .rel.rodata ${RELOCATING-0} : { *(.rel.rodata${RELOCATING+ .rel.rodata.* .re
l.gnu.linkonce.r.*}) } | 321 .rel.rodata ${RELOCATING-0} : { *(.rel.rodata${RELOCATING+ .rel.rodata.* .re
l.gnu.linkonce.r.*}) } |
| 321 .rela.rodata ${RELOCATING-0} : { *(.rela.rodata${RELOCATING+ .rela.rodata.* .
rela.gnu.linkonce.r.*}) } | 322 .rela.rodata ${RELOCATING-0} : { *(.rela.rodata${RELOCATING+ .rela.rodata.* .
rela.gnu.linkonce.r.*}) } |
| 322 ${OTHER_READONLY_RELOC_SECTIONS} | 323 ${OTHER_READONLY_RELOC_SECTIONS} |
| 323 .rel.data.rel.ro ${RELOCATING-0} : { *(.rel.data.rel.ro${RELOCATING+* .rel.gnu
.linkonce.d.rel.ro.*}) } | 324 .rel.data.rel.ro ${RELOCATING-0} : { *(.rel.data.rel.ro${RELOCATING+* .rel.gnu
.linkonce.d.rel.ro.*}) } |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 ${TINY_DATA_SECTION} | 592 ${TINY_DATA_SECTION} |
| 592 ${TINY_BSS_SECTION} | 593 ${TINY_BSS_SECTION} |
| 593 | 594 |
| 594 ${STACK_ADDR+${STACK}} | 595 ${STACK_ADDR+${STACK}} |
| 595 ${ATTRS_SECTIONS} | 596 ${ATTRS_SECTIONS} |
| 596 ${OTHER_SECTIONS} | 597 ${OTHER_SECTIONS} |
| 597 ${RELOCATING+${OTHER_SYMBOLS}} | 598 ${RELOCATING+${OTHER_SYMBOLS}} |
| 598 ${RELOCATING+${DISCARDED}} | 599 ${RELOCATING+${DISCARDED}} |
| 599 } | 600 } |
| 600 EOF | 601 EOF |
| OLD | NEW |