bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/11517] Fatal error assembling ldgp for Alpha ECOFF


From: amodra at gmail dot com
Subject: [Bug gas/11517] Fatal error assembling ldgp for Alpha ECOFF
Date: Wed, 17 May 2023 07:14:26 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=11517

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |OBSOLETE
             Status|WAITING                     |RESOLVED

--- Comment #3 from Rainer Orth <ro at CeBiTec dot Uni-Bielefeld.DE> ---
Subject: Re:  Fatal error assembling ldgp for Alpha ECOFF

Hi Nick,

>   The uploaded patch fixes this problem for me, but since I no expert on this
> particular architecture I am not sure if it is the right solution.  What do 
> you
> think ?

the object files produced by gas and as differ for my testcase:

$ objdump -dr ldgp.o
[...]
Disassembly of section .text:

0000000000000000 <.text>:
   0:   00 00 bb 27     ldah    gp,0(t12)
                        0: GPDISP       *ABS*+0x4
   4:   04 00 bd 23     lda     gp,4(gp)
                        4: IGNORE       *ABS*+0x8000
   8:   1f 04 ff 47     nop
   c:   00 00 fe 2f     unop
$ objdump -dr ldgp.as.o
[...]
Disassembly of section .text:

0000000000000000 <.text>:
   0:   01 00 bb 27     ldah    gp,1(t12)
                        0: GPDISP       *ABS*+0x4
   4:   10 80 bd 23     lda     gp,-32752(gp)
   8:   00 00 fe 2f     unop
   c:   1f 04 ff 47     nop

I'd probably have to either study the architecture manual, or (far
simpler since it doesn't require my time) try a gcc bootstrap once gas
is again able to assemble gcc output.  This is generally an excellent
test.

        Rainer


--- Comment #4 from Alan Modra <amodra at gmail dot com> ---
Target is obsolete

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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