Nick Clifton
e135f41bc2
Add PDP-11 support
2001-02-18 23:33:11 +00:00
Nick Clifton
a85d7ed0f0
Add s390 support
2001-02-10 00:58:38 +00:00
Kazu Hirata
c02e7c3eff
2001-01-25 Kazu Hirata <kazu@hxi.com>
...
* bfd-in2.h: Fix formatting.
* libbfd.h: Likewise.
2001-01-25 20:17:45 +00:00
H.J. Lu
541389e202
2001-01-23 H.J. Lu <hjl@gnu.org>
...
* bfd-in2.h: Rebuild.
2001-01-24 04:56:29 +00:00
Kazu Hirata
3fde5a36df
2001-01-23 Kazu Hirata <kazu@hxi.com>
...
* aoutx.h: Fix formatting.
* bfd.c: Likewise.
* bfd-in2.h: Likewise.
* bfd-in.h: Likewise.
* cpu-i386.c: Likewise.
* cpu-m68hc11.c: Likewise.
* dwarf2.c: Likewise.
* elf64-x86-64.c: Likewise.
* format.c: Likewise.
* freebsd.h: Likewise.
* hash.c: Likewise.
* hp300hpux.c: Likewise.
* hppabsd-core.c: Likewise.
* hpux-core.c: Likewise.
2001-01-23 20:27:54 +00:00
Nick Clifton
0d2bcfafbf
Updated ARC assembler from arccores.com
2001-01-11 21:20:20 +00:00
Nick Clifton
8c603c85a1
Add bfd_get_bits() and bfd_put_bits().
2000-12-21 18:20: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
8d88c4ca53
Add support for x86_64-*-linux-gnu* target
2000-11-30 19:16:54 +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
Nick Clifton
077b8428ab
Add ARM v5t, v5te and XScale support
2000-11-25 00:21:40 +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
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
8546af7422
2000-11-08 Kazu Hirata <kazu@hxi.com>
...
* bfd-in.h: Fix formatting.
* bfd-in2.h: Likewise.
2000-11-08 23:57:04 +00:00
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.
2000-11-07 00:43:26 +00:00
Nick Clifton
59ff2774bb
Add support for *-storm-chaos target
2000-11-02 23:03:24 +00:00
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.
2000-10-20 10:38:47 +00:00
Alan Modra
24376d1b58
Another try at correcting relocations against discarded
...
link-once section symbols.
2000-10-12 03:44:51 +00:00
Nick Clifton
0752970ef8
add support for embedded relocs in m68k ELF port
2000-09-15 18:52:52 +00:00
Nick Clifton
156c2f8bf7
Add support for the MIPS32
2000-09-14 01:47:38 +00:00
Alan Modra
a966dba9da
`template' isn't a very good name for a variable.
...
Who invented c++ anyway?
2000-09-06 00:22:01 +00:00
Alan Modra
1bd916895e
(SEC_HAS_GOT_REF): Define new flag for asection.
...
(bfd_get_unique_section_name): New function.
2000-09-05 02:42:16 +00:00
Nick Clifton
7a6cc5fb0c
Add .gnu.linkobce.wi. to the list of debug section names.
...
Update generated files
2000-09-02 20:33:48 +00:00
Alexandre Oliva
37c644f2f5
* elf32-sh.c (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
...
R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New.
(sh_reloc_map): Add new relocs.
(sh_elf_check_relocs, sh_elf_link_hash_newfunc,
sh_elf_link_hash_table_create, sh_elf_adjust_dynamic_symbol,
sh_elf_size_dynamic_sections, sh_elf_finish_dynamic_symbol,
sh_elf_finishe_dynamic_sections, sh_elf_discard_copies): New
functions.
(ELF_DYNAMIC_INTERPRETER, PLT_ENTRY_SIZE): Define.
(elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le,
elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le):
New array constants.
(elf_sh_plt0_entry, elf_sh_plt_entry, elf_sh_pic_plt_entry):
New variables.
(elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_linker_offset, elf_sh_plt0_gotid_offset,
elf_sh_plt_temp_offset, elf_sh_plt_symbol_offset,
elf_sh_plt_reloc_offset): Define.
(elf_sh_pcrel_relocs_copied, elf_sh_link_hash_entry,
elf_sh_link_hash_table): New structs.
(sh_elf_link_hash_traverse, sh_elf_hash_table): New macros.
(sh_elf_relocate_section, sh_elf_check_relocs): Handle new
relocation types.
(elf_backend_create_dynamic_sections,
bfd_elf32_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
* reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT,
BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE, BFD_RELOC_SH_GOTPC):
New relocs.
* bfd-in2.h, libbfd.h: Rebuilt.
2000-09-02 02:33:26 +00:00
H.J. Lu
a963dc6ade
2000-08-22 H.J. Lu <hjl@gnu.org>
...
* elf-bfd.h (elf_link_hash_table): Add runpath.
* bfd-in.h (bfd_elf_get_runpath_list): New prototype.
* bfd-in2.h: Rebuilt.
* elf.c (_bfd_elf_link_hash_table_init): Initialize the
"runpath" field to NULL.
(bfd_elf_get_runpath_list): New function.
* elflink.h (elf_link_add_object_symbols): Record DT_RPATH and
DT_RUNPATH entries.
2000-08-22 19:33:16 +00:00
Nick Clifton
bc67d8a6e3
Restore reverted code. Fix bug in reverted code which was eliminating too
...
many segments.
2000-08-03 19:40:29 +00:00
H.J. Lu
c0f7859bc6
2000-08-03 H.J. Lu <hjl@gnu.org>
...
* section.c: Back out the change made by Nick Clifton
<nickc@cygnus.com> on 2000-07-31. It breaks stripping dynamic
binaries.
* bfd-in2.h: Likewise.
* elf.c: Likewise.
2000-08-03 13:50:35 +00:00
Jason Eckhardt
a87fdb8d10
2000-07-31 Jason Eckhardt <jle@cygnus.com>
...
* reloc.c (BFD_RELOC_860_*): New bfd relocs for i860.
* bfd-in2.h, libbfd.h: Regenerate.
2000-08-01 01:45:29 +00:00
Nick Clifton
5c440b1e3b
Improve section to segment mapping code.
2000-07-31 18:45:26 +00:00
Nick Clifton
3eb6f68f1b
Regenerate auto-generated files
2000-07-24 17:22:17 +00:00
Hans-Peter Nilsson
06c15ad74f
* Makefile.am (ALL_MACHINES): Add cpu-cris.lo.
...
(ALL_MACHINES_CFILES): Add cpu-cris.c.
(BFD32_BACKENDS): Add aout-cris.lo and elf32-cris.lo.
(BFD32_BACKENDS_CFILES): Add aout-cris.c and elf32-cris.c.
(cpu-cris.lo, aout-cris.lo, elf32-cris.lo): New rules.
* Makefile.in: Rebuild.
* aclocal.m4: Rebuild.
* aoutx.h (NAME(aout,machine_type)): Add case for bfd_arch_cris.
* archures.c (enum bfd_architecture): Add bfd_arch_cris.
(bfd_cris_arch): Declare.
(bfd_archures_list): Add bfd_cris_arch.
* bfd-in2.h: Rebuild.
* config.bfd: (cris-*-*): New target.
* configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vectors.
* configure: Rebuild.
* elf.c (prep_headers): Add bfd_arch_cris.
* libbfd.h: Rebuild.
* libaout.h (enum machine_type): Add M_CRIS.
* reloc.c: Add CRIS relocations.
* targets.c (bfd_target bfd_elf32_cris_vec, cris_aout_vec):
Declare.
(bfd_target_vect): Add bfd_elf32_cris_vec and cris_aout_vec.
* cpu-cris.c, aout-cris.c, elf32-cris.c: New files.
* po/POTFILES.in, po/bfd.pot: Regenerate.
2000-07-20 16:21:07 +00:00
H.J. Lu
7481689898
2000-07-19 H.J. Lu <hjl@gnu.org>
...
* bfd-in.h (bfd_elf_set_dt_needed_soname): New.
* bfd-in2.h: Rebuild.
* elf-bfd.h (elf_obj_tdata): Add dt_soname.
(elf_dt_soname): New.
* elf.c (bfd_elf_set_dt_needed_soname): New.
* elflink.h (elf_link_add_object_symbols): Add the DT_NEEDED
entry if the shared object loaded by DT_NEEDED is used to
resolve the reference in a regular object.
2000-07-20 03:16:18 +00:00
Nick Clifton
125c4a69c4
Rename bfd_elf_get_arch_size to bfd_get_arch_size
...
Rename bfd_elf_get_sign_extend_vma to bfd_get_sign_extend_vma
2000-07-18 19:20:13 +00:00
Andrew Cagney
6d9019e4c0
Add function bfd_elf_get_sign_extend_vma.
2000-07-11 07:28:25 +00:00
Alan Modra
52b219b5e4
Add sequence id field to asection.
...
Tidy comments and replace deprecated CONST with const.
2000-07-08 12:08:43 +00:00
Nick Clifton
65aa24b6e8
Applied Marek Michalkiewicz <marekm@linux.org.pl>'s patch to ehance the AVR port.
2000-06-27 01:45:30 +00:00
Nick Clifton
60bcf0fa8c
Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support
...
for m68hc11 and m68hc12 processors.
2000-06-19 01:22:44 +00:00
Nicholas Duffek
87f33987cd
* archures.c (enum bfd_architecture): #define constants for
...
PowerPc and RS6000 machine numbers.
* bfd-in2.h: Regenerate.
* coffcode.h (coff_set_arch_mach_hook): #ifdef XCOFF64, set arch
to bfd_arch_powerpc instead of bfd_arch_rs6000. Refer to PowerPc
and RS6000 machine numbers using #defined constants from
archures.c.
* cpu-powerpc.c (arch_info_struct): Refer to PowerPc and RS6000
machine numbers using #defined constants from archures.c. Add
entries for EC603e, 630, A35, RS64II, RS64III, 7400. Specify
64-bit words in 620 entry.
* cpu-rs6000.c (arch_info_struct): Create with entries for RS1,
RSC, and RS2.
(bfd_rs6000_arch): Change default machine to 0 (bfd_mach_rs6k).
2000-06-16 20:45:33 +00:00
Nicholas Duffek
9bd09e220f
* bfd-in.h (bfd_family_coff): Define.
...
* bfd-in2.h: Regenerate.
* coffgen.c (coff_count_linenumbers, coff_symbol_from,
coff_find_nearest_line): Check COFFness using bfd_family_coff()
instead of bfd_target_coff_flavour.
* cofflink.c (_bfd_coff_final_link): Likewise.
* cpu-ns32k.c (do_ns32k_reloc): Don't strcmp() target name to
exclude XCOFF files.
* reloc.c (bfd_perform_relocation, bfd_install_relocation):
Likewise.
* targets.c (enum bfd_flavour): Add bfd_target_xcoff_flavour.
* xcoff-target.h (TARGET_SYM): Use bfd_target_xcoff_flavour.
* xcofflink.c (XCOFF_XVECP): Delete.
(bfd_xcoff_link_record_set, bfd_xcoff_import_symbol,
bfd_xcoff_export_symbol, bfd_xcoff_link_count_reloc,
bfd_xcoff_record_link_assignment,
bfd_xcoff_size_dynamic_sections): Replace XCOFF_XVECP() with
check for bfd_target_xcoff_flavour.
2000-06-16 20:35:08 +00:00
Richard Henderson
748abff62c
* elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI,
...
PCREL22, PCREL64I. Zero size of special relocs.
(elf64_ia64_reloc_type_lookup): Likewise.
(USE_BRL, oor_brl, oor_ip): New.
(elf64_ia64_relax_section): New.
(elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I.
(elf64_ia64_install_value): Likewise, plus PCREL21BI.
(elf64_ia64_relocate_section): Likewise.
(bfd_elf64_bfd_relax_section): New.
* reloc.c (BFD_RELOC_IA64_PCREL21BI): New.
(BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New.
* bfd-in2.h, libbfd.h: Regenerate.
2000-05-23 01:32:28 +00:00
Michael Snyder
3425c18298
2000-05-04 Michael Snyder <msnyder@seadog.cygnus.com>
...
* elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1.
* bfd-in.h: Prototype bfd_elf_get_arch_size.
* bfd-in2.h: Prototype bfd_elf_get_arch_size.
2000-05-05 18:12:53 +00:00
Alan Modra
a1934524a3
Correctly check gcc version.
2000-04-29 00:56:29 +00:00
Jim Wilson
800eeca487
IA-64 ELF support.
2000-04-21 20:22:24 +00:00
Timothy Wall
e1b0e3c22b
Properly regenerate bfd-in2.h.
2000-04-19 13:32:19 +00:00
Timothy Wall
b9af77f58f
Clean up load page support for tic54x.
2000-04-18 02:21:27 +00:00
Nick Clifton
dfc5f959f3
Add support for R_ARM_XPC25 and R_ARM_THM_XPC22 relocs
2000-04-08 00:10:49 +00:00
Timothy Wall
81635ce4f5
BFD and include/coff support for tic54x target.
2000-04-07 17:06:58 +00:00
Timothy Wall
34cbe64ecf
SEC_BLOCK, SEC_CLINK, and C_STATLAB added (TI COFF support).
2000-04-07 00:58:07 +00:00