1218822Sdim. ${srcdir}/emulparams/elf64bmip-defs.sh
2130561SobrienOUTPUT_FORMAT="elf64-bigmips"
3130561SobrienBIG_OUTPUT_FORMAT="elf64-bigmips"
4130561SobrienLITTLE_OUTPUT_FORMAT="elf64-littlemips"
5130561SobrienSHLIB_TEXT_START_ADDR=0x3ffffe0000
6130561Sobrien
7130561Sobrien# IRIX6 defines these symbols.  0x40 is the size of the ELF header.
8130561SobrienEXECUTABLE_SYMBOLS="
9130561Sobrien  __dso_displacement = 0;
10130561Sobrien  ${CREATE_SHLIB-${CREATE_PIE-__elf_header = ${TEXT_START_ADDR};}}
11130561Sobrien  ${CREATE_SHLIB+__elf_header = ${SHLIB_TEXT_START_ADDR};}
12130561Sobrien  ${CREATE_PIE+__elf_header = ${SHLIB_TEXT_START_ADDR};}
13130561Sobrien  __program_header_table = __elf_header + 0x40;
14130561Sobrien"
15130561Sobrien
16130561Sobrien# There are often dynamic relocations against the .rodata section.
17130561Sobrien# Setting DT_TEXTREL in the .dynamic section does not convince the
18130561Sobrien# IRIX6 linker to permit relocations against the text segment.
19130561Sobrien# Following the IRIX linker, we simply put .rodata in the data
20130561Sobrien# segment.
21130561SobrienWRITABLE_RODATA=
22130561Sobrien
23130561SobrienEXTRA_EM_FILE=irix
24