From: David Edelsohn Date: Wed, 19 Jul 1995 23:02:21 +0000 (+0000) Subject: * coff-arm.c (TARGET_LITTLE_SYM, TARGET_BIG_SYM): Replaces TARGET_SYM. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d6fc77df4d8c2f1d68d7c582d0cae0b250107dac;p=binutils-gdb.git * coff-arm.c (TARGET_LITTLE_SYM, TARGET_BIG_SYM): Replaces TARGET_SYM. * configure.in (armpe_vec, armpei_vec): Add bi-endian support. * configure: "regenerated". * pe-arm.c (TARGET_LITTLE_SYM, TARGET_BIG_SYM): Replaces TARGET_SYM. (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Replaces TARGET_NAME. * pei-arm.c (TARGET_LITTLE_SYM, TARGET_BIG_SYM): Replaces TARGET_SYM. (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Replaces TARGET_NAME. * targets.c (armpe_vec, armpei_vec): Deleted. (armpe_little_vec, armpe_big_vec, armpei_little_vec, armpei_big_vec): Added. * config/arm-pe.mt (DEFAULT_VECTOR): Default is armpe_little_vec. (SELECT_VECS): Add bi-endian support. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 042cca971e9..2d7953ecd2d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,33 @@ +Wed Jul 19 15:52:01 1995 Doug Evans + + * coff-arm.c (TARGET_LITTLE_SYM, TARGET_BIG_SYM): Replaces TARGET_SYM. + * configure.in (armpe_vec, armpei_vec): Add bi-endian support. + * configure: "regenerated". + * pe-arm.c (TARGET_LITTLE_SYM, TARGET_BIG_SYM): Replaces TARGET_SYM. + (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Replaces TARGET_NAME. + * pei-arm.c (TARGET_LITTLE_SYM, TARGET_BIG_SYM): Replaces TARGET_SYM. + (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Replaces TARGET_NAME. + * targets.c (armpe_vec, armpei_vec): Deleted. + (armpe_little_vec, armpe_big_vec, armpei_little_vec, armpei_big_vec): + Added. + * config/arm-pe.mt (DEFAULT_VECTOR): Default is armpe_little_vec. + (SELECT_VECS): Add bi-endian support. + +Wed Jul 19 10:47:25 1995 Ian Lance Taylor + + * coff-sh.c: Clean up and comment. + (r_imm32): Remove. + (sh_coff_howtos): New static array. + (SH_COFF_HOWTO_COUNT): Define. + (get_symbol_value): Make relocation bfd_vma rather than long. + (RTYPE2HOWTO): Rewrite to use sh_coff_howtos. + (coff_relocate_section): Define to sh_relocate_section. + (sh_relocate_section): New static function. + +Sat Jul 15 01:02:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * configure.host: Add support for generic m68k SVR4 host. + Fri Jul 14 13:13:55 1995 Ian Lance Taylor * aoutx.h (KEEPIT): Change definition to udata.i. diff --git a/bfd/targets.c b/bfd/targets.c index 62f337d3797..369ffd2feda 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -16,7 +16,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "bfd.h" #include "sysdep.h" @@ -328,7 +328,9 @@ The general target vector. .CAT(NAME,_bfd_is_local_label),\ .CAT(NAME,_get_lineno),\ .CAT(NAME,_find_nearest_line),\ -.CAT(NAME,_bfd_make_debug_symbol) +.CAT(NAME,_bfd_make_debug_symbol),\ +.CAT(NAME,_read_minisymbols),\ +.CAT(NAME,_minisymbol_to_symbol) . long (*_bfd_get_symtab_upper_bound) PARAMS ((bfd *)); . long (*_bfd_canonicalize_symtab) PARAMS ((bfd *, . struct symbol_cache_entry **)); @@ -352,10 +354,18 @@ The general target vector. . {* Back-door to allow format-aware applications to create debug symbols . while using BFD for everything else. Currently used by the assembler . when creating COFF files. *} -. asymbol * (*_bfd_make_debug_symbol) PARAMS (( +. asymbol * (*_bfd_make_debug_symbol) PARAMS (( . bfd *abfd, . void *ptr, . unsigned long size)); +.#define bfd_read_minisymbols(b, d, m, s) \ +. BFD_SEND (b, _read_minisymbols, (b, d, m, s)) +. long (*_read_minisymbols) PARAMS ((bfd *, boolean, PTR *, +. unsigned int *)); +.#define bfd_minisymbol_to_symbol(b, d, m, f) \ +. BFD_SEND (b, _minisymbol_to_symbol, (b, d, m, f)) +. asymbol *(*_minisymbol_to_symbol) PARAMS ((bfd *, boolean, const PTR, +. asymbol *)); . . {* Routines for relocs. *} .#define BFD_JUMP_TABLE_RELOCS(NAME)\ @@ -449,8 +459,10 @@ extern const bfd_target aout_mips_big_vec; extern const bfd_target aout_mips_little_vec; extern const bfd_target aout0_big_vec; extern const bfd_target apollocoff_vec; -extern const bfd_target armpe_vec; -extern const bfd_target armpei_vec; +extern const bfd_target armpe_little_vec; +extern const bfd_target armpe_big_vec; +extern const bfd_target armpei_little_vec; +extern const bfd_target armpei_big_vec; extern const bfd_target b_out_vec_big_host; extern const bfd_target b_out_vec_little_host; /* start-sanitize-arc */