Commit Graph

5772 Commits

Author SHA1 Message Date
Alan Modra 1e1ca2358e daily update 2007-01-12 23:00:09 +00:00
H.J. Lu a454209dbc 2076-01-12 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (BFD_LIBS): Removed.
	* Makefile.in: Regenerated.
2007-01-12 13:53:59 +00:00
H.J. Lu 21e40a4872 2076-01-11 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3631
	* Makefile.am (OFILES): Add @bfd64_libs@.
	(libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES).
	* Makefile.in: Regenerated.

	* configure.in (bfd_libs): Replaced by ...
	(bfd64_libs): This.
	* configure: Regenerated.
2007-01-12 04:04:08 +00:00
Alan Modra fd3efd452f daily update 2007-01-11 23:00:13 +00:00
Nathan Sidwell 59e0647f0d bfd/
* elf.c (assign_file_positions_for_load_sections): We can
	require fewer phdrs than expected.
ld/
	* emultempl/elf-generic.em (gdl_map_segments): Only allow header
	shrinkage for the first few iterations.
ld/testsuite/
	* ld-elf/header.d: New.
	* ld-elf/header.t: New.
	* ld-elf/header.s: New.
2007-01-11 12:23:53 +00:00
Alan Modra 2c11e16c76 daily update 2007-01-10 23:00:08 +00:00
Alan Modra ab2e038e52 daily update 2007-01-09 23:00:11 +00:00
H.J. Lu 10a2343ede Move 2006 ChangeLog entries to ChangeLog-2006. 2007-01-09 14:29:31 +00:00
Alan Modra 822b7cb4a1 daily update 2007-01-08 23:00:09 +00:00
Kazu Hirata 3bdcfdf41f bfd/
* archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido.
	* bfd-in2.h: Regenerate.
	* cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of
	bfd_mach_cpu32_fido.
	(m68k_arch_features): Use fido_a instead of cpu32.
	(bfd_m68k_compatible): Reject the combination of Fido and
	ColdFire.  Accept the combination of CPU32 and Fido with a
	warning.
	* elf32-m68k.c (elf32_m68k_object_p,
	elf32_m68k_merge_private_bfd_data,
	elf32_m68k_print_private_bfd_data): Treat Fido as an
	architecture by itself.

binutils/
	* readelf.c (get_machine_flags): Treat Fido as an architecture
	by itself.

gas/
	* config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
	architecture by itself.
	(m68k_ip): Don't issue a warning for tbl instructions on fido.
	(m68k_elf_final_processing): Treat Fido as an architecture by
	itself.

include/elf/
	* m68k.h (EF_M68K_FIDO): New.
	(EF_M68K_ARCH_MASK): OR EF_M68K_FIDO.
	(EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): Remove.

include/opcode/
	* m68k.h (m68010up): OR fido_a.

opcodes/
	* m68k-opc.c (m68k_opcodes): Replace cpu32 with
	cpu32 | fido_a except on tbl instructions.
2007-01-08 18:42:37 +00:00
Nick Clifton 42037fe5bb Renamed target x86_64-*-mingw64 to x86_64-*-mingw*. 2007-01-08 17:21:50 +00:00
Alan Modra 3503c2f37a daily update 2007-01-07 23:00:08 +00:00
Alan Modra 67c1336efa daily update 2007-01-06 23:00:06 +00:00
Alan Modra cd14a49f53 daily update 2007-01-05 23:00:12 +00:00
Jakub Jelinek ebe8b99135 * texhex.c (first_phase): Don't fall through into the default
case.
	(pass_over): Replace abort () calls with return FALSE.  Fix
	buffer overflow.
2007-01-05 10:12:25 +00:00
Alan Modra 67411dd506 daily update 2007-01-04 23:00:11 +00:00
Alan Modra b327f31f6d * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set
SEC_EXCLUDE on zero size .eh_frame.
2007-01-04 13:30:39 +00:00
Alan Modra 1fefacdfa1 daily update 2007-01-03 23:00:06 +00:00
H.J. Lu 1dbafe8ead Remove ">>>>>>> 1.3701". 2007-01-03 20:23:28 +00:00
Alan Modra 48fc6e786d daily update 2007-01-02 23:00:10 +00:00
Alan Modra d26785d525 daily update 2007-01-01 23:00:09 +00:00
Alan Modra 08768f6bb0 daily update 2006-12-31 23:00:05 +00:00
H.J. Lu fb70130a33 2006-12-31 H.J. Lu <hongjiu.lu@intel.com>
* bfd.c (bfd_record_phdr): Call bfd_zalloc instead of bfd_alloc
	to allocate elf_segment_map.
2006-12-31 17:23:07 +00:00
Alan Modra c1f9098711 daily update 2006-12-30 23:00:06 +00:00
Alan Modra 55b1968358 daily update 2006-12-29 23:00:10 +00:00
H.J. Lu 83ad0046cf bfd/
2006-12-29  H.J. Lu  <hongjiu.lu@intel.com>

	* elflink.c (elf_link_add_object_symbols): Remember the symbol
	size only if it is defined.

ld/testsuite/

2006-12-29  H.J. Lu  <hongjiu.lu@intel.com>

	* ld-elf/wrap.exp: New file.
	* ld-elf/wrap1.c: Likewise.
	* ld-elf/wrap1.out: Likewise.
	* ld-elf/wrap1a.c: Likewise.
	* ld-elf/wrap1b.c: Likewise.
2006-12-29 17:56:32 +00:00
Alan Modra f670d09804 daily update 2006-12-28 23:00:09 +00:00
Alan Modra dd96aebbc6 daily update 2006-12-27 23:00:06 +00:00
Alan Modra 73c512720f daily update 2006-12-26 23:00:11 +00:00
Alan Modra 921a39133b daily update 2006-12-25 23:00:05 +00:00
Kazu Hirata 9840d27e81 bfd/
* archures.c (bfd_mach_cpu32_fido): New.
	(bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_a,
	bfd_mach_mcf_isa_a_mac, bfd_mach_mcf_isa_a_emac,
	bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac,
	bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_b_nousp,
	bfd_mach_mcf_isa_b_nousp_mac, bfd_mach_mcf_isa_b_nousp_emac,
	bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac,
	bfd_mach_mcf_isa_b_emac, bfd_mach_mcf_isa_b_float,
	bfd_mach_mcf_isa_b_float_mac, bfd_mach_mcf_isa_b_float_emac):
	Increment the defined values.
	* bfd-in2.h: Regenerate.
	* cpu-m68k.c (arch_info_struct): Add en entry for
	bfd_mach_cpu32_fido.
	* elf32-m68k.c (elf32_m68k_object_p): Handle
	EF_M68K_CPU32_FIDO_A.
	(elf32_m68k_merge_private_bfd_data): Use EF_M68K_CPU32_MASK.
	(elf32_m68k_print_private_bfd_data): Handle
	EF_M68K_CPU32_FIDO_A.

binutils/
	* readelf.c (get_machine_flags): Handle EF_M68K_CPU32_FIDO_A.

gas/
	* config/tc-m68k.c (cpu_of_arch): Add fido.
	(m68k_archs, m68k_cpu): Add entries for fido.
	(m68k_elf_final_processing): Handle EF_M68K_CPU32_FIDO_A.

include/elf/
	* m68k.h (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): New.

include/opcode/
	* m68k.h (fido_a): New.
2006-12-25 22:39:21 +00:00
Mei Ligang 0150d082be * elf32-score.c (score_elf_got_lo16_reloc): Change some variables type from
unsigned to signed.
	(score_elf_final_link_relocate): Fix bugs of handling relocation type R_SCORE_GOT15,
	R_SCORE_GOT_LO16, and R_SCORE_REL32.
	(_bfd_score_elf_relocate_section): Handle R_SCORE_GOT_LO16 specially.
2006-12-25 09:22:06 +00:00
Alan Modra 9550a18801 daily update 2006-12-24 23:00:07 +00:00
Kazu Hirata ebff6cd5e5 bfd/
* config.bfd: Recognize fido.

gas/
	* configure.tgt: Recognize fido.

ld/
	* configure.tgt: Recognize fido.
2006-12-24 02:48:59 +00:00
Alan Modra 824d086c93 daily update 2006-12-23 23:00:07 +00:00
Jakub Jelinek 97fed1c92e * elf-bfd.h (struct elf_backend_data): Add as_needed_cleanup hook.
* elfxx-target.h (elf_backend_as_needed_cleanup): Define.
	(elfNN_bed): Add as_needed_cleanup hook.
	* elflink.c (elf_link_add_object_symbols): Call it when reverting
	hash table changes for unneeded --as-needed input.
	* elf64-ppc64.c (elf_backend_as_needed_cleanup): Define.
	(ppc64_elf_as_needed_cleanup): New function.
2006-12-23 09:57:38 +00:00
Alan Modra 998cde9167 daily update 2006-12-22 23:00:10 +00:00
Alan Modra ea84023225 daily update 2006-12-21 23:00:10 +00:00
Alan Modra 3385a6c22b daily update 2006-12-20 23:00:07 +00:00
Alan Modra 2f58753690 daily update 2006-12-19 23:00:08 +00:00
Kazu Hirata 425c6cb00d bfd/
* elf32-m68k.c (elf32_m68k_object_p,
	elf32_m68k_print_private_bfd_data): Use EF_M68K_ARCH_MASK to
	extract architecture mask.

include/elf/
	* m68k.h (EF_M68K_ARCH_MASK): New.
2006-12-19 13:24:56 +00:00
Nathan Sidwell 3271a81418 bfd/
* elf.c (assign_file_positions_for_load_sections): Adjust p_vaddr
	by p_vaddr_offset.  Copy alignment & use if it is valid.
	(rewrite_elf_program_headers): Cope with leading padding in a
	segment that does not contain file or program headers.
	(copy_elf_program_header): Likewise.

	include/elf/
	* internal.h (struct elf_segment_map): Add p_vaddr_offset field.
2006-12-19 08:49:38 +00:00
Alan Modra 9707a36339 daily update 2006-12-18 23:00:10 +00:00
Alan Modra 6d0e2d8d86 daily update 2006-12-17 23:00:11 +00:00
Alan Modra 68f710d884 daily update 2006-12-16 23:00:08 +00:00
Mark Kettenis a38b265971 * config.bfd: (sh*-*-openbsd*): Add target.
* configure.in (sh*-*-openbsd*): Set COREFILE to netbsd-core.lo.
* configure: Regenerate.
2006-12-16 11:24:05 +00:00
Alan Modra 657ff16a6b daily update 2006-12-15 23:00:10 +00:00
Alan Modra f6cf9273b3 bfd/
* opncls.c (bfd_openr_iovec): Add "stat" parameter.
	(struct opncls): Add "stat" field.
	(opncls_bstat): Call vec->stat.
	* bfd-in2.h: Regenerate.
	* elf32-spu.c (spu_elf_open_builtin_lib): Adjust.
gdb/
	* spu-linux-nat.c (spu_bfd_iovec_stat): New function.
	(spu_bfd_open): Adjust bfd_openr_iovec call.
2006-12-15 04:13:37 +00:00
Alan Modra 1d852beb77 daily update 2006-12-14 23:00:12 +00:00
Alan Modra b0956e0152 * elf-bfd.h (struct bfd_elf_section_data): Clarify sec_group
and next_in_group usage.
2006-12-14 03:05:37 +00:00