[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/13162] New: gold should support -Ttext-segment, not overload -

From: roland at gnu dot org
Subject: [Bug gold/13162] New: gold should support -Ttext-segment, not overload -Ttext
Date: Wed, 07 Sep 2011 16:52:51 +0000


             Bug #: 13162
           Summary: gold should support -Ttext-segment, not overload
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified

gold does not support the -Ttext-segment option that BFD ld has.
It is anti-helpful that gold defines -Ttext to mean what -Ttext-segment means
in BFD ld.  BFD ld has established the canonical meaning of -Ttext (and -Tdata
and -Tbss) as setting the address of the section named ".text".  This is not a
very useful feature, but it is far worse to have an option of the same name
that does something different.  If you don't want to support that feature,
that's fine--but don't provide an option called -Ttext that does something
subtly different.  That's just inane.

The -Ttext-segment option is the one BFD ld provides that is actually useful.
Gold should accept that same option name for the same functionality.

Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]