aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlex.h
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2021-05-11 23:10:45 -0700
committerAlan Modra <amodra@gmail.com>2021-05-13 12:53:49 +0930
commitcf893b0ef7482ec11df3787772f35e820ef2592a (patch)
tree77832443e8f794f951b402a1824b2151d107f999 /ld/ldlex.h
parent4863cddb5079ce34007c5bebc0315b8eddb9ef6d (diff)
downloadgdb-cf893b0ef7482ec11df3787772f35e820ef2592a.zip
gdb-cf893b0ef7482ec11df3787772f35e820ef2592a.tar.gz
gdb-cf893b0ef7482ec11df3787772f35e820ef2592a.tar.bz2
ld: Add -Bno-symbolic
PR 27834 * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC. * lexsup.c (ld_options): Add -Bno-symbolic. (parse_args): Handle -Bno-symbolic. * ld.texi: Document -Bno-symbolic. * NEWS: Mention -Bno-symbolic. * testsuite/ld-elf/shared.exp: Add a test.
Diffstat (limited to 'ld/ldlex.h')
-rw-r--r--ld/ldlex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldlex.h b/ld/ldlex.h
index 3ce1ad4..e0f0241 100644
--- a/ld/ldlex.h
+++ b/ld/ldlex.h
@@ -54,6 +54,7 @@ enum option_values
OPTION_OFORMAT,
OPTION_RELAX,
OPTION_NO_RELAX,
+ OPTION_NO_SYMBOLIC,
OPTION_RETAIN_SYMBOLS_FILE,
OPTION_RPATH,
OPTION_RPATH_LINK,