summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/bfd/elf64-sparc.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-07-05 20:16:34 +0000
committerobrien <obrien@FreeBSD.org>2002-07-05 20:16:34 +0000
commit5bbed9e6b0ec2fe158136f658b45d0dbaa4fcfad (patch)
tree85bcd3d0bd356eb6756659cd6b173976fef5bfe0 /contrib/binutils/bfd/elf64-sparc.c
parent9568924023a1e322c446870c4a4dd514800517c3 (diff)
parentf3c54bd2c1850601b80aa0558b8843517125f50f (diff)
downloadFreeBSD-src-5bbed9e6b0ec2fe158136f658b45d0dbaa4fcfad.zip
FreeBSD-src-5bbed9e6b0ec2fe158136f658b45d0dbaa4fcfad.tar.gz
This commit was generated by cvs2svn to compensate for changes in r99461,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/binutils/bfd/elf64-sparc.c')
-rw-r--r--contrib/binutils/bfd/elf64-sparc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/contrib/binutils/bfd/elf64-sparc.c b/contrib/binutils/bfd/elf64-sparc.c
index 78d2a56..d04a1d3 100644
--- a/contrib/binutils/bfd/elf64-sparc.c
+++ b/contrib/binutils/bfd/elf64-sparc.c
@@ -1,5 +1,5 @@
/* SPARC-specific support for 64-bit ELF
- Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -1385,9 +1385,8 @@ sparc64_elf_add_symbol_hook (abfd, info, sym, namep, flagsp, secp, valp)
*namep = NULL;
return true;
}
- else if (! *namep || ! **namep)
- return true;
- else
+ else if (*namep && **namep
+ && info->hash->creator->flavour == bfd_target_elf_flavour)
{
int i;
struct sparc64_elf_app_reg *p;
OpenPOWER on IntegriCloud