aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-sparc.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2000-02-13 22:45:29 +0000
committerIan Lance Taylor <ian@airs.com>2000-02-13 22:45:29 +0000
commit7f8d5fc90bf3c799976edffa902e03edf1455061 (patch)
tree50ddd0462bbe7f357e153435e453453caf154675 /bfd/elf64-sparc.c
parente3c976c4eb27fa23ff52c5d32dceb98ef0891f64 (diff)
downloadgdb-7f8d5fc90bf3c799976edffa902e03edf1455061.zip
gdb-7f8d5fc90bf3c799976edffa902e03edf1455061.tar.gz
gdb-7f8d5fc90bf3c799976edffa902e03edf1455061.tar.bz2
* section.c (_bfd_strip_section_from_output): Add info parameter.
If it passed as non-NULL, use it to check whether any input BFD has an input section which uses this output section. Change all callers. * bfd-in2.h: Rebuild. * bfd-in.h: Move declarations of bfd_get_elf_phdr_upper_bound and bfd_get_elf_phdrs in from bfd-in2.h, correcting patch of 1999-11-29. * bfd-in2.h: Rebuild.
Diffstat (limited to 'bfd/elf64-sparc.c')
-rw-r--r--bfd/elf64-sparc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-sparc.c b/bfd/elf64-sparc.c
index b027897..5ea95e9 100644
--- a/bfd/elf64-sparc.c
+++ b/bfd/elf64-sparc.c
@@ -1752,7 +1752,7 @@ sparc64_elf_size_dynamic_sections (output_bfd, info)
if (strip)
{
- _bfd_strip_section_from_output (s);
+ _bfd_strip_section_from_output (info, s);
continue;
}