* emulparms/elf64hppa.sh (SHLIB_TEXT_START_ADDR): Define.
authorJeff Law <law@redhat.com>
Thu, 16 Sep 1999 06:23:28 +0000 (06:23 +0000)
committerJeff Law <law@redhat.com>
Thu, 16 Sep 1999 06:23:28 +0000 (06:23 +0000)
        (SHLIB_DATA_ADDR): Likewise.

        * emulparms/elf64hppa.sh (TEXT_DYNAMIC): Define.

ld/ChangeLog
ld/emulparams/elf64hppa.sh

index c5e87f9318d559b7173dd5425503e4483eb52db9..631d4144c35d0ee5d88498f8bdb952589b296ef0 100644 (file)
@@ -1,5 +1,10 @@
 Wed Sep 15 02:47:43 1999  Jeffrey A Law  (law@cygnus.com)
 
+       * emulparms/elf64hppa.sh (SHLIB_TEXT_START_ADDR): Define.
+       (SHLIB_DATA_ADDR): Likewise.
+
+       * emulparms/elf64hppa.sh (TEXT_DYNAMIC): Define.
+
        * emulparms/elf64hppa.h (OTHER_READWRITE_SECTIONS):  No longer combine
        the .plt, .dlt, .opd  into a single output section.  Provide values
        for __gp and __hp_load_map.
index e404e29bf2a02fa3d8a23a5eb0279bcec97f987e..b39274f9607364557dd2afab1ed929169ea4430a 100755 (executable)
@@ -4,6 +4,13 @@ OUTPUT_FORMAT="elf64-hppa"
 LIB_PATH=/usr/lib/pa20_64:/opt/langtools/lib/pa20_64
 TEXT_START_ADDR=0x4000000000001000
 DATA_ADDR=0x8000000000001000
+
+# The HP dynamic linker actually requires you set the start of text and
+# data to some reasonable value.  Of course nobody knows what reasoanble
+# really is, so we just use the same values that HP's linker uses.
+SHLIB_TEXT_START_ADDR=0x4000000000001000
+SHLIB_DATA_ADDR=0x8000000000001000
+
 TARGET_PAGE_SIZE=4096
 MAXPAGESIZE=4096
 ARCH=hppa
@@ -31,6 +38,9 @@ OTHER_GOT_RELOC_SECTIONS='.rela.dlt : { *(.rela.dlt) }'
 EXECUTABLE_SYMBOLS='__SYSTEM_ID = 0x214; _FPU_STATUS = 0x0;'
 DATA_PLT=
 
+# .dynamic should be at the start of the .text segment.
+TEXT_DYNAMIC=
+
 # The PA64 ELF port needs two additional initializer sections and also wants
 # a start/end symbol pair for the .init and .fini sections.
 INIT_START='KEEP (*(.HP.init)); __preinit_start = .; KEEP (*(.preinit)); __preinit_end = .;__init_start = .;'