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.
26 years ago
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.
26 years ago
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.
26 years ago
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.
26 years ago
Kazu Hirata
98591c73cf
2000-11-16 Kazu Hirata <kazu@hxi.com>
* dwarf1.c: Fix formatting.
* dwarf2.c: Likewise.
26 years ago
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.
26 years ago
Kazu Hirata
c5930ee6b4
2000-11-15 Kazu Hirata <kazu@hxi.com>
* coff-arm.c: Fix formatting.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
26 years ago
Richard Henderson
dac544a817
* elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
section with the same ALLOC|LOAD flags as the source section.
26 years ago
Nick Clifton
4a8e467a7a
ops - omited from previous delta
Add GFPL to bfd.texinfo
26 years ago
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.
26 years ago
Kazu Hirata
43646c9de2
2000-11-14 Kazu Hirata <kazu@hxi.com>
* coff-pmac.c: Fix formatting.
* coff-ppc.c: Likewise.
26 years ago
H.J. Lu
051b857701
2000-11-08 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_link_add_object_symbols): Also add indirect
symbols for common symbols with the default version.
26 years ago
Phil Blundell
90460d9725
2000-11-09 Philip Blundell <pb@futuretv.com>
* section.c (STD_SECTION): Set gc_mark flag.
26 years ago
Kazu Hirata
b48499ecc0
2000-11-11 Kazu Hirata <kazu@hxi.com>
* coff-i960.c: Likewise.
* coff-m68k.c: Likewise.
* coff-m88k.c: Likewise.
* coff-mcore.c: Likewise.
* coff-mips.c: Likewise.
26 years ago
Alexandre Oliva
c5aeb40fc6
* elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.
26 years ago
Kazu Hirata
5fcfd273c3
2000-11-10 Kazu Hirata <kazu@hxi.com>
* coff-h8300.c: Fix formatting.
* coff-h8500.c: Likewise.
* coff-i386.c: Likewise.
* coff-i860.c: Likewise.
* coff-i960.c: Likewise.
* coff-ia64.c: Likewise.
26 years ago
Kazu Hirata
047066e166
2000-11-09 Kazu Hirata <kazu@hxi.com>
* archive.c: Fix formatting.
* archures.c: Likewise.
26 years ago
Kazu Hirata
346ceb11ed
2000-11-08 Kazu Hirata <kazu@hxi.com>
* coff-a29k.c: Fix formatting.
* coff-alpha.c: Likewise.
* coff-apollo.c: Likewise.
* coff-aux.c: Likewise.
26 years ago
Kazu Hirata
8546af7422
2000-11-08 Kazu Hirata <kazu@hxi.com>
* bfd-in.h: Fix formatting.
* bfd-in2.h: Likewise.
26 years ago
Richard Henderson
9a951beb03
* elf64-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.
Set it before bfd_elf64_bfd_final_link call. Use it after the call.
* section.c (bfd_set_section_contents): Call memcpy if
section->contents set and location not equal to contents plus offset.
26 years ago
Kazu Hirata
aebad5fe2c
2000-11-08 Kazu Hirata <kazu@hxi.com>
* bfd.c: Fix formatting.
* binary.c: Likewise.
* bout.c: Likewise.
26 years ago
Kazu Hirata
0ef5a5bdcb
2000-11-07 Kazu Hirata <kazu@hxi.com>
* aix386-core.c: Fix formatting.
* aoutf1.h: Likewise.
* aoutx.h: Likewise.
* archures.c: Likewise.
* armnetbsd.c: Likewise.
26 years ago
Alan Modra
d562d2fbf0
Fix for H8 ld problem.
26 years ago
Jim Wilson
4efc3e0524
Fix a few minor Changlog formatting problems.
26 years ago
Jim Wilson
bbe66d0820
ia64-hpux patches from Steve Ellcey.
* archures.c: (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32) Add defines
to differentiate elf32 and elf64 on ia64.
* bfd-in2.h: Regenerate.
* config.bfd: Add target for "ia64*-*-hpux*".
* configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch.
* configure: Regenerate.
* cpu-ia64.c (bfd_ia64_elf32_arch) Add elf32 arch info structure.
* targets.c: Add bfd_target bfd_elf32_ia64_big_vec.
* Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects
from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo.
* Makefile.in: Regnerate.
* elf64-ia64.c: Deleted
* elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.
26 years ago
Kazu Hirata
c4dfa77f43
2000-11-06 Kazu Hirata <kazu@hxi.com>
* aout-adobe.c: Fix formatting.
* aout-arm.c: Likewise.
* aout-cris.c: Likewise.
* aout-encap.c: Likewise.
* aout-ns32k.c: Likewise.
* aout-target.h: Likewise.
* aout-tic30.c: Likewise.
26 years ago
Phil Blundell
cf919dfdd7
2000-11-05 Philip Blundell <philb@gnu.org>
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
BFDs containing no sections to be merged, regardless of their flags.
2000-11-04 Philip Blundell <philb@gnu.org>
* elf32-arm.h (elf32_arm_relocate_section): Suppress error message
if a relocation for an undefined symbol also results in an
overflow.
26 years ago
Christopher Faylor
8848a8d0a4
* config.bfd: Add support for Sun Chorus.
26 years ago
David O'Brien
46d59bfa43
2000-11-05 David O'Brien <obrien@FreeBSD.org>
* configure.in: Recognize alpha-*-freebsd*.
* configure: Regenerate.
I had this in my local tree for along time and had gotten approval for this
on Mon, 22 May 2000 15:45:01 -0700 but somehow managed to never commit it.
Approved by: Nick Clifton <nickc@cygnus.com>
Message-Id: <200005222245.PAA14600@elmo.cygnus.com>
26 years ago
Nick Clifton
420496c13a
Add --srec-len and --srec-forceS3 switches to objcopy
26 years ago
Nick Clifton
59ff2774bb
Add support for *-storm-chaos target
26 years ago
Phil Blundell
ee43f35ef7
2000-10-31 Philip Blundell <philb@gnu.org>
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
EF_SOFT_FLOAT if it is defined.
26 years ago
Phil Blundell
1006ba1936
2000-10-27 Philip Blundell <philb@gnu.org>
* elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
attempts to mix PIC code with non-PIC, just mark the output as
being position dependent.
(elf32_arm_merge_private_bfd_data): Likewise. Print an error
message for EF_SOFT_FLOAT mismatches. Display diagnostics for
all mismatches, not just the first one.
26 years ago
Nick Clifton
c4920b9772
Plug one of many possible memory leaks in error handling.
26 years ago
Jakub Jelinek
19f7b01094
gas/
* config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p
instructions to loose any special insn->architecture mask.
* config/tc-sparc.c (v9a_asr_table): Add v9b ASRs.
(sparc_md_end, sparc_arch_types, sparc_arch,
sparc_elf_final_processing): Handle v8plusb and v9b architectures.
(sparc_ip): Handle siam mode operands. Support v9b ASRs (and
request v9b architecture if they are used).
bfd/
* elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
elf32_sparc_object_p, elf32_sparc_final_write_processing):
Support v8plusb.
* elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
sparc64_elf_object_p): Support v9b.
* archures.c: Declare v8plusb and v9b machines.
* bfd-in2.h: Ditto.
* cpu-sparc.c: Ditto.
include/opcode/
* sparc.h (enum sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_V9B.
Note that '3' is used for siam operand.
opcodes/
* sparc-dis.c (v9a_asr_reg_names): Add v9b ASRs.
(compute_arch_mask): Add v8plusb and v9b machines.
(print_insn_sparc): siam mode decoding, accept ASRs up to 25.
* opcodes/sparc-opc.c: Support for Cheetah instruction set.
(prefetch_table): Add #invalidate.
26 years ago
Geoffrey Keating
ea5fbc6753
* elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
of a GOT reloc.
26 years ago
Geoffrey Keating
e1e0340bc8
* elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
(SYMBOL_CALLS_LOCAL): New macro.
(ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
(ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
(ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
(ppc_elf_relocate_section): Use flag variable to determine
whether the relocation refers to a local symbol.
Test whether a PLTREL24 reloc will produce a reloc by looking
to see whether a PLT entry was made.
26 years ago
Geoffrey Keating
a4b120e1db
* elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
entries that could serve as a definition for a weak symbol.
26 years ago
Ulf Carlsson
5af5b85bc3
2000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>
From Ralf Baechle <ralf@gnu.org>
* elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
local_p. Add symbol value only for non-R_MIPS_REL32 relocations
against local symbols.
(_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
26 years ago
Alan Modra
24376d1b58
Another try at correcting relocations against discarded
link-once section symbols.
26 years ago
Alan Modra
3ef20aaa54
Include alloca-conf.h
26 years ago
Alan Modra
d01e2a23a3
Revert 2000-10-07 link-once section symbol changes.
26 years ago
Alan Modra
c0e219ccea
Fix my last change to actually compile.
26 years ago
Alan Modra
fe268b663f
(ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
26 years ago
Alan Modra
4d7ce4dd48
* section.c (bfd_make_section_anyway): Release newsect ptr when
newsect->symbol fails to alloc. Use bfd_release instead of free.
26 years ago
Richard Henderson
f3b6f7c34d
* elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
(elf64_ia64_unwind_entry_compare): New.
(elf64_ia64_final_link): Sort the .IA_64.unwind section.
26 years ago
Alan Modra
fc8c40a057
Cure a number of segfaults caused by /DISCARD/ of dynamic sections.
26 years ago
Alan Modra
44852b190c
Make elf section symbols global for link-once sections.
26 years ago
DJ Delorie
3e4554a206
* peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
* coffcode.h (coff_set_alignment_hook): read extended reloc count
(coff_write_relocs): write extended reloc count
(coff_write_object_contents): account for extended relocs
26 years ago
Jim Wilson
fa152c4930
Preserve machine dependent section header flags when reading ELF object file.
* elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
field.
* elf.c (_bfd_elf_make_section_from_shdr): Call the
elf_backend_section_flags function.
* elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
code.
(elf64_ia64_section_flags): New function containing flag conversion
code.
(elf_backend_section_flags): Define to elf64_ia64_section_flags.
* elfxx-target.h (elf_backend_section_flags): Define.
(elfNN_bed): Initialize elf_backend_section_flags field.
26 years ago