diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-01-26 06:10:45 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2005-01-26 06:10:45 +0000 |
commit | dc4c9c199b288656a976b6262d56b92b993f51a8 (patch) | |
tree | cf9721de9d5b4f590b3576926e8507bd3937fbd9 /ld/emulparams | |
parent | fb7c96323e5ba5d095ccf8e21505e7852d630245 (diff) | |
download | gdb-dc4c9c199b288656a976b6262d56b92b993f51a8.zip gdb-dc4c9c199b288656a976b6262d56b92b993f51a8.tar.gz gdb-dc4c9c199b288656a976b6262d56b92b993f51a8.tar.bz2 |
* elf32-arm.c (elf_backend_default_use_rela_p): Define to zero for
SymbianOS.
* emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so
as to include .ARM.exidx$${Base,Limit}.
* ld/scripttempl/armbpabi.sc: Move .plt to end of text segment.
Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}.
Put .init_array, .fini_array, etc. into the read-only data
segment.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/armsymbian.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/emulparams/armsymbian.sh b/ld/emulparams/armsymbian.sh index a5c3eb5..a52d05b 100644 --- a/ld/emulparams/armsymbian.sh +++ b/ld/emulparams/armsymbian.sh @@ -9,6 +9,16 @@ TARGET2_TYPE=abs # On BPABI systems, program headers should not be mapped. EMBEDDED=yes +# As for armelf.sh, but add the SymbianOS-specific +# .ARM.exidx$${Base,Limit} symbols. +OTHER_READONLY_SECTIONS=" + .ARM.extab ${RELOCATING-0} : { *(.ARM.extab${RELOCATING+* .gnu.linkonce.armextab.*}) } + ${RELOCATING+ .ARM.exidx\$\$Base = . ; } + ${RELOCATING+ __exidx_start = .; } + .ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) } + ${RELOCATING+ __exidx_end = .; } + ${RELOCATING+ .ARM.exidx\$\$Limit = . ; }" + # This value should match ELF_MAXPAGESIZE in BFD. Otherwise, elf.c # will not place read-write sections in a separate ELF segment from # the read-only sections. |