Fwd: PATCH: Extend .zdebug section support to binutils and ld

H.J. Lu hjl.tools@gmail.com
Tue Nov 2 23:06:00 GMT 2010


On Tue, Nov 2, 2010 at 3:57 PM, Alan Modra <amodra@gmail.com> wrote:
> On Tue, Nov 02, 2010 at 03:16:27PM -0700, H.J. Lu wrote:
>> On Tue, Nov 2, 2010 at 2:59 PM, Alan Modra <amodra@gmail.com> wrote:
>> > On Tue, Nov 02, 2010 at 05:59:35AM -0700, H.J. Lu wrote:
>> >> I don't think they are all caused by my compress patch.
>> >
>> > Perhaps not.  I didn't check them all.
>> >
>> >> Most of compress failures are due to linker script. I will
>> >> submit a patch to update linker scripts.
>> >
>> > A large number remain due to BFD_COMPRESS/BFD_DECOMPRESS.  objdump -x
>> > displays bfd->flags.  I think that to fix this properly you should
>>
>> Which tests fails because of BFD_COMPRESS/BFD_DECOMPRESS?
>
> This one, for example:
> powerpc-linux  +FAIL: PowerPC Test 1, 32 bit elf
>
> The list below remain after your linker script update.
>
> arm-linux  +FAIL: Simple non-PIC shared library
> arm-linux  +FAIL: Simple PIC shared library
> arm-linux  +FAIL: Simple dynamic application
> arm-linux  +FAIL: Simple static application
> arm-linux  +FAIL: Non-pcrel function reference
> arm-linux  +FAIL: Thumb shared library with ARM entry points
> arm-linux  +FAIL: Mixed ARM/Thumb shared library
> arm-linux  +FAIL: Mixed ARM/Thumb dynamic application
> arm-linux  +FAIL: Mixed ARM/Thumb arch5 dynamic application
> arm-linux  +FAIL: TLS shared library
> arm-linux  +FAIL: TLS dynamic application
> arm-netbsdelf  +FAIL: Simple non-PIC shared library
> arm-netbsdelf  +FAIL: Simple PIC shared library
> arm-netbsdelf  +FAIL: Simple dynamic application
> arm-netbsdelf  +FAIL: Simple static application
> arm-netbsdelf  +FAIL: Non-pcrel function reference
> arm-netbsdelf  +FAIL: Thumb shared library with ARM entry points
> arm-netbsdelf  +FAIL: Mixed ARM/Thumb shared library
> arm-netbsdelf  +FAIL: Mixed ARM/Thumb dynamic application
> arm-netbsdelf  +FAIL: Mixed ARM/Thumb arch5 dynamic application
> arm-netbsdelf  +FAIL: TLS shared library
> arm-netbsdelf  +FAIL: TLS dynamic application
> arm-none-eabi  +FAIL: Simple non-PIC shared library
> arm-none-eabi  +FAIL: Simple PIC shared library
> arm-none-eabi  +FAIL: Simple dynamic application
> arm-none-eabi  +FAIL: Simple static application
> arm-none-eabi  +FAIL: Non-pcrel function reference
> arm-none-eabi  +FAIL: Thumb shared library with ARM entry points
> arm-none-eabi  +FAIL: Mixed ARM/Thumb shared library
> arm-none-eabi  +FAIL: Mixed ARM/Thumb dynamic application
> arm-none-eabi  +FAIL: Mixed ARM/Thumb arch5 dynamic application
> arm-none-eabi  +FAIL: TLS shared library
> arm-none-eabi  +FAIL: TLS dynamic application
> arm-none-eabi  +FAIL: Mixed ARM/Thumb dynamic application with farcalls
> arm-none-eabi  +FAIL: Mixed ARM/Thumb arch5 dynamic application with farcalls
> dlx-elf  +FAIL: ld-elf/compress1a
> dlx-elf  +FAIL: ld-elf/compress1b
> hppa64-hp-hpux11.11  +FAIL: ld-elf/compress1a
> hppa64-hp-hpux11.11  +FAIL: ld-elf/compress1b
> hppa64-hp-hpux11.23  +FAIL: ld-elf/compress1a
> hppa64-hp-hpux11.23  +FAIL: ld-elf/compress1b
> i370-linux  +FAIL: ld-elf/compress1c
> microblaze-elf  +FAIL: ld-elf/compress1a
> microblaze-elf  +FAIL: ld-elf/compress1b
> mips64-linux  +FAIL: ELF e_flags: nothing special
> mips64-linux  +FAIL: ELF e_flags: -m4650
> mips64-linux  +FAIL: ELF e_flags: -march=4650 -mtune=4650
> mips64-linux  +FAIL: ELF e_flags: -march=4650 -mtune=4650
> mips64-linux  -FAIL: ld-mips-elf/no-shared-1-n64
> mips64-linux  -FAIL: PIC and non-PIC test 6 (n64 executable)
> mips64-linux  -FAIL: GOT dump (readelf -A) test 2
> mipsel-linux-gnu  +FAIL: ELF e_flags: nothing special
> mipsel-linux-gnu  +FAIL: ELF e_flags: -m4650
> mipsel-linux-gnu  +FAIL: ELF e_flags: -march=4650 -mtune=4650
> mipsel-linux-gnu  +FAIL: ELF e_flags: -march=4650 -mtune=4650
> mipsisa32el-linux  +FAIL: ELF e_flags: nothing special
> mipsisa32el-linux  +FAIL: ELF e_flags: -m4650
> mipsisa32el-linux  +FAIL: ELF e_flags: -march=4650 -mtune=4650
> mipsisa32el-linux  +FAIL: ELF e_flags: -march=4650 -mtune=4650
> mips-linux  +FAIL: ELF e_flags: nothing special
> mips-linux  +FAIL: ELF e_flags: -m4650
> mips-linux  +FAIL: ELF e_flags: -march=4650 -mtune=4650
> mips-linux  +FAIL: ELF e_flags: -march=4650 -mtune=4650
> mmix  +FAIL: ld-mmix/undef-3m
> ns32k-netbsd  +FAIL: align2
> pdp11-dec-aout  +FAIL: align2
> powerpc64-linux  +FAIL: PowerPC Test 1, 64 bit elf
> powerpc64-linux  +FAIL: Power4 instructions
> powerpc-eabisim  +FAIL: PowerPC Test 1, 32 bit elf
> powerpc-linux  +FAIL: PowerPC Test 1, 32 bit elf
> sh64-elf  +FAIL: SH64 linking, 64-bit ABI
> sh64-elf  +FAIL: SH64 linking, 32-bit ABI
> sh64-elf  +FAIL: SH64 linking, single multi-ISA object
> sh64-elf  +FAIL: SH64 linking, two different-ISA objects
> sh64-elf  +FAIL: SH64 linking, single SHcompact
> sh64-elf  +FAIL: SH64 inter-file datalabel references, 64-bit ABI
> sh64-elf  +FAIL: SH64 inter-file datalabel references, 32-bit ABI
> tic30-unknown-aout  +FAIL: align2
> tx39-elf  +FAIL: ELF e_flags: nothing special
> tx39-elf  +FAIL: ELF e_flags: -m4650
> tx39-elf  +FAIL: ELF e_flags: -march=4650 -mtune=4650
> tx39-elf  +FAIL: ELF e_flags: -march=4650 -mtune=4650
>

I didn't see the same failures. For example, for
hppa64-hp-hpux11.11, I only see

FAIL: ld-elf/linkoncerdiff
FAIL: ld-elf/pr11304

Some linker compress test failures are due to the
default linker scripts which don't support debug sections.
I have no plan to investigate them unless they
are caused by my compress change.


-- 
H.J.



More information about the Binutils mailing list