* reloc.c (bfd_get_reloc_size): Size of type -2 is 4 bytes, not 2.

This commit is contained in:
Ian Lance Taylor 1994-01-25 20:48:48 +00:00
parent b58239507e
commit 8638431e66
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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 ();
}
}