bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/27128] New: nm -P portable output format regression


From: josh at joshtriplett dot org
Subject: [Bug binutils/27128] New: nm -P portable output format regression
Date: Wed, 30 Dec 2020 05:07:07 +0000

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

            Bug ID: 27128
           Summary: nm -P portable output format regression
           Product: binutils
           Version: 2.35.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: josh at joshtriplett dot org
  Target Milestone: ---

The nm -P/--portability option no longer outputs valid portable-format output,
when dealing with libraries with symbol versions. The column that should
contain the symbol type now contains a concatenation of the symbol version and
the symbol type. This seems to have happened some time between 2.31.1 and
2.35.1. (Originally reported at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978599 .)

nm -DP /bin/ls from binutils 2.31.1:

_ITM_deregisterTMCloneTable w         
_ITM_registerTMCloneTable w         
__assert_fail U         
__ctype_b_loc U         
__ctype_get_mb_cur_max U         
__ctype_tolower_loc U         
__ctype_toupper_loc U         
__cxa_atexit U         
__cxa_finalize w         
__errno_location U         
...

nm -DP /bin/ls from binutils 2.35.1:

_ITM_deregisterTMCloneTable w         
_ITM_registerTMCloneTable w         
__assert_fail @@GLIBC_2.2.5U         
__ctype_b_loc @@GLIBC_2.3U         
__ctype_get_mb_cur_max @@GLIBC_2.2.5U         
__ctype_tolower_loc @@GLIBC_2.3U         
__ctype_toupper_loc @@GLIBC_2.3U         
__cxa_atexit @@GLIBC_2.2.5U         
__cxa_finalize @@GLIBC_2.2.5w         
__errno_location @@GLIBC_2.2.5U         
...

nm -DP /bin/ls from current HEAD as of 20201218 (snapshot from Debian
experimental):

_ITM_deregisterTMCloneTable w         
_ITM_registerTMCloneTable w         
__assert_fail @GLIBC_2.2.5U         
__ctype_b_loc @GLIBC_2.3U         
__ctype_get_mb_cur_max @GLIBC_2.2.5U         
__ctype_tolower_loc @GLIBC_2.3U         
__ctype_toupper_loc @GLIBC_2.3U         
__cxa_atexit @GLIBC_2.2.5U         
__cxa_finalize @GLIBC_2.2.5w         
__errno_location @GLIBC_2.2.5U         
...

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