diff options
author | Alan Modra <amodra@gmail.com> | 2002-08-08 00:20:16 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-08-08 00:20:16 +0000 |
commit | 7330fb86f25844235e4a5c8107b7fdc6be95e0dd (patch) | |
tree | 335f1ba9fb00d9116c99fe1f4d7993b575ebfa17 /bfd/elflink.h | |
parent | 0f3bd64fc55330ccefedbfb6752593e0c143172d (diff) | |
download | gdb-7330fb86f25844235e4a5c8107b7fdc6be95e0dd.zip gdb-7330fb86f25844235e4a5c8107b7fdc6be95e0dd.tar.gz gdb-7330fb86f25844235e4a5c8107b7fdc6be95e0dd.tar.bz2 |
* elflink.h (elf_link_output_extsym): Don't output symbols from
SEC_EXCLUDE sections.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r-- | bfd/elflink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h index 29c5551..59cc397 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -6342,7 +6342,7 @@ elf_link_output_extsym (h, data) /* If we're stripping it, then it was just a dynamic symbol, and there's nothing else to do. */ - if (strip) + if (strip || (input_sec->flags & SEC_EXCLUDE) != 0) return true; h->indx = bfd_get_symcount (finfo->output_bfd); |