OSDN Git Service
Alan Modra [Mon, 25 Dec 2006 23:00:05 +0000 (23:00 +0000)]
daily update
Kazu Hirata [Mon, 25 Dec 2006 22:39:21 +0000 (22:39 +0000)]
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.
Mei Ligang [Mon, 25 Dec 2006 09:26:22 +0000 (09:26 +0000)]
* config/tc-score.c (build_lw_pic): Rename as build_lwst_pic.
Delete the code handling large constant for PIC.
Modify some comments.
(score_relax_frag): Decrease insn_addr in certain situation.
(s_score_cprestore): Change .cprestore syntax from ".cprestore offset"
to ".cprestore reg, offset".
Mei Ligang [Mon, 25 Dec 2006 09:22:06 +0000 (09:22 +0000)]
* 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.
Alan Modra [Sun, 24 Dec 2006 23:00:07 +0000 (23:00 +0000)]
daily update
Kazu Hirata [Sun, 24 Dec 2006 02:58:37 +0000 (02:58 +0000)]
* m68k.h (mcfmac, mcfemac, cfloat, mcfhwdiv, mcfisa_a,
mcfisa_aa, mcfisa_b, mcfusp, mcf_mask): Double the defined
values.
Kazu Hirata [Sun, 24 Dec 2006 02:48:59 +0000 (02:48 +0000)]
bfd/
* config.bfd: Recognize fido.
gas/
* configure.tgt: Recognize fido.
ld/
* configure.tgt: Recognize fido.
Alan Modra [Sat, 23 Dec 2006 23:00:07 +0000 (23:00 +0000)]
daily update
Jakub Jelinek [Sat, 23 Dec 2006 09:57:38 +0000 (09:57 +0000)]
* 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.
Alan Modra [Fri, 22 Dec 2006 23:00:10 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 21 Dec 2006 23:00:10 +0000 (23:00 +0000)]
daily update
Geoffrey Keating [Thu, 21 Dec 2006 01:32:48 +0000 (01:32 +0000)]
* cp-demangle.h: Add comment explaining what to do to avoid
overrunning string.
(d_check_char): New.
(d_next_char): Don't advance past trailing '\0'.
* cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char.
(d_nested_name): Likewise.
(d_special_name): Likewise.
(d_call_offset): Likewise.
(d_function_type): Likewise.
(d_array_type): Likewise.
(d_pointer_to_member_type): Likewise.
(d_template_param): Likewise.
(d_template_args): Likewise.
(d_template_arg): Likewise.
(d_expr_primary): Likewise.
(d_local_name): Likewise.
(d_substitution): Likewise.
(d_ctor_dtor_name): Use d_advance rather than d_next_char.
* testsuite/test-demangle.c: Include sys/mman.h.
(MAP_ANONYMOUS): Define.
(protect_end): New.
(main): Use protect_end.
* testsuite/demangle-expected: Add testcases for overrunning
the end of the string.
Alan Modra [Wed, 20 Dec 2006 23:00:07 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 19 Dec 2006 23:00:08 +0000 (23:00 +0000)]
daily update
Paolo Bonzini [Tue, 19 Dec 2006 14:01:25 +0000 (14:01 +0000)]
2006-12-19 Paolo Bonzini <bonzini@gnu.org>
* configure.texi: Fix botched commit.
Kazu Hirata [Tue, 19 Dec 2006 13:24:56 +0000 (13:24 +0000)]
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.
Paolo Bonzini [Tue, 19 Dec 2006 12:52:58 +0000 (12:52 +0000)]
2006-12-19 Paolo Bonzini <bonzini@gnu.org>
Sync with gcc:
2006-12-19 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Remove "$build" case for powerpc-*-darwin* since
it only affects bootstrap and could be tested on "$host" as well.
* configure: Regenerate.
* config/mh-ppc-darwin: Add to the stage1 cflags here.
2006-12-19 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/29544
* Makefile.def (flags_to_pass): Add STAGE1_CHECKING.
(bootstrap_stage): Add STAGE1_CHECKING to stage1 configure flags,
move here comment from Makefile.tpl.
* Makefile.tpl: Move some definitions higher in the file.
(STAGE1_CHECKING): New.
* configure.in: Add --enable-stage1-checking.
* configure: Regenerate.
* Makefile.in: Regenerate.
2006-12-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in: Update error message for missing GMP/MPFR.
* configure: Regenerate.
2006-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in: Update MPFR version in error message.
* configure: Regenerate.
2006-11-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in (--with-mpfr-dir, --with-gmp-dir): Remove flags.
(--with-mpfr-include, --with-mpfr-lib, --with-gmp-include,
--with-gmp-lib): New flags.
* configure: Regenerate.
config:
2006-12-04 Eric Botcazou <ebotcazou@libertysurf.fr>
* tls.m4 (GCC_CHECK_TLS): Do not test TLS with static linking
if static linking doesn't even work.
Nathan Sidwell [Tue, 19 Dec 2006 08:51:15 +0000 (08:51 +0000)]
* gas/cfi/cfi-common-6.s: Do not use |.
Nathan Sidwell [Tue, 19 Dec 2006 08:49:38 +0000 (08:49 +0000)]
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.
Christopher Faylor [Tue, 19 Dec 2006 01:51:02 +0000 (01:51 +0000)]
Commit missing pieces.
Alan Modra [Mon, 18 Dec 2006 23:00:10 +0000 (23:00 +0000)]
daily update
Christopher Faylor [Mon, 18 Dec 2006 22:38:53 +0000 (22:38 +0000)]
* pe-dll.c (pe_bfd_is_dll): New function.
* pe-dll.h (pe_bfd_is_dll): Declare.
* emultempl/pe.em (gld_${EMULATION_NAME}_recognized_file): Recognize dlls using
pe_bfd_is_dll instead of using the filename extension.
Alan Modra [Sun, 17 Dec 2006 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 16 Dec 2006 23:00:08 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Sat, 16 Dec 2006 11:24:05 +0000 (11:24 +0000)]
* config.bfd: (sh*-*-openbsd*): Add target.
* configure.in (sh*-*-openbsd*): Set COREFILE to netbsd-core.lo.
* configure: Regenerate.
Alan Modra [Fri, 15 Dec 2006 23:00:10 +0000 (23:00 +0000)]
daily update
H.J. Lu [Fri, 15 Dec 2006 19:43:59 +0000 (19:43 +0000)]
2006-12-15 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c: Add a blank line bewteen function bodies.
H.J. Lu [Fri, 15 Dec 2006 14:09:22 +0000 (14:09 +0000)]
2006-12-15 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (build_modrm_byte): Reformat to 72 columns.
H.J. Lu [Fri, 15 Dec 2006 13:11:56 +0000 (13:11 +0000)]
gas/testsuite/
2006-12-15 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/x86-64-inval.s: cmpxchg16b needs oword ptr, instead
of xmmword ptr.
* gas/i386/x86_64.s: Likewise.
* gas/i386/x86-64-inval.l: Updated.
opcodes/
2006-12-15 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (o_mode): New for 16-byte operand.
(intel_operand_size): Generate "OWORD PTR " for o_mode.
(CMPXCHG8B_Fixup): Set bytemode to o_mode instead of x_mode.
Ben Elliston [Fri, 15 Dec 2006 05:49:28 +0000 (05:49 +0000)]
* configure.tgt (NATIVE_LIB_DIRS): Specify for spu-*-elf*.
Alan Modra [Fri, 15 Dec 2006 04:13:34 +0000 (04:13 +0000)]
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.
Alan Modra [Thu, 14 Dec 2006 23:00:12 +0000 (23:00 +0000)]
daily update
H.J. Lu [Thu, 14 Dec 2006 20:13:28 +0000 (20:13 +0000)]
gas/testsuite/
2006-12-14 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/x86-64-inval.s: Add cmpxchg16b.
* gas/i386/x86_64.s: Likewise.
* gas/i386/x86-64-inval.l: Updated.
* gas/i386/x86_64.d: Likewise.
opcodes/
2006-12-14 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (CMPXCHG8B_Fixup): New.
(grps): Use CMPXCHG8B_Fixup for cmpxchg8b.
Daniel Jacobowitz [Thu, 14 Dec 2006 18:33:28 +0000 (18:33 +0000)]
* Makefile.am (YFLAGS): Define.
* Makefile.in: Regenerated.
H.J. Lu [Thu, 14 Dec 2006 13:28:24 +0000 (13:28 +0000)]
2006-12-14 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (match_template): Simplify 3 and 4 operand
match.
Alan Modra [Thu, 14 Dec 2006 03:05:37 +0000 (03:05 +0000)]
* elf-bfd.h (struct bfd_elf_section_data): Clarify sec_group
and next_in_group usage.
Alan Modra [Thu, 14 Dec 2006 02:59:25 +0000 (02:59 +0000)]
PR 3704
* bfdio.c (bfd_bread): Don't read past end of archive elements.
Alan Modra [Wed, 13 Dec 2006 23:00:05 +0000 (23:00 +0000)]
daily update
H.J. Lu [Wed, 13 Dec 2006 21:17:04 +0000 (21:17 +0000)]
Fix a typo.
H.J. Lu [Wed, 13 Dec 2006 19:39:12 +0000 (19:39 +0000)]
2006-12-13 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (build_modrm_byte): Set the Operand_PCrel
bit only.
H.J. Lu [Wed, 13 Dec 2006 18:26:30 +0000 (18:26 +0000)]
2006-12-13 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (match_template): Use a for loop to set
operand_types array.
H.J. Lu [Wed, 13 Dec 2006 18:00:00 +0000 (18:00 +0000)]
gas/
2006-12-13 H.J. Lu <hongjiu.lu@intel.com>
PR gas/3712
* config/tc-i386.c (match_template): Use MAX_OPERANDS for the
number of operands. Issue an error if MAX_OPERANDS != 4. Add
the 4th operand check.
gas/testsuite/
2006-12-13 H.J. Lu <hongjiu.lu@intel.com>
PR gas/3712
* gas/i386/inval.s: Add invalid insertq.
* gas/i386/x86-64-inval.s: Likewise.
* gas/i386/inval.l: Updated.
* gas/i386/x86-64-inval.l: Likewise.
Dave Brolley [Wed, 13 Dec 2006 16:38:37 +0000 (16:38 +0000)]
2006-12-13 Dave Brolley <brolley@redhat.com>
* lib/ld-lib.exp (big_or_little_endian): Accept -meb and
-mel for big and little endian respectively.
Paul Brook [Wed, 13 Dec 2006 16:06:39 +0000 (16:06 +0000)]
2006-12-13 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (arm_arch_option_table): Add v7-{a,r,m}.
* doc/c-arm.texi: Fix spelling of ARMv7 profile variants.
Alan Modra [Tue, 12 Dec 2006 23:00:08 +0000 (23:00 +0000)]
daily update
H.J. Lu [Tue, 12 Dec 2006 20:28:17 +0000 (20:28 +0000)]
2006-12-12 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.h (WordMem): Document it for 64 bit memory
reference.
Daniel Jacobowitz [Tue, 12 Dec 2006 14:31:48 +0000 (14:31 +0000)]
bfd/
* doc/Makefile.am (bfd_TEXINFOS): Set.
(bfd.info bfd.dvi bfd.html): Delete rule.
* doc/Makefile.in: Regenerated.
gas/
* doc/Makefile.am (as_TEXINFOS): Set.
(as.info as.dvi as.html): Delete rule.
* doc/Makefile.in: Regenerated.
gprof/
* Makefile.am (gprof_TEXINFOS): Set.
(gprof.info gprof.dvi gprof.html): Delete rule.
* Makefile.in: Regenerated.
ld/
* Makefile.am (ld_TEXINFOS): Set.
(ld.info ld.dvi ld.html): Delete rule.
* Makefile.in: Regenerated.
Alan Modra [Tue, 12 Dec 2006 08:10:40 +0000 (08:10 +0000)]
* ldlang.c (print_output_section_statement): Print load address
when lma differs from vma.
testsuite/
* ld-scripts/overlay-size-map.d: Update.
Alan Modra [Tue, 12 Dec 2006 01:38:04 +0000 (01:38 +0000)]
sync a change from gcc
Alan Modra [Mon, 11 Dec 2006 23:00:08 +0000 (23:00 +0000)]
daily update
Joern Rennecke [Mon, 11 Dec 2006 19:13:21 +0000 (19:13 +0000)]
MAINTAINERS (SH): Remove my entry.
H.J. Lu [Mon, 11 Dec 2006 18:11:13 +0000 (18:11 +0000)]
2006-12-11 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (Eq): Replaced by ...
(Mq): New. This.
(Ma): Defined with OP_M instead of OP_E.
(grps): Updated cmpxchg8b and vmptrst for Eq -> Mq.
(OP_M): Added bound, cmpxchg8b and vmptrst to bad modrm list.
Daniel Jacobowitz [Mon, 11 Dec 2006 15:09:46 +0000 (15:09 +0000)]
bfd/
* configure.in: Define GENINSRC_NEVER.
* doc/Makefile.am (bfd.info): Remove srcdir prefix.
(MAINTAINERCLEANFILES): Add info file.
(DISTCLEANFILES): Pretend to add info file.
* po/Make-in (.po.gmo): Put gmo files in objdir.
* configure, Makefile.in, doc/Makefile.in: Regenerated.
binutils/
* configure.in: Define GENINSRC_NEVER.
* doc/Makefile.am (MAINTAINERCLEANFILES): Add info file.
(DISTCLEANFILES): Pretend to add info file.
* po/Make-in (.po.gmo): Put gmo files in objdir.
* configure, Makefile.in, doc/Makefile.in: Regenerated.
gas/
* configure.in: Define GENINSRC_NEVER.
* doc/Makefile.am (as.info): Remove srcdir prefix.
(MAINTAINERCLEANFILES): Add info file.
(DISTCLEANFILES): Pretend to add info file.
* po/Make-in (.po.gmo): Put gmo files in objdir.
* configure, Makefile.in, doc/Makefile.in: Regenerated.
gprof/
* configure.in: Define GENINSRC_NEVER.
* doc/Makefile.am (gprof.info): Remove srcdir prefix.
(MAINTAINERCLEANFILES): Add info file.
(DISTCLEANFILES): Pretend to add info file.
* po/Make-in (.po.gmo): Put gmo files in objdir.
* configure, Makefile.in: Regenerated.
ld/
* configure.in: Define GENINSRC_NEVER.
* doc/Makefile.am (ld.info): Remove srcdir prefix.
(MAINTAINERCLEANFILES): Add info file.
(DISTCLEANFILES): Pretend to add info file.
* po/Make-in (.po.gmo): Put gmo files in objdir.
* configure, Makefile.in: Regenerated.
opcodes/
* po/Make-in (.po.gmo): Put gmo files in objdir.
Eric Botcazou [Mon, 11 Dec 2006 14:52:13 +0000 (14:52 +0000)]
* elflink.c (bfd_elf_gc_sections): Also search for corresponding
sections with .gnu.linkonce.t. prefix.
Alan Modra [Mon, 11 Dec 2006 06:47:57 +0000 (06:47 +0000)]
* configure.in: Handle spu makefile frag.
* config/mt-spu: New file.
* Makefile.tpl (MAINT): Define
(MAINTAINER_MODE_FALSE, MAINTAINER_MODE_TRUE): Define.
* configure: Regenerate.
* Makefile.in: Regenerate.
Ben Elliston [Mon, 11 Dec 2006 04:12:46 +0000 (04:12 +0000)]
* config.sub, config.guess: Update from upstream sources.
Ben Elliston [Mon, 11 Dec 2006 00:25:59 +0000 (00:25 +0000)]
* configure.in: Sync with GCC (spu-*-*).
* configure: Sync with GCC.
Alan Modra [Sun, 10 Dec 2006 23:00:07 +0000 (23:00 +0000)]
daily update
H.J. Lu [Sun, 10 Dec 2006 02:50:53 +0000 (02:50 +0000)]
2006-12-09 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (X86_64_1): New.
(X86_64_2): Likewise.
(X86_64_3): Likewise.
(dis386): Replace 0x60, 0x61 and 0x62 entries with x86-64
tables.
(x86_64_table): Add entries for 0x60, 0x61 and 0x62.
Alan Modra [Sat, 9 Dec 2006 23:00:08 +0000 (23:00 +0000)]
daily update
H.J. Lu [Sat, 9 Dec 2006 21:06:13 +0000 (21:06 +0000)]
2006-12-09 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c: Adjust white spaces.
H.J. Lu [Sat, 9 Dec 2006 16:55:52 +0000 (16:55 +0000)]
Fix ChangeLog entry.
H.J. Lu [Sat, 9 Dec 2006 16:43:41 +0000 (16:43 +0000)]
2006-12-09 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.h (template): Use MAX_OPERANDS instead of 4
operand_types array.
Alan Modra [Fri, 8 Dec 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Christian Groessler [Fri, 8 Dec 2006 22:15:11 +0000 (22:15 +0000)]
* config/tc-z8k.c (whatreg): Add comment describing function.
Return NULL if symbol name characters follow the register number.
(parse_reg): Use NULL instead of 0 for pointer values. Stop
processing if whatreg returned NULL.
Christian Groessler [Fri, 8 Dec 2006 21:56:03 +0000 (21:56 +0000)]
* gas/z8k/reglabel.d: New test.
* gas/z8k/reglabel.s: New test.
* gas/z8k/z8k.exp: Run new test.
Mike Stump [Fri, 8 Dec 2006 21:05:25 +0000 (21:05 +0000)]
* Makefile.def (dependencies): Add dependency for
install-target-libssp and install-target-libgomp on
install-gcc.
* Makefile.in: Regenerate.
Alan Modra [Thu, 7 Dec 2006 23:00:08 +0000 (23:00 +0000)]
daily update
Kazu Hirata [Thu, 7 Dec 2006 15:39:02 +0000 (15:39 +0000)]
bfd/
* elf32-m68k.c: Update uses of EF_M68K_*.
binutils/
* readelf.c: Update uses of EF_M68K_*.
gas/
* config/tc-m68k.c: Update uses of EF_M68K_*.
include/elf
* m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A_NODIV,
EF_M68K_ISA_A, EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B_NOUSP,
EF_M68K_ISA_B, EF_M68K_ISA_C, EF_M68K_MAC_MASK, EF_M68K_MAC,
EF_M68K_EMAC, EF_M68K_EMAC_B, EF_M68K_FLOAT): Rename to
EF_M68K_CF_ISA_MASK, EF_M68K_CF_ISA_A_NODIV, EF_M68K_CF_ISA_A,
EF_M68K_CF_ISA_A_PLUS, EF_M68K_CF_ISA_B_NOUSP,
EF_M68K_CF_ISA_B, EF_M68K_CF_ISA_C, EF_M68K_CF_MAC_MASK,
EF_M68K_CF_MAC, EF_M68K_CF_EMAC, EF_M68K_CF_EMAC_B,
EF_M68K_CF_FLOAT, respectively.
H.J. Lu [Thu, 7 Dec 2006 13:32:02 +0000 (13:32 +0000)]
bfd/
2006-12-07 H.J. Lu <hjl@gnu.org>
PR ld/3666
* elflink.c (elf_link_add_object_symbols): Keep symbol
visibility for symbols from discarded section.
ld/testsuite/
2006-12-07 H.J. Lu <hjl@gnu.org>
PR ld/3666
* ld-elf/group3a.d: New file.
* ld-elf/group3a.s: Likewise.
* ld-elf/group3b.d: Likewise.
* ld-elf/group3b.s: Likewise.
Alan Modra [Wed, 6 Dec 2006 23:00:06 +0000 (23:00 +0000)]
daily update
DJ Delorie [Wed, 6 Dec 2006 19:28:41 +0000 (19:28 +0000)]
merge from gcc
H.J. Lu [Wed, 6 Dec 2006 18:15:45 +0000 (18:15 +0000)]
gas/
2006-12-06 H.J. Lu <hjl@gnu.org>
* config/tc-i386.h: Change the prefix order to SEG_PREFIX,
ADDR_PREFIX, DATA_PREFIX, LOCKREP_PREFIX.
gas/testsuite/
2006-12-06 H.J. Lu <hjl@gnu.org>
* gas/i386/amdfam10.d: Updated for operand/address-size override
prefix position change.
* gas/i386/naked.d: Likewise.
* gas/i386/rep-suffix.d: Likewise.
* gas/i386/rep.d: Likewise.
* gas/i386/white.l: Likewise.
* gas/i386/x86-64-amdfam10.d: Likewise.
* gas/i386/x86-64-rep-suffix.d: Likewise.
* gas/i386/x86-64-rep.d: Likewise.
* gas/i386/x86_64.d: Likewise.
Nick Clifton [Wed, 6 Dec 2006 14:36:41 +0000 (14:36 +0000)]
Define ATTRIBUTE_PACKED and use as necessary.
Alan Modra [Wed, 6 Dec 2006 07:25:29 +0000 (07:25 +0000)]
* elf64-alpha.c (elf64_alpha_merge_symbol_attribute): New function.
(elf_backend_merge_symbol_attribute): Define.
Ian Lance Taylor [Wed, 6 Dec 2006 06:28:56 +0000 (06:28 +0000)]
Don't emit symbols seen only in dynamic object, don't read duplicate
dynamic object.
Ian Lance Taylor [Wed, 6 Dec 2006 00:28:03 +0000 (00:28 +0000)]
gcc 3.2.2 and 4.1.0 portability hacks.
Ian Lance Taylor [Wed, 6 Dec 2006 00:02:36 +0000 (00:02 +0000)]
Generate version information.
Alan Modra [Tue, 5 Dec 2006 23:00:08 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 5 Dec 2006 02:40:57 +0000 (02:40 +0000)]
* ld-alpha/tlspic.rd: Update for unused section removal.
* ld-frv/fdpic-shared-6.d: Likewise.
* ld-frv/tls-dynamic-1.d: Update for symbol changes.
* ld-frv/tls-dynamic-2.d: Likewise.
* ld-frv/tls-dynamic-3.d: Likewise.
* ld-frv/tls-initial-shared-2.d: Likewise.
* ld-frv/tls-pie-1.d: Likewise.
* ld-frv/tls-pie-3.d: Likewise.
* ld-frv/tls-relax-dynamic-1.d: Likewise.
* ld-frv/tls-relax-dynamic-2.d: Likewise.
* ld-frv/tls-relax-dynamic-3.d: Likewise.
* ld-frv/tls-relax-initial-shared-2.d: Likewise.
* ld-frv/tls-relax-pie-1.d: Likewise.
* ld-frv/tls-relax-pie-3.d: Likewise.
* ld-frv/tls-relax-shared-1.d: Likewise.
* ld-frv/tls-relax-shared-2.d: Likewise.
* ld-frv/tls-relax-shared-3.d: Likewise.
* ld-frv/tls-relax-static-3.d: Likewise.
* ld-frv/tls-shared-1.d: Likewise.
* ld-frv/tls-shared-2.d: Likewise.
* ld-frv/tls-shared-3.d: Likewise.
* ld-frv/tls-static-1.d: Likewise.
* ld-frv/tls-static-3.d: Likewise.
Alan Modra [Tue, 5 Dec 2006 01:29:58 +0000 (01:29 +0000)]
* ld-elfvsb/sh1.c (overriddenvar, shlib_overriddencall2,
shared_data): If !SHARED, move to...
* ld-elfvsb/sh2.c: ... here.
* ld-elfvsb/elfvsb.exp: Add -DSHARED to compiler options when
building with $picflag.
Alan Modra [Mon, 4 Dec 2006 23:00:09 +0000 (23:00 +0000)]
daily update
Jan Beulich [Mon, 4 Dec 2006 08:57:09 +0000 (08:57 +0000)]
bfd/
2006-12-04 Jan Beulich <jbeulich@novell.com>
* elflink.c (_bfd_elf_link_create_dynamic_sections): Don't create
.eh_frame_hdr section from here anymore.
(bfd_elf_size_dynamic_sections): Call _bfd_elf_maybe_strip_eh_frame_hdr
a little earlier.
ld/
2006-12-04 Jan Beulich <jbeulich@novell.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Create
.eh_frame_hdr section here.
ld/testsuite/
2006-12-04 Jan Beulich <jbeulich@novell.com>
* ld-elf/eh-frame-hdr.d: New.
* ld-elf/eh-frame-hdr.s: New.
* ld-ia64/tlsbin.dd, ld-ia64/tlsbin.sd: Don't depend on exact linkage
table layout.
Jan Beulich [Mon, 4 Dec 2006 08:53:29 +0000 (08:53 +0000)]
opcodes/
2006-12-04 Jan Beulich <jbeulich@novell.com>
* i386-dis.c (OP_J): Update used_prefixes in v_mode.
gas/testsuite/
2006-12-04 Jan Beulich <jbeulich@novell.com>
* gas/i386/opcode-intel.d: Fix wrong expectation. Make white space
expectations more consistent.
Alan Modra [Sun, 3 Dec 2006 23:00:08 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 2 Dec 2006 23:00:06 +0000 (23:00 +0000)]
daily update
H.J. Lu [Sat, 2 Dec 2006 16:24:37 +0000 (16:24 +0000)]
Really check in the patch.
Jakub Jelinek [Sat, 2 Dec 2006 08:20:59 +0000 (08:20 +0000)]
PR gas/3607
* subsegs.c (subseg_set_rest): Clear frch_cfi_data field.
Alan Modra [Fri, 1 Dec 2006 23:00:09 +0000 (23:00 +0000)]
daily update
Ian Lance Taylor [Fri, 1 Dec 2006 16:58:12 +0000 (16:58 +0000)]
gcc 3.2.2 portability hacks.
Ian Lance Taylor [Fri, 1 Dec 2006 16:51:25 +0000 (16:51 +0000)]
Can now dynamically link hello, world.
Jan Beulich [Fri, 1 Dec 2006 16:49:21 +0000 (16:49 +0000)]
gas/testsuite/
2006-12-01 Jan Beulich <jbeulich@novell.com>
* gas/i386/opcode.d: Adjust name.
* gas/i386/opcode-intel.d: New.
* gas/i386/opcode-suffix.d: New.
* gas/i386/i386.exp: Run new tests.
Paul Brook [Fri, 1 Dec 2006 16:42:26 +0000 (16:42 +0000)]
2006-12-01 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (arm_force_relocation): Return 1 for relocs against
function symbols.
gas/testsuite/
* gas/arm/thumbrel.s: New test.
* gas/arm/thumbrel.d: New test.
H.J. Lu [Fri, 1 Dec 2006 15:55:29 +0000 (15:55 +0000)]
2006-12-01 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3609
* elf.c (rewrite_elf_program_header): Preserve segment physical
address in the output segment if the first section in the
corresponding input segment is null.
Jan Beulich [Fri, 1 Dec 2006 15:17:32 +0000 (15:17 +0000)]
opcodes/
2006-11-30 Jan Beulich <jbeulich@novell.com>
* i386-dis.c (SEG_Fixup): Delete.
(Sv): Use OP_SEG.
(putop): New suffix character 'D'.
(dis386): Use it.
(grps): Likewise.
(OP_SEG): Handle bytemode other than w_mode.
gas/testsuite/
2006-11-30 Jan Beulich <jbeulich@novell.com>
* gas/i386/intel.d: Adjust.
* gas/i386/naked.d: Adjust.
* gas/i386/opcode.d: Adjust.
Jan Beulich [Fri, 1 Dec 2006 15:00:12 +0000 (15:00 +0000)]
opcodes/
2006-11-30 Jan Beulich <jbeulich@novell.com>
* i386-dis.c (zAX): New.
(Xz): New.
(Yzr): New.
(z_mode): New.
(z_mode_ax_reg): New.
(putop): New suffix character 'G'.
(dis386): Use it for in, out, ins, and outs.
(intel_operand_size): Handle z_mode.
(OP_REG): Delete unreachable case indir_dx_reg.
(OP_IMREG): Fix Intel syntax output for case indir_dx_reg. Handle
z_mode_ax_reg.
(OP_ESreg): Fix Intel syntax operand size handling.
(OP_DSreg): Likewise.
gas/testsuite/
2006-11-30 Jan Beulich <jbeulich@novell.com>
* gas/i386/x86-64-io.[sd]: New.
* gas/i386/x86-64-io-intel.d: New.
* gas/i386/x86-64-io-suffix.d: New.
* gas/i386/i386.exp: Run new tests.
Jan Beulich [Fri, 1 Dec 2006 14:56:11 +0000 (14:56 +0000)]
opcodes/
2006-11-30 Jan Beulich <jbeulich@novell.com>
* i386-dis.c (dis386): Use 'R' and 'O' for cbw/cwd unconditionally.
(putop): For 'O' suffix, print 'q' in Intel mode, and mark data prefix
used. For 'R' and 'W' suffix, simplify and fix Intel mode.
gas/testsuite/
2006-11-30 Jan Beulich <jbeulich@novell.com>
* gas/i386/intel.s: Use Intel syntax in Intel syntax test.
* gas/i386/x86-64-cbw.[sd]: New.
* gas/i386/x86-64-cbw-intel.d: New.
* gas/i386/i386.exp: Run new tests.
Nick Clifton [Fri, 1 Dec 2006 12:28:18 +0000 (12:28 +0000)]
PR 3609
* elf.c (rewrite_elf_program_header): Do not use the first_section pointer if it is null.
Ian Lance Taylor [Fri, 1 Dec 2006 00:10:37 +0000 (00:10 +0000)]
gcc 3.2.2 portability hacks.
Ian Lance Taylor [Thu, 30 Nov 2006 23:52:50 +0000 (23:52 +0000)]
Added a testsuite. More support for COPY relocations.