mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
shared.exp: Use pr14862.map to build libpr14862.so
commit dda8ddc56f
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue Nov 20 22:17:27 2012 +0000
Remove ref_dynamic_nonweak added by accident
used pr11138-1.map to build libpr14862.so by accident and pr14862.map
should be used instead. The difference is
pr11138-1.map:
VERS_1 {
global: bar; foo;
local: *;
};
vs
pr14862.map:
VERS_1 {
global: bar;
local: *;
};
Since only "bar" is used, it didn't cause test failure. Use pr14862.map
to build libpr14862.so as intended.
PR ld/14862
* ld-elf/shared.exp: Replace pr11138-1.map with pr14862.map
when building libpr14862.so.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
@@ -709,7 +709,7 @@ set build_tests {
|
|||||||
"-r -nostdlib" ""
|
"-r -nostdlib" ""
|
||||||
{pr14862-1.c} {} "libpr14862-1.o"}
|
{pr14862-1.c} {} "libpr14862-1.o"}
|
||||||
{"Build libpr14862.so"
|
{"Build libpr14862.so"
|
||||||
"-shared -Wl,--version-script=pr11138-1.map" "-fPIC"
|
"-shared -Wl,--version-script=pr14862.map" "-fPIC"
|
||||||
{pr14862-2.c} {} "libpr14862.so"}
|
{pr14862-2.c} {} "libpr14862.so"}
|
||||||
{"Build libneeded1b.so"
|
{"Build libneeded1b.so"
|
||||||
"-shared" "-fPIC"
|
"-shared" "-fPIC"
|
||||||
|
|||||||
Reference in New Issue
Block a user