New linker testsuite failures

Nick Clifton nickc@redhat.com
Mon Apr 15 09:10:00 GMT 2019


Hi Faraz,

I am seeing a new linker testsuite failure:

    LD REGRESSION: Check --no-print-map-discarded linker option 

in some non-ELF based toolchains:
  
    ns32k-netbsd 
    ns32k-pc532-macho 
    pdp11-dec-aout 
    powerpc-ibm-aix5.2.0 
    rs6000-aix4.3.3 
    tic30-unknown-aout 
    tic4x-coff 
    tic54x-coff 
    z8k-coff 
 
They problem is the .section directive in the test source file.  For
example the ns32k test shows:

    skip-map-discarded.s: Assembler messages:
    skip-map-discarded.s:3: Error: unknown pseudo-op: `.section'

Whilst the powerpc failure shows:

    skip-map-discarded.s: Assembler messages:
    skip-map-discarded.s:3: Error: the XCOFF file format does not support arbitrary sections

It is the same for the other targets too.

Please could you add an "[is_elf_format]" check around the
skip-map-discard test, in a similar fashion to other tests in the
ld-gc/gc.exp file ?  A patch to do this is pre-approved.

Cheers
  Nick
  



More information about the Binutils mailing list