From 8733f6093c2b77502e7228503fc22024e51599b8 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 26 Aug 2011 11:16:10 +0200 Subject: 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 Signed-off-by: Blue Swirl --- i386.ld | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'i386.ld') diff --git a/i386.ld b/i386.ld index f8df7bf8dd..cc3f160af0 100644 --- a/i386.ld +++ b/i386.ld @@ -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 : -- cgit v1.2.3-70-g09d2