* ld/scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array,

.rel.fini_array.
	(.rela.dyn): Add .rela.init_array, .rela.fini_array.
	(SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs.
This commit is contained in:
Julian Brown 2005-03-18 16:55:44 +00:00
parent 58450b3bbc
commit 2a2a7c9466
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2005-03-18 Julian Brown <julian@codesourcery.com>
* scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array,
.rel.fini_array.
(.rela.dyn): Add .rela.init_array, .rela.fini_array.
(SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs.
2005-03-18 H.J. Lu <hongjiu.lu@intel.com> 2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set

View File

@ -392,6 +392,10 @@ eval $COMBRELOCCAT <<EOF
${REL_SBSS2} ${REL_SBSS2}
.rel.bss 0 : { *(.rel.bss${RELOCATING+ .rel.bss.* .rel.gnu.linkonce.b.*}) } .rel.bss 0 : { *(.rel.bss${RELOCATING+ .rel.bss.* .rel.gnu.linkonce.b.*}) }
.rela.bss 0 : { *(.rela.bss${RELOCATING+ .rela.bss.* .rela.gnu.linkonce.b.*}) } .rela.bss 0 : { *(.rela.bss${RELOCATING+ .rela.bss.* .rela.gnu.linkonce.b.*}) }
.rel.init_array 0 : { *(.rel.init_array) }
.rela.init_array 0 : { *(.rela.init_array) }
.rel.fini_array 0 : { *(.rel.fini_array) }
.rela.fini_array 0 : { *(.rela.fini_array) }
EOF EOF
if [ -n "$COMBRELOC" ]; then if [ -n "$COMBRELOC" ]; then
cat <<EOF cat <<EOF
@ -413,5 +417,8 @@ cat <<EOF
.rel.plt 0 : { *(.rel.plt) } .rel.plt 0 : { *(.rel.plt) }
.rela.plt 0 : { *(.rela.plt) } .rela.plt 0 : { *(.rela.plt) }
${OTHER_PLT_RELOC_SECTIONS} ${OTHER_PLT_RELOC_SECTIONS}
.rel.other 0 : { *(.rel.*) }
.rela.other 0 : { *(.rela.*) }
.reli.other 0 : { *(.reli.*) }
} }
EOF EOF