From 92a956e87d1048234cbeb29cf35e45b3486a4c0f Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Tue, 18 Feb 1997 23:01:02 +0000 Subject: [PATCH] * reloc.c (struct reloc_howto_struct): Fix typo in comment. * bfd-in2.h: Regenerated. start-sanitize-tic80 * coff-tic80.c (RTYPE2HOWTO): Replace abort with real function. (rtype2howto): Add function. (tic80_howto_table): Add. end-sanitize-tic80 --- bfd/ChangeLog | 14 ++++++++++++++ bfd/bfd-in2.h | 6 +++++- bfd/reloc.c | 10 ++++++++-- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ae6981ccfa1..22fc5dfe6d9 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,17 @@ +Tue Feb 18 15:31:48 1997 Fred Fish + + * reloc.c (struct reloc_howto_struct): Fix typo in comment. + * bfd-in2.h: Regenerated. +start-sanitize-tic80 + * coff-tic80.c (RTYPE2HOWTO): Replace abort with real function. + (rtype2howto): Add function. + (tic80_howto_table): Add. +end-sanitize-tic80 + +Tue Feb 18 11:41:00 1996 Dawn Perchik + + * sysdep.h: Don't define errno in MSVC if error.h is included. + start-sanitize-v850 Tue Feb 18 10:04:13 1997 Jeffrey A Law (law@cygnus.com) diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index a14a1700855..3aa53443f8d 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -1369,7 +1369,7 @@ enum complain_overflow struct reloc_howto_struct { - /* The type field has mainly a documetary use - the back end can + /* The type field has mainly a documentary use - the back end can do what it wants with it, though normally the back end's external idea of what a reloc number is stored in this field. For example, a PC relative word relocation @@ -1674,6 +1674,10 @@ prediction logic which may be provided on some processors. */ which is filled by the linker. */ BFD_RELOC_ALPHA_LINKAGE, +/* The CODEADDR relocation outputs a STO_CA in the object file, +which is filled by the linker. */ + BFD_RELOC_ALPHA_CODEADDR, + /* Bits 27..2 of the relocation address shifted right 2 bits; simple reloc otherwise. */ BFD_RELOC_MIPS_JMP, diff --git a/bfd/reloc.c b/bfd/reloc.c index 81571b30503..da45948cacc 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c @@ -1,5 +1,5 @@ /* BFD support for handling relocation entries. - Copyright (C) 1990, 91, 92, 93, 94, 95, 1996, 1997 + Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 1997 Free Software Foundation, Inc. Written by Cygnus Support. @@ -289,7 +289,7 @@ CODE_FRAGMENT . .struct reloc_howto_struct .{ -. {* The type field has mainly a documetary use - the back end can +. {* The type field has mainly a documentary use - the back end can . do what it wants with it, though normally the back end's . external idea of what a reloc number is stored . in this field. For example, a PC relative word relocation @@ -1950,6 +1950,12 @@ ENUMDOC The LINKAGE relocation outputs a linkage pair in the object file, which is filled by the linker. +ENUM + BFD_RELOC_ALPHA_CODEADDR +ENUMDOC + The CODEADDR relocation outputs a STO_CA in the object file, + which is filled by the linker. + ENUM BFD_RELOC_MIPS_JMP ENUMDOC -- 2.30.2