1130561Sobrien. ${srcdir}/emulparams/elf32bmipn32-defs.sh
2130561SobrienOUTPUT_FORMAT="elf32-nbigmips"
3130561SobrienBIG_OUTPUT_FORMAT="elf32-nbigmips"
4130561SobrienLITTLE_OUTPUT_FORMAT="elf32-nlittlemips"
5130561SobrienSHLIB_TEXT_START_ADDR=0x5ffe0000
6218822SdimCOMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
7130561Sobrien
8130561Sobrien# IRIX6 defines these symbols.  0x34 is the size of the ELF header.
9130561SobrienEXECUTABLE_SYMBOLS="
10130561Sobrien  __dso_displacement = 0;
11130561Sobrien  __elf_header = ${TEXT_START_ADDR};
12130561Sobrien  __program_header_table = ${TEXT_START_ADDR} + 0x34;
13130561Sobrien"
14130561Sobrien
15130561Sobrien# There are often dynamic relocations against the .rodata section.
16130561Sobrien# Setting DT_TEXTREL in the .dynamic section does not convince the
17130561Sobrien# IRIX6 linker to permit relocations against the text segment.
18130561Sobrien# Following the IRIX linker, we simply put .rodata in the data
19130561Sobrien# segment.
20130561SobrienWRITABLE_RODATA=
21130561Sobrien
22130561SobrienEXTRA_EM_FILE=irix
23