This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PPC linker fatal signal
- To: Geoff Keating <geoffk at redhat dot com>
- Subject: Re: PPC linker fatal signal
- From: Momchil Velikov <velco at fadata dot bg>
- Date: 19 Feb 2001 00:00:18 +0200
- Cc: binutils at sourceware dot cygnus dot com
- References: <87hf1raol5.fsf@fadata.bg> <200102182138.NAA20500@geoffk.org>
>>>>> "Geoff" == Geoff Keating <geoffk@geoffk.org> writes:
Geoff> I think this reflects a bug in your earlier patch. The linker should
Geoff> complain about this:
Geoff> lwz %r3, var@sdai16(%r13)
Geoff> because 'var' is in the .data section.
Actually, this does not depend on where is `var'. This
one gets the same signal for the same reason:
.section ".sdata", "rw"
.global var
var:
.long 1
.text
.global foo
foo:
lwz %r3, var@sdai16(%r13)
Regards,
-velco