aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-03-03 20:52:31 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-03-03 20:52:31 +0000
commitd27f5fa16e38f664a8c17ed1d367c42da6cc7b87 (patch)
tree5f96df44819ff43d056a0f6546dc3586c1f9ea46 /bfd/elf.c
parent6caf9ef47f40b3a493bca1f4fba13158fe19348f (diff)
downloadgdb-d27f5fa16e38f664a8c17ed1d367c42da6cc7b87.zip
gdb-d27f5fa16e38f664a8c17ed1d367c42da6cc7b87.tar.gz
gdb-d27f5fa16e38f664a8c17ed1d367c42da6cc7b87.tar.bz2
2005-03-03 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (elf_backend_data): Add "const char *" to elf_backend_section_from_phdr. * elf.c (bfd_section_from_phdr): Pass "proc" to the elf_backend_section_from_phdr hook.
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 75f42ed..ef326f0 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2379,7 +2379,7 @@ bfd_section_from_phdr (bfd *abfd, Elf_Internal_Phdr *hdr, int index)
default:
/* Check for any processor-specific program segment types. */
bed = get_elf_backend_data (abfd);
- return bed->elf_backend_section_from_phdr (abfd, hdr, index);
+ return bed->elf_backend_section_from_phdr (abfd, hdr, index, "proc");
}
}