aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2024-10-08 09:49:14 +1030
committerAlan Modra <amodra@gmail.com>2024-10-08 15:12:14 +1030
commite022977bc563be7819bf1cd4b6c5f6c5eb878997 (patch)
tree40c7e5cd6af291128c2a18434b2caa69d8dd6fc8 /bfd/elf.c
parentb0623fda9f05d10abe231197028b66ad66386353 (diff)
downloadgdb-e022977bc563be7819bf1cd4b6c5f6c5eb878997.zip
gdb-e022977bc563be7819bf1cd4b6c5f6c5eb878997.tar.gz
gdb-e022977bc563be7819bf1cd4b6c5f6c5eb878997.tar.bz2
Revert "is_target_special_symbol fixes for commit 68bbe1183379"
This reverts commit 6e40f9bb31be2f3656df97a1fcba4d6a30081e24.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 4012d99..39ee641 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -9725,9 +9725,6 @@ bool
_bfd_elf_is_local_label_name (bfd *abfd ATTRIBUTE_UNUSED,
const char *name)
{
- if (!name)
- return false;
-
/* Normal local symbols start with ``.L''. */
if (name[0] == '.' && name[1] == 'L')
return true;