aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-hppa.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-04-06 22:00:40 +0000
committerIan Lance Taylor <ian@airs.com>1994-04-06 22:00:40 +0000
commit6812b6077e4a09eab08458428f09c28ec58fc514 (patch)
tree16be3cd70ca281aca8b810d71fe5dbc125cbe9c9 /bfd/elf32-hppa.c
parent76336d506d079ddae02f26752357b5ea94582cb0 (diff)
downloadgdb-6812b6077e4a09eab08458428f09c28ec58fc514.zip
gdb-6812b6077e4a09eab08458428f09c28ec58fc514.tar.gz
gdb-6812b6077e4a09eab08458428f09c28ec58fc514.tar.bz2
* targets.c (bfd_target): Rearranged fields in target vector.
Removed _bfd_debug_info_start, _bfd_debug_info_end and _bfd_debug_info_accumulate, which were never used. (BFD_JUMP_TABLE_GENERIC, BFD_JUMP_TABLE_COPY): Defined. (BFD_JUMP_TABLE_CORE, BFD_JUMP_TABLE_ARCHIVE): Defined. (BFD_JUMP_TABLE_SYMBOLS, BFD_JUMP_TABLE_RELOCS): Defined. (BFD_JUMP_TABLE_WRITE, BFD_JUMP_TABLE_LINK): Defined. * All backends: Changed to use the new BFD_JUMP_TABLE_* macros rather than the single JUMP_TABLE macro. Removed many of the weird macro definitions needed to support the monolithic JUMP_TABLE. * bfd-in.h (JUMP_TABLE): Removed. * libbfd-in.h: Define a bunch of macros, and declare a few functions, for use with the new BFD_JUMP_TABLE_* macros. * libbfd.c (_bfd_dummy_new_section_hook): Removed. (bfd_false): Set bfd_error_invalid_operation. (bfd_nullvoidptr): Likewise. (bfd_n1): New function. (_bfd_nocore_core_file_matches_executable_p): Renamed from _bfd_dummy_core_file_matches_executable_p. (_bfd_nocore_core_file_failing_command): Similar rename. Set bfd_error_invalid_operation. (_bfd_nocore_core_file_failing_signal): Likewise. (_bfd_generic_get_section_contents): Renamed from bfd_generic_get_section_contents. Changed all callers. (_bfd_generic_set_section_contents): Similar rename. * ieee.c: #if 0 out ieee_bfd_debug_info_start, ieee_bfd_debug_info_end, ieee_bfd_debug_info_accumulate. They were never called. * bfd-in2.h: Rebuilt. * libbfd.h: Rebuilt.
Diffstat (limited to 'bfd/elf32-hppa.c')
-rw-r--r--bfd/elf32-hppa.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c
index 5874aab..7a0f37d 100644
--- a/bfd/elf32-hppa.c
+++ b/bfd/elf32-hppa.c
@@ -3055,8 +3055,8 @@ hppa_elf_get_section_contents (abfd, section, location, offset, count)
if (section->output_section == NULL
&& abfd->direction == read_direction)
{
- return bfd_generic_get_section_contents (abfd, section, location,
- offset, count);
+ return _bfd_generic_get_section_contents (abfd, section, location,
+ offset, count);
}
/* If this is the first time through, and there are output sections,
@@ -3098,8 +3098,8 @@ hppa_elf_get_section_contents (abfd, section, location, offset, count)
else
/* It's not the symbol extension or linker stub sections, use
the generic routines. */
- return bfd_generic_get_section_contents (abfd, section, location,
- offset, count);
+ return _bfd_generic_get_section_contents (abfd, section, location,
+ offset, count);
}
/* Translate from an elf into field into a howto relocation pointer. */
@@ -3396,7 +3396,7 @@ elf32_hppa_backend_section_from_bfd_section (abfd, hdr, asect, ignored)
#define elf_backend_symbol_processing elf32_hppa_backend_symbol_processing
#define elf_backend_symbol_table_processing elf32_hppa_backend_symbol_table_processing
-#define bfd_generic_get_section_contents hppa_elf_get_section_contents
+#define bfd_elf32_get_section_contents hppa_elf_get_section_contents
#define bfd_elf32_set_section_contents hppa_elf_set_section_contents
#define bfd_elf32_bfd_is_local_label hppa_elf_is_local_label