From: Ian Lance Taylor Date: Tue, 25 Jan 1994 20:48:48 +0000 (+0000) Subject: * reloc.c (bfd_get_reloc_size): Size of type -2 is 4 bytes, not 2. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8638431e6668af5e971141f6764b4ef14682b738;p=binutils-gdb.git * reloc.c (bfd_get_reloc_size): Size of type -2 is 4 bytes, not 2. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9a72e019744..d12a7f8ea85 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 e0fb312d81d..675bb2982cf 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 (); } }