+2018-06-07 Alan Modra <amodra@gmail.com>
+
+ * emulparams/elf64bmip.sh (EXECUTABLE_SYMBOLS): Don't define.
+ (OTHER_SYMBOLS): Define this instead.
+ * emulparams/elf32bmipn32.sh (EXECUTABLE_SYMBOLS): Don't define.
+ (OTHER_SYMBOLS): Define similarly to elf64bmip.sh.
+ * emulparams/elf64hppa.sh (EXECUTABLE_SYMBOLS): Don't define.
+ (OTHER_SYMBOLS): Define instead.
+
2018-06-07 Alan Modra <amodra@gmail.com>
* emulparams/elf32_tic6x_le.sh (EXECUTABLE_SYMBOLS): Don't define.
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
# IRIX6 defines these symbols. 0x34 is the size of the ELF header.
-EXECUTABLE_SYMBOLS="
+OTHER_SYMBOLS="
__dso_displacement = 0;
- __elf_header = ${TEXT_START_ADDR};
- __program_header_table = ${TEXT_START_ADDR} + 0x34;
+ ${CREATE_SHLIB-${CREATE_PIE-__elf_header = ${TEXT_START_ADDR};}}
+ ${CREATE_SHLIB+__elf_header = ${SHLIB_TEXT_START_ADDR};}
+ ${CREATE_PIE+__elf_header = ${SHLIB_TEXT_START_ADDR};}
+ __program_header_table = __elf_header + 0x34;
"
# There are often dynamic relocations against the .rodata section.
SHLIB_TEXT_START_ADDR=0x3ffffe0000
# IRIX6 defines these symbols. 0x40 is the size of the ELF header.
-EXECUTABLE_SYMBOLS="
+OTHER_SYMBOLS="
__dso_displacement = 0;
${CREATE_SHLIB-${CREATE_PIE-__elf_header = ${TEXT_START_ADDR};}}
${CREATE_SHLIB+__elf_header = ${SHLIB_TEXT_START_ADDR};}
TEXT_DYNAMIC=
# The linker is required to define these two symbols.
-EXECUTABLE_SYMBOLS='PROVIDE (__SYSTEM_ID = 0x214); PROVIDE (_FPU_STATUS = 0x0);'
+OTHER_SYMBOLS='PROVIDE (__SYSTEM_ID = 0x214); PROVIDE (_FPU_STATUS = 0x0);'
# 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)); PROVIDE (__preinit_start = .); KEEP (*(.preinit)); PROVIDE (__preinit_end = .); PROVIDE (__init_start = .);'