Add a testcase for PR ld/24008
[deliverable/binutils-gdb.git] / ld / emulparams / elf32mipswindiss.sh
index 4f1148b951888eb5eb15bbaf9136c5973dee61db..b8bb87edebead4033d34d05013600a71605f9a51 100644 (file)
@@ -1,4 +1,5 @@
 TEMPLATE_NAME=elf32
+EXTRA_EM_FILE=mipself
 SCRIPT_NAME=elf
 OUTPUT_FORMAT="elf32-bigmips"
 BIG_OUTPUT_FORMAT="elf32-bigmips"
@@ -12,7 +13,7 @@ MAXPAGESIZE=0x40000
 # the Diab linker.
 TEXT_START_ADDR=0x100000
 DATA_START_SYMBOLS='__DATA_ROM = .; __DATA_RAM = .;'
-SDATA_START_SYMBOLS='_SDA_BASE_ = .; _gp = . + 0x7ff0;'
+SDATA_START_SYMBOLS='_SDA_BASE_ = .; HIDDEN (_gp = . + 0x7ff0);'
 SDATA2_START_SYMBOLS='_SDA2_BASE_ = .;'
 EXECUTABLE_SYMBOLS='__HEAP_START = .; __SP_INIT = 0x800000; __SP_END = __SP_INIT - 0x20000; __HEAP_END = __SP_END; __DATA_END = _edata; __BSS_START = __bss_start; __BSS_END = _end; __HEAP_START = _end;'
 
This page took 0.06534 seconds and 4 git commands to generate.