[PATCH] alpha, ld: remove -taso option

Ivan Kokshaysky ink@unseen.parts
Fri Jan 17 15:00:48 GMT 2025


On Fri, Jan 17, 2025 at 02:47:28PM +0000, Sam James wrote:
> Ivan Kokshaysky <ink@unseen.parts> writes:
...
> > diff --git a/gdb/testsuite/gdb.base/dump.exp b/gdb/testsuite/gdb.base/dump.exp
> > index 58fedb1d36b..54efe51fbaa 100644
> > --- a/gdb/testsuite/gdb.base/dump.exp
> > +++ b/gdb/testsuite/gdb.base/dump.exp
> > @@ -26,12 +26,6 @@ set endian "auto"
> >  
> >  set formats {binary ihex srec tekhex  verilog}
> >  
> > -if {[istarget "alpha*-*-*"]} {
> > -    # SREC etc cannot handle 64-bit addresses.  Force the test
> > -    # program into the low 31 bits of the address space.
> > -    lappend options "ldflags=-Wl,-taso"
> > -}
> 
> Is this part right? SREC is a debugging format, so if we're going to do
> this, we'd need to drop the SREC format, or accept it's going to be
> untested, I think?

Yes, this test will be skipped just like on any other 64-bit architecture.
But if we keep it, it would fail with linux kernels starting from v6.14.

> Adding gdb-patches@.
> 
> > [...]
> 
> thanks,
> sam

Ivan.


More information about the Gdb-patches mailing list