From 42d106a81f9c2feb78bd1ffdddfecaeefba8c220 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 16 Sep 1999 17:02:14 +0000 Subject: [PATCH] * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Define. --- ld/ChangeLog | 4 ++++ ld/emulparams/elf64hppa.sh | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 631d414..30fb019 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +Thu Sep 16 10:59:56 1999 Jeffrey A Law (law@cygnus.com) + + * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Define. + Wed Sep 15 02:47:43 1999 Jeffrey A Law (law@cygnus.com) * emulparms/elf64hppa.sh (SHLIB_TEXT_START_ADDR): Define. diff --git a/ld/emulparams/elf64hppa.sh b/ld/emulparams/elf64hppa.sh index b39274f..1815b91 100755 --- a/ld/emulparams/elf64hppa.sh +++ b/ld/emulparams/elf64hppa.sh @@ -34,6 +34,15 @@ OTHER_BSS_SECTIONS='.hbss : { *(.hbss) } .tbss : { *(.tbss) } __TLS_SIZE = SIZEO # HPs use .dlt where systems use .got. Sigh. OTHER_GOT_RELOC_SECTIONS='.rela.dlt : { *(.rela.dlt) }' +# This does not have to be strictly the bottom of the text segment since +# it is merely for performing relocations relative to a symbol that is not +# going to be referenced in any other manner. +# +# If it was the true base of the text segment, then we could use it for +# building unwinders instead of computing the base of the text segment +# in the BFD backend. +TEXT_START_SYMBOLS='__text_dummy = . ;' + # The linker is required to define these two symbols. EXECUTABLE_SYMBOLS='__SYSTEM_ID = 0x214; _FPU_STATUS = 0x0;' DATA_PLT= -- 2.7.4