diff options
author | Kaz Kojima <kkojima@rr.iij4u.or.jp> | 2008-01-15 23:05:46 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@rr.iij4u.or.jp> | 2008-01-15 23:05:46 +0000 |
commit | 58da7b1b61de1ecfbcae3bf0050e8bb65d3ff547 (patch) | |
tree | 1fdfa3baa33824747b071fac0aa6e1717cd1c8d9 /ld/emulparams | |
parent | 38147fd4142e9c721f55da0ffe309ab9534d72fa (diff) | |
download | gdb-58da7b1b61de1ecfbcae3bf0050e8bb65d3ff547.zip gdb-58da7b1b61de1ecfbcae3bf0050e8bb65d3ff547.tar.gz gdb-58da7b1b61de1ecfbcae3bf0050e8bb65d3ff547.tar.bz2 |
* emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
with __data_start.
* emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/shelf_nbsd.sh | 2 | ||||
-rw-r--r-- | ld/emulparams/shlelf_linux.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ld/emulparams/shelf_nbsd.sh b/ld/emulparams/shelf_nbsd.sh index ad295e9..9d331c6 100644 --- a/ld/emulparams/shelf_nbsd.sh +++ b/ld/emulparams/shelf_nbsd.sh @@ -7,7 +7,7 @@ OUTPUT_FORMAT="elf32-sh-nbsd" TEXT_START_ADDR=0x400000 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" -DATA_START_SYMBOLS='__data_start = . ;'; +DATA_START_SYMBOLS='PROVIDE (__data_start = .);'; ENTRY=_start diff --git a/ld/emulparams/shlelf_linux.sh b/ld/emulparams/shlelf_linux.sh index b06df26..f91bb52 100644 --- a/ld/emulparams/shlelf_linux.sh +++ b/ld/emulparams/shlelf_linux.sh @@ -12,7 +12,7 @@ TEMPLATE_NAME=elf32 GENERATE_SHLIB_SCRIPT=yes GENERATE_PIE_SCRIPT=yes -DATA_START_SYMBOLS='__data_start = . ;'; +DATA_START_SYMBOLS='PROVIDE (__data_start = .);'; OTHER_READWRITE_SECTIONS=" .note.ABI-tag ${RELOCATING-0} : { *(.note.ABI-tag) }" |