2000-09-08 Kazu Hirata <kazu@hxi.com>

* archive.c: Fix formatting.
	* coff-arm.c: Likewise.
	* doc/chew.c: Likewise.
This commit is contained in:
Kazu Hirata 2000-09-08 23:46:41 +00:00
parent 99f9523ca6
commit d70910e85d
4 changed files with 1070 additions and 1117 deletions

View File

@ -1,3 +1,9 @@
2000-09-08 Kazu Hirata <kazu@hxi.com>
* archive.c: Fix formatting.
* coff-arm.c: Likewise.
* doc/chew.c: Likewise.
2000-09-08 Alan Modra <alan@linuxcare.com.au>
* section.c (bfd_get_unique_section_name): Put a dot before the

View File

@ -603,7 +603,6 @@ bfd_generic_openr_next_archived_file (archive, last_file)
return _bfd_get_elt_at_filepos (archive, filestart);
}
const bfd_target *
bfd_generic_archive_p (abfd)
bfd *abfd;
@ -883,11 +882,9 @@ do_slurp_coff_armap (abfd)
/* Pad to an even boundary if you have to */
ardata->first_file_filepos += (ardata->first_file_filepos) % 2;
bfd_has_map (abfd) = true;
bfd_release (abfd, (PTR) raw_armap);
/* Check for a second archive header (as used by PE) */
{
struct areltdata *tmp;
@ -1183,7 +1180,6 @@ normalize (abfd, file)
{
const char *filename = strrchr (file, '/');
#ifdef HAVE_DOS_BASED_FILE_SYSTEM
{
/* We could have foo/bar\\baz, or foo\\bar, or d:bar. */
@ -1474,7 +1470,6 @@ bfd_special_undocumented_glue (abfd, filename)
return (struct ar_hdr *) ar_elt->arch_header;
}
/* Analogous to stat call */
int
bfd_generic_stat_arch_elt (abfd, buf)

View File

@ -57,7 +57,6 @@ typedef enum {bunknown, b9, b12, b23} thumb_pcrel_branchtype;
typedef unsigned long int insn32;
typedef unsigned short int insn16;
/* Forward declarations for stupid compilers. */
static boolean coff_arm_relocate_section
PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
@ -818,7 +817,6 @@ coff_thumb_pcrel_9 (abfd, reloc_entry, symbol, data, input_section,
input_section, output_bfd, error_message, b9);
}
static CONST struct reloc_howto_struct *
coff_arm_reloc_type_lookup (abfd, code)
bfd * abfd;
@ -976,7 +974,6 @@ insert_thumb_branch (br_insn, rel_off)
unsigned int low_bits;
unsigned int high_bits;
BFD_ASSERT((rel_off & 1) != 1);
rel_off >>= 1; /* half word aligned address */
@ -1194,7 +1191,6 @@ coff_arm_relocate_section (output_bfd, info, input_bfd, input_section,
else
addend = 0;
howto = coff_rtype_to_howto (input_bfd, input_section, rel, h,
sym, &addend);
if (howto == NULL)
@ -1881,7 +1877,6 @@ record_thumb_to_arm_glue (info, h)
struct coff_link_hash_entry * myh;
struct coff_arm_link_hash_table * globals;
globals = coff_arm_hash_table (info);
BFD_ASSERT (globals != NULL);
@ -2133,7 +2128,6 @@ bfd_arm_process_before_allocation (abfd, info, support_old_code)
#define coff_bfd_copy_private_bfd_data coff_arm_copy_private_bfd_data
#define coff_bfd_link_hash_table_create coff_arm_link_hash_table_create
/* When doing a relocateable link, we want to convert ARM26 relocs
into ARM26D relocs. */
@ -2276,7 +2270,6 @@ coff_arm_merge_private_bfd_data (ibfd, obfd)
return true;
}
/* Display the flags field. */
static boolean
@ -2319,7 +2312,6 @@ coff_arm_print_private_bfd_data (abfd, ptr)
return true;
}
/* Copies the given flags into the coff_tdata.flags field.
Typically these flags come from the f_flags[] field of
the COFF filehdr structure, which contains important,
@ -2375,7 +2367,6 @@ _bfd_coff_arm_set_private_flags (abfd, flags)
return true;
}
/* Copy the important parts of the target specific data
from one instance of a BFD to another. */

File diff suppressed because it is too large Load Diff