ia64/xen-unstable

changeset 11820:c13c3bd7f3b5

[IA64] backport toolchain fixes from linux-ia64

This backports the ia64 specific parts of this upstream linux
changeset:

http://www.kernel.org/hg/linux-2.6/?cs=dfbee33b0693

Change suggested by Akio Takebe.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author awilliam@xenbuild.aw
date Wed Oct 18 22:06:23 2006 -0600 (2006-10-18)
parents 4d86aea44675
children fffb36174ddb
files linux-2.6-xen-sparse/arch/ia64/kernel/Makefile linux-2.6-xen-sparse/arch/ia64/kernel/gate.lds.S
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/ia64/kernel/Makefile	Wed Oct 18 22:06:18 2006 -0600
     1.2 +++ b/linux-2.6-xen-sparse/arch/ia64/kernel/Makefile	Wed Oct 18 22:06:23 2006 -0600
     1.3 @@ -44,7 +44,8 @@ CPPFLAGS_gate.lds := -P -C -U$(ARCH)
     1.4  quiet_cmd_gate = GATE $@
     1.5        cmd_gate = $(CC) -nostdlib $(GATECFLAGS_$(@F)) -Wl,-T,$(filter-out FORCE,$^) -o $@
     1.6  
     1.7 -GATECFLAGS_gate.so = -shared -s -Wl,-soname=linux-gate.so.1
     1.8 +GATECFLAGS_gate.so = -shared -s -Wl,-soname=linux-gate.so.1 \
     1.9 +		     $(call ld-option, -Wl$(comma)--hash-style=sysv)
    1.10  $(obj)/gate.so: $(obj)/gate.lds $(obj)/gate.o FORCE
    1.11  	$(call if_changed,gate)
    1.12  
     2.1 --- a/linux-2.6-xen-sparse/arch/ia64/kernel/gate.lds.S	Wed Oct 18 22:06:18 2006 -0600
     2.2 +++ b/linux-2.6-xen-sparse/arch/ia64/kernel/gate.lds.S	Wed Oct 18 22:06:23 2006 -0600
     2.3 @@ -13,6 +13,7 @@ SECTIONS
     2.4    . = GATE_ADDR + SIZEOF_HEADERS;
     2.5  
     2.6    .hash				: { *(.hash) }				:readable
     2.7 +  .gnu.hash			: { *(.gnu.hash) }
     2.8    .dynsym			: { *(.dynsym) }
     2.9    .dynstr			: { *(.dynstr) }
    2.10    .gnu.version			: { *(.gnu.version) }