[BACK]Return to elf32bmipn32.sh CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / external / gpl3 / binutils.old / dist / ld / emulparams

File: [cvs.NetBSD.org] / src / external / gpl3 / binutils.old / dist / ld / emulparams / elf32bmipn32.sh (download)

Revision 1.6, Fri Apr 3 17:51:14 2020 UTC (4 years ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.5: +5 -3 lines

Resolve conflicts

. ${srcdir}/emulparams/elf32bmipn32-defs.sh
OUTPUT_FORMAT="elf32-nbigmips"
BIG_OUTPUT_FORMAT="elf32-nbigmips"
LITTLE_OUTPUT_FORMAT="elf32-nlittlemips"
SHLIB_TEXT_START_ADDR=0x5ffe0000
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"

# IRIX6 defines these symbols.  0x34 is the size of the ELF header.
OTHER_SYMBOLS="
  __dso_displacement = 0;
  ${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.
# Setting DT_TEXTREL in the .dynamic section does not convince the
# IRIX6 linker to permit relocations against the text segment.
# Following the IRIX linker, we simply put .rodata in the data
# segment.
WRITABLE_RODATA=

EXTRA_EM_FILE=irix