* linker.c (fix_syms): Consider SEC_LOAD when choosing section.
[binutils.git] / ld / emulparams / elf32bmipn32.sh
blobc26b6b3dcb2ea4369839a83b223f7ab0e99c72a6
1 . ${srcdir}/emulparams/elf32bmipn32-defs.sh
2 OUTPUT_FORMAT="elf32-nbigmips"
3 BIG_OUTPUT_FORMAT="elf32-nbigmips"
4 LITTLE_OUTPUT_FORMAT="elf32-nlittlemips"
5 SHLIB_TEXT_START_ADDR=0x5ffe0000
6 COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
8 # IRIX6 defines these symbols. 0x34 is the size of the ELF header.
9 EXECUTABLE_SYMBOLS="
10 __dso_displacement = 0;
11 __elf_header = ${TEXT_START_ADDR};
12 __program_header_table = ${TEXT_START_ADDR} + 0x34;
15 # There are often dynamic relocations against the .rodata section.
16 # Setting DT_TEXTREL in the .dynamic section does not convince the
17 # IRIX6 linker to permit relocations against the text segment.
18 # Following the IRIX linker, we simply put .rodata in the data
19 # segment.
20 WRITABLE_RODATA=
22 EXTRA_EM_FILE=irix