mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 22:03:57 +08:00
re PR target/74748 (libgcc_s.so.1 isn't created correctly for Blackfin FDPIC)
PR gcc/74748 * libgcc/mkmap-symver.awk: add support for skip_underscore From-SVN: r242933
This commit is contained in:
parent
18df37ec1f
commit
7a0d2bce7f
@ -1,3 +1,8 @@
|
||||
2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
PR gcc/74748
|
||||
* libgcc/mkmap-symver.awk: add support for skip_underscore
|
||||
|
||||
2016-11-27 Iain Sandoe <iain@codesourcery.com>
|
||||
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
|
@ -47,7 +47,11 @@ state == "nm" && ($1 == "U" || $2 == "U") {
|
||||
|
||||
state == "nm" && NF == 3 {
|
||||
split ($3, s, "@")
|
||||
def[s[1]] = 1;
|
||||
if (skip_underscore && substr(s[1], 1, 1) == "_")
|
||||
symname = substr(s[1], 2);
|
||||
else
|
||||
symname = s[1];
|
||||
def[symname] = 1;
|
||||
sawsymbol = 1;
|
||||
next;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user