PPC linker fatal signal

Momchil Velikov velco@fadata.bg
Sun Feb 18 13:52:00 GMT 2001


>>>>> "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



More information about the Binutils mailing list