diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1995-11-18 20:05:06 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1995-11-18 20:05:06 +0000 |
commit | 177b193219054d4dc1c6889b35f7ec594ece190f (patch) | |
tree | 4a867d2a90ba8808fbd5786b69364e89efe6f619 | |
parent | a94bead5fcc6ad2c85300bedee4b28aa62a6a7d5 (diff) | |
download | gdb-177b193219054d4dc1c6889b35f7ec594ece190f.zip gdb-177b193219054d4dc1c6889b35f7ec594ece190f.tar.gz gdb-177b193219054d4dc1c6889b35f7ec594ece190f.tar.bz2 |
Clean up some comments.
-rw-r--r-- | bfd/ChangeLog | 15 | ||||
-rw-r--r-- | bfd/coff-arm.c | 39 |
2 files changed, 47 insertions, 7 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 614bb67..5c55b95 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,18 @@ +Sat Nov 18 19:43:04 1995 Richard Earnshaw (rearnsha@armltd.co.uk) + + * pe-arm.c: Fix typos. + * coff-arm.c: Likewise. + +Fri Nov 17 16:22:04 1995 Kim Knuttila <krk@cygnus.com> + + * coff-ppc.c (list_ele): Added "cat"egory member. + (record_toc): New category parameter (priv or pub). + (ppc_record_toc_entry): Check to see if toc bounds exceeded. + (ppc_process_before_allocation): Removed embrionic data-in-toc from + the mainline. It addes extra toc cells in error. + (ppc_coff_swap_sym_in_hook): Added some documentation. + (dump_toc): Can now diagnose "virtual toc" chicanery. + Fri Nov 17 10:41:25 1995 Philippe De Muyter <phdm@info.ucl.ac.be> * elf-bfd.h (struct elf_link_hash_table): Change type of diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c index 697fd4a..a33bbb2 100644 --- a/bfd/coff-arm.c +++ b/bfd/coff-arm.c @@ -1,4 +1,4 @@ -/* BFD back-end for Intel arm COFF files. +/* BFD back-end for ARM COFF files. Copyright 1990, 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. Written by Cygnus Support. @@ -259,6 +259,17 @@ static reloc_howto_type aoutarm_std_reloc_howto[] = 0xffffffff, PCRELOFFSET), }; +#ifdef COFF_WITH_PE +/* Return true if this relocation should + appear in the output .reloc section. */ + +static boolean in_reloc_p (abfd, howto) + bfd * abfd; + reloc_howto_type *howto; +{ + return !howto->pc_relative && howto->type != 11; +} +#endif #define RTYPE2HOWTO(cache_ptr, dst) \ @@ -411,10 +422,18 @@ arm_reloc_type_lookup(abfd,code) #include "coffcode.h" +const bfd_target #ifdef TARGET_LITTLE_SYM -const bfd_target TARGET_LITTLE_SYM = +TARGET_LITTLE_SYM = +#else +armcoff_little_vec = +#endif { - TARGET_LITTLE_NAME, /* name or coff-arm-little */ +#ifdef TARGET_LITTLE_NAME + TARGET_LITTLE_NAME, +#else + "coff-arm-little", +#endif bfd_target_coff_flavour, false, /* data byte order is little */ false, /* header byte order is little */ @@ -459,12 +478,19 @@ const bfd_target TARGET_LITTLE_SYM = COFF_SWAP_TABLE, }; -#endif +const bfd_target #ifdef TARGET_BIG_SYM -const bfd_target TARGET_BIG_SYM = +TARGET_BIG_SYM = +#else +armcoff_big_vec = +#endif { - TARGET_BIG_NAME, /* name or coff-arm-big */ +#ifdef TARGET_BIG_NAME + TARGET_BIG_NAME, +#else + "coff-arm-big", +#endif bfd_target_coff_flavour, true, /* data byte order is big */ true, /* header byte order is big */ @@ -509,4 +535,3 @@ const bfd_target TARGET_BIG_SYM = COFF_SWAP_TABLE, }; -#endif |