https://sourceware.org/bugzilla/show_bug.cgi?id=16753

            Bug ID: 16753
           Summary: Inconsistent propagation of symbol types to derived
                    symbols
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: rafael.espindola at gmail dot com

When the type of a symbol is changed, it may or may not be propagated symbols
based on it.

Given

.type b, @object
a = b
b:
.type b, @function


The new type is propagated and we get

     4: 0000000000000000     0 FUNC    LOCAL  DEFAULT    1 b
     5: 0000000000000000     0 FUNC    LOCAL  DEFAULT    1 a

but given

.type b, @object
b:
a = b
.type b, @function

The new type is not propagated and we get

     4: 0000000000000000     0 FUNC    LOCAL  DEFAULT    1 b
     5: 0000000000000000     0 OBJECT  LOCAL  DEFAULT    1 a

Tested with d3839ede057ef077667978dbd065e7b5702c9176.

-- 
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