diff options
author | Daniel Jacobowitz <dan@debian.org> | 2004-10-16 18:13:54 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2004-10-16 18:13:54 +0000 |
commit | a7ec8064d3a59d8906abd910c8083d4bf5d9830c (patch) | |
tree | dcd692a0a1282a2d2dd1d38788beda2b895ae127 /ld/testsuite/ld-elf/exclude1.s | |
parent | ce6bf409d66140fa938126240b6b31c3c0d70932 (diff) | |
download | binutils-redhat-a7ec8064d3a59d8906abd910c8083d4bf5d9830c.tar.gz |
bfd/
* bfd-in2.h: Regenerate.
* bfd.c (struct bfd): Add no_export.
* elflink.c (elf_link_add_object_symbols): Handle no_export.
ld/
* ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
(check_excluded_libs): New.
(load_symbols): Call check_excluded_libs.
* ldlang.h (add_excluded_libs): New prototype.
* emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
(gld${EMULATION_NAME}_add_options): Add --exclude-libs.
(gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
* ld.texinfo (Command Line Variables): Document --exclude-libs.
(Options Specific to i386 PE Targets): Remove --exclude-libs.
ld/testsuite/
* ld-elf/exclude1.s, ld-elf/exclude2.s, ld-elf/exclude.exp: New.
Diffstat (limited to 'ld/testsuite/ld-elf/exclude1.s')
-rw-r--r-- | ld/testsuite/ld-elf/exclude1.s | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/exclude1.s b/ld/testsuite/ld-elf/exclude1.s new file mode 100644 index 0000000000..45583a35fd --- /dev/null +++ b/ld/testsuite/ld-elf/exclude1.s @@ -0,0 +1,3 @@ + .globl include_sym +include_sym: + .long exclude_sym - include_sym |