http://sourceware.org/bugzilla/show_bug.cgi?id=13162

             Bug #: 13162
           Summary: gold should support -Ttext-segment, not overload
                    -Ttext
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: i...@airs.com
        ReportedBy: rol...@gnu.org
    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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to