external/binutils.git
18 years ago2006-03-01 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 1 Mar 2006 05:47:46 +0000 (05:47 +0000)]
2006-03-01  Randolph Chung  <tausq@debian.org>

* somread.c (som_symfile_read): Update comment and remove unneeded
use of a deprecated variable.

18 years ago2006-03-01 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 1 Mar 2006 05:43:03 +0000 (05:43 +0000)]
2006-03-01  Randolph Chung  <tausq@debian.org>

* hppa-tdep.h (unwind_table_entry): Update field names to match HP
runtime specification.
* hppa-tdep.c (internalize_unwinds, hppa_frame_cache): Likewise.
(unwind_command): Likewise.

18 years ago2006-03-01 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 1 Mar 2006 05:22:38 +0000 (05:22 +0000)]
2006-03-01  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_frame_cache): Handle Region_Description and
Pseudo_SP_Set in unwind record.

18 years ago2006-03-01 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 1 Mar 2006 05:19:13 +0000 (05:19 +0000)]
2006-03-01  Randolph Chung  <tausq@debian.org>

* hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Use
TDEP->is_elf to determine if we are working with a SOM binary.
(null_symtab_and_line): Remove unused variable.
* config/pa/hppa64.mt: Use tm-hppa.h.
* config/pa/tm-hppa64.h: Remove file.

18 years ago * f-typeprint.c (f_type_print_base): Delete the redundant space.
Wu Zhou [Wed, 1 Mar 2006 01:37:26 +0000 (01:37 +0000)]
* f-typeprint.c (f_type_print_base): Delete the redundant space.

18 years ago*** empty log message ***
gdbadmin [Wed, 1 Mar 2006 00:01:04 +0000 (00:01 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Tue, 28 Feb 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years agoAdd am33 linux signal frame support.
Kevin Buettner [Tue, 28 Feb 2006 22:38:04 +0000 (22:38 +0000)]
Add am33 linux signal frame support.

18 years ago * mn10300-tdep.c (mn10300_analyze_prologue): Implement backtrack
Kevin Buettner [Tue, 28 Feb 2006 22:28:21 +0000 (22:28 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue):  Implement backtrack
out of pattern match by saving relevant state.  Fix stack size
adjustment bug.

18 years ago* objcopy.c (use_alt_mach_code): Change type to unsigned long.
Nick Clifton [Tue, 28 Feb 2006 16:09:01 +0000 (16:09 +0000)]
* objcopy.c (use_alt_mach_code): Change type to unsigned long.
   (copy_object):  If bfd_alt_mach_code fails emit a more helpful message
   and if the target architecture is ELF use the alternative as replacement
   value for the e_machine number.
   (copy_main): Use strtoul to parse the number provided with the
   --alt-mach-code switch.
* doc/binutils.texi (--alt-mach-code): Document that this switch can now
    set the absolute e_machine value.

18 years agogas/
Jan Beulich [Tue, 28 Feb 2006 07:57:09 +0000 (07:57 +0000)]
gas/
2006-02-28  Jan Beulich  <jbeulich@novell.com>

* macro.c (get_any_string): Don't insert quotes for <>-quoted input.

gas/testsuite/
2006-02-28  Jan Beulich  <jbeulich@novell.com>

* gas/all/altmacro.s: Adjust.
* gas/all/altmac2.s: Adjust.

18 years agogas/
Jan Beulich [Tue, 28 Feb 2006 07:55:36 +0000 (07:55 +0000)]
gas/
2006-02-28  Jan Beulich  <jbeulich@novell.com>

PR/1070
* macro.c (getstring): Don't treat parentheses special anymore.
(get_any_string): Don't consider '(' and ')' as quoting anymore.
Special-case '(', ')', '[', and ']' when dealing with non-quoting
characters.

gas/testsuite/
2006-02-28  Jan Beulich  <jbeulich@novell.com>

* gas/macros/paren[sd]: New.
* gas/macros/macros.exp: Run new test.

18 years agold/testsuite/
Richard Sandiford [Tue, 28 Feb 2006 07:17:33 +0000 (07:17 +0000)]
ld/testsuite/
* ld-i386/vxworks1-lib.s, ld-i386/vxworks1-lib.dd,
* ld-i386/vxworks1-lib.rd, ld-i386/vxworks1.s, ld-i386/vxworks1.dd,
* ld-i386/vxworks1.rd, ld-i386/vxworks1.ld: New test.
* ld-i386/i386.exp: Run it.

18 years agobfd/
Richard Sandiford [Tue, 28 Feb 2006 07:16:12 +0000 (07:16 +0000)]
bfd/
* elf32-i386.c (elf_i386_link_hash_table): Add next_tls_desc_index.
(elf_i386_link_hash_table_create): Initialize it.
(elf_i386_compute_jump_table_size): Use it instead of
srelplt->reloc_count.
(allocate_dynrelocs): Likewise.
(elf_i386_size_dynamic_sections): Likewise.
(elf_i386_relocate_section): Likewise.

ld/testsuite/
* ld-i386/emit-relocs.s, ld-i386/emit-relocs.d: New test.
* ld-i386/i386.exp: Run it.

18 years agogdb/ChangeLog:
Alexandre Oliva [Tue, 28 Feb 2006 04:29:10 +0000 (04:29 +0000)]
gdb/ChangeLog:
* solib-svr4.h (struct link_map_offsets): Add l_ld_offset and
l_ld_size fields.
* solib-svr4.c (struct lm_info): Add l_addr field.
(LM_ADDR_FROM_LINK_MAP): Renamed from LM_ADDR.
(HAS_LM_DYNAMIC_FROM_LINK_MAP): New.
(LM_DYNAMIC_FROM_LINK_MAP): New.
(LM_ADDR_CHECK): New.  Use it instead of LM_ADDR.
(svr4_current_sos): Initialize l_addr.  Adjust.
(svr4_relocate_section_addresses): Adjust.
(svr4_ilp32_fetch_link_map_offsets): Define new members.
(svr4_lp64_fetch_link_map_offsets): Likewise.
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise.
* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Likewise.
(mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
* Makefile.in (solib-svr4.o): Depend on $(elf_bfd_h).
gdb/testsuite/ChangeLog:
* gdb.base/prelink.exp: New test.
* gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.

18 years ago * dwarf2dbg.c (get_filenum): Don't inadvertently decrease files_in_use.
Alan Modra [Tue, 28 Feb 2006 00:38:19 +0000 (00:38 +0000)]
* dwarf2dbg.c (get_filenum): Don't inadvertently decrease files_in_use.

18 years ago*** empty log message ***
gdbadmin [Tue, 28 Feb 2006 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

18 years agoFix up ChangeLog entry.
Jakub Jelinek [Mon, 27 Feb 2006 23:21:41 +0000 (23:21 +0000)]
Fix up ChangeLog entry.

18 years agobfd/
Jakub Jelinek [Mon, 27 Feb 2006 23:07:06 +0000 (23:07 +0000)]
bfd/
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Handle S flag.
(_bfd_elf_write_section_eh_frame): Likewise.
gas/
* dw2gencfi.c (struct fde_entry, struct cie_entry): Add signal_frame
field.
(CFI_signal_frame): Define.
(cfi_pseudo_table): Add .cfi_signal_frame.
(dot_cfi): Handle CFI_signal_frame.
(output_cie): Handle cie->signal_frame.
(select_cie_for_fde): Don't share CIE if signal_frame flag is
different.  Copy signal_frame from FDE to newly created CIE.
* doc/as.texinfo: Document .cfi_signal_frame.

18 years agodaily update
Alan Modra [Mon, 27 Feb 2006 23:00:08 +0000 (23:00 +0000)]
daily update

18 years agobfd/doc/
Carlos O'Donell [Mon, 27 Feb 2006 16:26:26 +0000 (16:26 +0000)]
bfd/doc/
2006-10-14  Carlos O'Donell  <carlos@codesourcery.com>

       * Makefile.am: Add html target.
       * Makefile.in: Regenerate.

bfd/
2006-10-14  Carlos O'Donell  <carlos@codesourcery.com>

       * po/Make-in: Add html target.

binutils/
2006-10-14  Carlos O'Donell  <carlos@codesourcery.com>

       * po/Make-in: Add html target.

gas/
2006-10-14  Carlos O'Donell  <carlos@codesourcery.com>

       * doc/Makefile.am: Add html target.
       * doc/Makefile.in: Regenerate.
       * po/Make-in: Add html target.

gprof/
2006-10-14  Carlos O'Donell  <carlos@codesourcery.com>

       * po/Make-in: Add html target.

ld/
2006-10-14  Carlos O'Donell  <carlos@codesourcery.com>

       * Makefile.am: Add html target.
       * Makefile.in: Regenerate.
       * po/Make-in: Add html target.

opcodes/
2006-10-14  Carlos O'Donell  <carlos@codesourcery.com>

       * po/Make-in: Add html target.

etc/
2006-10-14  Carlos O'Donell  <carlos@codesourcery.com>

       * Makefile.in: TEXI2HTML uses makeinfo. Define
       HTMLFILES. Add html targets.
       * configure.texi: Use ifnottex. Add alternative
       image format specifier as jpg.
       * standards.texi: Use ifnottex.

intl/
2006-10-14  Carlos O'Donell  <carlos@codesourcery.com>

       * intl/Makefile.in: Add html target.

18 years agogas/
H.J. Lu [Mon, 27 Feb 2006 15:35:37 +0000 (15:35 +0000)]
gas/

2006-02-27  H.J. Lu <hongjiu.lu@intel.com>

* gas/config/tc-i386.c (output_insn): Support Intel Merom New
Instructions.

* gas/config/tc-i386.h (CpuMNI): New.
(CpuUnknownFlags): Add CpuMNI.

gas/testsuite/

2006-02-27  H.J. Lu <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Add merom and x86-64-merom.

* gas/i386/merom.d: New file.
* gas/i386/merom.s: Likewise.
* gas/i386/x86-64-merom.d: Likewise.
* gas/i386/x86-64-merom.s: Likewise.

include/opcode/

2006-02-27  H.J. Lu <hongjiu.lu@intel.com>

* i386.h (i386_optab): Support Intel Merom New Instructions.

opcodes/

2006-02-27  H.J. Lu <hongjiu.lu@intel.com>

* i386-dis.c (IS_3BYTE_OPCODE): New for 3-byte opcodes used by
Intel Merom New Instructions.
(THREE_BYTE_0): Likewise.
(THREE_BYTE_1): Likewise.
(three_byte_table): Likewise.
(dis386_twobyte): Use THREE_BYTE_0 for entry 0x38. Use
THREE_BYTE_1 for entry 0x3a.
(twobyte_has_modrm): Updated.
(twobyte_uses_SSE_prefix): Likewise.
(print_insn): Handle 3-byte opcodes used by Intel Merom New
Instructions.

18 years ago * elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_symbol): Use the
Richard Sandiford [Mon, 27 Feb 2006 08:48:28 +0000 (08:48 +0000)]
* elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_symbol): Use the
cached hgot entry to check for _GLOBAL_OFFSET_TABLE_.
* elf32-arm.c (elf32_arm_finish_dynamic_symbol): Likewise.
* elf32-bfin.c (bfin_finish_dynamic_symbol): Likewise.
* elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise.
* elf32-hppa.c (elf32_hppa_finish_dynamic_symbol): Likewise.
* elf32-i386.c (elf_i386_finish_dynamic_symbol): Likewise.
* elf32-m32r.c (m32r_elf_finish_dynamic_symbol): Likewise.
* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Likewise.
* elf32-sh.c (sh_elf_finish_dynamic_symbol): Likewise.
* elf32-vax.c (elf_vax_finish_dynamic_symbol): Likewise.
* elf32-xtensa.c (elf_xtensa_finish_dynamic_symbol): Likewise.
* elf64-sh64.c (sh64_elf64_finish_dynamic_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likewise.
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Likewise.
* elf32-s390.c (elf_s390_finish_dynamic_symbol): Likewise.  Also use
the cached hplt entry to check for _PROCEDURE_LINKAGE_TABLE_.
* elf64-alpha.c (elf64_alpha_finish_dynamic_symbol): Likewise.
* elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.

18 years ago2006-02-26 David S. Miller <davem@sunset.davemloft.net>
David S. Miller [Mon, 27 Feb 2006 06:14:51 +0000 (06:14 +0000)]
2006-02-26  David S. Miller  <davem@sunset.davemloft.net>

* config/sparc/linux.mt (TDEPFILES): Add sol2-tdep.o.
* config/sparc/linux64.mt (TDEPFILES): Likewise.

18 years ago*** empty log message ***
gdbadmin [Mon, 27 Feb 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Correct return type.
Alan Modra [Sun, 26 Feb 2006 23:42:59 +0000 (23:42 +0000)]
* ppc-linux-nat.c (ppc_linux_insert_watchpoint): Correct return type.
(ppc_linux_remove_watchpoint): Likewise, and args.

18 years agodaily update
Alan Modra [Sun, 26 Feb 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago* i386obsd-tdep.c (i386obsd_trapframe_sniffer): Also recognize
Mark Kettenis [Sun, 26 Feb 2006 13:03:33 +0000 (13:03 +0000)]
* i386obsd-tdep.c (i386obsd_trapframe_sniffer): Also recognize
"soft" interrupts.

18 years agomissing from 2006-02-07 Nathan Sidwell <nathan@codesourcery.com> commit
Nathan Sidwell [Sun, 26 Feb 2006 10:00:30 +0000 (10:00 +0000)]
missing from 2006-02-07  Nathan Sidwell  <nathan@codesourcery.com> commit

18 years ago*** empty log message ***
gdbadmin [Sun, 26 Feb 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sat, 25 Feb 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years agobfd/
Richard Sandiford [Sat, 25 Feb 2006 09:23:30 +0000 (09:23 +0000)]
bfd/
* elf-bfd.h (elf_link_hash_table): Add hplt field.
* elflink.c (_bfd_elf_create_dynamic_sections): Initialize it.
* elf-m10300.c (_bfd_mn10300_elf_create_got_section): Likewise.
* elf32-frv.c (_frv_create_got_section): Likewise.
* elf32-m32r.c (m32r_elf_create_dynamic_sections): Likewise.
* elf32-sh.c (sh_elf_create_dynamic_sections): Likewise.
* elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise.
* elf64-sh64.c (sh64_elf64_create_dynamic_sections): Likewise.
* elf32-i386.c (elf_i386_link_hash_table): Remove hgot and hplt.
(elf_i386_link_hash_table_create): Don't initialize them.
(elf_i386_size_dynamic_sections): Use the generic ELF hplt and
hgot fields.
(elf_i386_finish_dynamic_symbol): Likewise.
* elf32-ppc.c (ppc_elf_link_hash_table): Remove hplt.
(ppc_elf_size_dynamic_sections): Use the generic ELF hplt fields.
(ppc_elf_finish_dynamic_symbol): Likewise.

18 years ago * gdb/defs.h: unconditionally include <fcntl.h>, and
Charles Wilson [Sat, 25 Feb 2006 04:36:39 +0000 (04:36 +0000)]
* gdb/defs.h: unconditionally include <fcntl.h>, and
ensure that O_BINARY is defined.
* gdb/solib.c(solib_open): ensure solib files are opened in
binary mode.
* gdb/corelow.c: Remove O_BINARY macro definition.
* gdb/exec.c: Remove O_BINARY macro definition
* gdb/remote-rdp.c: Remove O_BINARY macro definition
* gdb/source.c: Remove O_BINARY macro definition
* gdb/symfile.c: Remove O_BINARY macro definition

18 years ago2006-02-24 David S. Miller <davem@sunset.davemloft.net>
David S. Miller [Sat, 25 Feb 2006 01:36:12 +0000 (01:36 +0000)]
2006-02-24  David S. Miller  <davem@sunset.davemloft.net>

* gas/sparc/rdhpr.s: New test.
* gas/sparc/rdhpr.d: New test.
* gas/sparc/wrhpr.s: New test.
* gas/sparc/wrhpr.d: New test.
* gas/sparc/window.s: New test.
* gas/sparc/window.d: New test.
* gas/sparc/rdpr.s: Add case for reading %gl register.
* gas/sparc/rdpr.d: Likewise.
* gas/sparc/wrpr.s: Add case for writing %gl register.
* gas/sparc/wrpr.d: Likewise.
* gas/sparc/sparc.exp: Update for new tests.

18 years ago2006-02-24 David S. Miller <davem@sunset.davemloft.net>
David S. Miller [Sat, 25 Feb 2006 01:34:09 +0000 (01:34 +0000)]
2006-02-24  David S. Miller  <davem@sunset.davemloft.net>

* config/tc-sparc.c (priv_reg_table): Add entry for "gl".
(hpriv_reg_table): New table for hyperprivileged registers.
(sparc_ip): New cases '$' and '%' for wrhpr/rdhpr hyperprivileged
register encoding.

18 years ago2006-02-24 David S. Miller <davem@sunset.davemloft.net>
David S. Miller [Sat, 25 Feb 2006 01:33:24 +0000 (01:33 +0000)]
2006-02-24  David S. Miller  <davem@sunset.davemloft.net>

* sparc-dis.c (v9_priv_reg_names): Add "gl" entry.
(v9_hpriv_reg_names): New table.
(print_insn_sparc): Allow values up to 16 for '?' and '!'.
New cases '$' and '%' for read/write hyperprivileged register.
* sparc-opc.c (sparc_opcodes): Add new entries for UA2005
window handling and rdhpr/wrhpr instructions.

18 years ago*** empty log message ***
gdbadmin [Sat, 25 Feb 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2006-02-24 Randolph Chung <tausq@debian.org>
Randolph Chung [Fri, 24 Feb 2006 23:52:04 +0000 (23:52 +0000)]
2006-02-24  Randolph Chung  <tausq@debian.org>

        * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Initialize
argreg.
        * solib-som.c (som_solib_remove_inferior_hook): Remove unused
function.

18 years agodaily update
Alan Modra [Fri, 24 Feb 2006 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago[include/elf]
DJ Delorie [Fri, 24 Feb 2006 22:10:36 +0000 (22:10 +0000)]
[include/elf]
* m32c.h: Add relax relocs.

[cpu]
* m32c.cpu (RL_TYPE): New attribute, with macros.
(Lab-8-24): Add RELAX.
(unary-insn-defn-g, binary-arith-imm-dst-defn,
binary-arith-imm4-dst-defn): Add 1ADDR attribute.
(binary-arith-src-dst-defn): Add 2ADDR attribute.
(jcnd16-5, jcnd16, jcnd32, jmp16.s, jmp16.b, jmp16.w, jmp16.a,
jmp32.s, jmp32.b, jmp32.w, jmp32.a, jsr16.w, jsr16.a): Add JUMP
attribute.
(jsri16, jsri32): Add 1ADDR attribute.
(jsr32.w, jsr32.a): Add JUMP attribute.

[opcodes]
* m32c-desc.c: Regenerate with linker relaxation attributes.
* m32c-desc.h: Likewise.
* m32c-dis.c: Likewise.
* m32c-opc.c: Likewise.

[gas]
* config/tc-m32c.h (md_apply_fix): Define to m32c_apply_fix.
(tc_gen_reloc): Don't define.
* config/tc-m32c.c (rl_for, relaxable): New convenience macros.
(OPTION_LINKRELAX): New.
(md_longopts): Add it.
(m32c_relax): New.
(md_parse_options): Set it.
(md_assemble): Emit relaxation relocs as needed.
(md_convert_frag): Emit relaxation relocs as needed.
(md_cgen_lookup_reloc): Add LAB_8_8 and LAB_8_16.
(m32c_apply_fix): New.
(tc_gen_reloc): New.
(m32c_force_relocation): Force out jump relocs when relaxing.
(m32c_fix_adjustable): Return false if relaxing.

[bfd]
* elf32-m32c.c (m32c_elf_howto_table): Add relaxation relocs.
(m32c_elf_relocate_section): Don't relocate them.
(compare_reloc): New.
(relax_reloc): Remove.
(m32c_offset_for_reloc): New.
(m16c_addr_encodings): New.
(m16c_jmpaddr_encodings): New.
(m32c_addr_encodings): New.
(m32c_elf_relax_section): Relax jumps and address displacements.
(m32c_elf_relax_delete_bytes): Adjust for internal syms.  Fix up
short jumps.

* reloc.c: Add m32c relax relocs.
* libbfd.h: Regenerate.

18 years agoCheck in correct version of previous patch.
Paul Brook [Fri, 24 Feb 2006 17:09:33 +0000 (17:09 +0000)]
Check in correct version of previous patch.

18 years ago2006-02-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 24 Feb 2006 15:47:25 +0000 (15:47 +0000)]
2006-02-24  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2218
* elf-bfd.h (elf_backend_data): Add elf_backend_fixup_symbol.
(_bfd_elf_link_hash_fixup_symbol): New.

* elflink.c (_bfd_elf_link_hash_fixup_symbol): New.
(_bfd_elf_fix_symbol_flags): Call elf_backend_fixup_symbol if
it isn't NULL.

* elfxx-ia64.c (elf_backend_fixup_symbol): Defined.

* elfxx-target.h (elf_backend_fixup_symbol): New.
(elfNN_bed): Initialize elf_backend_fixup_symbol.

18 years ago2006-02-24 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 24 Feb 2006 15:36:36 +0000 (15:36 +0000)]
2006-02-24  Paul Brook  <paul@codesourcery.com>

gas/
* config/arm/tc-arm.c (arm_ext_v6_notm, arm_ext_div, arm_ext_v7,
arm_ext_v7a, arm_ext_v7r, arm_ext_v7m): New variables.
(struct asm_barrier_opt): Define.
(arm_v7m_psr_hsh, arm_barrier_opt_hsh): New variables.
(parse_psr): Accept V7M psr names.
(parse_barrier): New function.
(enum operand_parse_code): Add OP_oBARRIER.
(parse_operands): Implement OP_oBARRIER.
(do_barrier): New function.
(do_dbg, do_pli, do_t_barrier, do_t_dbg, do_t_div): New functions.
(do_t_cpsi): Add V7M restrictions.
(do_t_mrs, do_t_msr): Validate V7M variants.
(md_assemble): Check for NULL variants.
(v7m_psrs, barrier_opt_names): New tables.
(insns): Add V7 instructions.  Mark V6 instructions absent from V7M.
(md_begin): Initialize arm_v7m_psr_hsh and arm_barrier_opt_hsh.
(arm_cpu_option_table): Add Cortex-M3, R4 and A8.
(arm_arch_option_table): Add armv7, armv7a, armv7r and armv7m.
(struct cpu_arch_ver_table): Define.
(cpu_arch_ver): New.
(aeabi_set_public_attributes): Use cpu_arch_ver.  Set
Tag_CPU_arch_profile.
* doc/c-arm.texi: Document new cpu and arch options.
gas/testsuite/
* gas/arm/thumb32.d: Fix expected msr and mrs output.
* gas/arm/arch7.d: New test.
* gas/arm/arch7.s: New test.
* gas/arm/arch7m-bad.l: New test.
* gas/arm/arch7m-bad.d: New test.
* gas/arm/arch7m-bad.s: New test.
include/opcode/
* arm.h: Add V7 feature bits.
opcodes/
* arm-dis.c (arm_opcodes): Add V7 instructions.
(thumb32_opcodes): Ditto.  Handle V7M MSR/MRS variants.
(print_arm_address): New function.
(print_insn_arm): Use it.  Add 'P' and 'U' cases.
(psr_name): New function.
(print_insn_thumb32): Add 'U', 'C' and 'D' cases.

18 years ago * gdb.fortran/derived-type.f90: New file.
Wu Zhou [Fri, 24 Feb 2006 07:29:42 +0000 (07:29 +0000)]
* gdb.fortran/derived-type.f90: New file.
* gdb.fortran/derived-type.exp: New testcase.

18 years ago * f-exp.y: Symbol '%' is not used as the modulus operator in
Wu Zhou [Fri, 24 Feb 2006 07:26:10 +0000 (07:26 +0000)]
* f-exp.y: Symbol '%' is not used as the modulus operator in
Fortran.  Delete this from Fortran expression.
It is now used by Fortran 90 and later to access the member
of derived type.  Add this into Fortran expression.
* f-valprint.c (f_val_print): Add code to handle TYPE_CODE_STRUCT.
Print each elements in the derived type.
* f-typeprint.c (print_equivalent_f77_float_type): Add a parameter
level into the function definition to do indented printing.  And
call fprintfi_filtered instead to do indented printing.
(f_type_print_base): Replace fprintf_filtered with the indented
version (fprintfi_filtered).
(f_type_print_base): Call indented print_equivalent_f77_float_type.
(f_type_print_base): Add code to handle TYPE_CODE_STRUCT.  Print
the definition of the derived type.

18 years ago*** empty log message ***
gdbadmin [Fri, 24 Feb 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Thu, 23 Feb 2006 23:00:08 +0000 (23:00 +0000)]
daily update

18 years ago2006-02-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 23 Feb 2006 22:23:26 +0000 (22:23 +0000)]
2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* ld-pie/weakundef-data.c: Fix the typo.

18 years agobfd/
H.J. Lu [Thu, 23 Feb 2006 21:36:18 +0000 (21:36 +0000)]
bfd/

2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* cpu-ia64-opc.c (ins_immu5b): New.
(ext_immu5b): Likewise.
(elf64_ia64_operands): Add IMMU5b.

gas/

2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (operand_match): Handle IA64_OPND_IMMU5b.

gas/testsuite/

2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/opc-i.s: Add tests for tf.
* gas/ia64/pseudo.s: Likewise.
* gas/ia64/opc-i.d: Updated.
* gas/ia64/pseudo.d: Likewise.

include/opcode/

2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* ia64.h (ia64_opnd): Add IA64_OPND_IMMU5b.

opcodes/

2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* ia64-opc-i.c (bXc): New.
(mXc): Likewise.
(OpX2TaTbYaXcC): Likewise.
(TF). Likewise.
(TFCM). Likewise.
(ia64_opcodes_i): Add instructions for tf.

* ia64-opc.h (IMMU5b): New.

* ia64-asmtab.c: Regenerated.

18 years ago * gdb_curses.h: Provide a fallback prototype for tgetnum.
Daniel Jacobowitz [Thu, 23 Feb 2006 20:53:00 +0000 (20:53 +0000)]
* gdb_curses.h: Provide a fallback prototype for tgetnum.

18 years ago * doublest.h: Conditionalize DOUBLEST on PRINTF_HAS_LONG_DOUBLE
Daniel Jacobowitz [Thu, 23 Feb 2006 18:43:41 +0000 (18:43 +0000)]
* doublest.h: Conditionalize DOUBLEST on PRINTF_HAS_LONG_DOUBLE
also.
(DOUBLEST_FORMAT): Rename to DOUBLEST_PRINT_FORMAT.
(DOUBLEST_SCAN_FORMAT): New.
* ada-lex.l (PRINTF_HAS_LONG_DOUBLE): Remove redefinitions.
(processReal): Use DOUBLEST_SCAN_FORMAT.
* c-exp.y (parse_number): Likewise.
* jv-exp.y (parse_number): Likewise.
* objc-exp.y (parse_number): Likewise.
* p-exp.y (parse_number): Likewise.

18 years ago * event-top.c (async_do_nothing, async_disconnect)
Daniel Jacobowitz [Thu, 23 Feb 2006 18:37:42 +0000 (18:37 +0000)]
* event-top.c (async_do_nothing, async_disconnect)
(async_stop_sig, async_float_handler): Remove duplicated
prototypes.
(handle_sighup): Guard prototype with SIGHUP.
(async_do_nothing): Guard function and prototype with
SIGQUIT || SIGHUP.
(async_disconnect): Guard prototype with SIGHUP.
(async_stop_sig): Guard prototype with STOP_SIGNAL.

18 years ago * maint.c (maintenance_dump_me): Remove unnecessary prototype.
Daniel Jacobowitz [Thu, 23 Feb 2006 18:33:43 +0000 (18:33 +0000)]
* maint.c (maintenance_dump_me): Remove unnecessary prototype.

18 years ago * win32-termcap.c (tputs): Return 0.
Daniel Jacobowitz [Thu, 23 Feb 2006 18:28:34 +0000 (18:28 +0000)]
* win32-termcap.c (tputs): Return 0.

18 years ago * gdb.base/default.exp: Allow ';' as a directory separator.
Daniel Jacobowitz [Thu, 23 Feb 2006 18:24:34 +0000 (18:24 +0000)]
* gdb.base/default.exp: Allow ';' as a directory separator.

18 years ago * readline/terminal.c (_rl_get_screen_size): Get console size from
Daniel Jacobowitz [Thu, 23 Feb 2006 18:14:43 +0000 (18:14 +0000)]
* readline/terminal.c (_rl_get_screen_size): Get console size from
the Windows API when compiling with MinGW.

18 years agoUpdate copyright years.
H.J. Lu [Thu, 23 Feb 2006 14:49:32 +0000 (14:49 +0000)]
Update copyright years.

18 years ago * cris/traps.c (syscall_map): Remove CB_SYS_time / TARGET_SYS_time
Hans-Peter Nilsson [Thu, 23 Feb 2006 02:01:51 +0000 (02:01 +0000)]
* cris/traps.c (syscall_map): Remove CB_SYS_time / TARGET_SYS_time
mapping.
(cris_break_13_handler) <case TARGET_SYS_time>: New case.

18 years ago * sim/cris/c/time2.c: New test.
Hans-Peter Nilsson [Thu, 23 Feb 2006 02:01:09 +0000 (02:01 +0000)]
* sim/cris/c/time2.c: New test.

18 years agogas/
H.J. Lu [Thu, 23 Feb 2006 00:17:24 +0000 (00:17 +0000)]
gas/

2006-02-22  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (specify_resource): Add the rule 17 from
SDM 2.2.

gas/testsuite/

2006-02-22  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/dv-raw-err.s: Add check for vmsw.0.
* gas/ia64/dv-raw-err.l: Updated.

* gas/ia64/opc-b.s: Add vmsw.0 and vmsw.1.
* gas/ia64/opc-b.d: Updated.

opcodes/

2006-02-22  H.J. Lu  <hongjiu.lu@intel.com>

* ia64-gen.c (lookup_regindex): Handle ".vm".
(print_dependency_table): Handle '\"'.

* ia64-ic.tbl: Updated from SDM 2.2.
* ia64-raw.tbl: Likewise.
* ia64-waw.tbl: Likewise.
* ia64-asmtab.c: Regenerated.

* ia64-opc-b.c (ia64_opcodes_b): Add vmsw.0 and vmsw.1.

18 years ago*** empty log message ***
gdbadmin [Thu, 23 Feb 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Wed, 22 Feb 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago2006-02-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 22 Feb 2006 17:41:04 +0000 (17:41 +0000)]
2006-02-22  H.J. Lu  <hongjiu.lu@intel.com>

* ld-pie/pie.c: New file.

* ld-pie/pie.exp: Check if compiler supports -pie.

18 years ago2005-02-22 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 22 Feb 2006 15:03:30 +0000 (15:03 +0000)]
2005-02-22  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (do_pld): Remove incorrect write to
inst.instruction.
(encode_thumb32_addr_mode): Use correct operand.
gas/testsuite/
* gas/arm/thumb32.d: Fix expected pld opcode.

18 years ago*** empty log message ***
gdbadmin [Wed, 22 Feb 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Tue, 21 Feb 2006 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago* configure.ac: Introduce ---enable-werror, which adds -Werror to
Mark Kettenis [Tue, 21 Feb 2006 21:02:25 +0000 (21:02 +0000)]
* configure.ac: Introduce ---enable-werror, which adds -Werror to
the compiler command line.  Enabled by default.  Disable with
--disable-werror.
* configure regenerate.

18 years ago * elfread.c (elf_symtab_read): Skip symbols which BFD considers
Daniel Jacobowitz [Tue, 21 Feb 2006 20:38:48 +0000 (20:38 +0000)]
    * elfread.c (elf_symtab_read): Skip symbols which BFD considers
special.

18 years ago2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Tue, 21 Feb 2006 19:46:48 +0000 (19:46 +0000)]
2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>

* defs.h (directory_switch): Add prototype.
* main.c (captured_main): Use directory_switch() instead of
directory_command() to add directories from the -d switch.
* source.c (directory_switch): New function.
(add_path): Use buildargv() to parse spaces in filenames properly.
Strip multiple trailing '/' rather than just one.

18 years ago2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Tue, 21 Feb 2006 19:13:20 +0000 (19:13 +0000)]
2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>

* symfile.c (add_symbol_file_command): Use buildargv(), instead of
hand decoding the command line, to allow use of quotes and spaces.
(_initialize_symfile): Reorganize the help message for add-symbol-file
such that 'help files' shows a better message.

testsuite/
* gdb.base/help.exp (help add-symbol-file): Update.

18 years ago2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Tue, 21 Feb 2006 18:22:27 +0000 (18:22 +0000)]
2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>

* symfile.c (generic_load): Use buildargv() and tilde_expand()
to parse file names with quoting, spaces and tildes properly.
(load_command): Quote all special characters before calling
target_load() such that buildargv() doesn't break file names.
(_initialize_symfile): Mention the load offset in the help for
the load command.
* remote-sim.c: Include readline.h.
(gdbsim_load): Use buildargv and tilde_expand() to parse file
names with quoting, spaces and tildes properly.
* target.h (target_load): Comment the parameters better.
* Makefile.in (remote_sim.o): Add readline.h dependency.

testsuite/
* gdb.base/help.exp (help load): Update expected results.

18 years ago2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Tue, 21 Feb 2006 16:08:26 +0000 (16:08 +0000)]
2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>

* sh-tdep.c (sh_generic_show_regs): Reformat both code and output.
(sh3_show_regs, sh2e_show_regs, sh2a_show_regs): Likewise.
(sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs): Likewise.
(sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs): Likewise.

18 years ago2006-02-21 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 21 Feb 2006 15:13:54 +0000 (15:13 +0000)]
2006-02-21  Paul Brook  <paul@codesourcery.com>

* config/tc-arm.c (md_apply_fix): Fix off-by-one errors.

18 years agomerge from gcc
DJ Delorie [Tue, 21 Feb 2006 02:38:06 +0000 (02:38 +0000)]
merge from gcc

18 years agomerge from gcc
DJ Delorie [Tue, 21 Feb 2006 02:01:56 +0000 (02:01 +0000)]
merge from gcc

18 years ago PR ld/2218
Alan Modra [Tue, 21 Feb 2006 01:51:59 +0000 (01:51 +0000)]
PR ld/2218
* elf32-arm.c (allocate_dynrelocs): Ensure undef weak sym in pie
is dynamic.
* elf32-hppa.c (allocate_dynrelocs): Likewise.
* elf32-i386.c (allocate_dynrelocs): Likewise.
* elf32-s390.c (allocate_dynrelocs): Likewise.
* elf32-sh.c (allocate_dynrelocs): Likewise.
* elf64-s390.c (allocate_dynrelocs): Likewise.
* elf64-x86-64.c (allocate_dynrelocs): Likewise.
* elf32-m32r.c (allocate_dynrelocs): Likewise.  Discard relocs
on undef weak with non-default visibility too.
* elfxx-sparc.c (allocate_dynrelocs): Ditto.

18 years ago * bfd.c: (_bfd_default_error_handler): Don't call abort on
Alan Modra [Tue, 21 Feb 2006 00:14:49 +0000 (00:14 +0000)]
* bfd.c: (_bfd_default_error_handler): Don't call abort on
error, instead call _exit.
(_bfd_abort): Call _exit not xexit.

18 years ago*** empty log message ***
gdbadmin [Tue, 21 Feb 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2006-02-20 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 20 Feb 2006 20:11:00 +0000 (20:11 +0000)]
2006-02-20  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2218
* ld-pie/pie.exp: Add the weak undefined data test.

* ld-pie/weakundef-data.c: New file.

18 years ago * linux-nat.c (lin_thread_get_thread_signals): Default to __SIGRTMIN
Daniel Jacobowitz [Mon, 20 Feb 2006 17:01:28 +0000 (17:01 +0000)]
* linux-nat.c (lin_thread_get_thread_signals): Default to __SIGRTMIN
and __SIGRTMIN + 1.

18 years ago * remote.c: Add an enumeration for configurable remote
Daniel Jacobowitz [Mon, 20 Feb 2006 15:19:06 +0000 (15:19 +0000)]
* remote.c: Add an enumeration for configurable remote
packets.
(remote_protocol_packets, set_remote_protocol_packet_cmd)
(show_remote_protocol_packet_cmd): New.
(remote_protocol_vcont)
(set_remote_protocol_vcont_packet_cmd)
(show_remote_protocol_vcont_packet_cmd)
(remote_protocol_qSymbol)
(set_remote_protocol_qSymbol_packet_cmd)
(show_remote_protocol_qSymbol_packet_cmd)
(remote_protocol_P, set_remote_protocol_P_packet_cmd)
(show_remote_protocol_P_packet_cmd)
(remote_protocol_Z)
(set_remote_protocol_Z_software_bp_packet_cmd)
(show_remote_protocol_Z_software_bp_packet_cmd)
(set_remote_protocol_Z_hardware_bp_packet_cmd)
(show_remote_protocol_Z_hardware_bp_packet_cmd)
(set_remote_protocol_Z_write_wp_packet_cmd)
(show_remote_protocol_Z_write_wp_packet_cmd)
(set_remote_protocol_Z_read_wp_packet_cmd)
(show_remote_protocol_Z_read_wp_packet_cmd)
(set_remote_protocol_Z_access_wp_packet_cmd)
(show_remote_protocol_Z_access_wp_packet_cmd)
(remote_protocol_binary_download)
(set_remote_protocol_binary_download_cmd)
(show_remote_protocol_binary_download_cmd)
(remote_protocol_qPart_auxv)
(set_remote_protocol_qPart_auxv_packet_cmd)
(show_remote_protocol_qPart_auxv_packet_cmd)
(remote_protocol_qGetTLSAddr)
(set_remote_protocol_qGetTLSAddr_packet_cmd)
(show_remote_protocol_qGetTLSAddr_packet_cmd)
(remote_protocol_p)
(set_remote_protocol_p_packet_cmd)
(show_remote_protocol_p_packet_cmd): Delete.

(init_all_packet_configs): Simplify.
(set_remote_protocol_Z_packet_cmd)
(show_remote_protocol_Z_packet_cmd)
(remote_check_symbols, remote_vcont_probe, remote_vcont_resume)
(remote_fetch_registers, remote_prepare_to_store)
(remote_store_registers, check_binary_download)
(remote_write_bytes, remote_insert_breakpoint)
(remote_remove_breakpoint, remote_insert_watchpoint)
(remote_remove_watchpoint, remote_insert_hw_breakpoint)
(remote_remove_hw_breakpoint, remote_xfer_partial)
(remote_get_thread_local_address): Update for packet array.
(_initialize_remote): Likewise; also update for common
set/show commands.

18 years ago * symfile.c (place_section): Correct retry logic.
Daniel Jacobowitz [Mon, 20 Feb 2006 15:02:10 +0000 (15:02 +0000)]
* symfile.c (place_section): Correct retry logic.

18 years ago2006-02-20 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 20 Feb 2006 08:34:53 +0000 (08:34 +0000)]
2006-02-20  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/25670

* Makefile.tpl ([+compare-target+]): Print explanation messages.

* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.

* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.

* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`.  Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.

* Makefile.in: Regenerate.
* configure: Regenerate.

18 years ago* win32_nat.c (cygwin_load_start): New variable.
Christopher Faylor [Mon, 20 Feb 2006 05:10:51 +0000 (05:10 +0000)]
* win32_nat.c (cygwin_load_start): New variable.
(cygwin_load_end): Ditto.
(have_saved_context): Ditto.
(saved_context): Ditto.
(max_dll_name_len): Delete obsolete variable.
(do_win32_fetch_inferior_registers): Use context saved from cygwin1.dll if we
are in a cygwin signal rather than a windows signal.
(solib_symbols_add): Detect and store beginning and end of cygwin DLL if dll
being loaded is the cygwin DLL.
(register_loaded_dll): Remove calculation of max_dll_name_len.
(win32_clear_solib): Ditto.
(handle_load_dll): Delete obsolete variable.  Remove unneeded call to
solib_add.
(handle_output_debug_string): Detect and store signal information sent by
Cygwin here.
(handle_exception): Silently pass on errors in the cygwin DLL.  Return -1 on
first pass exception.
(win32_continue): Remove spurious clearing of continue_status.
(get_win32_debug_event): Deal differently first chance exception.

18 years ago*** empty log message ***
gdbadmin [Mon, 20 Feb 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 19 Feb 2006 23:00:07 +0000 (23:00 +0000)]
daily update

18 years agoReviewed and approved by Daniel Jacobowitz
Fred Fish [Sun, 19 Feb 2006 20:53:34 +0000 (20:53 +0000)]
Reviewed and approved by Daniel Jacobowitz

2006-02-19  Fred Fish  <fnf@specifix.com>
* gdb.base/pc-fp.exp (get_valueofx): Don't print environment
specifix hex value as part of results.
* gdb.base/shreloc.exp (get_msym_addrs): Ditto.

18 years ago2006-02-19 Randolph Chung <tausq@debian.org>
Randolph Chung [Sun, 19 Feb 2006 07:21:26 +0000 (07:21 +0000)]
2006-02-19  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_in_solib_call_trampoline): Only use if no
unwind entry.

18 years ago*** empty log message ***
gdbadmin [Sun, 19 Feb 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sat, 18 Feb 2006 23:00:08 +0000 (23:00 +0000)]
daily update

18 years ago 2006-02-16 Fred Fish <fnf@specifix.com>
Fred Fish [Sat, 18 Feb 2006 20:47:54 +0000 (20:47 +0000)]
2006-02-16  Fred Fish  <fnf@specifix.com>
* eval.c (evaluate_subexp_standard):  For OP_TYPE, return
a non lval value zero, of the appropriate type, when avoiding
side effects.
* typeprint.c (ptype_eval): Remove function and declaration.
(ptype_command): Simplify to just a call to whatis_exp.

18 years ago 2006-02-17 Fred Fish <fnf@specifix.com>
Fred Fish [Sat, 18 Feb 2006 20:45:01 +0000 (20:45 +0000)]
2006-02-17  Fred Fish  <fnf@specifix.com>
* gdb.texinfo (Symbols): Update descriptions of 'whatis' and
'ptype' commands to reflect the fact that the only significant
difference between them is that ptype prints the complete type
description instead of just the name.

18 years ago 2006-02-16 Fred Fish <fnf@specifix.com>
Fred Fish [Sat, 18 Feb 2006 20:01:17 +0000 (20:01 +0000)]
2006-02-16  Fred Fish  <fnf@specifix.com>
* gdb.base/whatis.c: Define variables using typedefs char_addr,
ushort_addr, and slong_addr, so the typedefs are not optimized
away.
* gdb.base/whatis.exp: Add tests using type name for struct type,
union type, enum type, and typedef.

18 years ago*** empty log message ***
gdbadmin [Sat, 18 Feb 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Fri, 17 Feb 2006 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago * elf32-frv.c (elf32_frv_grok_prstatus, elf32_frv_grok_psinfo):
Kevin Buettner [Fri, 17 Feb 2006 18:08:00 +0000 (18:08 +0000)]
* elf32-frv.c (elf32_frv_grok_prstatus, elf32_frv_grok_psinfo):
New functions.
* elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define.

18 years agoAdd support for the Infineon XC16X.
Nick Clifton [Fri, 17 Feb 2006 14:36:28 +0000 (14:36 +0000)]
Add support for the Infineon XC16X.

18 years ago * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
Nick Hudson [Fri, 17 Feb 2006 12:58:46 +0000 (12:58 +0000)]
* readelf.c (get_machine_flags): Add logic for missing EF_SH flags.

18 years ago * elf32-ppc.c (allocate_dynrelocs): Tweak undef weak handling.
Alan Modra [Fri, 17 Feb 2006 12:52:58 +0000 (12:52 +0000)]
* elf32-ppc.c (allocate_dynrelocs): Tweak undef weak handling.
* elf64-ppc.c (allocate_dynrelocs): Likewise.

18 years ago PR ld/2218
Alan Modra [Fri, 17 Feb 2006 04:49:34 +0000 (04:49 +0000)]
PR ld/2218
* elf64-ppc.c (allocate_dynrelocs): Ensure undef weak sym is
dynamic.
(ppc64_elf_relocate_section): Check output reloc section size.
* elf32-ppc.c (allocate_dynrelocs): Simplify undef weak test.