aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog-20062
-rw-r--r--bfd/ChangeLog-919316
-rw-r--r--bfd/ChangeLog-9495134
-rw-r--r--bfd/Makefile.am4
-rw-r--r--bfd/Makefile.in4
-rw-r--r--bfd/acinclude.m44
-rw-r--r--bfd/bfd.m44
-rw-r--r--bfd/coff-rs6000.c2
-rw-r--r--bfd/coffcode.h8
-rw-r--r--bfd/coffgen.c6
-rw-r--r--bfd/config.bfd10
-rw-r--r--bfd/configure.ac4
-rw-r--r--bfd/configure.com4
-rw-r--r--bfd/configure.host4
-rw-r--r--bfd/cpu-avr.c10
-rw-r--r--bfd/cpu-nios2.c2
-rw-r--r--bfd/ecoff.c2
-rw-r--r--bfd/elf-attrs.c2
-rw-r--r--bfd/elf.c4
-rw-r--r--bfd/elf32-h8300.c2
-rw-r--r--bfd/elf32-msp430.c54
-rw-r--r--bfd/elf32-nios2.c86
-rw-r--r--bfd/elf32-nios2.h2
-rw-r--r--bfd/elf32-ppc.c12
-rw-r--r--bfd/elf32-rl78.c8
-rw-r--r--bfd/elf32-sh.c2
-rw-r--r--bfd/elf32-v850.c18
-rw-r--r--bfd/elf64-sh64.c2
-rw-r--r--bfd/elflink.c4
-rw-r--r--bfd/elfxx-sparc.c4
-rw-r--r--bfd/libbfd-in.h2
-rw-r--r--bfd/libbfd.h2
-rw-r--r--bfd/mach-o.c20
-rw-r--r--bfd/makefile.vms6
-rwxr-xr-xbfd/mep-relocs.pl4
-rw-r--r--bfd/opncls.c2
-rw-r--r--bfd/peXXigen.c4
-rw-r--r--bfd/pei-x86_64.c2
-rw-r--r--bfd/peicode.h2
-rw-r--r--bfd/versados.c4
-rw-r--r--bfd/vms-alpha.c2
-rw-r--r--bfd/warning.m46
42 files changed, 238 insertions, 238 deletions
diff --git a/bfd/ChangeLog-2006 b/bfd/ChangeLog-2006
index dc15581..af3cbd4 100644
--- a/bfd/ChangeLog-2006
+++ b/bfd/ChangeLog-2006
@@ -64,7 +64,7 @@
2006-12-15 Mark Kettenis <kettenis@gnu.org>
- * config.bfd: (sh*-*-openbsd*): Add target.
+ * config.bfd: (sh*-*-openbsd*): Add target.
* configure.in (sh*-*-openbsd*): Set COREFILE to netbsd-core.lo.
* configure: Regenerate.
diff --git a/bfd/ChangeLog-9193 b/bfd/ChangeLog-9193
index 31aa237..2882f15 100644
--- a/bfd/ChangeLog-9193
+++ b/bfd/ChangeLog-9193
@@ -231,7 +231,7 @@ Sun Dec 5 19:32:08 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
(som_hppa_howto_talbe): Add R_DLT_REL, R_AUX_UNWIND, and R_SEC_STMT
now that they're safe. Delete bogus R_STATEMENT relocations.
- * som.c (som_hppa_howto_table): Add missing R_END_TRY. Delete
+ * som.c (som_hppa_howto_table): Add missing R_END_TRY. Delete
extra R_DATA_OVERRIDE.
(hppa_som_gen_reloc_type): Generate a relocation for the rounding
mode selector if needed.
@@ -261,7 +261,7 @@ Sat Dec 4 19:40:32 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
relocations are not pc-relative.
* hppa_stubs.h: (BLE_N_XXX_0_31): New instruction used in
- linker stub code.
+ linker stub code.
(COPY_2_31): Likewise.
Fri Dec 3 18:40:58 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
@@ -637,7 +637,7 @@ Sun Nov 14 23:33:01 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
Sat Nov 13 15:27:15 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
* som.c (som_bfd_reloc_type_lookup): Add missing prototype. Returns
- a pointer to constant data. Delete bogus #define which made the
+ a pointer to constant data. Delete bogus #define which made the
function useless.
* som.c (som_prep_for_fixups): New function.
@@ -730,7 +730,7 @@ Thu Nov 11 15:16:28 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
* hppa_stubs.h: Add new instructions to deal with %r31 lossage
problems. Delete unused instructions.
-
+
Tue Nov 9 11:40:27 1993 Stan Shebs (shebs@rtl.cygnus.com)
* m68klynx.c (TARGET_IS_BIG_ENDIAN_P): Define.
@@ -1033,14 +1033,14 @@ Tue Oct 26 10:16:54 1993 Ken Raeburn (raeburn@cygnus.com)
* elf32-hppa.c (hppa_elf_get_section_contents): Add new comments
and clarify existing comments. Do not use DEFUN to declare this
function. Fix numerous indention problems. Correctly handle cases
- where symbol extension section may need to be read from disk,
+ where symbol extension section may need to be read from disk,
read from memory, or built then read from memory.
* elf32-hppa.h: Reformat with gnu-indent and hand fix numerous
formatting and indention problems gnu-indent can not handle.
Clarify some comments about relocation types. Comment basic
relocation "classes". Group PARAM declarations together.
- (HPPA_SXT_{NULL, SYMNDX, RG_RELOC}): Make members of a new
+ (HPPA_SXT_{NULL, SYMNDX, RG_RELOC}): Make members of a new
enumerated type rather than #defines.
Tue Oct 26 02:40:46 1993 Stu Grossman (grossman at cygnus.com)
@@ -1054,7 +1054,7 @@ Mon Oct 25 16:05:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* coffgen.c (coff_print_symbol): Use %lx and cast n_value to
unsigned long. Use %ld for tagndx. Use %lx for offset + vma and
cast it to unsigned long.
- * ecoff.c (ecoff_emit_aggregate): Use %ld.
+ * ecoff.c (ecoff_emit_aggregate): Use %ld.
(ecoff_print_symbol): Use %ld, and cast indx and sym_base to long.
* coffcode.h (dummy_reloc16_estimate): Specify return type.
@@ -1130,7 +1130,7 @@ Thu Oct 21 12:16:26 1993 Ken Raeburn (raeburn@cygnus.com)
* som.h (som_section_data): Add new "subspace_index" field.
* som.c (setup_sections): Save the original SOM subspace index
- in the BFD section associated with that subspace.
+ in the BFD section associated with that subspace.
(som_get_symtab_upper_bound): Implement.
(som_get_symtab): Implement.
(som_print_symbol): Implement.
diff --git a/bfd/ChangeLog-9495 b/bfd/ChangeLog-9495
index beee531..d3d14a9 100644
--- a/bfd/ChangeLog-9495
+++ b/bfd/ChangeLog-9495
@@ -2138,7 +2138,7 @@ Thu Aug 31 11:49:21 1995 Ian Lance Taylor <ian@cygnus.com>
against an absolute symbol into a reloc against a section.
Thu Aug 31 08:00:14 1995 steve chamberlain <sac@slash.cygnus.com>
-
+
* coff-arm.c (coff_arm_reloc): Fix common size problem.
(i3coff_object_p): Delete.
@@ -3096,7 +3096,7 @@ Fri Jun 2 18:54:59 1995 Steve Chamberlain <sac@slash.cygnus.com>
Thu Jun 1 13:51:49 1995 Steve Chamberlain <sac@slash.cygnus.com>
- * coffcode.h (sec_to_styp_flags, styp_to_sec_flags,
+ * coffcode.h (sec_to_styp_flags, styp_to_sec_flags,
coff_new_section_hook): Any section that starts ".stab"
is now marked as debugging.
@@ -3189,7 +3189,7 @@ Thu May 18 04:24:01 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
(MY(swap_std_reloc_{in,out})): New functions.
Use RELOC_ARM_BITS_NEG_{BIG,LITTLE} to extract negative reloc bit.
(aoutarm_squirt_out_relocs): Delete.
-
+
From: David Taylor (dtaylor@armltd.co.uk)
* config/arm[lb]-aout.mt: New files.
* aout-arm.c: New file.
@@ -3216,12 +3216,12 @@ Thu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
Thu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
* coff-i960.c (optcall_callback): don't try and optimize
- undefined refs.
+ undefined refs.
(coff_write_relocs): Search for broken relocs on the way
out and fix them up.
(coff_renumber_symbols): Calculate and return index of
first undefined symbol.
- (coff_write_object_contents): Call coff_renumber_symbols
+ (coff_write_object_contents): Call coff_renumber_symbols
and coff_write_relocs with the new args.
* libcoff.h: (coff_renumber_symbols, coff_renumber_symbols):
Modified prototypes.
@@ -3229,8 +3229,8 @@ Thu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
Thu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
Tom Griest <griest@cs.yale.edu>
- Initial support for PE format.
-
+ Initial support for PE format.
+
* Makefile.in, targets.c, configure.in, config.bfd:
Add support for i386-*-winnt and i386-*-pe.
* archive.c (do_slurp_coff_armap): Understand NTPE format
@@ -3248,7 +3248,7 @@ Thu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
(coff_slurp_symbol_table): PE uses C_SECTION class.
* cofflink.c (_bfd_coff_final_link): Keep PE info up to date.
(_bfd_coff_generic_relocate_section): Cope with PE relocs.
- * coffswap.h (coff_swap_{aout/file/scn/sym}hdr_{in/out}):
+ * coffswap.h (coff_swap_{aout/file/scn/sym}hdr_{in/out}):
New code for PE headers.
Tue May 9 17:01:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
@@ -3936,7 +3936,7 @@ Wed Feb 1 01:32:14 1995 Jeff Law (law@snake.cs.utah.edu)
(som_write_fixups): Ignore the addend in a R_DATA_ONE_SYMBOL fixup.
* som.c (som_object_setup): More heruistics to detect the
- braindamaged HP OSF1 linker.
+ braindamaged HP OSF1 linker.
(setup_sections): Don't forget to free subspace_sections if we get
an error.
(som_slurp_string_table): Allocate strings on this bfd's obstack
@@ -4475,14 +4475,14 @@ Sat Oct 29 12:18:10 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
Fri Oct 28 10:08:41 1994 J.T. Conklin (jtc@rtl.cygnus.com)
- NetBSD/m68k support, based on work by mikeb@snow.datametrics.com:
+ NetBSD/m68k support, based on work by mikeb@snow.datametrics.com:
* config.bfd (m68*-*-netbsd*): Use m68k-nbsd as bfd_name.
* configure.in (m68knetbsd_vec): Added.
* targets.c (bfd_m68knetbsd_vec): Added.
* hosts/m68knbsd.h, config/m68k-nbsd.mt, m68knetbsd.c: New files.
* Makefile.in (BFD32_BACKENDS, CFILES): Add m68knetbsd.c.
- miscellaneous cleanup required by all netbsd targets, based on work
+ miscellaneous cleanup required by all netbsd targets, based on work
by Andrew Cagney <cagney@highland.com.au>:
* netbsd.h (N_MAGIC, N_SET_MAGIC, N_GETMAGIC, N_GETMAGIC2, N_TXTADDR,
N_TXTOFF, N_ALIGN, N_DATADDR, N_DATOFF): Removed. Generic a.out
@@ -5150,7 +5150,7 @@ Tue Sep 13 11:09:39 1994 J.T. Conklin (jtc@rtl.cygnus.com)
file/variable naming conventions.
* i386netbsd.c: New file, renamed from netbsd386.c.
* ns32knetbsd.c: New file, renamed from netbsd532.c.
-
+
Mon Sep 12 21:56:20 1994 Jeff Law (law@snake.cs.utah.edu)
* som.c (som_reloc_skip): Correct off-by-one error for 4-byte
@@ -6011,7 +6011,7 @@ Thu Jul 14 15:12:24 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* config/ns32k-netbsd.mt: New file. Support for netbsd532 target.
* aout-ns32k.c, aout-ns32k.h: New files supporting aout format for
- ns32k series.
+ ns32k series.
* targets.c: Add netbsd532_vec and pc532machaout_vec into
bfd_target_vector array. Move netbsd386_vec to alphabetic order
@@ -6044,11 +6044,11 @@ Thu Jul 14 15:12:24 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* bfd-in2.h: Add entry bfd_arch_ns32k to bfd_architecture enum.
* archures.c: Add bfd_ns32k_arch prototype, and entry in
- archures_init_table.
+ archures_init_table.
* aoutx.h (aout_link_reloc_link_order): Allow for target dependent
MY_put_reloc macro. Allow for target dependent special_function1
- to apply the relocation.
+ to apply the relocation.
* aoutx.h (aout_link_input_section_std): Allow for target
dependent determination of reloc howto. Allow for target dependent
@@ -6124,7 +6124,7 @@ Thu Jul 7 10:10:34 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Thu Jul 7 10:19:20 1994 Jeff Law (law@snake.cs.utah.edu)
- * som.h (R_HPPA_COMPLEX): Fix dumb typo.
+ * som.h (R_HPPA_COMPLEX): Fix dumb typo.
Wed Jul 6 19:21:57 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
@@ -6204,7 +6204,7 @@ Fri Jul 1 12:07:41 1994 Jeff Law (law@snake.cs.utah.edu)
a default definition.
(elf32_bed): Add elf_backend_link_output_symbol_hook.
* elf64-target.h: Likewise.
-
+
* Major rework of the PA ELF code. Uses the new style BFD
linker, major cleanups.
* hppa_stubs.h: Rewrite from scratch. Much smaller and simpler.
@@ -6261,7 +6261,7 @@ Fri Jul 1 12:07:41 1994 Jeff Law (law@snake.cs.utah.edu)
Handle being called from the BFD backend linker.
(elf32_hppa_final_write_processing): Likewise.
(elf_hppa_tc_make_sections): No longer call stub_finish.
-
+
Mon Jun 27 18:07:06 1994 Steve Chamberlain (sac@cirdan.cygnus.com)
* section.c (bfd_get_section_contents): Put in parens to get
@@ -7000,7 +7000,7 @@ Thu May 19 11:37:11 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
(_bfd_elf_link_hash_table_create): Initialize dynobj, dynsymcount,
dynstr and bucketcount fields.
* elf32-target.h: Initialize new dynamic linking fields.
- * elf64-target.h: Likewise.
+ * elf64-target.h: Likewise.
* elf32-i386.c: New functions for dynamic linking support.
* elf32-sparc.c: Likewise.
* bfd-in.h (bfd_elf32_record_link_assignment): Declare.
@@ -7048,7 +7048,7 @@ Mon May 16 10:09:22 1994 Jeff Law (law@snake.cs.utah.edu)
(hppa_elf_reloc): Likewise.
(hppa_look_for_stubs_in_section): Likewise
(ELF_MACHINE_CODE): Change to EM_PARISC.
- * elf32-hppa.h: Include "elf/hppa.h". Change relocation tags
+ * elf32-hppa.h: Include "elf/hppa.h". Change relocation tags
appropriately throughout elf32-hppa.h.
(elf32_hppa_reloc_type): New table based on 94-02-02 draft PA ELF
spec.
@@ -7576,7 +7576,7 @@ Thu Apr 7 11:10:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* elf{32,64}-target.h (elf_backend_begin_write_processing): Provide
a default definition.
(elf{32,64}_bed): Add elf_backend_begin_write_processing.
-
+
* elf32-hppa.h (elf_hppa_tc_symbol): Delete extern declaration.
(elf_hppa_tc_make_sections): Likewise.
@@ -8052,7 +8052,7 @@ Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* i386dynix.c, config/i386-dynix.mt: New files, handling Dynix
variant of a.out.
* configure.in, config.bfd: Use them for Dynix.
- * Makefile.in: Add dependencies for i386dynix.o.
+ * Makefile.in: Add dependencies for i386dynix.o.
* targets.c: Add definition for i386dynix_vec.
* hosts/symmetry.h: Do not define TRAD_CORE_USER_OFFSET for Dynix.
Define HOST_DATA_START_ADDR and TRAD_UNIX_CORE_FILE_FAILING_SIGNAL
@@ -8359,7 +8359,7 @@ Fri Mar 18 18:13:49 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
to be copied from input section to output section during
objcopy or strip.
(som_section_data_struct): Remove several fields now in
- som_copyable_section_data_struct. Make the space and
+ som_copyable_section_data_struct. Make the space and
subspace dictionaries be pointers (to save space when
only reading objects).
@@ -8488,7 +8488,7 @@ Tue Mar 15 22:58:28 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
and bfd_is_local_label.
* targets.c: Add new entries to the bfd_target structure.
-
+
* bfd.c (bfd_copy_private_bfd_data): New definition.
* section.c (bfd_copy_private_section_data): New definition.
@@ -8753,7 +8753,7 @@ Fri Feb 25 16:35:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
in many places. Use default case when possible instead of listing
each case separately. Abort for bad errors until we get error
code propogation working. Work on spacing and indention problems.
- Add FIXMEs for some unresolved problems. Delete hopelessly broken
+ Add FIXMEs for some unresolved problems. Delete hopelessly broken
COMPLEX relocation support (it's never used anyway).
(hppa_elf_rebuild_insn): Delete. Moved into libhppa.h.
(elf_hppa_tc_symbol): Accept and use new arguments (symext chains).
@@ -8897,17 +8897,17 @@ Thu Feb 17 08:30:53 1994 David J. Mackenzie (djm@thepub.cygnus.com)
(bfd_error_type): Renamed from bfd_ec. Prepend "bfd_error_" to
all values.
* bfd-in2.h: Regenerated.
- * aix386-core.c, aout-adobe.c, aout-encap.c, aout-target.h,
- aoutf1.h, aoutx.h, archive.c, archures.c,
- bfd.c, bout.c, cache.c, coff-alpha.c, coff-mips.c,
- coff-rs6000.c, coffcode.h, coffgen.c, core.c, ctor.c,
- ecoff.c, ecofflink.c, elf.c, elf32-hppa.c, elf32-mips.c,
- elfcode.h, format.c, hash.c, hp300hpux.c, hppabsd-core.c,
- i386lynx.c, ieee.c, libbfd.c, libelf.h, linker.c,
- lynx-core.c, nlm.c, nlm32-alpha.c, nlm32-i386.c,
- nlm32-sparc.c, nlmcode.h, oasys.c, opncls.c, osf-core.c,
- ptrace-core.c, reloc16.c, rs6000-core.c, section.c, som.c,
- srec.c, sunos.c, syms.c, targets.c, tekhex.c,
+ * aix386-core.c, aout-adobe.c, aout-encap.c, aout-target.h,
+ aoutf1.h, aoutx.h, archive.c, archures.c,
+ bfd.c, bout.c, cache.c, coff-alpha.c, coff-mips.c,
+ coff-rs6000.c, coffcode.h, coffgen.c, core.c, ctor.c,
+ ecoff.c, ecofflink.c, elf.c, elf32-hppa.c, elf32-mips.c,
+ elfcode.h, format.c, hash.c, hp300hpux.c, hppabsd-core.c,
+ i386lynx.c, ieee.c, libbfd.c, libelf.h, linker.c,
+ lynx-core.c, nlm.c, nlm32-alpha.c, nlm32-i386.c,
+ nlm32-sparc.c, nlmcode.h, oasys.c, opncls.c, osf-core.c,
+ ptrace-core.c, reloc16.c, rs6000-core.c, section.c, som.c,
+ srec.c, sunos.c, syms.c, targets.c, tekhex.c,
trad-core.c: Change callers.
Tue Feb 15 22:27:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
@@ -9038,7 +9038,7 @@ Tue Feb 8 08:57:31 1994 David J. Mackenzie (djm@thepub.cygnus.com)
* srec.c: Indent.
(fillup_symbols): Check bfd_alloc. FIXME void
(srec_mkobject srec_get_section_contents
- srec_set_section_contents): Check bfd_alloc.
+ srec_set_section_contents): Check bfd_alloc.
(srec_make_empty_symbol): Check bfd_zalloc.
* som.c (hppa_som_gen_reloc_type): Check bfd_alloc_by_size_t.
@@ -9102,7 +9102,7 @@ Tue Feb 8 08:57:31 1994 David J. Mackenzie (djm@thepub.cygnus.com)
(bfd_section_from_phdr): Ditto.
(write_relocs): Ditto. FIXME void
(elf_map_symbols assign_section_numbers map_program_segments):
- Ditto. Return a boolean.
+ Ditto. Return a boolean.
(swap_out_syms): Ditto. Check elf_map_symbols.
(elf_slurp_symbol_table): Check bfd_zalloc.
(elf_slurp_reloca_table): Check bfd_alloc.
@@ -9115,7 +9115,7 @@ Tue Feb 8 08:57:31 1994 David J. Mackenzie (djm@thepub.cygnus.com)
* elf32-mips.c (mips_elf_final_link): Check bfd_alloc.
* elf32-hppa.c (hppa_elf_stub_branch_reloc): Check bfd_zmalloc and
- realloc.
+ realloc.
(hppa_elf_stub_reloc): Ditto.
(hppa_elf_build_arg_reloc_stub): Check bfd_zalloc.
(hppa_elf_build_long_branch_stub): Ditto.
@@ -9126,7 +9126,7 @@ Tue Feb 8 08:57:31 1994 David J. Mackenzie (djm@thepub.cygnus.com)
(ecoff_slurp_armap): Check bfd_alloc.
(ecoff_write_armap): Check bfd_zalloc.
(ecoff_link_hash_newfunc): Check bfd_hash_allocate and
- _bfd_link_hash_newfunc.
+ _bfd_link_hash_newfunc.
(ecoff_link_add_externals): Check bfd_alloc.
* ctor.c (bfd_constructor_entry): Check bfd_alloc.
@@ -9146,7 +9146,7 @@ Tue Feb 8 08:57:31 1994 David J. Mackenzie (djm@thepub.cygnus.com)
* coffcode.h: Indent.
(coff_add_missing_symbols): Check bfd_alloc_by_size_t. Return a
- boolean.
+ boolean.
(coff_write_object_contents): Check it.
* coff-alpha.c (alpha_relocate_section): Check bfd_alloc.
@@ -9171,35 +9171,35 @@ Tue Feb 8 08:57:31 1994 David J. Mackenzie (djm@thepub.cygnus.com)
* opncls.c (bfd_zalloc bfd_realloc): Check result of bfd_alloc.
* opncls.c (obstack_chunk_alloc): Define as malloc, not
- bfd_xmalloc_by_size_t.
+ bfd_xmalloc_by_size_t.
(_bfd_new_bfd): Check obstack_begin for 0 return.
* ieee.c (obstack_chunk_alloc): Define as malloc, not
- bfd_xmalloc_by_size_t.
+ bfd_xmalloc_by_size_t.
(ieee_archive_p): Check obstack_begin for 0 return and
obstack_finish for NULL return.
* hash.c (obstack_chunk_alloc): Define as malloc, not
- bfd_xmalloc_by_size_t.
+ bfd_xmalloc_by_size_t.
(bfd_hash_table_init_n): Check obstack_begin for 0 return and
obstack_finish for NULL return.
(bfd_hash_lookup): Check obstack_alloc for NULL return.
* ecofflink.c (obstack_chunk_alloc): Define as malloc, not
- bfd_xmalloc_by_size_t.
+ bfd_xmalloc_by_size_t.
bfd_ecoff_debug_accumulate
bfd_ecoff_debug_accumulate_other): Check obstack_alloc.
(add_file_shuffle add_memory_shuffle): Check obstack_alloc for
NULL return. Return boolean, not void.
(bfd_ecoff_debug_init): Check obstack_begin for 0 return.
(bfd_ecoff_debug_accumulate): Check add_file_shuffle
- and add_memory_shuffle return.
+ and add_memory_shuffle return.
(string_hash_newfunc): Check bfd_hash_allocate and bfd_hash_newfunc.
(bfd_ecoff_debug_accumulate): Check bfd_alloc.
(ecoff_add_string): Check add_memory_shuffle return.
* libbfd-in.h (xmalloc, bfd_xmalloc, bfd_xmalloc_by_size_t):
- Remove decls.
+ Remove decls.
* libbfd.h: Rebuilt.
Fri Feb 11 15:35:32 1994 Stu Grossman (grossman at cygnus.com)
@@ -9309,33 +9309,33 @@ Mon Feb 7 15:02:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
Sun Feb 6 20:04:10 1994 David J. Mackenzie (djm@thepub.cygnus.com)
* elfcode.h (prep_headers, swap_out_syms): Check for NULL return
- from bfd_new_strtab.
+ from bfd_new_strtab.
(elf_compute_section_file_positions): Check for false return from
- swap_out_syms.
+ swap_out_syms.
* linker.c (default_indirect_link_order): Check for NULL return
from bfd_get_relocated_section_contents.
* syms.c: Make example application in doc call xmalloc, not
- bfd_xmalloc.
+ bfd_xmalloc.
* aoutx.h (NAME(aout,slurp_symbol_table),
aout_link_get_symbols, NAME(aout,link_hash_table_create)):
* bout.c (b_out_slurp_reloc_table, b_out_squirt_out_relocs):
- * ecoff.c (ecoff_bfd_link_hash_table_create):
- * ecofflink.c (bfd_ecoff_debug_init):
- * format.c (bfd_check_format_matches):
- * linker.c (_bfd_generic_link_hash_table_create):
- (_bfd_generic_final_link):
- * reloc16.c (bfd_coff_reloc16_relax_section):
- (bfd_coff_reloc16_get_relocated_section_contents):
- * elf32-hppa.c (hppa_elf_build_arg_reloc_stub):
- * elf32-mips.c (mips_elf_final_link):
- * elfcode.h (bfd_new_strtab):
- (bfd_add_2_to_strtab):
- (elf_slurp_symbol_table):
- (elf_corefile_note):
- * libbfd.c (bfd_zmalloc):
+ * ecoff.c (ecoff_bfd_link_hash_table_create):
+ * ecofflink.c (bfd_ecoff_debug_init):
+ * format.c (bfd_check_format_matches):
+ * linker.c (_bfd_generic_link_hash_table_create):
+ (_bfd_generic_final_link):
+ * reloc16.c (bfd_coff_reloc16_relax_section):
+ (bfd_coff_reloc16_get_relocated_section_contents):
+ * elf32-hppa.c (hppa_elf_build_arg_reloc_stub):
+ * elf32-mips.c (mips_elf_final_link):
+ * elfcode.h (bfd_new_strtab):
+ (bfd_add_2_to_strtab):
+ (elf_slurp_symbol_table):
+ (elf_corefile_note):
+ * libbfd.c (bfd_zmalloc):
Use malloc and check the result, instead of bfd_xmalloc.
Sat Feb 5 12:39:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
@@ -9364,7 +9364,7 @@ Fri Feb 4 23:55:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
(RTYPE2HOWTO): Defined to use rs6000coff_rtype2howto.
(rs6000coff_rtype2howto): New function.
(coff_bfd_reloc_type_lookup): Defined to use
- rs6000coff_reloc_type_lookup.
+ rs6000coff_reloc_type_lookup.
(rs6000coff_reloc_type_lookup): New function.
(SELECT_RELOC): Defined to set r_type and r_size fields.
(COFF_LONG_FILENAMES): Defined.
@@ -9408,7 +9408,7 @@ Fri Feb 4 17:28:32 1994 David J. Mackenzie (djm@thepub.cygnus.com)
* libbfd.c (bfd_zmalloc): Call bfd_xmalloc instead of malloc.
(bfd_xmalloc, bfd_xmalloc_by_size_t): Functions deleted.
* libbfd-in.h: Define them as macros calling xmalloc and declare
- xmalloc.
+ xmalloc.
* libbfd.h: Rebuilt.
Thu Feb 3 16:49:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
@@ -9538,7 +9538,7 @@ Mon Jan 24 14:41:23 1994 David J. Mackenzie (djm@thepub.cygnus.com)
* libbfd.h: Regenerated.
* archive.c (_bfd_look_for_bfd_in_cache): Add "_bfd_" to name.
- (_bfd_get_elt_at_filepos),
+ (_bfd_get_elt_at_filepos),
coff-rs6000.c (rs6000coff_get_elt_at_filepos), libbfd-in.h:
Change callers.
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index 295a83a..e28904a 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -6,12 +6,12 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 7092c82..aa885e3 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -22,12 +22,12 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
diff --git a/bfd/acinclude.m4 b/bfd/acinclude.m4
index ce6a72e..5586231 100644
--- a/bfd/acinclude.m4
+++ b/bfd/acinclude.m4
@@ -5,12 +5,12 @@ dnl This file is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 3 of the License, or
dnl (at your option) any later version.
-dnl
+dnl
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl GNU General Public License for more details.
-dnl
+dnl
dnl You should have received a copy of the GNU General Public License
dnl along with this program; see the file COPYING3. If not see
dnl <http://www.gnu.org/licenses/>.
diff --git a/bfd/bfd.m4 b/bfd/bfd.m4
index aa28847..eab1a0f 100644
--- a/bfd/bfd.m4
+++ b/bfd/bfd.m4
@@ -6,12 +6,12 @@ dnl This file is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 3 of the License, or
dnl (at your option) any later version.
-dnl
+dnl
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl GNU General Public License for more details.
-dnl
+dnl
dnl You should have received a copy of the GNU General Public License
dnl along with this program; see the file COPYING3. If not see
dnl <http://www.gnu.org/licenses/>.
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c
index 8fbfa16..3aa5e63 100644
--- a/bfd/coff-rs6000.c
+++ b/bfd/coff-rs6000.c
@@ -3591,7 +3591,7 @@ xcoff_create_csect_from_smclas (bfd *abfd,
".sv", ".bs", ".ds", ".uc", ".ti", ".tb", NULL, ".tc0", /* 8 - 15 */
".td", NULL, ".sv3264", NULL, ".tl", ".ul", ".te"
};
-
+
if ((aux->x_csect.x_smclas < ARRAY_SIZE (names))
&& (NULL != names[aux->x_csect.x_smclas]))
{
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 62a4105..2499885 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -962,7 +962,7 @@ handle_COMDAT (bfd * abfd,
/* All 3 branches use this. */
symname = _bfd_coff_internal_syment_name (abfd, &isym, buf);
- /* PR 17512 file: 078-11867-0.004 */
+ /* PR 17512 file: 078-11867-0.004 */
if (symname == NULL)
{
_bfd_error_handler (_("%B: unable to load COMDAT section name"), abfd);
@@ -2091,7 +2091,7 @@ coff_mkobject_hook (bfd * abfd,
}
if (coff->go32stub != NULL)
memcpy (coff->go32stub, internal_f->go32stub, GO32_STUBSIZE);
-
+
return coff;
}
#endif
@@ -4684,7 +4684,7 @@ coff_slurp_line_table (bfd *abfd, asection *asect)
*p++ = &lineno_cache[i];
BFD_ASSERT ((unsigned int) (p - func_table) == nbr_func);
-
+
/* Sort by functions. */
qsort (func_table, nbr_func, sizeof (alent *), coff_sort_func_alent);
@@ -5155,7 +5155,7 @@ coff_classify_symbol (bfd *abfd,
asection *sec;
char * name;
char buf[SYMNMLEN + 1];
-
+
name = _bfd_coff_internal_syment_name (abfd, syment, buf)
sec = coff_section_from_bfd_index (abfd, syment->n_scnum);
if (sec != NULL && name != NULL
diff --git a/bfd/coffgen.c b/bfd/coffgen.c
index 481e4a5..44bdc6e 100644
--- a/bfd/coffgen.c
+++ b/bfd/coffgen.c
@@ -1381,7 +1381,7 @@ coff_write_symbols (bfd *abfd)
else if (! c_symbol->native->is_sym)
maxlen = bfd_coff_force_symnames_in_strings (abfd) ? 0 : SYMNMLEN;
-
+
else if (bfd_coff_symname_in_debug (abfd,
&c_symbol->native->u.syment))
/* This symbol name is in the XCOFF .debug section.
@@ -1782,7 +1782,7 @@ coff_get_normalized_symtab (bfd *abfd)
if (internal == NULL && size != 0)
return NULL;
internal_end = internal + obj_raw_syment_count (abfd);
-
+
raw_src = (char *) obj_coff_external_syms (abfd);
/* Mark the end of the symbols. */
@@ -2257,7 +2257,7 @@ coff_find_nearest_line_with_names (bfd *abfd,
bias = _bfd_dwarf2_find_symbol_bias (symbols,
& coff_data (abfd)->dwarf2_find_line_info);
-
+
if (bias
&& _bfd_dwarf2_find_nearest_line (abfd, symbols, NULL, section,
offset + bias,
diff --git a/bfd/config.bfd b/bfd/config.bfd
index e08bb3b..20a0351 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -6,12 +6,12 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
@@ -1683,7 +1683,7 @@ case "${targ}" in
visium-*-elf)
targ_defvec=visium_elf32_vec
;;
-
+
we32k-*-*)
targ_defvec=we32k_coff_vec
;;
@@ -1691,12 +1691,12 @@ case "${targ}" in
w65-*-*)
targ_defvec=w65_coff_vec
;;
-
+
xgate-*-*)
targ_defvec=xgate_elf32_vec
targ_selvecs="xgate_elf32_vec"
;;
-
+
xstormy16-*-elf)
targ_defvec=xstormy16_elf32_vec
;;
diff --git a/bfd/configure.ac b/bfd/configure.ac
index 2a38842..2497131 100644
--- a/bfd/configure.ac
+++ b/bfd/configure.ac
@@ -6,12 +6,12 @@ dnl This file is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 3 of the License, or
dnl (at your option) any later version.
-dnl
+dnl
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl GNU General Public License for more details.
-dnl
+dnl
dnl You should have received a copy of the GNU General Public License
dnl along with this program; see the file COPYING3. If not see
dnl <http://www.gnu.org/licenses/>.
diff --git a/bfd/configure.com b/bfd/configure.com
index 7f7411d..9067545 100644
--- a/bfd/configure.com
+++ b/bfd/configure.com
@@ -13,12 +13,12 @@ $! This file is free software; you can redistribute it and/or modify
$! it under the terms of the GNU General Public License as published by
$! the Free Software Foundation; either version 3 of the License, or
$! (at your option) any later version.
-$!
+$!
$! This program is distributed in the hope that it will be useful,
$! but WITHOUT ANY WARRANTY; without even the implied warranty of
$! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
$! GNU General Public License for more details.
-$!
+$!
$! You should have received a copy of the GNU General Public License
$! along with this program; see the file COPYING3. If not see
$! <http://www.gnu.org/licenses/>.
diff --git a/bfd/configure.host b/bfd/configure.host
index 0e1de45..4cef88a 100644
--- a/bfd/configure.host
+++ b/bfd/configure.host
@@ -5,12 +5,12 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
diff --git a/bfd/cpu-avr.c b/bfd/cpu-avr.c
index ed172f0..adaec14 100644
--- a/bfd/cpu-avr.c
+++ b/bfd/cpu-avr.c
@@ -141,19 +141,19 @@ static const bfd_arch_info_type arch_info_struct[] =
/* Xmega 2. */
N (24, bfd_mach_avrxmega2, "avr:102", FALSE, & arch_info_struct[13]),
-
+
/* Xmega 3. */
N (24, bfd_mach_avrxmega3, "avr:103", FALSE, & arch_info_struct[14]),
-
+
/* Xmega 4. */
N (24, bfd_mach_avrxmega4, "avr:104", FALSE, & arch_info_struct[15]),
-
+
/* Xmega 5. */
N (24, bfd_mach_avrxmega5, "avr:105", FALSE, & arch_info_struct[16]),
-
+
/* Xmega 6. */
N (24, bfd_mach_avrxmega6, "avr:106", FALSE, & arch_info_struct[17]),
-
+
/* Xmega 7. */
N (24, bfd_mach_avrxmega7, "avr:107", FALSE, NULL)
diff --git a/bfd/cpu-nios2.c b/bfd/cpu-nios2.c
index 1e8f521..d37e5da 100644
--- a/bfd/cpu-nios2.c
+++ b/bfd/cpu-nios2.c
@@ -70,5 +70,5 @@ static const bfd_arch_info_type arch_info_struct[] =
N (32, 32, bfd_mach_nios2r2, "nios2:r2", FALSE, NULL),
};
-const bfd_arch_info_type bfd_nios2_arch =
+const bfd_arch_info_type bfd_nios2_arch =
N (32, 32, 0, "nios2", TRUE, NIOS2R1_NEXT);
diff --git a/bfd/ecoff.c b/bfd/ecoff.c
index a8ba28a..a4aef63 100644
--- a/bfd/ecoff.c
+++ b/bfd/ecoff.c
@@ -876,7 +876,7 @@ _bfd_ecoff_slurp_symbol_table (bfd *abfd)
return TRUE;
internal = (ecoff_symbol_type *) bfd_alloc2 (abfd, bfd_get_symcount (abfd),
- sizeof (ecoff_symbol_type));
+ sizeof (ecoff_symbol_type));
if (internal == NULL)
return FALSE;
diff --git a/bfd/elf-attrs.c b/bfd/elf-attrs.c
index ceafd44..919c3ef 100644
--- a/bfd/elf-attrs.c
+++ b/bfd/elf-attrs.c
@@ -450,7 +450,7 @@ _bfd_elf_parse_attributes (bfd *abfd, Elf_Internal_Shdr * hdr)
p = contents;
p_end = p + hdr->sh_size;
std_sec = get_elf_backend_data (abfd)->obj_attrs_vendor;
-
+
if (*(p++) == 'A')
{
len = hdr->sh_size - 1;
diff --git a/bfd/elf.c b/bfd/elf.c
index 7ae2e34..5be48d9 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -832,7 +832,7 @@ _bfd_elf_setup_sections (bfd *abfd)
idx = (Elf_Internal_Group *) shdr->contents;
n_elt = shdr->sh_size / 4;
-
+
while (--n_elt != 0)
if ((++idx)->shdr->bfd_section)
elf_sec_group (idx->shdr->bfd_section) = shdr->bfd_section;
@@ -1245,7 +1245,7 @@ _bfd_elf_copy_private_bfd_data (bfd *ibfd, bfd *obfd)
for (j = 0; j < elf_numsections (ibfd); j++)
{
Elf_Internal_Shdr * iheader = iheaders[j];
-
+
/* Since --only-keep-debug turns all non-debug sections
into SHT_NOBITS sections, the output SHT_NOBITS type
matches any input type. */
diff --git a/bfd/elf32-h8300.c b/bfd/elf32-h8300.c
index 3598c34..a2d5fc3 100644
--- a/bfd/elf32-h8300.c
+++ b/bfd/elf32-h8300.c
@@ -742,7 +742,7 @@ elf32_h8_relax_section (bfd *abfd, asection *sec,
some long jumps created by the compiler. */
if (irel != internal_relocs)
last_reloc = irel - 1;
-
+
switch(ELF32_R_TYPE (irel->r_info))
{
case R_H8_DIR24R8:
diff --git a/bfd/elf32-msp430.c b/bfd/elf32-msp430.c
index 83bb9ce..4d50cab 100644
--- a/bfd/elf32-msp430.c
+++ b/bfd/elf32-msp430.c
@@ -215,7 +215,7 @@ static reloc_howto_type elf_msp430_howto_table[] =
FALSE, /* partial_inplace */
0xffffffff, /* src_mask */
0xffffffff, /* dst_mask */
- FALSE) /* pcrel_offset */
+ FALSE) /* pcrel_offset */
};
static reloc_howto_type elf_msp430x_howto_table[] =
@@ -473,7 +473,7 @@ static reloc_howto_type elf_msp430x_howto_table[] =
TRUE), /* pcrel_offset */
EMPTY_HOWTO (R_MSP430_EHTYPE),
-
+
/* A 10 bit PC relative relocation. */
HOWTO (R_MSP430X_10_PCREL, /* type */
1, /* rightshift */
@@ -518,7 +518,7 @@ static reloc_howto_type elf_msp430x_howto_table[] =
FALSE, /* partial_inplace */
0xffffffff, /* src_mask */
0xffffffff, /* dst_mask */
- FALSE) /* pcrel_offset */
+ FALSE) /* pcrel_offset */
};
/* Map BFD reloc types to MSP430 ELF reloc types. */
@@ -739,7 +739,7 @@ msp430_final_link_relocate (reloc_howto_type * howto,
if (sym_diff_section != NULL)
{
BFD_ASSERT (sym_diff_section == input_section);
-
+
if (uses_msp430x_relocs (input_bfd))
switch (howto->type)
{
@@ -778,7 +778,7 @@ msp430_final_link_relocate (reloc_howto_type * howto,
default:
return bfd_reloc_dangerous;
}
-
+
sym_diff_section = NULL;
}
@@ -854,7 +854,7 @@ msp430_final_link_relocate (reloc_howto_type * howto,
addend = (bfd_get_16 (input_bfd, contents) & 0xf) << 16;
addend |= bfd_get_16 (input_bfd, contents + 6);
srel += addend;
-
+
}
else
srel += rel->r_addend;
@@ -1050,7 +1050,7 @@ msp430_final_link_relocate (reloc_howto_type * howto,
srel += rel->r_addend;
x = srel;
if (x > 0xffff)
- return bfd_reloc_overflow;
+ return bfd_reloc_overflow;
bfd_put_16 (input_bfd, srel & 0xffff, contents);
break;
@@ -1062,7 +1062,7 @@ msp430_final_link_relocate (reloc_howto_type * howto,
srel += rel->r_addend;
bfd_put_16 (input_bfd, (srel >> 16) & 0xffff, contents);
break;
-
+
case R_MSP430X_PCR20_CALL:
/* [0,4]+[16,16] = ---F FFFF*/
contents += rel->r_offset;
@@ -1085,7 +1085,7 @@ msp430_final_link_relocate (reloc_howto_type * howto,
x = (x & 0xfff0) | (srel & 0xf);
bfd_put_16 (input_bfd, x, contents);
break;
-
+
case R_MSP430X_PCR16:
contents += rel->r_offset;
srel = (bfd_signed_vma) relocation;
@@ -1098,7 +1098,7 @@ msp430_final_link_relocate (reloc_howto_type * howto,
input_section->output_offset);
bfd_put_16 (input_bfd, srel & 0xffff, contents);
break;
-
+
case R_MSP430_PREL31:
contents += rel->r_offset;
srel = (bfd_signed_vma) relocation;
@@ -1111,7 +1111,7 @@ msp430_final_link_relocate (reloc_howto_type * howto,
x = (x & 0x80000000) | ((srel >> 31) & 0x7fffffff);
bfd_put_32 (input_bfd, x, contents);
break;
-
+
default:
r = _bfd_final_link_relocate (howto, input_bfd, input_section,
contents, rel->r_offset,
@@ -1152,7 +1152,7 @@ msp430_final_link_relocate (reloc_howto_type * howto,
}
return bfd_reloc_overflow;
}
-
+
x = bfd_get_16 (input_bfd, contents);
x = (x & 0xfc00) | (srel & 0x3ff);
bfd_put_16 (input_bfd, x, contents);
@@ -1240,7 +1240,7 @@ msp430_final_link_relocate (reloc_howto_type * howto,
bfd_put_8 (input_bfd, srel & 0xff, contents);
break;
-
+
case R_MSP430_SYM_DIFF:
/* Cache the input section and value.
The offset is unreliable, since relaxation may
@@ -1465,7 +1465,7 @@ elf32_msp430_object_p (bfd * abfd)
case E_MSP430_MACH_MSP430X: e_set = bfd_mach_msp430x; break;
}
}
-
+
return bfd_default_set_arch_mach (abfd, bfd_arch_msp430, e_set);
}
@@ -1633,7 +1633,7 @@ msp430_elf_relax_adjust_locals (bfd * abfd, asection * sec, bfd_vma addr,
&& lsym->st_shndx == sec_shndx)
irel->r_addend -= count;
}
-
+
return TRUE;
}
@@ -1682,7 +1682,7 @@ msp430_elf_relax_delete_bytes (bfd * abfd, asection * sec, bfd_vma addr,
for (p = abfd->sections; p != NULL; p = p->next)
msp430_elf_relax_adjust_locals (abfd,p,addr,count,sec_shndx,toaddr);
-
+
/* Adjust the local symbols defined in this section. */
symtab_hdr = & elf_tdata (abfd)->symtab_hdr;
isym = (Elf_Internal_Sym *) symtab_hdr->contents;
@@ -1696,7 +1696,7 @@ msp430_elf_relax_delete_bytes (bfd * abfd, asection * sec, bfd_vma addr,
if (isym->st_shndx != sec_shndx)
continue;
-
+
if (isym->st_value > addr
&& (isym->st_value < toaddr
/* We also adjust a symbol at the end of the section if its name is
@@ -1784,7 +1784,7 @@ msp430_elf_relax_add_two_words (bfd * abfd, asection * sec, bfd_vma addr,
/* Update the section information. */
sec->size += 4;
- elf_section_data (sec)->this_hdr.contents = contents;
+ elf_section_data (sec)->this_hdr.contents = contents;
/* Adjust all the relocs. */
irel = elf_section_data (sec)->relocs;
@@ -1827,7 +1827,7 @@ msp430_elf_relax_add_two_words (bfd * abfd, asection * sec, bfd_vma addr,
return contents;
}
-
+
static bfd_boolean
msp430_elf_relax_section (bfd * abfd, asection * sec,
struct bfd_link_info * link_info,
@@ -1967,7 +1967,7 @@ msp430_elf_relax_section (bfd * abfd, asection * sec,
/* Get the opcode. */
opcode = bfd_get_16 (abfd, contents + irel->r_offset);
-
+
/* Compute the new opcode. We are going to convert:
J<cond> label
into:
@@ -1976,7 +1976,7 @@ msp430_elf_relax_section (bfd * abfd, asection * sec,
1: */
switch (opcode & 0xfc00)
{
- case 0x3800: opcode = 0x3402; break; /* Jl -> Jge +2 */
+ case 0x3800: opcode = 0x3402; break; /* Jl -> Jge +2 */
case 0x3400: opcode = 0x3802; break; /* Jge -> Jl +2 */
case 0x2c00: opcode = 0x2802; break; /* Jhs -> Jlo +2 */
case 0x2800: opcode = 0x2c02; break; /* Jlo -> Jhs +2 */
@@ -2007,7 +2007,7 @@ msp430_elf_relax_section (bfd * abfd, asection * sec,
/* Insert the new branch instruction. */
if (uses_msp430x_relocs (abfd))
{
- /* Insert an absolute branch (aka MOVA) instruction. */
+ /* Insert an absolute branch (aka MOVA) instruction. */
contents = msp430_elf_relax_add_two_words
(abfd, sec, irel->r_offset + 2, 0x0080, 0x0000);
@@ -2114,7 +2114,7 @@ msp430_elf_relax_section (bfd * abfd, asection * sec,
/* Try to turn a 16bit pc-relative branch into a 10bit pc-relative
branch. */
- /* Paranoia? paranoia... */
+ /* Paranoia? paranoia... */
if (! uses_msp430x_relocs (abfd)
&& ELF32_R_TYPE (irel->r_info) == (int) R_MSP430_RL_PCREL)
{
@@ -2237,7 +2237,7 @@ msp430_elf_relax_section (bfd * abfd, asection * sec,
value -= (sec->output_section->vma + sec->output_offset);
value -= irel->r_offset;
value += irel->r_addend;
-
+
/* See if the value will fit in 10 bits, note the high value is
1016 as the target will be two bytes closer if we are
able to relax. */
@@ -2505,7 +2505,7 @@ elf32_msp430_merge_mspabi_attributes (bfd *ibfd, bfd *obfd)
data_model (in_attr[OFBA_MSPABI_Tag_Data_Model].i));
result = FALSE;
}
-
+
return result;
}
@@ -2559,7 +2559,7 @@ elf32_msp430_eh_frame_address_size (bfd *abfd, asection *sec ATTRIBUTE_UNUSED)
type relocations for other relocations."
But it also says that:
-
+
"Certain relocations are identified as Rela only. [snip]
Where Rela is specified, an implementation must honor
this requirement."
@@ -2617,7 +2617,7 @@ elf32_msp430_eh_frame_address_size (bfd *abfd, asection *sec ATTRIBUTE_UNUSED)
#undef elf32_bed
#define elf32_bed elf32_msp430_ti_bed
-#undef ELF_OSABI
+#undef ELF_OSABI
#define ELF_OSABI ELFOSABI_NONE
static const struct bfd_elf_special_section msp430_ti_elf_special_sections[] =
diff --git a/bfd/elf32-nios2.c b/bfd/elf32-nios2.c
index a5ab54f..8bd2524 100644
--- a/bfd/elf32-nios2.c
+++ b/bfd/elf32-nios2.c
@@ -1420,7 +1420,7 @@ static reloc_howto_type elf_nios2_r2_howto_table_rel[] = {
0xfe00,
0xfe00,
TRUE),
-
+
HOWTO (R_NIOS2_R2_T1I7_2,
2,
1,
@@ -1434,7 +1434,7 @@ static reloc_howto_type elf_nios2_r2_howto_table_rel[] = {
0xfe00,
0xfe00,
FALSE),
-
+
HOWTO (R_NIOS2_R2_T2I4,
0,
1,
@@ -1490,7 +1490,7 @@ static reloc_howto_type elf_nios2_r2_howto_table_rel[] = {
0x1fc0,
0x1fc0,
FALSE),
-
+
HOWTO (R_NIOS2_R2_X2L5,
0,
1,
@@ -1504,7 +1504,7 @@ static reloc_howto_type elf_nios2_r2_howto_table_rel[] = {
0x07c0,
0x07c0,
FALSE),
-
+
HOWTO (R_NIOS2_R2_F1I5_2,
2,
1,
@@ -1546,7 +1546,7 @@ static reloc_howto_type elf_nios2_r2_howto_table_rel[] = {
0x7e00,
0x7e00,
FALSE),
-
+
HOWTO (R_NIOS2_R2_T1X1I6_2,
2,
2,
@@ -1560,7 +1560,7 @@ static reloc_howto_type elf_nios2_r2_howto_table_rel[] = {
0x7e00,
0x7e00,
FALSE),
-
+
/* Add other relocations here. */
};
@@ -2889,7 +2889,7 @@ nios2_elf32_build_stubs (struct bfd_link_info *info)
SEC_LINKER_CREATED flag set, while stub sections do not
have that flag. Ignore any non-stub sections here. */
if ((stub_sec->flags & SEC_LINKER_CREATED) == 0)
- {
+ {
bfd_size_type size;
/* Allocate memory to hold the linker stubs. */
@@ -2981,7 +2981,7 @@ nios2_elf32_bfd_reloc_type_lookup (bfd *abfd,
bfd_reloc_code_real_type code)
{
int i;
-
+
for (i = 0;
i < (int) (sizeof (nios2_reloc_map) / sizeof (struct elf_reloc_map));
++i)
@@ -3012,11 +3012,11 @@ nios2_elf32_bfd_reloc_name_lookup (bfd *abfd,
howto_tbl_size = (int) (sizeof (elf_nios2_r1_howto_table_rel)
/ sizeof (elf_nios2_r1_howto_table_rel[0]));
}
-
+
for (i = 0; i < howto_tbl_size; i++)
if (howto_tbl[i].name && strcasecmp (howto_tbl[i].name, r_name) == 0)
return howto_tbl + i;
- return NULL;
+ return NULL;
}
/* Implement elf_info_to_howto:
@@ -3120,7 +3120,7 @@ lookup:
symbol value for an external symbol if we are producing relocatable
output. */
static bfd_reloc_status_type
-nios2_elf_final_gp (bfd *output_bfd, asymbol *symbol, bfd_boolean relocatable,
+nios2_elf_final_gp (bfd *output_bfd, asymbol *symbol, bfd_boolean relocatable,
char **error_message, bfd_vma *pgp)
{
if (bfd_is_und_section (symbol->section) && !relocatable)
@@ -3151,9 +3151,9 @@ nios2_elf_final_gp (bfd *output_bfd, asymbol *symbol, bfd_boolean relocatable,
/* Do the relocations that require special handling. */
static bfd_reloc_status_type
-nios2_elf32_do_hi16_relocate (bfd *abfd, reloc_howto_type *howto,
+nios2_elf32_do_hi16_relocate (bfd *abfd, reloc_howto_type *howto,
asection *input_section,
- bfd_byte *data, bfd_vma offset,
+ bfd_byte *data, bfd_vma offset,
bfd_vma symbol_value, bfd_vma addend)
{
symbol_value = symbol_value + addend;
@@ -3166,7 +3166,7 @@ nios2_elf32_do_hi16_relocate (bfd *abfd, reloc_howto_type *howto,
static bfd_reloc_status_type
nios2_elf32_do_lo16_relocate (bfd *abfd, reloc_howto_type *howto,
asection *input_section,
- bfd_byte *data, bfd_vma offset,
+ bfd_byte *data, bfd_vma offset,
bfd_vma symbol_value, bfd_vma addend)
{
symbol_value = symbol_value + addend;
@@ -3221,10 +3221,10 @@ nios2_elf32_do_pcrel_hiadj16_relocate (bfd *abfd, reloc_howto_type *howto,
static bfd_reloc_status_type
nios2_elf32_do_pcrel16_relocate (bfd *abfd, reloc_howto_type *howto,
asection *input_section,
- bfd_byte *data, bfd_vma offset,
+ bfd_byte *data, bfd_vma offset,
bfd_vma symbol_value, bfd_vma addend)
{
- /* NIOS2 pc relative relocations are relative to the next 32-bit instruction
+ /* NIOS2 pc relative relocations are relative to the next 32-bit instruction
so we need to subtract 4 before doing a final_link_relocate. */
symbol_value = symbol_value + addend - 4;
addend = 0;
@@ -3235,11 +3235,11 @@ nios2_elf32_do_pcrel16_relocate (bfd *abfd, reloc_howto_type *howto,
static bfd_reloc_status_type
nios2_elf32_do_call26_relocate (bfd *abfd, reloc_howto_type *howto,
asection *input_section,
- bfd_byte *data, bfd_vma offset,
+ bfd_byte *data, bfd_vma offset,
bfd_vma symbol_value, bfd_vma addend)
{
/* Check that the relocation is in the same page as the current address. */
- if (CALL26_SEGMENT (symbol_value + addend)
+ if (CALL26_SEGMENT (symbol_value + addend)
!= CALL26_SEGMENT (input_section->output_section->vma
+ input_section->output_offset
+ offset))
@@ -3257,7 +3257,7 @@ nios2_elf32_do_call26_relocate (bfd *abfd, reloc_howto_type *howto,
static bfd_reloc_status_type
nios2_elf32_do_gprel_relocate (bfd *abfd, reloc_howto_type *howto,
asection *input_section,
- bfd_byte *data, bfd_vma offset,
+ bfd_byte *data, bfd_vma offset,
bfd_vma symbol_value, bfd_vma addend)
{
/* Because we need the output_bfd, the special handling is done
@@ -3269,7 +3269,7 @@ nios2_elf32_do_gprel_relocate (bfd *abfd, reloc_howto_type *howto,
static bfd_reloc_status_type
nios2_elf32_do_ujmp_relocate (bfd *abfd, reloc_howto_type *howto,
asection *input_section,
- bfd_byte *data, bfd_vma offset,
+ bfd_byte *data, bfd_vma offset,
bfd_vma symbol_value, bfd_vma addend)
{
bfd_vma symbol_lo16, symbol_hi16;
@@ -3292,7 +3292,7 @@ nios2_elf32_do_ujmp_relocate (bfd *abfd, reloc_howto_type *howto,
static bfd_reloc_status_type
nios2_elf32_do_cjmp_relocate (bfd *abfd, reloc_howto_type *howto,
asection *input_section,
- bfd_byte *data, bfd_vma offset,
+ bfd_byte *data, bfd_vma offset,
bfd_vma symbol_value, bfd_vma addend)
{
bfd_vma symbol_lo16, symbol_hi16;
@@ -3315,7 +3315,7 @@ nios2_elf32_do_cjmp_relocate (bfd *abfd, reloc_howto_type *howto,
static bfd_reloc_status_type
nios2_elf32_do_callr_relocate (bfd *abfd, reloc_howto_type *howto,
asection *input_section,
- bfd_byte *data, bfd_vma offset,
+ bfd_byte *data, bfd_vma offset,
bfd_vma symbol_value, bfd_vma addend)
{
bfd_vma symbol_lo16, symbol_hi16;
@@ -3341,9 +3341,9 @@ nios2_elf32_do_callr_relocate (bfd *abfd, reloc_howto_type *howto,
changes in size of section don't screw up .align. */
static bfd_reloc_status_type
nios2_elf32_ignore_reloc (bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry,
- asymbol *symbol ATTRIBUTE_UNUSED,
- void *data ATTRIBUTE_UNUSED, asection *input_section,
- bfd *output_bfd,
+ asymbol *symbol ATTRIBUTE_UNUSED,
+ void *data ATTRIBUTE_UNUSED, asection *input_section,
+ bfd *output_bfd,
char **error_message ATTRIBUTE_UNUSED)
{
if (output_bfd != NULL)
@@ -3352,9 +3352,9 @@ nios2_elf32_ignore_reloc (bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry,
}
static bfd_reloc_status_type
-nios2_elf32_hi16_relocate (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
- void *data, asection *input_section,
- bfd *output_bfd,
+nios2_elf32_hi16_relocate (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
+ void *data, asection *input_section,
+ bfd *output_bfd,
char **error_message ATTRIBUTE_UNUSED)
{
/* This part is from bfd_elf_generic_reloc. */
@@ -3381,8 +3381,8 @@ nios2_elf32_hi16_relocate (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
static bfd_reloc_status_type
nios2_elf32_lo16_relocate (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
- void *data, asection *input_section,
- bfd *output_bfd,
+ void *data, asection *input_section,
+ bfd *output_bfd,
char **error_message ATTRIBUTE_UNUSED)
{
/* This part is from bfd_elf_generic_reloc. */
@@ -3409,8 +3409,8 @@ nios2_elf32_lo16_relocate (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
static bfd_reloc_status_type
nios2_elf32_hiadj16_relocate (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
- void *data, asection *input_section,
- bfd *output_bfd,
+ void *data, asection *input_section,
+ bfd *output_bfd,
char **error_message ATTRIBUTE_UNUSED)
{
/* This part is from bfd_elf_generic_reloc. */
@@ -3489,8 +3489,8 @@ nios2_elf32_pcrel_hiadj16_relocate (bfd *abfd, arelent *reloc_entry,
static bfd_reloc_status_type
nios2_elf32_pcrel16_relocate (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
- void *data, asection *input_section,
- bfd *output_bfd,
+ void *data, asection *input_section,
+ bfd *output_bfd,
char **error_message ATTRIBUTE_UNUSED)
{
/* This part is from bfd_elf_generic_reloc. */
@@ -3517,8 +3517,8 @@ nios2_elf32_pcrel16_relocate (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
static bfd_reloc_status_type
nios2_elf32_call26_relocate (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
- void *data, asection *input_section,
- bfd *output_bfd,
+ void *data, asection *input_section,
+ bfd *output_bfd,
char **error_message ATTRIBUTE_UNUSED)
{
/* This part is from bfd_elf_generic_reloc. */
@@ -3545,7 +3545,7 @@ nios2_elf32_call26_relocate (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
static bfd_reloc_status_type
nios2_elf32_gprel_relocate (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
- void *data, asection *input_section,
+ void *data, asection *input_section,
bfd *output_bfd, char **msg)
{
bfd_vma relocation;
@@ -3593,7 +3593,7 @@ nios2_elf32_gprel_relocate (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
static bfd_reloc_status_type
nios2_elf32_ujmp_relocate (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
- void *data, asection *input_section,
+ void *data, asection *input_section,
bfd *output_bfd, char **msg ATTRIBUTE_UNUSED)
{
/* This part is from bfd_elf_generic_reloc. */
@@ -3620,7 +3620,7 @@ nios2_elf32_ujmp_relocate (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
static bfd_reloc_status_type
nios2_elf32_cjmp_relocate (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
- void *data, asection *input_section,
+ void *data, asection *input_section,
bfd *output_bfd, char **msg ATTRIBUTE_UNUSED)
{
/* This part is from bfd_elf_generic_reloc. */
@@ -3647,7 +3647,7 @@ nios2_elf32_cjmp_relocate (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
static bfd_reloc_status_type
nios2_elf32_callr_relocate (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
- void *data, asection *input_section,
+ void *data, asection *input_section,
bfd *output_bfd, char **msg ATTRIBUTE_UNUSED)
{
/* This part is from bfd_elf_generic_reloc. */
@@ -3672,7 +3672,7 @@ nios2_elf32_callr_relocate (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
reloc_entry->addend);
}
-
+
/* Implement elf_backend_relocate_section. */
static bfd_boolean
nios2_elf32_relocate_section (bfd *output_bfd,
@@ -3767,7 +3767,7 @@ nios2_elf32_relocate_section (bfd *output_bfd,
+ rel->r_offset);
else
reloc_address = 0;
-
+
if (howto)
{
switch (howto->type)
@@ -3837,7 +3837,7 @@ nios2_elf32_relocate_section (bfd *output_bfd,
"global pointer (at 0x%08x) because the "
"offset (%d) is out of the allowed range, "
"-32678 to 32767.\n" );
- sprintf (msgbuf, format, name, symbol_address, gp,
+ sprintf (msgbuf, format, name, symbol_address, gp,
(signed)relocation);
msg = msgbuf;
r = bfd_reloc_outofrange;
diff --git a/bfd/elf32-nios2.h b/bfd/elf32-nios2.h
index d3e7a7d..204b33e 100644
--- a/bfd/elf32-nios2.h
+++ b/bfd/elf32-nios2.h
@@ -29,7 +29,7 @@ extern void nios2_elf32_next_input_section
(struct bfd_link_info *, asection *);
extern bfd_boolean nios2_elf32_size_stubs
- (bfd *, bfd *, struct bfd_link_info *,
+ (bfd *, bfd *, struct bfd_link_info *,
asection * (*) (const char *, asection *, bfd_boolean), void (*) (void));
extern bfd_boolean nios2_elf32_build_stubs
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index f1fbc66..fc1a854 100644
--- a/bfd/elf32-ppc.c
+++ b/bfd/elf32-ppc.c
@@ -9581,13 +9581,13 @@ ppc_elf_relocate_section (bfd *output_bfd,
prevent the bad prefetch from happening in the first
place:
.
- . lis 9,new_page@ha lis 9,new_page@ha
- . addi 9,9,new_page@l addi 9,9,new_page@l
- . mtctr 9 mtctr 9
- . bctr bctr
+ . lis 9,new_page@ha lis 9,new_page@ha
+ . addi 9,9,new_page@l addi 9,9,new_page@l
+ . mtctr 9 mtctr 9
+ . bctr bctr
. nop b somewhere_else
- . b somewhere_else nop
- . new_page: new_page:
+ . b somewhere_else nop
+ . new_page: new_page:
. */
insn = bfd_get_32 (input_bfd, contents + offset);
if ((insn & (0x3f << 26)) == (18u << 26) /* b,bl,ba,bla */
diff --git a/bfd/elf32-rl78.c b/bfd/elf32-rl78.c
index add3336..2755296 100644
--- a/bfd/elf32-rl78.c
+++ b/bfd/elf32-rl78.c
@@ -448,7 +448,7 @@ rl78_compute_complex_reloc (unsigned long r_type,
case R_RL78_SYM:
RL78_STACK_PUSH (symval);
return 0;
-
+
case R_RL78_OPneg:
RL78_STACK_POP (tmp1);
tmp1 = - tmp1;
@@ -1046,7 +1046,7 @@ rl78_elf_relocate_section
break;
}
break;
-
+
case R_RL78_SYM:
if (r_symndx < symtab_hdr->sh_info)
relocation = sec->output_section->vma + sec->output_offset
@@ -1244,7 +1244,7 @@ rl78_elf_merge_private_bfd_data (bfd * ibfd, bfd * obfd)
(*_bfd_error_handler) (_("- %s is 64-bit, %s is not"),
bfd_get_filename (ibfd), bfd_get_filename (obfd));
error = TRUE;
- }
+ }
}
return !error;
@@ -1971,7 +1971,7 @@ rl78_offset_for_reloc (bfd * abfd,
case R_RL78_ABS8UW:
*scale = 2;
goto reloc_computes_value;
-
+
default:
reloc_computes_value:
symval = rl78_compute_complex_reloc (r_type, 0, input_section);
diff --git a/bfd/elf32-sh.c b/bfd/elf32-sh.c
index 567ef24..dbad071 100644
--- a/bfd/elf32-sh.c
+++ b/bfd/elf32-sh.c
@@ -4443,7 +4443,7 @@ sh_elf_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
symbols. */
else if (r_type == R_SH_REL32
&& h
- && h->root.type == bfd_link_hash_undefweak)
+ && h->root.type == bfd_link_hash_undefweak)
check_segment[0] = check_segment[1] = -1;
goto final_link_relocate;
diff --git a/bfd/elf32-v850.c b/bfd/elf32-v850.c
index ae96ec2..5edba4c 100644
--- a/bfd/elf32-v850.c
+++ b/bfd/elf32-v850.c
@@ -2361,7 +2361,7 @@ v850_set_note (bfd * abfd, asection * s, enum v850_notes note, unsigned int val)
static asection *
v850_elf_make_note_section (bfd * abfd)
-{
+{
asection *s;
bfd_byte *data;
flagword flags;
@@ -2463,7 +2463,7 @@ v850_elf_copy_private_bfd_data (bfd * ibfd, bfd * obfd)
}
#define bfd_elf32_bfd_copy_private_bfd_data v850_elf_copy_private_bfd_data
-static bfd_boolean
+static bfd_boolean
v850_elf_merge_notes (bfd * ibfd, bfd *obfd)
{
asection * onotes;
@@ -2502,7 +2502,7 @@ v850_elf_merge_notes (bfd * ibfd, bfd *obfd)
if (ival == 0 || ival == oval)
continue;
-
+
if (oval == 0)
{
bfd_put_32 (obfd, ival, odata);
@@ -2587,7 +2587,7 @@ print_v850_note (bfd * abfd, FILE * file, bfd_byte * data, enum v850_notes id)
}
fputc ('\n', file);
break;
-
+
case V850_NOTE_DATA_SIZE:
fprintf (file, _(" size of doubles: "));
switch (value)
@@ -2599,7 +2599,7 @@ print_v850_note (bfd * abfd, FILE * file, bfd_byte * data, enum v850_notes id)
}
fputc ('\n', file);
break;
-
+
case V850_NOTE_FPU_INFO:
fprintf (file, _(" FPU support required: "));
switch (value)
@@ -2611,7 +2611,7 @@ print_v850_note (bfd * abfd, FILE * file, bfd_byte * data, enum v850_notes id)
}
fputc ('\n', file);
break;
-
+
case V850_NOTE_SIMD_INFO:
fprintf (file, _("SIMD use: "));
switch (value)
@@ -2622,7 +2622,7 @@ print_v850_note (bfd * abfd, FILE * file, bfd_byte * data, enum v850_notes id)
}
fputc ('\n', file);
break;
-
+
case V850_NOTE_CACHE_INFO:
fprintf (file, _("CACHE use: "));
switch (value)
@@ -2633,7 +2633,7 @@ print_v850_note (bfd * abfd, FILE * file, bfd_byte * data, enum v850_notes id)
}
fputc ('\n', file);
break;
-
+
case V850_NOTE_MMU_INFO:
fprintf (file, _("MMU use: "));
switch (value)
@@ -2644,7 +2644,7 @@ print_v850_note (bfd * abfd, FILE * file, bfd_byte * data, enum v850_notes id)
}
fputc ('\n', file);
break;
-
+
default:
BFD_ASSERT (0);
}
diff --git a/bfd/elf64-sh64.c b/bfd/elf64-sh64.c
index 7be08a9..b539a46 100644
--- a/bfd/elf64-sh64.c
+++ b/bfd/elf64-sh64.c
@@ -2265,7 +2265,7 @@ sh_elf64_copy_private_data_internal (bfd *ibfd, bfd *obfd)
/* Copy object attributes. */
_bfd_elf_copy_private_bfd_data (ibfd, obfd);
-
+
return sh_elf64_set_private_flags (obfd, elf_elfheader (ibfd)->e_flags);
}
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 031cffe..9b93431 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -3428,7 +3428,7 @@ _bfd_elf_relocs_compatible (const bfd_target *input,
/* Make a special call to the linker "notice" function to tell it that
we are about to handle an as-needed lib, or have finished
- processing the lib. */
+ processing the lib. */
bfd_boolean
_bfd_elf_notice_as_needed (bfd *ibfd,
@@ -8745,7 +8745,7 @@ elf_link_swap_symbols_out (struct elf_final_link_info *flinfo)
symbuf = (bfd_byte *) bfd_malloc (amt);
if (symbuf == NULL)
return FALSE;
-
+
if (flinfo->symshndxbuf)
{
amt = (sizeof (Elf_External_Sym_Shndx)
diff --git a/bfd/elfxx-sparc.c b/bfd/elfxx-sparc.c
index 6fff6ad..492af36 100644
--- a/bfd/elfxx-sparc.c
+++ b/bfd/elfxx-sparc.c
@@ -4908,13 +4908,13 @@ _bfd_sparc_elf_merge_private_bfd_data (bfd *ibfd, bfd *obfd)
in_attr = &in_attrs[Tag_GNU_Sparc_HWCAPS];
out_attr = &out_attrs[Tag_GNU_Sparc_HWCAPS];
-
+
out_attr->i |= in_attr->i;
out_attr->type = 1;
in_attr = &in_attrs[Tag_GNU_Sparc_HWCAPS2];
out_attr = &out_attrs[Tag_GNU_Sparc_HWCAPS2];
-
+
out_attr->i |= in_attr->i;
out_attr->type = 1;
diff --git a/bfd/libbfd-in.h b/bfd/libbfd-in.h
index 06fa652..ce07e90 100644
--- a/bfd/libbfd-in.h
+++ b/bfd/libbfd-in.h
@@ -554,7 +554,7 @@ extern bfd_boolean _bfd_dwarf2_find_nearest_line
/* Find the bias between DWARF addresses and real addresses. */
extern bfd_signed_vma _bfd_dwarf2_find_symbol_bias
(asymbol **, void **);
-
+
/* Find inliner info after calling bfd_find_nearest_line. */
extern bfd_boolean _bfd_dwarf2_find_inliner_info
(bfd *, const char **, const char **, unsigned int *, void **);
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index 72c50f5..f0eea9e 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -559,7 +559,7 @@ extern bfd_boolean _bfd_dwarf2_find_nearest_line
/* Find the bias between DWARF addresses and real addresses. */
extern bfd_signed_vma _bfd_dwarf2_find_symbol_bias
(asymbol **, void **);
-
+
/* Find inliner info after calling bfd_find_nearest_line. */
extern bfd_boolean _bfd_dwarf2_find_inliner_info
(bfd *, const char **, const char **, unsigned int *, void **);
diff --git a/bfd/mach-o.c b/bfd/mach-o.c
index 010a076..e6cbe23 100644
--- a/bfd/mach-o.c
+++ b/bfd/mach-o.c
@@ -693,15 +693,15 @@ bfd_mach_o_bfd_copy_private_header_data (bfd *ibfd, bfd *obfd)
/* PR 17512L: file: 730e492d. */
else
{
- ody->rebase_size =
- ody->bind_size =
- ody->weak_bind_size =
- ody->lazy_bind_size =
+ ody->rebase_size =
+ ody->bind_size =
+ ody->weak_bind_size =
+ ody->lazy_bind_size =
ody->export_size = 0;
- ody->rebase_content =
- ody->bind_content =
- ody->weak_bind_content =
- ody->lazy_bind_content =
+ ody->rebase_content =
+ ody->bind_content =
+ ody->weak_bind_content =
+ ody->lazy_bind_content =
ody->export_content = NULL;
}
}
@@ -1392,7 +1392,7 @@ bfd_mach_o_canonicalize_one_reloc (bfd *abfd,
if (num >= (unsigned) bfd_mach_o_count_symbols (abfd))
sym = bfd_und_section_ptr->symbol_ptr_ptr;
else if (syms == NULL)
- sym = bfd_und_section_ptr->symbol_ptr_ptr;
+ sym = bfd_und_section_ptr->symbol_ptr_ptr;
else
/* An external symbol number. */
sym = syms + num;
@@ -1411,7 +1411,7 @@ bfd_mach_o_canonicalize_one_reloc (bfd *abfd,
/* PR 17512: file: 006-2964-0.004. */
if (num > mdata->nsects)
return -1;
-
+
/* A section number. */
sym = mdata->sections[num - 1]->bfdsection->symbol_ptr_ptr;
/* For a symbol defined in section S, the addend (stored in the
diff --git a/bfd/makefile.vms b/bfd/makefile.vms
index 3d308af..4a352b4 100644
--- a/bfd/makefile.vms
+++ b/bfd/makefile.vms
@@ -1,5 +1,5 @@
#
-# Makefile for bfd library under openVMS
+# Makefile for bfd library under openVMS
#
# For use with gnu-make for vms
#
@@ -11,12 +11,12 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
diff --git a/bfd/mep-relocs.pl b/bfd/mep-relocs.pl
index 5bfc84c..f6d6632 100755
--- a/bfd/mep-relocs.pl
+++ b/bfd/mep-relocs.pl
@@ -10,12 +10,12 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# 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., 51 Franklin Street, Fifth Floor, Boston,
diff --git a/bfd/opncls.c b/bfd/opncls.c
index f0f2e64..f59786c 100644
--- a/bfd/opncls.c
+++ b/bfd/opncls.c
@@ -1378,7 +1378,7 @@ find_separate_debug_file (bfd * abfd,
}
base = get_func (abfd, & crc32);
-
+
if (base == NULL)
return NULL;
diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c
index d209b50..e01cfcd 100644
--- a/bfd/peXXigen.c
+++ b/bfd/peXXigen.c
@@ -2566,7 +2566,7 @@ rsrc_print_section (bfd * abfd, void * vfile)
if (regions.resource_start != NULL)
fprintf (file, " Resources start at offset: %#03x\n",
(int) (regions.resource_start - regions.section_start));
-
+
free (regions.section_start);
return TRUE;
}
@@ -3470,7 +3470,7 @@ rsrc_compute_region_sizes (rsrc_directory * dir)
sizeof_tables_and_entries += 8;
sizeof_strings += (entry->name_id.name.len + 1) * 2;
-
+
if (entry->is_dir)
rsrc_compute_region_sizes (entry->value.directory);
else
diff --git a/bfd/pei-x86_64.c b/bfd/pei-x86_64.c
index d951442..ef06336 100644
--- a/bfd/pei-x86_64.c
+++ b/bfd/pei-x86_64.c
@@ -346,7 +346,7 @@ pex64_dump_xdata (FILE *file, bfd *abfd,
end_addr = sec_size;
pex64_get_unwind_info (abfd, &ui, &xdata[addr]);
-
+
if (ui.Version != 1 && ui.Version != 2)
{
unsigned int i;
diff --git a/bfd/peicode.h b/bfd/peicode.h
index 668e742..1d251fa 100644
--- a/bfd/peicode.h
+++ b/bfd/peicode.h
@@ -867,7 +867,7 @@ pe_ILF_build_a_bfd (bfd * abfd,
ptr += alignment - (SIZEOF_ILF_STRINGS & (alignment - 1));
}
#endif
-
+
vars.data = ptr;
vars.abfd = abfd;
vars.sec_index = 0;
diff --git a/bfd/versados.c b/bfd/versados.c
index 93a90a7..70e936e 100644
--- a/bfd/versados.c
+++ b/bfd/versados.c
@@ -381,11 +381,11 @@ process_otr (bfd *abfd, struct ext_otr *otr, int pass)
/* PR 17512: file: ac7da425. */
if (otr->esdid == 0)
return;
-
+
esdid = &EDATA (abfd, otr->esdid - 1);
contents = esdid->contents;
dst_idx = esdid->pc;
-
+
for (shift = ((unsigned long) 1 << 31); shift && srcp < endp; shift >>= 1)
{
if (bits & shift)
diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c
index 9576607..920472a 100644
--- a/bfd/vms-alpha.c
+++ b/bfd/vms-alpha.c
@@ -829,7 +829,7 @@ vms_get_remaining_object_record (bfd *abfd, unsigned int read_so_far)
/* PR 17512: file: 025-1974-0.004. */
else if (to_read <= read_so_far)
return 0;
-
+
/* Read the remaining record. */
to_read -= read_so_far;
diff --git a/bfd/warning.m4 b/bfd/warning.m4
index d35293a..3cbf44c 100644
--- a/bfd/warning.m4
+++ b/bfd/warning.m4
@@ -6,12 +6,12 @@ dnl This file is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 3 of the License, or
dnl (at your option) any later version.
-dnl
+dnl
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl GNU General Public License for more details.
-dnl
+dnl
dnl You should have received a copy of the GNU General Public License
dnl along with this program; see the file COPYING3. If not see
dnl <http://www.gnu.org/licenses/>.
@@ -52,7 +52,7 @@ if test "${ERROR_ON_WARNING}" = yes ; then
GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
NO_WERROR="-Wno-error"
fi
-
+
if test "${GCC}" = yes ; then
WARN_CFLAGS="${GCC_WARN_CFLAGS}"
fi