[PATCH] alpha, ld: remove -taso option

Sam James sam@gentoo.org
Fri Jan 17 21:17:34 GMT 2025


Ivan Kokshaysky <ink@unseen.parts> writes:

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

Yes, for some reason, I'd got it in my head that it was especially an
alpha-specific format, but it ain't. Thanks.


More information about the Gdb-patches mailing list