diff options
author | H.J. Lu <hjl@lucon.org> | 2005-03-03 20:52:31 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2005-03-03 20:52:31 +0000 |
commit | 1c855760a065301a38b9d8d1d9de6454326281ac (patch) | |
tree | ac5b3f4dfbdb86d76e0634f14ac726a61dccbecc /bfd/elf.c | |
parent | 15513d6f79455dac02f498f74d92ed58ee4ea12b (diff) | |
download | gdb-1c855760a065301a38b9d8d1d9de6454326281ac.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf.c b/bfd/elf.c index 75f42edbc2a..ef326f03da8 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"); } } |