diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-08-04 16:36:10 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-08-04 16:36:10 +0000 |
commit | e4b6b3e71bd600c9ff393c9dd6d05379c7774082 (patch) | |
tree | 09d897a74890ead61c5f2a0d557817def8e8a871 /bfd/coffcode.h | |
parent | eea92b244242cd2e1ce682d9f83e9384608534f6 (diff) | |
download | gdb-e4b6b3e71bd600c9ff393c9dd6d05379c7774082.zip gdb-e4b6b3e71bd600c9ff393c9dd6d05379c7774082.tar.gz gdb-e4b6b3e71bd600c9ff393c9dd6d05379c7774082.tar.bz2 |
* coff-h8500.c (rtype2howto): Do an fprintf to stderr rather than
using printf.
* coff-z8k.c (rtype2howto): Likewise.
* coffcode.h (dummy_reloc16_extra_cases): Likewise.
* elf32-i386.c (TRACE): Likewise.
* hp300hpux.c (convert_sym_type, swap_std_reloc_in): Likewise.
* rs6000-core.c (rs6000coff_get_section_contents): Likewise.
* coffgen.c (coff_print_symbol): Do an fprintf to the file
argument rather than using printf.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r-- | bfd/coffcode.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 721a7e9..e26f1be 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -818,9 +818,9 @@ coff_set_arch_mach_hook(abfd, filehdr) switch (internal_f->f_magic) { #ifdef I386MAGIC case I386MAGIC: -#ifdef I386AIXMAGIC + case I386PTXMAGIC: case I386AIXMAGIC: /* Danbury PS/2 AIX C Compiler */ -#endif + case I386LYNXMAGIC: arch = bfd_arch_i386; machine = 0; break; @@ -2079,8 +2079,9 @@ SUBSUBSECTION #ifndef CALC_ADDEND #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ - if (ptr && bfd_asymbol_bfd(ptr) == abfd \ - && ((ptr->flags & BSF_OLD_COMMON)== 0)) \ + if (ptr && bfd_asymbol_bfd(ptr) == abfd \ + && !bfd_is_com_section(ptr->section) \ + && !(ptr->flags & BSF_OLD_COMMON)) \ { \ cache_ptr->addend = -(ptr->section->vma + ptr->value); \ } \ @@ -2251,7 +2252,7 @@ dummy_reloc16_extra_cases (abfd, seclet, reloc, data, src_ptr, dst_ptr) unsigned int *src_ptr; unsigned int *dst_ptr; { - printf("%s\n", reloc->howto->name); + fprintf(stderr, "%s\n", reloc->howto->name); abort (); } #endif |