[PATCH] Add testcase for PR 25662 invalid sh_offset for section

Hans-Peter Nilsson hp@bitrange.com
Sat Mar 28 02:01:01 GMT 2020
On Sat, 28 Mar 2020, Alan Modra wrote:
> I think that is just a rearrangement of the object file records, so
> I'm inclined to xfail the test for mmix.  I'll leave that to you
> Hans-Peter since you know your object format much better than I can
> understand from the occasional glance at bfd/mmo.c.

Thanks for looking.  That seems likely; I intent to look at
details later in the weekend.

> Meanwhile, to fix an XPASS on tic54x and to xfail some others for the
> new test, I'm committing the following.

I'm a bit worried of that use of xfail here, because that means
people get an XPASS if the test starts passing, and if the only
reason is that gas and/or ld vs. objcopy disagrees on content
ordering for random perhaps build-system-specific reasons, then
it's spurious and will cause wild goose chases.  I suggest just
skipping the tests for those systems where the failure isn't due
to some known flaw (one unlikely to randomly disappear).

brgds, H-P



More information about the Binutils mailing list