diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-08-08 16:27:21 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-08-08 16:27:21 +0000 |
commit | 8612a388f71b8a34a4f118a1f9e5ca660342d7cf (patch) | |
tree | 8e5c2366446f0297c15524df542e107509c7f635 /bfd/reloc.c | |
parent | 9e8419d04303bfddb2b062f70ef70541a7f14a10 (diff) | |
download | gdb-8612a388f71b8a34a4f118a1f9e5ca660342d7cf.zip gdb-8612a388f71b8a34a4f118a1f9e5ca660342d7cf.tar.gz gdb-8612a388f71b8a34a4f118a1f9e5ca660342d7cf.tar.bz2 |
Thu Aug 8 12:21:56 1996 Klaus Kaempf <kkaempf@progis.de>
* evax-alpha.c (evax_alpha_vec): Corrected flags, cleanup.
(evax_initialize): Remove evax_reloc_table.
(evax_close_and_cleanup): Ditto.
(reloc_nil): Ditto.
(alpha_howto_table): Remove ALPHA_R_SWREL32 and ALPHA_R_SWREL64
entries.
(evax_bfd_reloc_type_lookup): Ditto.
* evax-egsd.c (_bfd_evax_slurp_egsd): Add a few casts; set
cooked_size == raw_size.
* evax-emh.c (_bfd_evax_register_filename): Remove.
* evax-etir.c (etir_stc): Allow ETIR_S_C_STC_xx commands.
* evax-misc.c (add_new_contents): Malloc section at full size.
(_bfd_save_evax_section): Memcpy section contents directly.
* evax.h (ALPHA_R_SWREL32, ALPHA_R_SWREL64): Remove.
(evax_reloc_table): Remove.
* hosts/alphavms.h (O_ACCMODE): Define if needed.
* makefile.vms: Add better support for DEC C compilation
Add evax.h dependencies
* reloc.c (bfd_get_reloc_size): Add case for 16 byte reloc.
(BFD_RELOC_SWREL32,BFD_RELOC_SWREL64): Remove.
(BFD_RELOC_ALPHA_BASEREG): Remove.
* bfd-in2.h, libbfd.h: Rebuild.
Diffstat (limited to 'bfd/reloc.c')
-rw-r--r-- | bfd/reloc.c | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/bfd/reloc.c b/bfd/reloc.c index a418604..d5575ce 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c @@ -428,6 +428,7 @@ bfd_get_reloc_size (howto) case 2: return 4; case 3: return 0; case 4: return 8; + case 8: return 16; case -2: return 4; default: abort (); } @@ -1801,15 +1802,6 @@ decided relatively late. ENUM - BFD_RELOC_SWREL32 -ENUMX - BFD_RELOC_SWREL64 -ENUMDOC - For openVMS/Alpha systems, these are displacements for switch -tables. - - -ENUM BFD_RELOC_I960_CALLJ ENUMDOC Reloc types used for i960/b.out. @@ -1950,13 +1942,8 @@ ENUMDOC ENUM BFD_RELOC_ALPHA_LINKAGE ENUMDOC - The LINKAGE relocation outputs a special code in the object file, - the rest is handled by the linker. - -ENUM - BFD_RELOC_ALPHA_BASEREG -ENUMDOC - The BASEREG relocation calculates differences to basereg. + The LINKAGE relocation outputs a linkage pair in the object file, + which is filled by the linker. ENUM BFD_RELOC_MIPS_JMP |