aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-01-26 23:11:48 +0000
committerAlan Modra <amodra@gmail.com>2000-01-26 23:11:48 +0000
commit305c72062b487da283913b9f4b3016b0546c64a3 (patch)
treea298d4281e21b134459e5f9d5ce964bb95469bc7 /bfd/elflink.c
parent4c63da97a708e211a7141e29082ab589cbdbcb12 (diff)
downloadfsf-binutils-gdb-305c72062b487da283913b9f4b3016b0546c64a3.zip
fsf-binutils-gdb-305c72062b487da283913b9f4b3016b0546c64a3.tar.gz
fsf-binutils-gdb-305c72062b487da283913b9f4b3016b0546c64a3.tar.bz2
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 ce78b59..91a00e7 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);