aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-01-25 20:48:48 +0000
committerIan Lance Taylor <ian@airs.com>1994-01-25 20:48:48 +0000
commit8638431e6668af5e971141f6764b4ef14682b738 (patch)
tree48a2dd26d34522424a4a6072730fa28a1a392c31 /bfd
parentb58239507e81e2a361598ce56c14fc72aa63024c (diff)
downloadgdb-8638431e6668af5e971141f6764b4ef14682b738.zip
gdb-8638431e6668af5e971141f6764b4ef14682b738.tar.gz
gdb-8638431e6668af5e971141f6764b4ef14682b738.tar.bz2
* reloc.c (bfd_get_reloc_size): Size of type -2 is 4 bytes, not 2.
Diffstat (limited to 'bfd')
-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 ();
}
}