aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-06-24 04:56:01 +0000
committerFred Fish <fnf@specifix.com>1992-06-24 04:56:01 +0000
commitec6b2951dab0ccf32cef4cc4b8f6eb0857eb7172 (patch)
treeaad810bb13c3b08a70df463ac7db75da76fef633 /bfd/elf.c
parente676a15f0b9ef089973311249917e203917b3903 (diff)
downloadfsf-binutils-gdb-ec6b2951dab0ccf32cef4cc4b8f6eb0857eb7172.zip
fsf-binutils-gdb-ec6b2951dab0ccf32cef4cc4b8f6eb0857eb7172.tar.gz
fsf-binutils-gdb-ec6b2951dab0ccf32cef4cc4b8f6eb0857eb7172.tar.bz2
* libbfd.h, libbfd-in.h (bfd_seek): Make prototype match definition.
* reloc.c (bfd_default_reloc_type_lookup): Make cast on return type match actual return type. * elf_print_symbol (section_name): Make CONST.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index f437ce9..26b2a1e 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2357,7 +2357,7 @@ DEFUN (elf_print_symbol,(ignore_abfd, filep, symbol, how),
case bfd_print_symbol_nm:
case bfd_print_symbol_all:
{
- char *section_name;
+ CONST char *section_name;
section_name = symbol->section? symbol->section->name : "(*none*)";
bfd_print_symbol_vandf((PTR) file, symbol);
fprintf(file, " %-5s %s %s %s",