bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BFD_RELOC_16_PCREL_S2 relocation problem


From: Sean McNeil
Subject: BFD_RELOC_16_PCREL_S2 relocation problem
Date: 20 Feb 2003 16:02:29 -0800

Hello all,

I've configured current CVS binutils as mips-wrs-vxworks and I'm getting
the following problem:

asmips -G0 -mips32 bogus_global.S

bogus_global.S: Assembler messages:
bogus_global.S:7: Error: Can not represent BFD_RELOC_16_PCREL_S2
relocation in this object file format

with the following input:


        .globl  semaphore
        .globl  semA

        .ent    semaphore
semaphore:
        bne     $0, $2, semA
        nop
        .end    semaphore

        .ent    semA
semA:
        j       ra
        .end    semA

If I comment out the .globl semA, then it compiles fine.

Is this the proper behavior?  It doesn't seem like it and it was working
in previous versions.

Sean






reply via email to

[Prev in Thread] Current Thread [Next in Thread]