summaryrefslogtreecommitdiff
path: root/bfd/elflink.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2000-01-26 23:11:47 +0000
committerAlan Modra <amodra@bigpond.net.au>2000-01-26 23:11:47 +0000
commit69eb481f0992ec8ac8e1bb44918b5c4c6f7f89cd (patch)
tree42a1305ff2929f7e18e09ccab6590ebf82a0d75f /bfd/elflink.c
parent67332dd35b2591cf5c019c7e811bb8ae3b1c2b59 (diff)
downloadgdb-69eb481f0992ec8ac8e1bb44918b5c4c6f7f89cd.tar.gz
Most of these changes are really only cosmetic. The readelf.c patch
fixes a thinko in get_dynamic_flags. I found at least one message string that included a `%' being passed to printf in the format argument.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r--bfd/elflink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c
index ce78b59400d..91a00e7b31e 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -1,5 +1,5 @@
/* ELF linking support for BFD.
- Copyright 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright 1995, 96, 97, 98, 99, 2000 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -231,7 +231,7 @@ _bfd_elf_link_record_dynamic_symbol (info, h)
if (h->root.type == bfd_link_hash_undefined)
{
bfd * abfd = h->root.u.undef.abfd;
- char * name = h->root.root.string;
+ const char * name = h->root.root.string;
(*info->callbacks->undefined_symbol)
(info, name, abfd, bfd_und_section_ptr, 0);