Mark Kettenis [Fri, 15 Jul 2005 20:10:19 +0000 (20:10 +0000)]
Marcel Moolenaar <marcel@xcllnt.net>
* sparc64fbsd-nat.c: Include "regcache.h", <sys/types.h>,
<machine/pcb.h> and "bsd-kvm.h".
(sparc64fbsd_kvm_supply_pcb): New function.
(_initialize_sparc64fbsd_nat): Enable libkvm interface.
* config/sparc/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* Makefile.in (sparc64fbsd-nat.o): Update dependencies.
Eric Christopher [Fri, 15 Jul 2005 19:22:38 +0000 (19:22 +0000)]
2005-07-15 Eric Christopher <echristo@redhat.com>
* MAINTAINERS: Change affiliation.
H.J. Lu [Fri, 15 Jul 2005 13:49:53 +0000 (13:49 +0000)]
gas/
2007-07-15 H.J. Lu <hongjiu.lu@intel.com>
* gas/config/tc-i386.h (CpuVMX): New.
(CpuUnknownFlags): Add CpuVMX.
gas/testsuite/
2007-07-15 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Add vmx and x86-64-vmx.
* gas/i386/vmx.d: New file.
* gas/i386/vmx.s: Likewise.
* gas/i386/x86-64-vmx.d: Likewise.
* gas/i386/x86-64-vmx.s: Likewise.
include/opcode/
2007-07-15 H.J. Lu <hongjiu.lu@intel.com>
* i386.h (i386_optab): Support Intel VMX Instructions.
opcodes/
2007-07-15 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OP_VMX): New. Handle Intel VMX Instructions.
(VMX_Fixup): New. Fix up Intel VMX Instructions.
(Em): New.
(Gm): New.
(VM): New.
(dis386_twobyte): Updated entries 0x78 and 0x79.
(twobyte_has_modrm): Likewise.
(grps): Use OP_VMX in the "sgdtIQ" entry. Updated GRP9.
(OP_G): Handle m_mode.
Alan Modra [Fri, 15 Jul 2005 12:19:15 +0000 (12:19 +0000)]
* ldemul.c (ldemul_do_assignments): New function.
(do_assignments_default): New function.
* ldemul.h (ldemul_do_assignments): Declare.
(do_assignments_default): Declare.
(struct ld_emulation_xfer_struct): Add do_assignments.
* ldlang.c (lang_do_assignments) Call ldemul_do_assignments.
* emultempl/aix.em (ld_*_emulation): Init do_assignments field.
* emultempl/armcoff.em: Likewise.
* emultempl/beos.em: Likewise.
* emultempl/generic.em: Likewise.
* emultempl/gld960.em: Likewise.
* emultempl/gld960c.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/lnk960.em: Likewise.
* emultempl/m68kcoff.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/sunos.em: Likewise.
* emultempl/ticoff.em: Likewise.
* emultempl/vanilla.em: Likewise.
* emultempl/elf32.em: Likewise, to call gld*_provide_init_fini_syms.
(gld*_find_exp_assignment): Adjust bfd_elf_record_link_assignment call.
Alan Modra [Fri, 15 Jul 2005 12:18:01 +0000 (12:18 +0000)]
* elflink.c (bfd_elf_record_link_assignment): Remove output_bfd param.
(_bfd_elf_provide_symbol): Allow redefinition of weak syms and those
defined in output sections. Call bfd_elf_record_link_assignment.
* bfd-in.h (bfd_elf_record_link_assignment): Update prototype.
* bfd-in2.h: Regenerate.
Nick Roberts [Fri, 15 Jul 2005 05:58:17 +0000 (05:58 +0000)]
(GDB/MI Variable Objects): Describe print-values
option for -var-list-children and -var-update.
(GDB/MI Stack Manipulation): Simplify description of
print-values option for -stack-list-locals.
(GDB/MI Command Description Format): Clarify.
(Mode Options): Spelling of superseded.
Nick Roberts [Fri, 15 Jul 2005 05:55:02 +0000 (05:55 +0000)]
*** empty log message ***
Daniel Jacobowitz [Fri, 15 Jul 2005 04:12:19 +0000 (04:12 +0000)]
2005-07-15 Nick Roberts <nickrob@snap.net.nz>
Daniel Jacobowitz <dan@codesourcery.com>
* mi/mi-cmds.h (mi_no_values, mi_simple_values, mi_all_values): New
declarations.
* mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Use string
constants instead of literals for MI command options.
* mi/mi-cmd-var.c (mi_no_values, mi_simple_values, mi_all_values):
New variables.
(mi_parse_values_option, mi_print_value_p): New functions.
(mi_cmd_var_list_children): Use mi_parse_values_option and
mi_print_value_p.
(mi_cmd_var_update): Support a PRINT_VALUES option. Update calls
to varobj_update_one.
(varobj_update_one): Take a print_values argument. Call
mi_print_value_p.
* varobj.c (varobj_get_gdb_type): New function.
* varobj.h (varobj_get_gdb_type): New prototype.
Ben Elliston [Fri, 15 Jul 2005 03:52:31 +0000 (03:52 +0000)]
* hw_htab.c (bfd_get_section_lma): Remove macro; use BFD's.
Ben Elliston [Fri, 15 Jul 2005 03:42:32 +0000 (03:42 +0000)]
* hw_init.c: Comment out tokens after #endif directive.
* hw_register.c: Likewise.
* hw_trace.c: Likewise.
* hw_vm.c: Likewise.
DJ Delorie [Fri, 15 Jul 2005 02:00:50 +0000 (02:00 +0000)]
merge from gcc
Alan Modra [Fri, 15 Jul 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 15 Jul 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Jim Blandy [Thu, 14 Jul 2005 22:52:28 +0000 (22:52 +0000)]
ChangeLog:
2005-07-14 Jim Blandy <jimb@redhat.com>
* configure.in: Add cases for Renesas m32c.
* configure: Regenerated.
bfd/ChangeLog:
2005-07-14 Jim Blandy <jimb@redhat.com>
Add support for m32c-*-elf (Renesas m32c and m16c).
* Makefile.am (ALL_MACHINES): Add cpu-m32c.lo.
(ALL_MACHINES_CFILES): Add cpu-m32c.c.
(BFD32_BACKENDS): Add elf32-m32c.lo.
(BFD32_BACKENDS_CFILES): Add elf32-m32c.c.
(cpu-m32c.lo, elf32-m32c.lo): New rules, generated by 'make dep-am'.
* Makefile.in: Regenerated.
* archures.c (bfd_arch_m32c, bfd_mach_m16c, bfd_mach_m32c): New
arch and mach codes.
(bfd_m32c_arch): New arch info object.
(bfd_archures_list): List bfd_m32c_arch.
* bfd-in2.h: Regenerated.
* config.bfd: Add case for the m32c.
* configure.in: Add case for the m32c.
* configure: Regenerated.
* cpu-m32c.c, elf32-m32c.c: New files.
* libbfd.h: Regenerated.
* targets.c (bfd_elf32_m32c_vec): Declare.
(_bfd_target_vector): List bfd_elf32_m32c_vec.
binutils/ChangeLog:
2005-07-14 Jim Blandy <jimb@redhat.com>
* readelf.c: #include "elf/m32c.h"
(guess_is_rela, dump_relocations, get_machine_name): Add cases for
EM_M32C.
* Makefile.am (readelf.o): Update dependencies.
* Makefile.in: Regenerated.
cpu/ChangeLog:
2005-07-14 Jim Blandy <jimb@redhat.com>
* m32c.cpu, m32c.opc: Machine description for the Renesas M32C.
gas/ChangeLog:
2005-07-14 Jim Blandy <jimb@redhat.com>
Add support for the Renesas M32C.
* Makefile.am (CPU_TYPES): List m32c.
(TARGET_CPU_CFILES): List config/tc-m32c.c.
(TARGET_CPU_HFILES): List config/tc-m32c.h.
* configure.in: Add case for m32c.
* configure.tgt: Add cases for m32c and m32c-*-elf.
* configure: Regenerated.
* config/tc-m32c.c, config/tc-m32c.h: New files.
* doc/Makefile.am (CPU_DOCS): Add c-m32c.texi.
* doc/Makefile.in: Regenerated.
* doc/all.texi: Set M32C.
* doc/as.texinfo: Add text for the M32C-specific options and line
comment characters, and refer to c-m32c.texi.
* doc/c-m32c.texi: New file.
include/ChangeLog:
2005-07-14 Jim Blandy <jimb@redhat.com>
* dis-asm.h (print_insn_m32c): New declaration.
include/elf/ChangeLog:
2005-07-14 Jim Blandy <jimb@redhat.com>
Add support for Renesas M32C and M16C.
* common.h (EM_M32C): New machine number.
* m32c.h: New file.
ld/ChangeLog:
2005-07-14 Jim Blandy <jimb@redhat.com>
Add support for the Renesas M32C and M16C.
* Makefile.am (ALL_EMULATIONS): Add eelf32m32c.o.
(eelf32m32c.c): New target.
* Makefile.in: Regenerated.
* configure.tgt: Add case for m32c-*-elf.
* emulparams/elf32m32c.sh: New file.
opcodes/ChangeLog:
2005-07-14 Jim Blandy <jimb@redhat.com>
Add support for the Renesas M32C and M16C.
* m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, m32c-opc.c: New.
* m32c-desc.h, m32c-opc.h: New.
* Makefile.am (HFILES): List m32c-desc.h and m32c-opc.h.
(CFILES): List m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c,
m32c-opc.c.
(ALL_MACHINES): List m32c-asm.lo, m32c-desc.lo, m32c-dis.lo,
m32c-ibld.lo, m32c-opc.lo.
(CLEANFILES): List stamp-m32c.
(M32C_DEPS): List stamp-m32c, if CGEN_MAINT.
(CGEN_CPUS): Add m32c.
(m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, m32c-opc.c)
(m32c-desc.h, m32c-opc.h): Depend on M32C_DEPS.
(m32c_opc_h): New variable.
(stamp-m32c, m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo)
(m32c-opc.lo): New rules.
* Makefile.in: Regenerated.
* configure.in: Add case for bfd_m32c_arch.
* configure: Regenerated.
* disassemble.c (ARCH_m32c): New.
[ARCH_m32c]: #include "m32c-desc.h".
(disassembler) [ARCH_m32c]: Add case for bfd_arch_m32c.
(disassemble_init_for_target) [ARCH_m32c]: Same.
* cgen-ops.h, cgen-types.h: New files.
* Makefile.am (HFILES): List them.
* Makefile.in: Regenerated.
H.J. Lu [Thu, 14 Jul 2005 18:42:01 +0000 (18:42 +0000)]
2005-07-14 H.J. Lu <hongjiu.lu@intel.com>
* lib/ld-lib.exp (run_ld_link_exec_tests): Ignore assembler
warnings.
H.J. Lu [Thu, 14 Jul 2005 17:09:48 +0000 (17:09 +0000)]
2005-07-14 H.J. Lu <hongjiu.lu@intel.com>
* lib/ld-lib.exp (run_ld_link_exec_tests): Update comments.
H.J. Lu [Thu, 14 Jul 2005 17:02:11 +0000 (17:02 +0000)]
2005-07-14 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/elf.exp (array_tests): New.
Call run_ld_link_exec_tests with array_tests.
* ld-elf/fini.c: New file.
* ld-elf/fini.out: Likewise.
* ld-elf/init.c: Likewise.
* ld-elf/init.out: Likewise.
* ld-elf/preinit.c: Likewise.
* ld-elf/preinit.out: Likewise.
* lib/ld-lib.exp (run_ld_link_exec_tests): New.
Nick Clifton [Thu, 14 Jul 2005 15:34:16 +0000 (15:34 +0000)]
(reset_vars): Use strncpy to prevent overflowing the ins_parse buffer.
Bob Rossi [Thu, 14 Jul 2005 14:49:23 +0000 (14:49 +0000)]
+2005-07-14 Bob Rossi <bob@brasko.net>
+
+ * gdb.base/default.exp (tty): Changed output of command.
+ * gdb.base/help.exp (help tty): Ditto.
Alan Modra [Thu, 14 Jul 2005 13:59:51 +0000 (13:59 +0000)]
* ms1.opc (print_dollarhex): Correct format string.
Alan Modra [Thu, 14 Jul 2005 13:54:23 +0000 (13:54 +0000)]
bfd/
* bfd-in.h (_bfd_elf_fix_excluded_sec_syms): Declare.
(_bfd_elf_provide_section_bound_symbols): Remove param name.
Formatting.
* bfd-in2.h: Regenerate.
* elflink.c (bfd_elf_gc_sections): Don't call generic function.
(_bfd_elf_provide_symbol): Formatting.
(_bfd_elf_provide_section_bound_symbols): Remove all hacks, just
create section relative syms.
(fix_syms, _bfd_elf_fix_excluded_sec_syms): New functions.
* elf32-ppc.c (ppc_elf_set_sdata_syms): Use
_bfd_elf_provide_section_bound_symbols.
* reloc.c (bfd_mark_used_section): Delete.
(bfd_generic_gc_sections): Don't call the above.
ld/
* ldlang.c (strip_excluded_output_sections): Don't call
bfd_gc_sections.
* emultempl/elf32.em (gld*_provide_bound_symbols): Move.
(gld*_provide_init_fini_syms): Move.
(gld*_before_allocation): Call the above from here..
(gld*_finish): ..not here. Call _bfd_elf_fix_excluded_sec_syms.
* emultempl/hppaelf.em (hppaelf_finish): Likewise.
* emultempl/ppc64elf.em (ppc_finish): Likewise.
Nick Clifton [Thu, 14 Jul 2005 07:48:28 +0000 (07:48 +0000)]
Fix spelling typo in comment
Nick Clifton [Thu, 14 Jul 2005 07:30:55 +0000 (07:30 +0000)]
Add testcase for PR 1063
Nick Clifton [Thu, 14 Jul 2005 07:22:37 +0000 (07:22 +0000)]
Add PR number for the last ChangeLog entry.
Nick Clifton [Thu, 14 Jul 2005 07:22:02 +0000 (07:22 +0000)]
(bfd_last_cache): Initialise to NULL.
Nick Clifton [Thu, 14 Jul 2005 07:07:46 +0000 (07:07 +0000)]
Add code to detect and either handle or issue an error message for binaries
created by the DEC ALPHA compilers.
Kelley Cook [Thu, 14 Jul 2005 01:24:56 +0000 (01:24 +0000)]
2005-07-14 Kelley Cook <kcook@gcc.gnu.org>
* COPYING, compile, config-ml.in, config.guess,
config.sub, install-sh, missing, mkinstalldirs,
symlink-tree, ylwrap: Sync from upstream sources.
Eric Christopher [Thu, 14 Jul 2005 00:12:07 +0000 (00:12 +0000)]
2005-07-13 Eric Christopher <echristo@redhat.com>
* configure.in: Add toplevel noconfigdir support for tpf.
* configure: Regenerate.
gdbadmin [Thu, 14 Jul 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 14 Jul 2005 00:00:07 +0000 (00:00 +0000)]
daily update
Steve Ellcey [Wed, 13 Jul 2005 21:19:13 +0000 (21:19 +0000)]
* bfd.m4 (BFD_NEED_DECLARATION): Remove.
Daniel Jacobowitz [Wed, 13 Jul 2005 16:29:04 +0000 (16:29 +0000)]
* ppc-linux-tdep.c (ppc_linux_init_abi): Set 64-bit link map offsets.
Daniel Jacobowitz [Wed, 13 Jul 2005 15:21:02 +0000 (15:21 +0000)]
* configure.ac: Define HAVE_LINUX_REGSETS even if PTRACE_GETREGS
is not available. Define HAVE_PTRACE_GETREGS if it is.
* config.in, configure: Regenerated.
* configure.srv: Set srv_linux_regsets for PowerPC and PowerPC64.
* linux-i386-low.c, linux-m68k-low.c: Update to use
HAVE_PTRACE_GETREGS.
* linux-low.c (regsets_fetch_inferior_registers)
(regsets_store_inferior_registers): Only return 0 if we processed
GENERAL_REGS.
* linux-ppc-low.c (ppc_fill_gregset, target_regsets): New.
* linux-ppc64-low.c (ppc_fill_gregset, target_regsets): New.
Daniel Jacobowitz [Wed, 13 Jul 2005 15:02:49 +0000 (15:02 +0000)]
* inferiors.c (struct thread_info): Add gdb_id.
(add_thread): Add gdb_id argument.
(thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id): New.
* linux-low.c (linux_create_inferior, linux_attach_lwp): Update
calls to add_thread.
* remote-utils.c (prepare_resume_reply: Use thread_to_gdb_id.
* server.c (handle_query): Use thread_to_gdb_id.
(handle_v_cont, main): Use gdb_id_to_thread_id.
* server.h (add_thread): Update prototype.
(thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id): New
prototypes.
Daniel Jacobowitz [Wed, 13 Jul 2005 14:48:58 +0000 (14:48 +0000)]
* linux-low.c (fetch_register, usr_store_inferior_registers): Handle
left-padded registers.
* linux-low.h (struct linux_target_ops): Add left_pad_xfer.
* linux-ppc64-low.c (the_low_target): Set left_pad_xfer.
Alan Modra [Wed, 13 Jul 2005 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 13 Jul 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Tue, 12 Jul 2005 15:20:00 +0000 (15:20 +0000)]
* gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
Hans-Peter Nilsson [Tue, 12 Jul 2005 15:18:47 +0000 (15:18 +0000)]
* gas/mmix/relax1-n.d, gas/mmix/relax1-rn.d: Avoid "# FIXME: "
first on a line, adjusting for testsuite framework change.
Bob Rossi [Tue, 12 Jul 2005 14:48:56 +0000 (14:48 +0000)]
2005-07-12 Bob Rossi <bob@brasko.net>
* gdb.texinfo (GDB/MI Miscellaneous Commands): Fix -inferior-tty-show
corresponding GDB command comment.
Mark Kettenis [Tue, 12 Jul 2005 13:08:00 +0000 (13:08 +0000)]
Fix email.
Mark Kettenis [Tue, 12 Jul 2005 13:06:54 +0000 (13:06 +0000)]
* dwarf2expr.h: Tweak comment.
(struct dwarf_expr_context): Use `gdb_byte *' in read_mem and
get_frame_base function pointers.
(read_uleb128, read_sleb128): Change return type and types of
first two arguments to `gdb_byte *'.
(dwarf2_read_address): Change types of first two arguments to
`gdb_byte *'.
* dwarf2expr.c: Tweak comment.
(dwarf_expr_eval): Change type of second argument to `gdb_byte *'.
(read_uleb128, read_sleb128): Change return type and types of
first two arguments to `gdb_byte *'.
(dwarf2_read_address): Change types of first two arguments to
`gdb_byte *'.
(execute_stack_op): Change types of last two arguments to
`gdb_byte *'. Use `gdb_byte *' for byte buffers.
* dwarf2loc.h: Tweak comment.
(struct dwarf2_locexpr_baton, struct dwarf2_loclist_baton): Use
`gdb_byte *' for byte buffers.
* dwarf2loc.c (find_location_expression): Change return type to
`gdb_byte *'. Use `gdb_byte *' for byte buffers. Change length
to `unsigned int'.
(dwarf_expr_read_reg): Use `gdb_byte *' for byte buffer. Remove
bogus cast.
(dwarf_expr_read_mem): Change type of second argument to
`gdb_byte *'.
(dwarf_expr_frame_base): Change type of second argument to
`gdb_byte **'.
(dwarf2_evaluate_loc_desc): Change type of third argument to
`gdb_byte *'.
(needs_frame_read_mem): Change type of second argument to
`gdb_byte *'.
(needs_frame_frame_base): Change type of second argument
`gdb_byte **'. Use gdb_byte for lit0.
(dwarf2_tracepoint_var_ref): Change type of fourth argument to
`gdb_byte *'. Use `gdb_byte *' for byte buffer.
(loclist_read_variable, loclist_tracepoint_var_ref): Use `gdb_byte
*' for byte buffer.
* dwarf2-frame.c (struct dwarf2_cie, struct dwarf2_fde)
(struct dwarf2_frame_state): Use gdb_byte instead of `unsigned
char'.
(read_reg): Use `gdb_byte *' for byte buffers. Remove redundant
cast.
(read_mem): Change second argument to `gdb_byte *'.
(no_get_frame_base): Change second argument to `gdb_byte **'.
(execute_stack_op): Change first argument to `gdb_byte *'.
(execute_cfa_program): Change first two arguments to `gdb_byte *'.
Use gdb_byte instead of `unsigned int'. Use temprorary variable
to store result of read_uleb128.
(struct comp_unit): Use `gdb_byte *' for byte buffers.
(read_1_byte, read_4_bytes, read_8_bytes): Change last argument to
`gdb_byte *'.
(read_unsigned_leb128, read_signed_leb128): Change second argument
to `gdb_byte *'. Use gdb_byte instead of `unsigned char'.
(read_initial_length): Change second argument to `gdb_byte *'.
Remove redundant casts.
(read_encoded_value): Use gdb_byte instead of `unsigned char'.
Remove bogus casts.
(decode_frame_entry_1): Change return type and second argument to
`gdb_byte *'. Use `gdb_byte *' for byte buffers. Use gdb_byte
instead of `unsigned char'.
(decode_frame_entry): Change return type and second argument to
`gdb_byte *'. Use `gdb_byte *' for byte buffers.
(dwarf2_build_frame_info): Use `gdb_byte *' for byte buffers.
Mark Kettenis [Tue, 12 Jul 2005 12:11:44 +0000 (12:11 +0000)]
* objc-lang.c (print_object_command): Use gdb_byte for c.
* arch-utils.c (legacy_extract_return_value): Use 'gdb_byte *' for
registers.
Alan Modra [Tue, 12 Jul 2005 12:08:11 +0000 (12:08 +0000)]
* ld-powerpc/sdalib.s (lib_var): Size it.
Alan Modra [Tue, 12 Jul 2005 12:03:57 +0000 (12:03 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Don't use a plt stub
when !can_plt_call.
Alan Modra [Tue, 12 Jul 2005 11:53:56 +0000 (11:53 +0000)]
* elf32-xtensa.c (bfd_elf_xtensa_reloc): Warning fix.
Alan Modra [Tue, 12 Jul 2005 11:39:42 +0000 (11:39 +0000)]
* elf32-ppc.c (ppc_elf_set_sdata_syms): Correct __sbss_start value.
DJ Delorie [Tue, 12 Jul 2005 10:35:00 +0000 (10:35 +0000)]
merge from gcc
gdbadmin [Tue, 12 Jul 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 12 Jul 2005 00:00:07 +0000 (00:00 +0000)]
daily update
Mark Kettenis [Mon, 11 Jul 2005 20:27:09 +0000 (20:27 +0000)]
* bsd-kvm.c: Include <paths.h>.
(bsd_kvm_corefile): New variable.
(core_kd, bsd_kvm_paddr, bsd_kvm_supply_pcb, bsd_kvm_ops): Make
static.
(bsd_kvm_open): Set bsd_kvm_corefile.
(bsd_kvm_files_info): New function.
(bsd_kvm_add_target): Set to_files_info.
H.J. Lu [Mon, 11 Jul 2005 17:40:25 +0000 (17:40 +0000)]
2005-07-11 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (_bfd_elf_symbol_refs_local_p): Revert the last
change.
DJ Delorie [Mon, 11 Jul 2005 16:48:34 +0000 (16:48 +0000)]
merge from gcc:
2005-07-11 Jakub Jelinek <jakub@redhat.com>
* Makefile.def (target_modules): Add libssp.
* configure.in (target_libraries): Add target-libssp.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
Paolo Bonzini [Mon, 11 Jul 2005 08:03:32 +0000 (08:03 +0000)]
2005-07-11 Paolo Bonzini <bonzini@gnu.org>
PR ada/22340
* Makefile.def: Sync with gcc.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Fix pasto.
* Makefile.in: Regenerate.
Nick Clifton [Mon, 11 Jul 2005 07:49:07 +0000 (07:49 +0000)]
Remove a29k-*-rtems*, hppa*-*-rtems*,i386-go32-rtems*, i386-*-rtemscoff*,
sparc-*-rtemsaout*.
Nick Clifton [Mon, 11 Jul 2005 07:43:53 +0000 (07:43 +0000)]
Remove sparc*-*-rtemsaout*, i[3-7]86-go32-rtems*, i[3-7]86-*-rtemscoff*,
hppa*-*-rtems*, mips*el-*-rtems*, powerpcle-*-rtems*.
Dave Anglin [Mon, 11 Jul 2005 02:31:34 +0000 (02:31 +0000)]
* hppa.h (pa_opcode): Don't set FLAG_STRICT in pa10 loads and stores.
Alan Modra [Mon, 11 Jul 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 11 Jul 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Ben Elliston [Sun, 10 Jul 2005 23:26:04 +0000 (23:26 +0000)]
* callback.h: Remove ANSI_PROTOTYPES conditional code.
Mark Kettenis [Sun, 10 Jul 2005 20:49:38 +0000 (20:49 +0000)]
* gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
-stack-select-frame without arguments.
(test_stack_frame_listing): Add test for newly implemented command
-stack-info-frame.
H.J. Lu [Sun, 10 Jul 2005 16:54:01 +0000 (16:54 +0000)]
gas/
2005-07-10 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (optimize_disp): Optimize signed 32bit
displacements.
testsuite/gas/
2005-07-10 H.J. Lu <hongjiu.lu@intel.com>
* i386/x86_64.s: Add absolute siged 32bit addressing tests for
mov.
* i386/x86_64.d: Updated.
Hans-Peter Nilsson [Sun, 10 Jul 2005 15:23:42 +0000 (15:23 +0000)]
* sim-load.c (xprintf, eprintf): Remove fallout from ANSI_PROTOTYPES
change.
Christopher Faylor [Sun, 10 Jul 2005 01:33:13 +0000 (01:33 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Enable runtime
relocation by default.
(compute_dll_image_base): Avoid linking into cygwin dll address space.
gdbadmin [Sun, 10 Jul 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 10 Jul 2005 00:00:06 +0000 (00:00 +0000)]
daily update
DJ Delorie [Sat, 9 Jul 2005 13:05:49 +0000 (13:05 +0000)]
merge from gcc
Ben Elliston [Sat, 9 Jul 2005 06:56:27 +0000 (06:56 +0000)]
* memcpy.c: Remove ANSI_PROTOTYPES conditional code.
* memmove.c: Likewise.
* objalloc.c: Likewise.
Alan Modra [Sat, 9 Jul 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 9 Jul 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Paul Koning [Fri, 8 Jul 2005 21:42:33 +0000 (21:42 +0000)]
2005-07-08 Paul Koning <pkoning@equallogic.com>
* dwarf2.c (read_address): Check sign_extend_vma to handle targets
where addresses are sign extended.
Ian Lance Taylor [Fri, 8 Jul 2005 18:46:23 +0000 (18:46 +0000)]
* sim-fpu.c (sim_fpu_abs): Always clear the sign bit.
Ian Lance Taylor [Fri, 8 Jul 2005 18:42:15 +0000 (18:42 +0000)]
* tconfig.in (SIM_QUIET_NAN_NEGATED): Define.
Ian Lance Taylor [Fri, 8 Jul 2005 18:41:54 +0000 (18:41 +0000)]
* sim-fpu.c (pack_fpu): If SIM_QUIET_NAN_NEGATED is defined, use a
different fraction for a quiet NaN.
(unpack_fpu): Likewise.
H.J. Lu [Fri, 8 Jul 2005 16:20:24 +0000 (16:20 +0000)]
2005-07-08 H.J. Lu <hongjiu.lu@intel.com>
* ld-ia64/tlsbin.rd: Update for empty section removal change.
* ld-ia64/tlsbin.sd: Likewise.
* ld-ia64/tlspic.dd: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-ia64/tlspic.sd: Likewise.
* ld-x86-64/tlspic.dd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.
Nick Clifton [Fri, 8 Jul 2005 11:17:16 +0000 (11:17 +0000)]
Mark i960-*-rtems*, or32-*-rtems* as obsolete.
Mark a29k-*rtems*, hppa*-*-rtems*, *-go32-rtems*, i[3-7]86*-*-rtemscoff*,
mips*el-*-rtems*, powerpcle-*-rtems*, sparc*-*-rtemsaout* as removed
Ben Elliston [Fri, 8 Jul 2005 08:05:35 +0000 (08:05 +0000)]
* callback.c: Remove ANSI_PROTOTYPES conditional code.
* sim-load.c: Likewise.
* syscall.c: Likewise.
Ben Elliston [Fri, 8 Jul 2005 08:04:54 +0000 (08:04 +0000)]
* func.c: Remove ANSI_PROTOTYPES conditional code.
Alan Modra [Fri, 8 Jul 2005 06:22:04 +0000 (06:22 +0000)]
* ld-cris/pv32.s: Give expobj a size.
* ld-cris/pv32-1.d: Update.
* ld-alpha/tlsbin.dd: Update for empty section removal change.
* ld-alpha/tlsbin.sd: Likewise.
* ld-alpha/tlsbin.td: Likewise.
* ld-alpha/tlsbinr.dd: Likewise.
* ld-alpha/tlsbinr.rd: Likewise.
* ld-alpha/tlspic.dd: Likewise.
* ld-alpha/tlspic.rd: Likewise.
* ld-alpha/tlspic.sd: Likewise.
* ld-alpha/tlspic.td: Likewise.
* ld-arm/tls-lib.d: Likewise.
* ld-arm/tls-lib.r: Likewise.
* ld-cris/gotplt2.d: Likewise.
* ld-cris/gotplt3.d: Likewise.
* ld-cris/hiddef1.d: Likewise.
* ld-cris/libdso-10.d: Likewise.
* ld-cris/libdso-11.d: Likewise.
* ld-cris/libdso-12.d: Likewise.
* ld-cris/libdso-14.d: Likewise.
* ld-cris/libdso-2.d: Likewise.
* ld-i386/tlsnopic.dd: Likewise.
* ld-i386/tlsnopic.rd: Likewise.
* ld-i386/tlsnopic.sd: Likewise.
* ld-i386/tlspic.rd: Likewise.
* ld-mmix/bpo-10.d: Likewise.
* ld-mmix/bpo-22.d: Likewise.
* ld-mmix/sec-7m.d: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso.g: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlsso32.d: Likewise.
* ld-powerpc/tlsso32.g: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
* ld-powerpc/tlstocso.g: Likewise.
* ld-powerpc/tlstocso.r: Likewise.
Alan Modra [Fri, 8 Jul 2005 06:20:16 +0000 (06:20 +0000)]
* ldlang.c (wild_sort): Formatting.
(strip_excluded_output_sections): Strip zero size sections here.
* emultempl/elf32.em (gld*_strip_empty_sections): Delete.
(gld*_finish): Don't call the above.
* emultempl/hppaelf.em (hppaelf_finish): Likewise.
* emultempl/ppc64elf.em (ppc_finish): Likewise.
Alan Modra [Fri, 8 Jul 2005 06:20:06 +0000 (06:20 +0000)]
* elf-hppa.h (elf_hppa_final_link): Use gp val of zero when none
of the usual sections are found.
* elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Tidy.
Strip .dynbss if it is zero size.
* elf32-arm.c (elf32_arm_size_dynamic_sections): Likewise.
* elf32-cris.c (elf_cris_size_dynamic_sections): Likewise.
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise.
* elf32-i370.c (i370_elf_size_dynamic_sections): Likewise, and
.dynsbss.
(i370_elf_finish_dynamic_sections): Don't attempt to write .got
when it is zero size.
* elf32-i386.c (elf_i386_size_dynamic_sections): Correct handling
of .dynbss and zero size sections.
* elf32-m32r.c (m32r_elf_size_dynamic_sections): Strip .dynbss if
it is zero size.
* elf32-m68k.c (elf_m68k_size_dynamic_sections): Tidy. Strip
.dynbss if zero size.
* elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise, .dynsbss
too.
* elf32-s390.c (elf_s390_size_dynamic_sections): Likewise.
* elf32-sh.c (sh_elf_size_dynamic_sections): Likewise.
* elf32-vax.c (elf_vax_size_dynamic_sections): Likewise.
* elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Tidy. Strip
.plt.* and .got.plt.* if zero size.
* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Tidy. Strip
.got* and .dynbss if zero size.
* elf64-hppa.c (elf64_hppa_size_dynamic_sections): Tidy. Strip
* elf64-ppc.c (create_linkage_sections): Create branch lookup table
in .data.rel.ro.brlt or .rodata.brlt, and similarly for associated
reloc section.
(create_got_section): Always create new .got and .rela.got sections.
(ppc64_elf_size_dynamic_sections): Tidy. Strip .dynbss if zero size.
* elf64-s390.c (elf_s390_size_dynamic_sections): Likewise.
* elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise.
* elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Handle
dynamic bss sections correctly.
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Tidy.
* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Tidy. Strip
.dynbss if zero size.
Ben Elliston [Fri, 8 Jul 2005 05:57:21 +0000 (05:57 +0000)]
* frags.h: Remove ANSI_PROTOTYPES conditional code.
* config/obj-elf.h: Likewise.
* config/tc-h8300.h: Likewise.
* config/tc-h8500.h: Likewise.
* config/tc-i370.h: Likewise.
* config/tc-i386.h: Likewise.
* config/tc-m68hc11.h: Likewise.
* config/tc-m68k.h: Likewise.
* config/tc-ppc.h: Likewise.
* config/tc-s390.h: Likewise.
* config/tc-sh.h: Likewise.
* config/tc-sparc.h: Likewise.
* config/tc-tic30.c: Likewise.
* config/tc-w65.h: Likewise.
* config/tc-xtensa.h: Likewise.
Ben Elliston [Fri, 8 Jul 2005 05:44:53 +0000 (05:44 +0000)]
* elf32-xtensa.c: Include <stdarg.h> unconditionally, not only
when ANSI_PROTOTYPES is defined. Remove #ifdef logic.
Ben Elliston [Fri, 8 Jul 2005 05:32:46 +0000 (05:32 +0000)]
* bucomm.h: Include <stdarg.h> unconditionally, not only when
ANSI_PROTOTYPES is defined. Remove #ifdef logic.
* dlltool.c: Likewise.
* dllwrap.c: Likewise.
Hans-Peter Nilsson [Fri, 8 Jul 2005 03:54:30 +0000 (03:54 +0000)]
PR gas/1049
* config/tc-cris.h (MD_APPLY_SYM_VALUE): Define.
Hans-Peter Nilsson [Fri, 8 Jul 2005 03:53:12 +0000 (03:53 +0000)]
PR gas/1049
* gas/cris/rd-pic-2.d, gas/cris/rd-pic-2.s: New test.
* gas/cris/rd-abs32-1.d: Tweak for not emitting reloc-related
garbage for global symbols.
H.J. Lu [Fri, 8 Jul 2005 00:26:53 +0000 (00:26 +0000)]
2005-07-07 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (elf_backend_data): Add special_sections.
* elf.c (_bfd_elf_get_sec_type_attr): Check special_sections
first.
* elf32-arm.c (elf_backend_get_sec_type_attr): Removed.
(elf_backend_special_sections): New. Defined.
* elf32-m32r.c: Likewise.
* elf32-m68hc11.c: Likewise.
* elf32-m68hc12.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-v850.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-sh64.c: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.
* elfxx-mips.h: Likewise.
* elfxx-target.h (elf_backend_special_sections): New.
(elfNN_bed): Initialize special_sections.
Alan Modra [Fri, 8 Jul 2005 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 8 Jul 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Bob Wilson [Thu, 7 Jul 2005 21:50:57 +0000 (21:50 +0000)]
* xtensa-modules.c: Update tables with Xtensa MMU features.
Jim Wilson [Thu, 7 Jul 2005 19:27:52 +0000 (19:27 +0000)]
Kaveh Ghazi's printf format attribute checking patch.
bfd:
* elf32-xtensa.c (vsprint_msg): Add format attribute. Fix
format bugs.
* vms.h (_bfd_vms_debug): Add format attribute.
(_bfd_vms_debug, _bfd_hexdump): Fix typos.
binutils:
* bucomm.h (report): Add format attribute.
* dlltool.c (inform): Likewise.
* dllwrap.c (display, inform, warn): Likewise.
* objdump.c (objdump_sprintf): Likewise.
* readelf.c (error, warn): Likewise. Fix format bugs.
gas:
* config/tc-tic30.c (debug): Add format attribute. Fix format
bugs.
include:
* dis-asm.h (fprintf_ftype): Add format attribute.
opcodes:
* arc-dis.c, arm-dis.c, cris-dis.c, crx-dis.c, d10v-dis.c,
d30v-dis.c, fr30-dis.c, h8300-dis.c, h8500-dis.c, i860-dis.c,
ia64-dis.c, ip2k-dis.c, m10200-dis.c, m10300-dis.c,
m88k-dis.c, mcore-dis.c, mips-dis.c, ms1-dis.c, or32-dis.c,
ppc-dis.c, sh64-dis.c, sparc-dis.c, tic4x-dis.c, tic80-dis.c,
v850-dis.c: Fix format bugs.
* ia64-gen.c (fail, warn): Add format attribute.
* or32-opc.c (debug): Likewise.
H.J. Lu [Thu, 7 Jul 2005 17:44:58 +0000 (17:44 +0000)]
2005-07-07 H.J. Lu <hongjiu.lu@intel.com>
PR 975
* elflink.c (_bfd_elf_symbol_refs_local_p): Only undefined
symbol with default visibility is local.
Andreas Schwab [Thu, 7 Jul 2005 15:38:42 +0000 (15:38 +0000)]
* Makefile.def (flags_to_pass): Add CFLAGS_FOR_BUILD.
* Makefile.tpl (EXTRA_GCC_FLAGS): Don't pass CFLAGS_FOR_BUILD here.
* Makefile.in: Regenerated.
H.J. Lu [Thu, 7 Jul 2005 15:08:20 +0000 (15:08 +0000)]
Fix the date of the last checkin.
Andreas Schwab [Thu, 7 Jul 2005 13:11:16 +0000 (13:11 +0000)]
* observer.sh: Use different temporary file name depending on mode
of operation to avoid clash during parallel build.
Ben Elliston [Thu, 7 Jul 2005 12:12:40 +0000 (12:12 +0000)]
* config.bfd: Mark m68*-*-rtemscoff as obsolete.
Nick Clifton [Thu, 7 Jul 2005 11:37:10 +0000 (11:37 +0000)]
arm-dis.c (opcode32 arm_opcodes): Fix ARM VFP fadds instruction disassembly
pattern.
vfp1xD.d: Adjust expected fadds disassemblies now that the dissassembler has
been fixed.
Kazu Hirata [Thu, 7 Jul 2005 02:24:02 +0000 (02:24 +0000)]
* configure.in: Add --enable-libssp and --disable-libssp.
* configure: Regenerate with autoconf-2.13.
Kelley Cook [Thu, 7 Jul 2005 02:21:57 +0000 (02:21 +0000)]
2005-07-07 Kelley Cook <kcook@gcc.gnu.org>
* config.table: Delete file. Move former contents into ...
* configure.ac: ... here and escape any brackets for m4.
* Makefile.in (config.status): Remove dependency on config.table.
* configure: Regenerate.
Kelley Cook [Thu, 7 Jul 2005 02:19:14 +0000 (02:19 +0000)]
2005-07-07 Kelley Cook <kcook@gcc.gnu.org>
* config.in: Regenerate for 6/20 change.