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

            Bug ID: 31941
           Summary: objcopy --globalize-symbol: local symbol found at
                    index >= .symtab's sh_info
           Product: binutils
           Version: 2.43 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: amodra at gmail dot com
  Target Milestone: ---

Found when testing commit ebe3f6d0f185 with
binutils/objcopy -w '--localize-symbol=*' '--globalize-symbol=*' gas/as.o xxx.o
(Which is crazy, flipping defined locals to global and defined globals to
local.)
binutils/readelf -sW xxx.o > /tmp/dump
readelf: Warning: local symbol 57 found at index >= .symtab's sh_info value of
57
    57: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS as.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to