]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
shared.exp: Use pr14862.map to build libpr14862.so
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 15 Nov 2025 03:48:38 +0000 (11:48 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 15 Nov 2025 03:55:08 +0000 (11:55 +0800)
commit90cd770a7d42da0142e86eb095a9300c485dff9c
tree0b913ab9434f038cf56c82b7ee9da9450e96e876
parentefbd9add968793c6fd85d806eb111b4101dd9ed7
shared.exp: Use pr14862.map to build libpr14862.so

commit dda8ddc56f160befb8f8fc3ddc69d66cec6ac4f8
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>
ld/testsuite/ld-elf/shared.exp