Proposed changes for pdp11 --*magic options

Paul Koning paulkoning@comcast.net
Thu Apr 9 23:47:16 GMT 2020



> On Apr 7, 2020, at 6:06 AM, Nick Clifton via Binutils <binutils@sourceware.org> wrote:
> 
> ...
>> FAIL: ld-scripts/pr18963
>> 
>> This one is more complicated.  Starting with data.o consisting on only
>> a header and zero-length text, data and bss the linker script creates
>> sections that are each 0x10000 long with symbols corresponding to the
>> section addresses just to test whether addition is commutative using
>> those symbols.  The output generated by that linker script is much
>> larger than indicated by the a.out header (and several times larger
>> than the 16-bit address space) making the format invalid, so nm gives
>> an error.  Unless the test could be implemented with sections created
>> in the object file and just have the symbols defined in the linker
>> script based on those sections, this test is not supported for
>> pdp11-aout.
> 
> This sounds like a reasonable case for an xfail, with a comment along
> the lines of "this test creates a binary that is too big for 16-bit architectures".

The GCC test machinery has notation that lets you mark a test case as not supported on 16 bit machines, so it is simply skilled there.  Does binutils have that same mechanism, or something like it?

	paul



More information about the Binutils mailing list