aboutsummaryrefslogtreecommitdiff
path: root/bfd/ieee.c
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1994-01-25 13:25:26 +0000
committerDavid MacKenzie <djm@cygnus>1994-01-25 13:25:26 +0000
commitf4bd7a8f0ebcc8d4c6c289ddfc085c1c00c1a497 (patch)
treec02524f3627fbb0582617c73ce68b89157699282 /bfd/ieee.c
parent2ba6182bbc59b54926cfb2c462888ddad74e30bf (diff)
downloadgdb-f4bd7a8f0ebcc8d4c6c289ddfc085c1c00c1a497.zip
gdb-f4bd7a8f0ebcc8d4c6c289ddfc085c1c00c1a497.tar.gz
gdb-f4bd7a8f0ebcc8d4c6c289ddfc085c1c00c1a497.tar.bz2
* opncls.c (_bfd_new_bfd, _bfd_new_bfd_contained_in): Add
"_bfd_" to function names. * archive.c (_bfd_create_empty_archive_element_shell), libbfd-in.h: Change callers. * libbfd.c (bfd_zmalloc): Renamed from zalloc. * libbfd.c (bfd_add_to_string_table), trad-core.c (trad_unix_core_file_p), targets.c (bfd_target_list), ptrace-core.c (ptrace_unix_core_file_p), opncls.c (new_bfd), libbfd-in.h, ieee.c (ieee_make_empty_symbol), elf32-hppa.c (hppa_elf_stub_branch_reloc), (hppa_elf_stub_reloc): Change callers. * libbfd.h: Regenerated. * archive.c (_bfd_look_for_bfd_in_cache): Add "_bfd_" to name. (_bfd_get_elt_at_filepos), coff-rs6000.c (rs6000coff_get_elt_at_filepos), libbfd-in.h: Change callers. * format.c (bfd_check_format_matches), libbfd-in.h, targets.c, elfcode.h (elf_object_p): Rename target_vector to bfd_target_vector and default_vector to bfd_default_vector. * libbfd.h: Regenerated.
Diffstat (limited to 'bfd/ieee.c')
-rw-r--r--bfd/ieee.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/bfd/ieee.c b/bfd/ieee.c
index da2193a..25504d8 100644
--- a/bfd/ieee.c
+++ b/bfd/ieee.c
@@ -2823,7 +2823,7 @@ DEFUN(ieee_make_empty_symbol,(abfd),
{
ieee_symbol_type *new =
- (ieee_symbol_type *)zalloc (sizeof (ieee_symbol_type));
+ (ieee_symbol_type *)bfd_zmalloc (sizeof (ieee_symbol_type));
new->symbol.the_bfd = abfd;
return &new->symbol;
@@ -2979,11 +2979,13 @@ DEFUN(ieee_bfd_debug_info_accumulate,(abfd, section),
#define ieee_set_arch_mach bfd_default_set_arch_mach
#define ieee_bfd_get_relocated_section_contents bfd_generic_get_relocated_section_contents
#define ieee_bfd_relax_section bfd_generic_relax_section
-#define ieee_bfd_seclet_link bfd_generic_seclet_link
#define ieee_bfd_reloc_type_lookup \
((CONST struct reloc_howto_struct *(*) PARAMS ((bfd *, bfd_reloc_code_real_type))) bfd_nullvoidptr)
#define ieee_bfd_make_debug_symbol \
((asymbol *(*) PARAMS ((bfd *, void *, unsigned long))) bfd_nullvoidptr)
+#define ieee_bfd_link_hash_table_create _bfd_generic_link_hash_table_create
+#define ieee_bfd_link_add_symbols _bfd_generic_link_add_symbols
+#define ieee_bfd_final_link _bfd_generic_final_link
/*SUPPRESS 460 */
bfd_target ieee_vec =
@@ -2994,7 +2996,7 @@ bfd_target ieee_vec =
true, /* target headers byte order */
(HAS_RELOC | EXEC_P | /* object flags */
HAS_LINENO | HAS_DEBUG |
- HAS_SYMS | HAS_LOCALS | DYNAMIC | WP_TEXT | D_PAGED),
+ HAS_SYMS | HAS_LOCALS | WP_TEXT | D_PAGED),
( SEC_CODE|SEC_DATA|SEC_ROM|SEC_HAS_CONTENTS
|SEC_ALLOC | SEC_LOAD | SEC_RELOC), /* section flags */
0, /* leading underscore */