diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-09-20 18:41:27 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-09-20 18:41:27 +0000 |
commit | f1781adcf37819bbb7b45a43ae0a0da638f8da15 (patch) | |
tree | 09b4250e41d7074915019e61085b4cad62b0dd1a /ld/emulparams | |
parent | 602d41e523e7f1ee427c34740cb2d5996bf7a0d4 (diff) | |
download | gdb-f1781adcf37819bbb7b45a43ae0a0da638f8da15.zip gdb-f1781adcf37819bbb7b45a43ae0a0da638f8da15.tar.gz gdb-f1781adcf37819bbb7b45a43ae0a0da638f8da15.tar.bz2 |
* configure.in (mips*el-elf*): New target.
* config/mipsl-elf32.mt: New file.
* emulparams/elf32mipl.sh: New file.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/.Sanitize | 1 | ||||
-rw-r--r-- | ld/emulparams/elf32mipl.sh | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize index 4d703ec..7502992 100644 --- a/ld/emulparams/.Sanitize +++ b/ld/emulparams/.Sanitize @@ -32,6 +32,7 @@ ebmon29k.sh elf32_sparc.sh elf64_sparc.sh elf32mipb.sh +elf32mipl.sh elf32ppc.sh elf_i386.sh gld960.sh diff --git a/ld/emulparams/elf32mipl.sh b/ld/emulparams/elf32mipl.sh new file mode 100644 index 0000000..4a710dc --- /dev/null +++ b/ld/emulparams/elf32mipl.sh @@ -0,0 +1,24 @@ +SCRIPT_NAME=elf +OUTPUT_FORMAT="elf32-littlemips" +TEXT_START_ADDR=0x0400000 +DATA_ADDR=0x10000000 +MAXPAGESIZE=0x40000 +NONPAGED_TEXT_START_ADDR=0x0400000 +OTHER_READONLY_SECTIONS='.reginfo : { *(.reginfo) }' +OTHER_READWRITE_SECTIONS=' + _gp = . + 0x8000; + .lit8 : { *(.lit8) } + .lit4 : { *(.lit4) } +' +TEXT_START_SYMBOLS='_ftext = . ;' +DATA_START_SYMBOLS='_fdata = . ;' +OTHER_BSS_SYMBOLS='_fbss = .;' +EXECUTABLE_SYMBOLS='_DYNAMIC_LINK = 0;' +OTHER_SECTIONS=' + .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) } + .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) } +' +ARCH=mips +TEMPLATE_NAME=elf32 +GENERATE_SHLIB_SCRIPT=yes +DYNAMIC_LINK=false |