aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-04-02 22:36:04 +0000
committerIan Lance Taylor <ian@airs.com>1993-04-02 22:36:04 +0000
commitb580c2b543bf3d5bbd3fc7e3f74227a59e92af1d (patch)
tree7b2d61a1b1ec9f66cd8d0651219461769ce44054 /bfd
parent1b8a42f353def1d2ca03871657a32cf90ae159b3 (diff)
downloadgdb-b580c2b543bf3d5bbd3fc7e3f74227a59e92af1d.zip
gdb-b580c2b543bf3d5bbd3fc7e3f74227a59e92af1d.tar.gz
gdb-b580c2b543bf3d5bbd3fc7e3f74227a59e92af1d.tar.bz2
* seclet.c (seclet_dump_seclet): Correct SEC_HAS_CONTENTS test.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog24
-rw-r--r--bfd/seclet.c2
2 files changed, 25 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9893620..418d7a8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,29 @@
+Fri Apr 2 14:35:05 1993 Ian Lance Taylor (ian@cygnus.com)
+
+ * seclet.c (seclet_dump_seclet): Correct SEC_HAS_CONTENTS test.
+
+Wed Mar 31 17:41:05 1993 Ian Lance Taylor (ian@cygnus.com)
+
+ * reloc.c (bfd_reloc_code_real_type): Added BFD_RELOC_MIPS_GPREL.
+ * libecoff.h (ecoff_data_type): Added gp_size field.
+ * coff-mips.c (ecoff_mkobject_hook): Initialize gp_size to 8.
+ (ecoff_set_symbol_info): Compare against gp_size, not hardcoded 8.
+ Set flags to 0 for large common symbols.
+ (ecoff_gprel_reloc): Handle non-zero addend for external symbols,
+ which can occur for gas-generated relocs.
+ (ecoff_bfd_reloc_type_lookup): Added BFD_RELOC_MIPS_GPREL case.
+ * bfd.c (bfd_get_gp_size, bfd_set_gp_size): New functions.
+ * Makefile.in (bfd.o): Now depends on coff/sym.h and libecoff.h.
+
Tue Mar 30 09:33:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
+ * srec.c (srec_set_section_contents): Use lma field for load
+ address.
+ * section.c: Add declaration of lma field to section structure.
+ * coffcode.h (coff_write_object_contents): Use lma field for load
+ address.
+ * bfd-in.h (bfd_set_section_vma): Set lma along with vma.
+
* aoutx.h (translate_from_native_sym_flags): Now handles indirect
symbols in a better way. (translate_to_native_sym_flag): Set the
N_INDR bit when necessary. (aout<>slurp_symbol_table): Maintain
diff --git a/bfd/seclet.c b/bfd/seclet.c
index b2b61bb..5b4d764 100644
--- a/bfd/seclet.c
+++ b/bfd/seclet.c
@@ -128,7 +128,7 @@ DEFUN(seclet_dump_seclet,(abfd, seclet, section, data, relocateable),
d[i] = seclet->u.fill.value ;
}
/* Don't bother to fill in empty sections */
- if (!bfd_get_section_flags(abfd, section) & SEC_HAS_CONTENTS)
+ if (!(bfd_get_section_flags(abfd, section) & SEC_HAS_CONTENTS))
{
return true;
}