bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/22967] nm should distinguish in between local and global i


From: nickc at redhat dot com
Subject: [Bug binutils/22967] nm should distinguish in between local and global ifunc
Date: Thu, 15 Mar 2018 09:47:33 +0000

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

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |ASSIGNED

--- Comment #5 from Nick Clifton <nickc at redhat dot com> ---
Hi Martin,

> I probably incline to 3).

Actually I think that we can accommodate all three alternatives...

Imagine that there is a configure-time option to set the default
behaviour, then we add a new command line option to nm called
--ifunc-chars that behaves as follows:

  --ifunc-chars= 
       Restores default behaviour - however that was configured.

  --ifunc-chars=<char>
       Use <char> for both local and global ifuncs.
       It is the user's responsibility to choose a <char> that does not
conflict

  --ifunc-chars=<char1><char2>
       Use <char1> for global ifuncs.  
       Use <cahr2> for local ifuncs.
       It is the user's responsibility to choose <char>s that do not conflict.

   --ifunc-chars=<char1><char2><char3>
       Use <char1> for global ifuncs.  
       Use <cahr2> for local ifuncs.
       Use <char3> for indirect symbols.
       It is the user's responsibility to choose <char>s that do not conflict.

Maybe nm should warn if a <char> is chosen that conflicts with another symbol
type...

I'll try to run up a patch that implements this idea, although I must admit
that
this PR does have a low priority at the moment ...

Cheers
  Nick

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