aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog2
-rw-r--r--bfd/reloc.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9a72e01..d12a7f8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -8,6 +8,8 @@ Tue Jan 25 11:43:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
Tue Jan 25 11:46:46 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
+ * reloc.c (bfd_get_reloc_size): Size of type -2 is 4 bytes, not 2.
+
* hp300hpux.c (MY(write_object_contents)): Write out the symbols
before writing out the relocs, so that the right symbol indices
are used.
diff --git a/bfd/reloc.c b/bfd/reloc.c
index e0fb312..675bb29 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -423,7 +423,7 @@ bfd_get_reloc_size (howto)
case 2: return 4;
case 3: return 0;
case 4: return 8;
- case -2: return 2;
+ case -2: return 4;
default: abort ();
}
}