forked from Imagelibrary/binutils-gdb
Allow for __gnu_lto_slim prefixed with extra "_"
Some targets prefix global symbols with "_". bfd/ * archive.c (_bfd_compute_and_write_armap): Match "__gnu_lto_slim" optionally prefixed with "_". * linker.c (_bfd_generic_link_add_one_symbol): Likewise. binutils/ * nm.c (filter_symbols): Match "__gnu_lto_slim" optionally prefixed with "_". gold/ * symtab.cc (Symbol_table::add_from_relobj): Match "__gnu_lto_slim" optionally prefixed with "_". ld/ * testsuite/ld-plugin/lto-3r.d: Match "__gnu_lto_v" optionally prefixed with "_". * testsuite/ld-plugin/lto-5r.d: Likewise.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2017-10-25 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* testsuite/ld-plugin/lto-3r.d: Match "__gnu_lto_v" optionally
|
||||
prefixed with "_".
|
||||
* testsuite/ld-plugin/lto-5r.d: Likewise.
|
||||
|
||||
2017-10-25 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* testsuite/ld-riscv-elf/ld-riscv-elf.exp: Fix typo for istarget.
|
||||
|
||||
@@ -3,5 +3,5 @@
|
||||
#nm: -p
|
||||
|
||||
#...
|
||||
[0-9a-f]+ C __gnu_lto_v.*
|
||||
[0-9a-f]+ C _?__gnu_lto_v.*
|
||||
#pass
|
||||
|
||||
@@ -3,5 +3,5 @@
|
||||
#nm: -p
|
||||
|
||||
#...
|
||||
[0-9a-f]+ C __gnu_lto_v.*
|
||||
[0-9a-f]+ C _?__gnu_lto_v.*
|
||||
#pass
|
||||
|
||||
Reference in New Issue
Block a user