fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / binutils / ld / emulparams / elf64bmip.sh
bloba4ce6d49519e6410e63f106c58b85071d569f50f
1 . ${srcdir}/emulparams/elf32bmipn32-defs.sh
2 OUTPUT_FORMAT="elf64-bigmips"
3 BIG_OUTPUT_FORMAT="elf64-bigmips"
4 LITTLE_OUTPUT_FORMAT="elf64-littlemips"
5 SHLIB_TEXT_START_ADDR=0x3ffffe0000
7 # IRIX6 defines these symbols. 0x40 is the size of the ELF header.
8 EXECUTABLE_SYMBOLS="
9 __dso_displacement = 0;
10 ${CREATE_SHLIB-${CREATE_PIE-__elf_header = ${TEXT_START_ADDR};}}
11 ${CREATE_SHLIB+__elf_header = ${SHLIB_TEXT_START_ADDR};}
12 ${CREATE_PIE+__elf_header = ${SHLIB_TEXT_START_ADDR};}
13 __program_header_table = __elf_header + 0x40;
16 # There are often dynamic relocations against the .rodata section.
17 # Setting DT_TEXTREL in the .dynamic section does not convince the
18 # IRIX6 linker to permit relocations against the text segment.
19 # Following the IRIX linker, we simply put .rodata in the data
20 # segment.
21 WRITABLE_RODATA=
23 EXTRA_EM_FILE=irix