[Bug binutils/28652] New: `nm-new -l -D` produces inconsistent results

2021-12-05 Thread shaohua.li at inf dot ethz.ch
https://sourceware.org/bugzilla/show_bug.cgi?id=28652

Bug ID: 28652
   Summary: `nm-new -l -D` produces inconsistent results
   Product: binutils
   Version: 2.38 (HEAD)
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: shaohua.li at inf dot ethz.ch
  Target Milestone: ---

Created attachment 13821
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13821=edit
diff_0

Hi there,

I compiled two versions of binutils, one with `gcc11` and another with
`clang13`. I found that for the provided input, the two `nm-new -l -D` would
produce different results.

- Compilers: gcc11 and clang13

- Platform: Ubuntu 20.04.4 LTS, x86_64

- Reproduce: 1) compiler two versions of binutils with gcc and clang
separately; 2) run `nm-new -l -D diff_0` to observer the difference.

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


[Bug binutils/27931] objcopy --localize-hidden/--keep-global-symbol: drop GRP_COMDAT if the signature symbol becomes local?

2021-12-05 Thread pinskia at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=27931

--- Comment #2 from Andrew Pinski  ---
There was an old (7 years ago) bug filed against GCC about __x86.get_pc_thunk
and "objcopy --keep-global-symbol" (https://gcc.gnu.org/PR59842) which seems
like the same issue here.

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


[Bug binutils/3182] objcopy doesn't update section group when a member is removed

2021-12-05 Thread pinskia at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=3182

Andrew Pinski  changed:

   What|Removed |Added

 Resolution|WONTFIX |FIXED
 CC||pinskia at gcc dot gnu.org

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


[Bug binutils/27931] objcopy --localize-hidden/--keep-global-symbol: drop GRP_COMDAT if the signature symbol becomes local?

2021-12-05 Thread pinskia at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=27931

Andrew Pinski  changed:

   What|Removed |Added

 CC||pinskia at gcc dot gnu.org
   See Also||https://gcc.gnu.org/bugzill
   ||a/show_bug.cgi?id=59842

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