platform/upstream/binutils.git
19 years ago* rs6000-tdep.c (_initialize_rs6000_tdep): Get rid of the unused
Paul Gilliam [Mon, 19 Sep 2005 17:38:04 +0000 (17:38 +0000)]
* rs6000-tdep.c (_initialize_rs6000_tdep): Get rid of the unused
  'info powerpc' command prefix.
* gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
  powerpc altivec' test with an almost identical 'info vector' test.

19 years ago2005-09-19 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 19 Sep 2005 14:21:09 +0000 (14:21 +0000)]
2005-09-19  Paul Brook  <paul@codesourcery.com>

* armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when
available.
* armemu.c: Use them.
* armvirt.c (ARMul_MemoryInit): Use correct type for size.
* configure.ac: Check for stdint.h.
* config.in: Regenerate.
* configure: Regenerate.

19 years ago * interp.c (<sys/mman.h>): Include.
Joern Rennecke [Mon, 19 Sep 2005 11:29:30 +0000 (11:29 +0000)]
* interp.c (<sys/mman.h>): Include.
(mcalloc): New function / macro.
(mfree): New macro.
(sim_size): Use mcalloc and mfree.

19 years ago * elf64-ppc.c (ppc_build_one_stub): Replace assertion that long
Alan Modra [Mon, 19 Sep 2005 09:35:26 +0000 (09:35 +0000)]
* elf64-ppc.c (ppc_build_one_stub): Replace assertion that long
branch offset is in range with an error.  Print full stub name on
errors.
(ppc_size_one_stub): Print full stub name on errors.
(group_sections): Warn if section size exceeds group size.
(ppc64_elf_size_stubs): Continue relaxing when stub types change.

19 years ago*** empty log message ***
gdbadmin [Mon, 19 Sep 2005 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Mon, 19 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago * gdb.texinfo (Contributors): Thank Andrew Cagney for releases
Daniel Jacobowitz [Sun, 18 Sep 2005 03:28:18 +0000 (03:28 +0000)]
* gdb.texinfo (Contributors): Thank Andrew Cagney for releases
6.2 and 6.3.

19 years ago*** empty log message ***
gdbadmin [Sun, 18 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 18 Sep 2005 00:00:08 +0000 (00:00 +0000)]
daily update

19 years ago * acinclude.m4: Correct quoting.
Daniel Jacobowitz [Sat, 17 Sep 2005 23:14:37 +0000 (23:14 +0000)]
* acinclude.m4: Correct quoting.
* aclocal.m4: Regenerated.

Suggested by SZOKOVACS Robert <szo@ies.hu>:
* thread-db.c (thread_db_err_str): Handle TD_VERSION.
(thread_db_init): Call thread_db_err_str.
* configure.ac: Check for TD_VERSION.
* config.in, configure: Regenerated.

19 years agodaily update
Alan Modra [Sat, 17 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 17 Sep 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
gdbadmin [Fri, 16 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Fri, 16 Sep 2005 00:00:16 +0000 (00:00 +0000)]
daily update

19 years agomerge from gcc
DJ Delorie [Thu, 15 Sep 2005 01:04:05 +0000 (01:04 +0000)]
merge from gcc

19 years agodaily update
Alan Modra [Thu, 15 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Thu, 15 Sep 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years agogas/
Jan Beulich [Wed, 14 Sep 2005 06:33:25 +0000 (06:33 +0000)]
gas/
2005-09-14  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Add selector
registers, floating point control and status words, and mxcsr as
well as (for 64-bit code) segment base registers and rflags.

19 years agodaily update
Alan Modra [Wed, 14 Sep 2005 00:00:16 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Wed, 14 Sep 2005 00:00:13 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
Paul Gilliam [Tue, 13 Sep 2005 23:13:50 +0000 (23:13 +0000)]
2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>

        * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
        vscr" tests to match output.

19 years ago2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
Paul Gilliam [Tue, 13 Sep 2005 22:07:05 +0000 (22:07 +0000)]
2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>

        * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
        output.

19 years ago*** empty log message ***
gdbadmin [Tue, 13 Sep 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 13 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Mon, 12 Sep 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Mon, 12 Sep 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * config/s390/nm-linux.h (KERNEL_U_SIZE): Remove.
Ulrich Weigand [Sun, 11 Sep 2005 21:54:59 +0000 (21:54 +0000)]
* config/s390/nm-linux.h (KERNEL_U_SIZE): Remove.
(PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Likewise.
(s390_stopped_by_watchpoint, s390_insert_watchpoint,
s390_remove_watchpoint, TARGET_CAN_USE_HARDWARE_WATCHPOINT,
TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT,
STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
target_remove_watchpoint): Likewise.
* s390-nat.c: Remove include of <sys/user.h>.
(kernel_u_size): Remove.
(s390_stopped_by_watchpoint): Make static.
(s390_insert_watchpoint, s390_remove_watchpoint): Likewise.
(s390_can_use_hw_breakpoint): New function.
(s390_region_size_ok_for_hw_watchpoint): Likewise.
(_initialize_s390_nat): Add watchpoint methods to target.

19 years ago2005-09-11 Bob Rossi <bob@brasko.net>
Bob Rossi [Sun, 11 Sep 2005 20:24:54 +0000 (20:24 +0000)]
2005-09-11  Bob Rossi  <bob@brasko.net>

* lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
* gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
  commands that return an MI output command and an asyncronous MI output
  command.
* gdb.mi/mi-console.exp: Ditto.

19 years ago2005-09-11 Bob Rossi <bob@brasko.net>
Bob Rossi [Sun, 11 Sep 2005 12:50:45 +0000 (12:50 +0000)]
2005-09-11  Bob Rossi  <bob@brasko.net>

        * gdb.mi/mi-var-child.c: Include <string.h>.

19 years ago*** empty log message ***
gdbadmin [Sun, 11 Sep 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 11 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago * Makefile.in (ALLDEPFILES): Update.
Daniel Jacobowitz [Sat, 10 Sep 2005 18:11:14 +0000 (18:11 +0000)]
* Makefile.in (ALLDEPFILES): Update.
(alpha-linux-nat.o, sparc-linux-nat.o): New rules.
(amd64-linux-nat.o, arm-linux-nat.o, hppa-linux-nat.o)
(i386-linux-nat.o, ia64-linux-nat.o, linux-nat.o, m32r-linux-nat.o)
(m68klinux-nat.o, mips-linux-nat.o, ppc-linux-nat.o, s390-nat.o)
(sparc64-linux-nat.o): Update dependencies.
* alpha-linux-nat.c, sparc-linux-nat.c: New files.
* amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(amd64_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(amd64_linux_child_post_start_inferior): Renamed from
child_post_startup_inferior and made static.  Call
super_post_startup_inferior.
(super_post_startup_inferior): New.
(_initialize_amd64_linux_nat): Set it.  Call linux_target and
add_target.
* arm-linux-nat.c (arm_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(arm_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_arm_linux_nat): Add a prototype.  Use linux_target and
add_target.
* hppa-linux-nat.c (hppa_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(hppa_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_hppa_linux_nat): New function.
* i386-linux-nat.c (i386_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(i386_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(i386_linux_resume): Renamed from child_resume and made static.
(i386_linux_child_post_start_inferior): Renamed from
child_post_startup_inferior and made static.  Call
super_post_startup_inferior.
(super_post_startup_inferior): New.
(_initialize_i386_linux_nat): New function.
* i386-nat.c: Remove LINUX_CHILD_POST_STARTUP_INFERIOR #ifndef.
* ia64-linux-nat.c (ia64_linux_xfer_unwind_table): Remove.
(super_xfer_partial): New.
(ia64_linux_xfer_partial): New function.  Use it.
(_initialize_ia64_linux_nat): New function.
* ia64-tdep.c (getunwind_table): Revert 2005-06-08 change; use
target_read_partial and document the problem.
* inf-ptrace.c (inf_ptrace_fetch_register): Use
CANNOT_FETCH_REGISTER.  Fix some comments.
(inf_ptrace_store_register): Use CANNOT_STORE_REGISTER.  Fix some
comments.
* linux-nat.c: Include "inf-ptrace.h" and "auxv.h".
(linux_ops, super_xfer_partial): New variables.
(linux_child_post_startup_inferior): Make static.
(child_post_startup_inferior): Delete.
(linux_nat_attach, linux_nat_detach, resume_callback)
(linux_nat_resume, linux_nat_wait, linux_nat_create_inferior)
(linux_nat_mourn_inferior): Use linux_ops instead of
deprecated_child_ops.
(child_wait): Do not depend on CHILD_WAIT.
(linux_nat_xfer_memory): Remove, replace by ...
(linux_nat_xfer_partial): ... this.  Use linux_ops->to_xfer_partial
instead of linux_proc_xfer_memory and child_xfer_memory.
(linux_nat_fetch_registers, linux_nat_store_registers)
(linux_nat_child_post_startup_inferior): New functions.
(init_linux_nat_ops): Use the new functions.
(linux_proc_xfer_memory): Remove, replace by ...
(linux_proc_xfer_partial): ... this.  Make static.
(linux_xfer_partial, linux_register_u_offset, linux_target): New
functions.
(_initialize_linux_nat): Do not modify deprecated_child_ops.
* linux-nat.h (linux_proc_xfer_memory): Remove prototype.
(struct mem_attrib, struct target_ops): Remove forward declarations.
(linux_child_post_startup_inferior): Remove prototype.
(linux_target): Add prototype.
* linux-thread-db.c (thread_db_xfer_memory): Remove, replace by ...
(thread_db_xfer_partial): ... this.
(init_thread_db_ops): Set to_xfer_partial instead of
deprecated_xfer_memory.
* m32r-linux-nat.c (m32r_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(m32r_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_m32r_linux_nat): New function.
* m68klinux-nat.c (m68k_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(m68k_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(old_fetch_inferior_registers, old_store_inferior_registers): Made
static.
(_initialize_m68k_linux_nat): Use linux_target and add_target.
* mips-linux-nat.c (_initialize_mips_linux_nat): New function.
* ppc-linux-nat.c (ppc_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(ppc_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_ppc_linux_nat): New function.
* s390-nat.c (s390_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(s390_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_s390_nat): New function.
* sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Use
linux_target and add_target.
* config/nm-linux.h: Don't include "auxv.h".
(struct target_waitstatus, child_wait, CHILD_WAIT)
(CHILD_PID_TO_EXEC_FILE, CHILD_INSERT_FORK_CATCHPOINT)
(CHILD_INSERT_VFORK_CATCHPOINT, CHILD_INSERT_EXEC_CATCHPOINT)
(CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH, CHILD_FOLLOW_FORK)
(DEPRECATED_KILL_INFERIOR, NATIVE_XFER_AUXV): Delete.
* config/alpha/alpha-linux.mh (NATDEPFILES): Replace infptrace.o
and inftarg.o with inf-ptrace.o and alpha-linux-nat.o.
* config/sparc/linux.mh (NATDEPFILES): Replace infptrace.o and
inftarg.o with sparc-linux-nat.o.
* config/sparc/linux64.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.
* config/arm/linux.mh (NATDEPFILES): Replace infptrace.o and
inftarg.o with inf-ptrace.o.
* config/i386/linux.mh (NATDEPFILES): Likewise.
* config/i386/linux64.mh (NATDEPFILES): Likewise.
* config/ia64/linux.mh (NATDEPFILES): Likewise.
* config/m32r/linux.mh (NATDEPFILES): Likewise.
* config/m68k/linux.mh (NATDEPFILES): Likewise.
* config/mips/linux.mh (NATDEPFILES): Likewise.
* config/pa/linux.mh (NATDEPFILES): Likewise.
* config/powerpc/linux.mh (NATDEPFILES): Likewise.
* config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
* config/s390/s390.mh (NATDEPFILES): Likewise.
* config/i386/nm-linux.h (DEPRECATED_CHILD_RESUME): Don't define.
(LINUX_CHILD_POST_STARTUP_INFERIOR): Don't define.
* config/i386/nm-linux64.h (LINUX_CHILD_POST_STARTUP_INFERIOR):
Don't define.
* config/ia64/nm-linux.h: Don't include "target.h".
(NATIVE_XFER_UNWIND_TABLE, ia64_linux_xfer_unwind_table): Remove.
* config/djgpp/fnchange.lst: Add alpha-linux-tdep.c,
alpha-linux-nat.c, sparc-linux-tdep.c, and sparc-linux-nat.c.

19 years ago * killed.exp: Correct gdb_expect syntax.
Daniel Jacobowitz [Sat, 10 Sep 2005 14:17:34 +0000 (14:17 +0000)]
* killed.exp: Correct gdb_expect syntax.

19 years ago*** empty log message ***
gdbadmin [Sat, 10 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sat, 10 Sep 2005 00:00:08 +0000 (00:00 +0000)]
daily update

19 years ago * elf32-am33lin.c (bfd.h, sysdep.h, elf-bfd.h, elf/mn10300.h):
Kevin Buettner [Fri, 9 Sep 2005 18:26:03 +0000 (18:26 +0000)]
* elf32-am33lin.c (bfd.h, sysdep.h, elf-bfd.h, elf/mn10300.h):
Include.
(elf32_am33lin_grok_prstatus, elf32_am33lin_grok_psinfo): New
functions.
(elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define.

19 years ago * readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP and
Richard Earnshaw [Fri, 9 Sep 2005 13:12:21 +0000 (13:12 +0000)]
* readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP and
SHT_ARM_ATTRIBUTES.

19 years ago * elf32-arm.c (elf32_arm_section_from_shdr): Accept SHT_ARM_PREEMPTMAP
Richard Earnshaw [Fri, 9 Sep 2005 13:10:01 +0000 (13:10 +0000)]
* elf32-arm.c (elf32_arm_section_from_shdr): Accept SHT_ARM_PREEMPTMAP
and SHT_ARM_ATTRIBUTES.

19 years ago * arm.h (SHT_ARM_PREEMPTMAP, SHT_ARM_ATTRIBUTES): New defines.
Richard Earnshaw [Fri, 9 Sep 2005 13:06:21 +0000 (13:06 +0000)]
* arm.h (SHT_ARM_PREEMPTMAP, SHT_ARM_ATTRIBUTES): New defines.

19 years ago2005-09-09 Dmitry Diky <diwil@spec.ru>
Dmitry Diky [Fri, 9 Sep 2005 08:46:19 +0000 (08:46 +0000)]
2005-09-09  Dmitry Diky  <diwil@spec.ru>

        * config/tc-msp430.c (msp430_operands): Undo last changes. Instead...
(msp430_relax_frag): add a guard check to ensure that final fr_subtype
has been reached.

19 years ago2005-09-08 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 9 Sep 2005 05:11:51 +0000 (05:11 +0000)]
2005-09-08  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_get_linked_section_vma): Fix a typo in comment.
* elfxx-ia64.c (elf_backend_link_order_error_handler): Likewise.

19 years agodaily update
Alan Modra [Fri, 9 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Fri, 9 Sep 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years agoAdd am33-2 support to mn10300-tdep.c.
Kevin Buettner [Thu, 8 Sep 2005 22:48:56 +0000 (22:48 +0000)]
Add am33-2 support to mn10300-tdep.c.

19 years ago* doc/as.texinfo: Document -mdsp and -mno-dsp options.
Chao-ying Fu [Thu, 8 Sep 2005 18:05:15 +0000 (18:05 +0000)]
* doc/as.texinfo: Document -mdsp and -mno-dsp options.
* doc/c-mips.texi: Likewise, and document ".set dsp" and ".set nodsp"
directives.

19 years ago * ld.texinfo: Document -z {no,}execstack, -z {no,}relro
Jakub Jelinek [Thu, 8 Sep 2005 16:03:26 +0000 (16:03 +0000)]
* ld.texinfo: Document -z {no,}execstack, -z {no,}relro
and --eh-frame-hdr options.

19 years ago2005-09-08 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 8 Sep 2005 14:24:22 +0000 (14:24 +0000)]
2005-09-08  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1263
* elflink.c (elf_link_add_object_symbols): Abort for
--just-symbols on DSO.

19 years ago2005-09-08 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 8 Sep 2005 12:49:27 +0000 (12:49 +0000)]
2005-09-08  Paul Brook  <paul@codesourcery.com>

bfd/
* reloc.c: Rename BFD_RELOC_ARM_SMI to BFD_RELOC_ARM_SMC.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
opcodes/
* arm-dis.c (arm_opcodes, thumb32_opcodes): Rename smi to smc.
gas/
* config/tc-arm.c (do_smi, do_t_smi): Rename ...
(do_smc, do_t_smc): ... to this.
(insns): Remane smi to smc.
(md_apply_fix, tc_gen_reloc): Rename BFD_RELOC_ARM_SMI to
BFD_RELOC_ARM_SMC.
gas/testsuite/
* gas/arm/arch6zk.d: Rename smi to smc.
* gas/arm/arch6zk.s: Ditto.
* gas/arm/thumb32.d: Ditto.
* gas/arm/thumb32.s: Ditto.

19 years agoRemove extraneous line.
Andreas Schwab [Thu, 8 Sep 2005 10:08:34 +0000 (10:08 +0000)]
Remove extraneous line.

19 years agodaily update
Alan Modra [Thu, 8 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Thu, 8 Sep 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * dwarf2dbg.c (dwarf2_where): Set line->isa.
Richard Henderson [Wed, 7 Sep 2005 19:22:42 +0000 (19:22 +0000)]
    * dwarf2dbg.c (dwarf2_where): Set line->isa.
        (dwarf2_set_isa): New.
        (dwarf2_directive_loc): Rearrange to allow all options on one line.
        * dwarf2dbg.h (dwarf2_set_isa): Declare.
        * doc/as.texinfo: Update .loc documentation.

        * gas/lns/lns-common-1.d: Don't match header or special opcode numbers.
        * gas/lns/lns-common-1.s: Update for syntax change.
        * gas/lns/lns-diag-1.[sl]: Likewise.

19 years ago * gas/mips/mips16-dwarf2.d: Don't match anything but address and line
Richard Henderson [Wed, 7 Sep 2005 19:08:54 +0000 (19:08 +0000)]
    * gas/mips/mips16-dwarf2.d: Don't match anything but address and line
        number increments.  Adjust relocation address.
        * gas/mips/mips16-dwarf2-n32.d: Likewise.  Add "N32" to test name.

19 years ago * gas/cris/rd-dw2-1.d: Don't match anything but address and line
Richard Henderson [Wed, 7 Sep 2005 18:46:16 +0000 (18:46 +0000)]
    * gas/cris/rd-dw2-1.d: Don't match anything but address and line
        number increments.
        * gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d, gas/cris/rd-dw2-12.d,
        gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d, gas/cris/rd-dw2-15.d,
        gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d, gas/cris/rd-dw2-4.d,
        gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d, gas/cris/rd-dw2-7.d,
        gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d: Likewise.

19 years ago2005-09-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 7 Sep 2005 16:25:35 +0000 (16:25 +0000)]
2005-09-07  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (get_elf_section_flags): Handle 64bit sh_flags.

19 years ago * dwarf2dbg.c: Include safe-ctype.h.
Richard Henderson [Wed, 7 Sep 2005 11:41:25 +0000 (11:41 +0000)]
    * dwarf2dbg.c: Include safe-ctype.h.
        (DWARF2_LINE_OPCODE_BASE): Bump to 13.
        (current): Initialize.
        (dwarf2_emit_insn): Clear DWARF2_FLAG_BASIC_BLOCK,
        DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN.
        (dwarf2_directive_file): Cope with invalid filename.
        (dwarf2_directive_loc): Add handling for basic_block, prologue_end,
        epilogue_begin, is_stmt, isa.
        (emit_inc_line_addr): Move line_delta == 0, addr_delta == 0 special
        case down lower.
        (process_entries): Handle isa, DWARF2_FLAG_PROLOGUE_END,
        and DWARF2_FLAG_EPILOGUE_BEGIN.
        (out_debug_line): Emit sizes for DW_LNS_set_prologue_end,
        DW_LNS_set_epilogue_begin, DW_LNS_set_isa.
        * dwarf2dbg.h (DWARF2_FLAG_IS_STMT): Rename from DWARF2_FLAG_BEGIN_STMT.        (DWARF2_FLAG_BASIC_BLOCK): Rename from DWARF2_FLAG_BEGIN_BLOCK.
        (DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN): New.
        (struct dwarf2_line_info): Add isa member.
        * doc/as.texinfo (LNS directives): New node.

19 years ago* config/tc-mips.c (append_insn): Undo last change. Instead add
David Ung [Wed, 7 Sep 2005 11:39:17 +0000 (11:39 +0000)]
* config/tc-mips.c (append_insn): Undo last change.  Instead add
guard to suppress calling frag_grow if the current instruction is
one that allows a delay slot.

19 years ago * ldexp.c (fold_name <SIZEOF>): Return 0 for non-existent section.
Alan Modra [Wed, 7 Sep 2005 06:27:36 +0000 (06:27 +0000)]
* ldexp.c (fold_name <SIZEOF>): Return 0 for non-existent section.
(exp_fold_tree_1): Print assert message only in final stage of
linking.  Trigger assertion failure if expression cannot be
evaluated.

19 years ago2005-09-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 7 Sep 2005 05:01:53 +0000 (05:01 +0000)]
2005-09-06  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1263
* emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Check
--just-symbols on DSO.

19 years ago2005-09-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 7 Sep 2005 05:01:16 +0000 (05:01 +0000)]
2005-09-06  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1301
* elflink.c (_bfd_elf_merge_symbol): Don't check undefined
symbol introduced by "ld -u" for TLS.

19 years ago Import from Autoconf sources:
Ben Elliston [Wed, 7 Sep 2005 00:42:19 +0000 (00:42 +0000)]
Import from Autoconf sources:

2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
* move-if-change: Don't output "$2 is unchanged"; suggested by Ben
Elliston.  Handle weird characters correctly.

19 years ago * mn10300-linux-tdep.c (mn10300_linux_svr4_fetch_link_map_offsets):
Kevin Buettner [Wed, 7 Sep 2005 00:23:14 +0000 (00:23 +0000)]
* mn10300-linux-tdep.c (mn10300_linux_svr4_fetch_link_map_offsets):
Delete.
(am33_linux_init_osabi): Register svr4_ilp32_fetch_link_map_offsets
instead.

19 years ago*** empty log message ***
gdbadmin [Wed, 7 Sep 2005 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Wed, 7 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago * mn10300-linux-tdep.c (solib-svr4.h): Include.
Kevin Buettner [Tue, 6 Sep 2005 23:14:44 +0000 (23:14 +0000)]
* mn10300-linux-tdep.c (solib-svr4.h): Include.
(mn10300_linux_svr4_fetch_link_map_offsets): New function.
(am33_linux_init_osabi): Register it.
* Makefile.in (mn10300-linux-tdep.o): Update dependencies.

19 years ago * mn10300-tdep.c (mn10300_analyze_prologue): Delete code disabled
Kevin Buettner [Tue, 6 Sep 2005 22:13:08 +0000 (22:13 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue): Delete code disabled
via "#if 0".

19 years ago * mn10300-tdep.c (mn10300_analyze_prologue): Use
Kevin Buettner [Tue, 6 Sep 2005 22:01:59 +0000 (22:01 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue): Use
safe_frame_unwind_memory() in place of deprecated_read_memory_nobpt().

19 years ago* gas/mips/mips.exp: Run MT test for mips32r2 only.
Chao-ying Fu [Tue, 6 Sep 2005 18:56:21 +0000 (18:56 +0000)]
* gas/mips/mips.exp: Run MT test for mips32r2 only.
* gas/mips/mips32-mt.[sdl]: New test.

19 years ago* config/tc-mips.c (mips_set_options): Add ase_mt for MT instructions.
Chao-ying Fu [Tue, 6 Sep 2005 18:53:03 +0000 (18:53 +0000)]
* config/tc-mips.c (mips_set_options): Add ase_mt for MT instructions.
(mips_opts): Add -1 to initialize ase_mt.
(file_ase_mt): New variable for -mmt.
(CPU_HAS_MT): New define.
(validate_mips_insn): Add supports for +t, +T, !, $, *, &, g operand
formats.
(mips_ip): Check ase_mt to enable MT instructions.
Handle !, $, *, &, +T, +t, g operand formats.
For "mftc1", "mfthc1", "cftc1", "mttc1", "mtthc1", "cttc1", we allow
odd float registers.
(OPTION_MT, OPTION_NO_MT): New define.
(OPTION_COMPAT_ARCH_BASE): Change because of inserting MT define.
(md_parse_option): Parse OPTION_MT and OPTION_NO_MT.
(mips_after_parse_args): Set ase_mt based on CPU.
(s_mipsset): Handle ".set mt" and ".set nomt".
(mips_elf_final_processing): Remind of adding new flag for MT ASE.
(md_show_usage): Show usage of -mmt and -mno-mt.
* doc/as.texinfo: Document -mmt and -mno-mt options.
* doc/c-mips.texi: Likewise, and document ".set mt" and ".set nomt"
directives.

19 years ago* mips-opc.c (MT32): New define.
Chao-ying Fu [Tue, 6 Sep 2005 18:46:57 +0000 (18:46 +0000)]
* mips-opc.c (MT32): New define.
(mips_builtin_opcodes): Move "bc0f", "bc0fl", "bc0t", "bc0tl" to the
bottom to avoid opcode collision with "mftr" and "mttr".
Add MT instructions.
* mips-dis.c (mips_arch_choices): Enable INSN_MT for mips32r2.
(print_insn_args): Add supports for +t, +T, !, $, *, &, g operand
formats.

19 years agoRemove duplicated chunk in previous patch.
Paul Brook [Tue, 6 Sep 2005 18:43:45 +0000 (18:43 +0000)]
Remove duplicated chunk in previous patch.

19 years ago* mips.h (OP_SH_MT_U, OP_MASK_MT_U, OP_SH_MT_H, OP_MASK_MT_H,
Chao-ying Fu [Tue, 6 Sep 2005 18:42:58 +0000 (18:42 +0000)]
* mips.h (OP_SH_MT_U, OP_MASK_MT_U, OP_SH_MT_H, OP_MASK_MT_H,
OP_SH_MTACC_T, OP_MASK_MTACC_T, OP_SH_MTACC_D, OP_MASK_MTACC_D): New
define.
Document !, $, *, &, g, +t, +T operand formats for MT instructions.
(INSN_ASE_MASK): Update to include INSN_MT.
(INSN_MT): New define for MT ASE.

19 years ago2005-09-06 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 6 Sep 2005 16:59:24 +0000 (16:59 +0000)]
2005-09-06  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (arm_it): Add relax field.
(T16_32_TAB): Add addi, addis, add_pc, add_sp, dec_sp, inc_sp,
b, bcond, ldr_pc, ldr_pc2, ldr_sp, str_sp, subi, subis.
(do_t_add_sub, do_t_addr, do_t_branch, do_t_ldst,
do_t_mov_cmp): Allow relaxation.
(output_relax_insn): New function.
(put_thumb32_insn): New function.
(output_inst): Use new functions.
(md_assemble): Don't throw error on relaxable instructions.
(insns): Change "b" entry from TCE(...) to tCE(...).
(md_estimate_size_before_relax): Return 2.
(md_convert_frag, relax_immediate, relax_adr, relax_addsub,
relax_branch, arm_relax_frag): New functions.
(arm_force_relocation): Return 0 for Thumb-2 immediate operand
relocations.
* config/tc-arm.h (md_convert_frag): Remove definition.
(md_relax_frag): Define.
(arm_relax_frag): Add prototype.
gas/testsuite/
* gas/arm/thumb2_relax.d: New test.
* gas/arm/thumb2_relax.s: New test.
* gas/arm/thumb32.d: Adjust expected results to include relaxation.
* gas/arm/thumb32.s: Tweak for better coverage of relaxable
instructions.  Remove load/store tests.

19 years ago2005-09-02 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 6 Sep 2005 15:57:06 +0000 (15:57 +0000)]
2005-09-02  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (do_rn_rd): Enforce SWP operand constraints.
gas/testsuite/
* gas/arm/arm3-bad.s: New test.
* gas/arm/arm3-bad.d: New test.
* gas/arm/arm3.s: Avoid illegal instructions.
* gas/arm/arm3.d: Ditto.

19 years ago*** empty log message ***
gdbadmin [Tue, 6 Sep 2005 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 6 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Mon, 5 Sep 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Mon, 5 Sep 2005 00:00:09 +0000 (00:00 +0000)]
daily update

19 years agoFix email address in last commit.
Daniel Jacobowitz [Sun, 4 Sep 2005 21:21:19 +0000 (21:21 +0000)]
Fix email address in last commit.

19 years ago * inf-child.c (inf_child_follow_fork): Add OPS argument.
Daniel Jacobowitz [Sun, 4 Sep 2005 16:18:20 +0000 (16:18 +0000)]
* inf-child.c (inf_child_follow_fork): Add OPS argument.
* inf-ptrace.c (inf_ptrace_follow_fork): Likewise.
* inf-ttrace.c (inf_ttrace_follow_fork): Likewise.
* inftarg.c (child_follow_fork): Likewise.
* linux-nat.c (child_follow_fork): Likewise.  Use ops instead of
&deprecated_child_ops.
* target.c (update_current_target): Do not inherit to_follow_fork.
(target_follow_fork): New function.
(debug_to_follow_fork): Remove.
(setup_target_debug): Don't set to_follow_fork.
* target.h (struct target_ops): Add struct target_ops * to
to_follow_fork.
(child_follow_fork): Add struct target_ops * argument.
(target_follow_fork): Replace macro with prototype.

19 years ago*** empty log message ***
gdbadmin [Sun, 4 Sep 2005 00:00:12 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 4 Sep 2005 00:00:11 +0000 (00:00 +0000)]
daily update

19 years agoMake sure that a reasonable value is always returned by
Kevin Buettner [Sat, 3 Sep 2005 01:55:26 +0000 (01:55 +0000)]
Make sure that a reasonable value is always returned by
mn10300_dwarf2_reg_to_regnum().

19 years ago * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Use ARRAY_SIZE.
Kevin Buettner [Sat, 3 Sep 2005 01:45:30 +0000 (01:45 +0000)]
* mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Use ARRAY_SIZE.
Change internal error to warning.  Add i18n markup to warning
string.

19 years ago * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
Kevin Buettner [Sat, 3 Sep 2005 01:12:21 +0000 (01:12 +0000)]
* mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
(mn10300_gdbarch_init): Register mn10300_dwarf2_reg_to_regnum().

19 years ago * mn10300-tdep.c (is_my_frame_in_sp, is_my_frame_in_fp)
Kevin Buettner [Sat, 3 Sep 2005 00:49:06 +0000 (00:49 +0000)]
* mn10300-tdep.c (is_my_frame_in_sp, is_my_frame_in_fp)
(is_my_frame_last): Delete these unused functions.

19 years ago * mn10300-tdep.c (mn10300_frame_prev_register): Change type of
Kevin Buettner [Sat, 3 Sep 2005 00:43:28 +0000 (00:43 +0000)]
* mn10300-tdep.c (mn10300_frame_prev_register): Change type of
``bufferp'' from ``void *'' to ``gdb_byte *''.

19 years agoRemove inadvertent tab after mn10300-tdep.o entry.
Kevin Buettner [Sat, 3 Sep 2005 00:35:45 +0000 (00:35 +0000)]
Remove inadvertent tab after mn10300-tdep.o entry.

19 years ago * mn10300-tdep.c (mn10300_use_struct_convention): Delete parameter
Kevin Buettner [Sat, 3 Sep 2005 00:12:26 +0000 (00:12 +0000)]
* mn10300-tdep.c (mn10300_use_struct_convention): Delete parameter
``gcc_p''.  Adjust all callers.
(mn10300_store_return_value, mn10300_extract_return_value): Add new
parameter ``gdbarch''.
(mn10300_return_value): New function.
(mn10300_gdbarch_init): Delete old-style return value code calls.
Add call to set_gdbarch_return_value().

19 years agodaily update
Alan Modra [Sat, 3 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 3 Sep 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * mn10300-tdep.c (regcache.h): Delete duplicate include.
Kevin Buettner [Fri, 2 Sep 2005 23:51:51 +0000 (23:51 +0000)]
* mn10300-tdep.c (regcache.h): Delete duplicate include.
* Makefile.in (mn10300-tdep.o): Update dependencies.

19 years ago * mn10300-tdep.c (osabi.h): Include.
Kevin Buettner [Fri, 2 Sep 2005 23:42:29 +0000 (23:42 +0000)]
* mn10300-tdep.c (osabi.h): Include.
(mn10300_gdbarch_init): Invoke gdbarch_init_osabi().
* Makefile.in (mn10300-tdep.o): Update dependencies.

19 years agoFix date.
Kevin Buettner [Fri, 2 Sep 2005 23:00:00 +0000 (23:00 +0000)]
Fix date.

19 years ago * mn10300-linux-tdep.c: New file.
Kevin Buettner [Fri, 2 Sep 2005 22:53:35 +0000 (22:53 +0000)]
* mn10300-linux-tdep.c: New file.
* Makefile.in (mn10300-linux-tdep.o): New Makefile target.
* config/mn10300/linux.mt (TDEPFILES): Add mn10300-linux-tdep.o and
corelow.o.
* mn10300-tdep.h (E_E8_REGNUM, E_E9_REGNUM, E_E10_REGNUM)
(E_FPCR_REGNUM, E_FS0_REGNUM): New constants.

19 years ago* infcall.c (call_function_by_hand): Remove code handling
Mark Kettenis [Fri, 2 Sep 2005 19:02:46 +0000 (19:02 +0000)]
* infcall.c (call_function_by_hand): Remove code handling
deprecated_push_arguments.  Bail out early if push_dummy_call
isn't available.
* gdbarch.sh (deprecated_push_arguments): Delete.  Adjust a few
comments accordingly.
* gdbarch.h, gdbarch.c: Regenerate.

19 years agoFix date of last entry.
Mark Kettenis [Fri, 2 Sep 2005 18:52:42 +0000 (18:52 +0000)]
Fix date of last entry.

19 years ago2005-09-02 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 2 Sep 2005 14:54:27 +0000 (14:54 +0000)]
2005-09-02  Paul Brook  <paul@codesourcery.com>

* arm-dis.c (coprocessor_opcodes): Add null terminator.

19 years ago2005-09-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 2 Sep 2005 13:36:33 +0000 (13:36 +0000)]
2005-09-02  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (debug_abbrev_contents): New.
(debug_abbrev_size): Likewise.
(load_debug_abbrev): Likewise.
(free_debug_abbrev): Likewise.
(process_debug_info): Use them.

19 years ago2005-09-02 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 2 Sep 2005 13:12:45 +0000 (13:12 +0000)]
2005-09-02  Paul Brook  <paul@codesourcery.com>

bfd/
* libbdf.h: Regenerate.
* bfd-in2.h: Regenerate.
* reloc.c: Add BFD_RELOC_ARM_T32_CP_OFF_IMM and
BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.
gas/
* config/tc-arm.c (encode_arm_cp_address): Use
BFD_RELOC_ARM_T32_CP_OFF_IMM in thumb mode.
(do_iwmmxt_wldstbh): Use BFD_RELOC_ARM_T32_CP_OFF_IMM_S2 in thumb
mode.
(md_assemble): Only allow coprocessor instructions when Thumb-2 is
available.
(cCE, cC3): Define.
(insns): Use them for coprocessor instructions.
(md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM.
(get_thumb32_insn): New function.
(put_thumb32_insn): New function.
(md_apply_fix): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM and
BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.
gas/testsuite/
* gas/arm/vfp-bad_t2.d, gas/arm/vfp-bad_t2.l, arm/vfp-bad_t2.s,
gas/arm/vfp1_t2.d, gas/arm/vfp1_t2.s, gas/arm/vfp1xD_t2.d,
gas/arm/vfp1xD_t2.s, gas/arm/vfp2_t2.d, gas/arm/vfp2_t2.s): New files.
opcodes/
* arm-dis.c (coprocessor_opcodes): New.
(arm_opcodes, thumb32_opcodes): Remove coprocessor insns.
(print_insn_coprocessor): New function.
(print_insn_arm): Use print_insn_coprocessor.  Remove coprocessor
format characters.
(print_insn_thumb32): Use print_insn_coprocessor.