SIZEOF and .tbss

Nick Clifton nickc@redhat.com
Wed Mar 3 10:42:00 GMT 2004


Hi Nathan,

> This patch implements that functionality in a different manner. Rather than
> lie about .tbss's size, I tweak the couple of places that need to know
> it can be ignored for layout purposes.

I agree that the method is Ok but...

> tested on i686-pc-linux-gnu & ia64-unknown-linux-gnu, ok?

It appears that there are now some new failures in the linker
testsuite with this patch applied:

  With an i686-pc-linux-gnu toolchain:
    Running /sources/binutils/current/ld/testsuite/ld-i386/i386.exp ...
    FAIL: TLS -fpic -shared transitions
    FAIL: TLS -fpic and -fno-pic exec transitions
    FAIL: TLS -fno-pic -shared

  With an x86_64 toolchain:
    Running /sources/binutils/current/ld/testsuite/ld-x86-64/x86-64.exp ...
    FAIL: TLS -fpic -shared transitions
    FAIL: TLS -fpic and -fno-pic exec transitions


Could you look into these please ?  The failure is the dreaded:

   Not enough room for program headers (allocated 4, need 5)

Cheers
        Nick



More information about the Binutils mailing list