Nick Clifton
f78c52818f
Definbe extra allowable COFF section flags for ARM_PE target/
2000-12-18 20:50:41 +00:00
Nick Clifton
02b89dcefc
Add default case to file_format switch.
2000-12-18 19:03:30 +00:00
Nick Clifton
d20966a734
Move to the start of the program headers before attempting to read them.
2000-12-15 18:53:04 +00:00
Kazu Hirata
6fa957a9b9
2000-12-14 Kazu Hirata <kazu@hxi.com>
...
* peigen.c: Fix formatting.
* som.c: Likewise.
* som.h: Likewise.
2000-12-14 21:38:31 +00:00
Kazu Hirata
9602af5112
2000-12-13 Kazu Hirata <kazu@hxi.com>
...
* peigen.c: Fix formatting.
2000-12-13 21:43:57 +00:00
Jim Wilson
514829c3af
Eliminate ia64 compiler warnings. Fix ia64 gas testsuite again.
...
* elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *.
* config/tc-ia64.h (ia64_init): Add prototype.
* gas/ia64/dv-imply.d, gas/ia64/dv-mutex.d, gas/ia64/dv-safe.d,
gas/ia64/dv-srlz.d, gas/ia64/opc-m.d: Update.
* ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode
argument.
* ia64_gen.c (insert_deplist): Cast sizeof result to int.
(print_dependency_table): Print NULL if semantics field not set.
(insert_opcode_dependencies): Mark cmp parameter as unused.
(print_main_table): Use fprintf_vma to print long long fields.
(main): Mark argv paramter as unused. Convert to old style definition.
* ia64-opc.c (ia64_find_dependency): Cast sizeof result to int.
* ia64-asmtab.c: Regnerate.
2000-12-12 22:56:36 +00:00
Nick Clifton
3a71aec8b4
Ignore sections with zero size.
2000-12-12 22:54:39 +00:00
Kazu Hirata
1518639ec4
2000-12-12 Kazu Hirata <kazu@hxi.com>
...
* m68klinux.c: Fix formatting.
* m68knetbsd.c: Likewise.
* mipsbsd.c: Likewise.
* netbsd-core.c: Likewise.
* netbsd.h: Likewise.
* newsos3.c: Likewise.
* nlm32-alpha.c: Likewise.
* nlm32-i386.c: Likewise.
* nlm32-ppc.c: Likewise.
* nlm32-sparc.c: Likewise.
* nlmcode.h: Likewise.
* nlmswap.h: Likewise.
* nlm-target.h: Likewise.
* ns32knetbsd.c: Likewise.
2000-12-12 21:25:54 +00:00
Nick Clifton
b79e8c7865
Add link option to allow undefiedn symbols in shared libraries
2000-12-12 20:53:02 +00:00
Nick Clifton
38b1a46ca2
Fix formatting.
2000-12-12 19:23:16 +00:00
Nick Clifton
857ec808bb
Pass dwarf2_find_line_info as last parameter to invocation of
...
_bfd_dwarf2_find_nearest_line.
2000-12-09 20:12:57 +00:00
Kazu Hirata
fe8bc63d5e
2000-12-08 Kazu Hirata <kazu@hxi.com>
...
* elf64-alpha.c: Fix formatting.
* elf64-hppa.c: Likewise.
* elf64-mips.c: Likewise.
2000-12-09 01:54:51 +00:00
Nick Clifton
51db370890
Generalize DWARF2 and COFF support.
2000-12-08 22:50:07 +00:00
Kazu Hirata
435b1e90b1
2000-12-08 Kazu Hirata <kazu@hxi.com>
...
* coffgen.c: Fix formatting.
* elf32-i386.c: Likewise.
* elf32-i960.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sparc.c: Likewise.
* elf32-v850.c: Likewise.
* elf64-sparc.c: Likewise.
* elf-m10300.c: Likewise.
2000-12-08 18:34:32 +00:00
Kazu Hirata
8da6118f7b
2000-12-07 Kazu Hirata <kazu@hxi.com>
...
* elf32-ppc.c: Fix formatting.
* elf64-x86-64.c: Likewise.
2000-12-07 19:31:48 +00:00
Ulf Carlsson
a9922e52c7
2000-12-06 Ulf Carlsson <ulfc@engr.sgi.com>
...
From Ralf Baechle <ralf@gnu.org>
* elf32-mips.c (elf32_mips_merge_private_bfd_data): Always permit
BFDs containing no sections or empty .text, .data or .bss sections
to be merged, regardless of their flags.
2000-12-07 01:05:04 +00:00
Kazu Hirata
c3668558c9
2000-12-06 Kazu Hirata <kazu@hxi.com>
...
* elf32-m32r.c: Fix formatting.
* elf32-m68hc11.c: Likewise.
* elf32-m68hc12.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-pj.c: Likewise.
* elf32-ppc.c: Likewise.
2000-12-06 18:59:48 +00:00
Kazu Hirata
6609fa7475
2000-12-05 Kazu Hirata <kazu@hxi.com>
...
* elf32-fr30.c: Fix formatting.
* elf32-hppa.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-i860.c: Likewise.
* elf32-i960.c: Likewise.
2000-12-05 13:20:10 +00:00
Kazu Hirata
a7c108501a
2000-12-03 Kazu Hirata <kazu@hxi.com>
...
* elf32-arm.h: Fix formatting.
* elf32-avr.c: Likewise.
* elf32-cris.c: Likewise.
* elf32-d10v.c: Likewise.
* elf32-d30v.c: Likewise.
* elf-hppa.h: Likewise.
* elf-m10200.c: Likewise.
* elf-m10300.c: Likewise.
2000-12-03 20:44:04 +00:00
Nick Clifton
c6c98b3833
Add MIPS SB1 machine
2000-12-02 01:10:33 +00:00
Nick Clifton
84ea6cf2c5
Add MIPS V and MIPS 64 machine numbers
2000-12-02 00:55:22 +00:00
Nick Clifton
e7af610e14
Add MIPS32 as a seperate MIPS architecture
2000-12-01 21:35:38 +00:00
Nick Clifton
ddcfc5fc2c
Update RTEMS targets
2000-12-01 18:37:16 +00:00
Nick Clifton
2c9f0eb1fc
Really delete elf64-ia64.c this time.
2000-12-01 18:15:22 +00:00
Nick Clifton
8d88c4ca53
Add support for x86_64-*-linux-gnu* target
2000-11-30 19:16:54 +00:00
Kazu Hirata
fbc4fff4c6
2000-11-30 Kazu Hirata <kazu@hxi.com>
...
* xcofflink.c: Fix formatting.
2000-11-30 08:04:42 +00:00
Kazu Hirata
be3ccd9c2b
2000-11-28 Kazu Hirata <kazu@hxi.com>
...
* elf32-mips.c: Fix formatting.
2000-11-29 04:56:32 +00:00
Kazu Hirata
e60b52c622
2000-11-28 Kazu Hirata <kazu@hxi.com>
...
* aoutx.h: Fix formatting.
* bfd-in.h: Likewise.
* bfd-in2.h: Likewise.
* cache.c: Likewise.
* cisco-core.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffswap.h: Likewise.
* corefile.c: Likewise.
2000-11-28 21:42:16 +00:00
Kazu Hirata
244148ad5c
2000-11-27 Kazu Hirata <kazu@hxi.com>
...
* coff64-rs6000.c: Fix formatting.
* coffgen.c: Likewise.
* cofflink.c: Likewise.
2000-11-28 01:33:15 +00:00
Kazu Hirata
336eced2fe
2000-11-27 Kazu Hirata <kazu@hxi.com>
...
* aout-adobe.c: Fix formatting.
2000-11-28 01:27:10 +00:00
Phil Blundell
d71f672e69
2000-11-27 Philip Blundell <pb@futuretv.com>
...
* libcoff-in.h (coff_tdata): Add `strings_written' flag.
(obj_coff_strings_written): New accessor macro for above.
* libcoff.h: Regenerate.
* cofflink.c (_bfd_coff_final_link): Say that we wrote the
strings.
* coffcode.h (coff_write_object_contents): No need to write out
the string table if it's already been done.
2000-11-27 12:45:17 +00:00
Phil Blundell
bc7a577dc7
2000-11-22 Philip Blundell <pb@futuretv.com>
...
* cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
weak undefined symbols.
2000-11-27 11:08:15 +00:00
Nick Clifton
077b8428ab
Add ARM v5t, v5te and XScale support
2000-11-25 00:21:40 +00:00
Kazu Hirata
e9e41bd976
2000-11-23 Kazu Hirata <kazu@hxi.com>
...
* aix386-core.c: Fix formatting.
2000-11-23 07:33:24 +00:00
Jim Wilson
64bf6ae67d
Eliminate compiler warnings from IA-64 port.
...
* coff-ia64.c (howto_table): Use EMPTY_HOWTO.
(in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters.
* cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise.
(ins_imms_scaled): Initialize sign_bit at function entry.
(elf64_ia64_operands): Add missing initializers.
* elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup,
elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections,
elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name,
elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff,
elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused
parameters.
(elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents,
and free_extsyms at function entry.
(elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result.
(elfNN_ia64_create_dynamic_sections): Delete unused local h.
(get_got): Delete unused local srel.
(elfNN_ia64_check_relocs): Initialize dynrel_type when declared.
(elfNN_ia64_relocate_section): Delete unused local dynindx.
2000-11-22 21:25:36 +00:00
Kazu Hirata
6e301b2bf2
2000-11-21 Kazu Hirata <kazu@hxi.com>
...
* coff-a29k.c: Fix formatting.
* coff-h8500.c: Likewise.
* coff-i960.c: Likewise.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
* coff-stgo32.c: Likewise.
* coff-tic54x.c: Likewise.
* coff-w65.c: Likewise.
* cpu-h8500.c: Likewise.
* cpu-hppa.c: Likewise.
* cpu-ns32k.c: Likewise.
2000-11-22 01:08:53 +00:00
Kazu Hirata
1abaf97602
2000-11-21 Kazu Hirata <kazu@hxi.com>
...
* ecoff.c: Fix formatting.
* ecofflink.c: Likewise.
2000-11-22 00:56:55 +00:00
Nick Clifton
a0fc8ba1d8
Fix compile time warning, and remove possibility of infinite loop.
2000-11-21 19:47:10 +00:00
Kazu Hirata
eb6e10cb73
2000-11-20 Kazu Hirata <kazu@hxi.com>
...
* bfd-in.h: Fix formatting.
* bfd-in2.h: Likewise.
* bfd.c: Likewise.
* bout.c: Likewise.
2000-11-21 02:24:32 +00:00
Kazu Hirata
beb0d161cd
2000-11-20 Kazu Hirata <kazu@hxi.com>
...
* aix386-core.c: Fix formatting.
* aout-adobe.c: Likewise.
* aout-arm.c: Likewise.
* aout-encap.c: Likewise.
* aout-ns32k.c: Likewise.
* aout-target.h: Likewise.
* aout-tic30.c: Likewise.
* aoutf1.h: Likewise.
* aoutx.h: Likewise.
* archive.c: Likewise.
2000-11-20 19:05:12 +00:00
Jim Wilson
2c2475db4a
Fix DT_INIT ABI violation, it is an offset not a function pointer.
...
* elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create
pltoff entries for DT_INIT and DT_FINI.
(elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.
(elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI
entries.
2000-11-18 00:41:35 +00:00
Richard Henderson
18b27f179e
* elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
...
(allocate_dynrel_entries): Likewise.
(elfNN_ia64_relocate_section): Likewise. Set REL addends correctly.
(set_pltoff_entry): Likewise.
(ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB
(elfNN_ia64_reloc_type_lookup): Likewise.
(elfNN_ia64_install_value): Likewise.
(elfNN_ia64_relocate_section): Likewise.
* reloc.c (BFD_RELOC_IA64_SEGBASE): Remove.
(BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove.
2000-11-16 22:44:07 +00:00
Kazu Hirata
71f6b58639
2000-11-16 Kazu Hirata <kazu@hxi.com>
...
* cpu-a29k.c: Fix formatting.
* cpu-alpha.c: Likewise.
* cpu-arm.c: Likewise.
* cpu-avr.c: Likewise.
* cpu-d10v.c: Likewise.
* cpu-h8500.c: Likewise.
* cpu-hppa.c: Likewise.
* cpu-i370.c: Likewise.
* cpu-i386.c: Likewise.
* cpu-i960.c: Likewise.
* cpu-ia64-opc.c: Likewise.
* cpu-ia64.c: Likewise.
* cpu-m32r.c: Likewise.
* cpu-m68hc11.c: Likewise.
* cpu-m68hc12.c: Likewise.
* cpu-m68k.c: Likewise.
* cpu-m88k.c: Likewise.
* cpu-mips.c: Likewise.
* cpu-ns32k.c: Likewise.
* cpu-pj.c: Likewise.
* cpu-powerpc.c: Likewise.
* cpu-sh.c: Likewise.
* cpu-sparc.c: Likewise.
* cpu-tic54x.c: Likewise.
* cpu-v850.c: Likewise.
* cpu-vax.c: Likewise.
* cpu-w65.c: Likewise.
* cpu-we32k.c: Likewise.
* cpu-z8k.c: Likewise.
2000-11-16 20:48:09 +00:00
Kazu Hirata
98591c73cf
2000-11-16 Kazu Hirata <kazu@hxi.com>
...
* dwarf1.c: Fix formatting.
* dwarf2.c: Likewise.
2000-11-16 19:29:48 +00:00
Kazu Hirata
cbfe05c4c6
2000-11-15 Kazu Hirata <kazu@hxi.com>
...
* coff-rs6000.c: Fix formatting.
* coff-sh.c: Likewise.
* coff-sparc.c: Likewise.
* coff-tic30.c: Likewise.
* coff-tic54x.c: Likewise.
* coff-tic80.c: Likewise.
* coff-w65.c: Likewise.
* coff-we32k.c: Likewise.
* coff-z8k.c: Likewise.
2000-11-16 00:54:12 +00:00
Kazu Hirata
c5930ee6b4
2000-11-15 Kazu Hirata <kazu@hxi.com>
...
* coff-arm.c: Fix formatting.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
2000-11-15 20:20:52 +00:00
Richard Henderson
dac544a817
* elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
...
section with the same ALLOC|LOAD flags as the source section.
2000-11-15 19:22:28 +00:00
Nick Clifton
4a8e467a7a
ops - omited from previous delta
...
Add GFPL to bfd.texinfo
2000-11-15 18:24:49 +00:00
Jakub Jelinek
c810873da1
* elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
...
by STO_ALPHA constants.
* config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.
2000-11-14 20:46:25 +00:00
Kazu Hirata
43646c9de2
2000-11-14 Kazu Hirata <kazu@hxi.com>
...
* coff-pmac.c: Fix formatting.
* coff-ppc.c: Likewise.
2000-11-14 19:23:49 +00:00