diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2011-08-26 11:16:10 +0200 |
---|---|---|
committer | Justin M. Forbes <jforbes@redhat.com> | 2011-10-03 14:40:25 -0500 |
commit | 7095e715765e0b5ca57799142a712f0c761e98ee (patch) | |
tree | beacabc2a48a2d4c93bd2c61fc436e37aac9fdbc /i386.ld | |
parent | 91b31d6158eb5a79bc1a1ef7f24f7d2efa41cc64 (diff) | |
download | qemu-7095e715765e0b5ca57799142a712f0c761e98ee.tar.gz |
Fix linker scripts
Remove PROVIDE_HIDDEN and ONLY_IF_{RO,RW} from linker scripts to make
them work with older binutils versions. Fixes *-bsd-user build on
OpenBSD 4.9 which ships binutils 2.15.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'i386.ld')
-rw-r--r-- | i386.ld | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -42,16 +42,16 @@ SECTIONS .rel.plt : { *(.rel.plt) - PROVIDE_HIDDEN (__rel_iplt_start = .); + PROVIDE (__rel_iplt_start = .); *(.rel.iplt) - PROVIDE_HIDDEN (__rel_iplt_end = .); + PROVIDE (__rel_iplt_end = .); } .rela.plt : { *(.rela.plt) - PROVIDE_HIDDEN (__rela_iplt_start = .); + PROVIDE (__rela_iplt_start = .); *(.rela.iplt) - PROVIDE_HIDDEN (__rela_iplt_end = .); + PROVIDE (__rela_iplt_end = .); } .init : { *(.init) } =0x47ff041f .text : |