This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
GAS powerpcle-pe broken
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: binutils at sources dot redhat dot com
- Date: Sun, 19 Oct 2003 14:29:24 -0400 (EDT)
- Subject: GAS powerpcle-pe broken
I'm just trying to find a target for testing changes to
bfd/coff-ppc.c.
cc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o
as-new app.o as.o atof-generic.o bignum-copy.o cond.o depend.o
dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o
flonum-konst.o flonum-mult.o frags.o hash.o input-file.o
input-scrub.o listing.o literal.o macro.o messages.o
output-file.o read.o sb.o stabs.o subsegs.o symbols.o write.o
tc-ppc.o obj-coff.o atof-ieee.o ../opcodes/.libs/libopcodes.a
/tmp/xhpn2009/powerpcle-pe/bfd/.libs/libbfd.a
../bfd/.libs/libbfd.a ../libiberty/libiberty.a
write.o: In function `fixup_segment':
/tmp/xhpn2009/combined/gas/write.c:2695: undefined reference to
`ppc_force_relocation'
/tmp/xhpn2009/combined/gas/write.c:2708: undefined reference to
`ppc_force_relocation'
collect2: ld returned 1 exit status
make[3]: *** [as-new] Error 1
make[3]: Leaving directory `/tmp/xhpn2009/powerpcle-pe/gas'
Looks like all ppc-pe targets are broken in GAS; that function's
definition is guarded #ifdef OBJ_XCOFF, which isn't set for
em=pe, though the "#define TC_FORCE_RELOCATION(FIX)
ppc_force_relocation (FIX)" in tc-ppc.h seems unconditional.
I wouldn't mind removing all code for those targets, of
course.
brgds, H-P