OSDN Git Service
gdbadmin [Thu, 8 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 7 Feb 2007 23:00:08 +0000 (23:00 +0000)]
daily update
drow [Wed, 7 Feb 2007 22:51:36 +0000 (22:51 +0000)]
* xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)
(xml_cache): New.
(tdesc_parse_xml): Cache expanded descriptions.
drow [Wed, 7 Feb 2007 22:48:05 +0000 (22:48 +0000)]
* Makefile.in (XMLFILES): New.
(COMMON_OBS): Add xml-builtin.o.
(xml-builtin.c, stamp-xml): New rules.
(xml-tdesc.o): Update.
* features/feature_to_c.sh: New file.
* xml-support.c (MAX_XINCLUDE_DEPTH): Define.
(struct gdb_xml_parser): Add dtd_name and is_xinclude.
(gdb_xml_start_element): Initialize scope after possibly reallocating
scopes. Move cleanup later. Handle the XInclude description
specially.
(gdb_xml_end_element): Only parse the body if there is a current element.
Call XML_DefaultCurrent if there is no element.
(gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New.
(struct xinclude_parsing_data, xinclude_start_include)
(xinclude_end_include, xml_xinclude_default)
(xml_xinclude_start_doctype, xml_xinclude_end_doctype)
(xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes)
(xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New.
* xml-support.h (xml_fetch_another, xml_process_xincludes)
(fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations.
* xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand
XInclude directives. Use the compiled in DTD.
(fetch_xml_from_file): Add baton argument. Treat it as a containing
directory name. Do not warn here.
(file_read_description_xml): Update call. Warn here instead. Pass
a dirname as baton.
(fetch_available_features_from_target): New.
(target_read_description_xml): Use it.
* features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd
to handle XInclude.
* features/xinclude.dtd: New file.
* gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
* gdb.texinfo (Target Description Format): Add section on XInclude.
corinna [Wed, 7 Feb 2007 20:44:04 +0000 (20:44 +0000)]
* cygmalloc.h (MALLOC_FAILURE_ACTION): Move to correct #if branch.
brolley [Wed, 7 Feb 2007 19:59:36 +0000 (19:59 +0000)]
Remove some scaffolding which was inadvertently commited.
brolley [Wed, 7 Feb 2007 19:54:08 +0000 (19:54 +0000)]
2007-02-07 Dave Brolley <brolley@redhat.com>
* rebuild.mk (all-binutils,all-gas,all-ld): Depend on
mep-reconfig-opcodes.
brolley [Wed, 7 Feb 2007 19:47:50 +0000 (19:47 +0000)]
2007-02-07 Dave Brolley <brolley@redhat.com>
* rebuild.mk: Remove scaffolding for gcc and gdb.
corinna [Wed, 7 Feb 2007 17:22:39 +0000 (17:22 +0000)]
* cygmalloc.h (MALLOC_FAILURE_ACTION): Define empty.
* cygwin.din (posix_madvise): Export.
(posix_memalign): Export.
* fhandler.cc (fhandler_base::fpathconf): Return useful values in
_PC_VDISABLE, _PC_SYNC_IO and _PC_SYMLINK_MAX cases.
* malloc_wrapper.cc (malloc): Set errno here since it's not set in
dlmalloc.c anymore.
(realloc): Ditto.
(calloc): Ditto.
(memalign): Ditto.
(valloc): Ditto.
(posix_memalign): New function.
* mmap.cc (posix_madvise): New function.
* sysconf.cc (get_open_max): New function.
(get_page_size): Ditto.
(get_nproc_values): Ditto.
(get_avphys): Ditto.
(sc_type): New type.
(sca): New array to map _SC_xxx options to sysconf return values.
(sysconf): Reimplement using sca array.
* include/limits.h: Add all missing values as defined by SUSv3.
* include/pthread.h (PTHREAD_DESTRUCTOR_ITERATIONS): Move definition
to sys/limits.h.
(PTHREAD_KEYS_MAX): Ditto.
* include/semaphore.h (SEM_VALUE_MAX): Ditto.
* include/cygwin/stdlib.h (posix_memalign): Declare.
* include/cygwin/version.h: Bump API minor number.
* include/sys/mman.h: Add posix_madvise flags.
(posix_madvise): Declare.
* include/sys/termios.h (_POSIX_VDISABLE): Move definition to
sys/limits.h.
corinna [Wed, 7 Feb 2007 17:19:34 +0000 (17:19 +0000)]
* libc/include/sys/features.h: Add definition of all supported
_POSIX_xxx values for Cygwin.
* libc/include/sys/types.h (pthread_rwlock_t): Omit definition
on Cygwin.
(pthread_rwlockattr_t): Ditto.
* libc/include/sys/unistd.h: Define all _SC_xxx values as
required by SUSv3. Unify formatting.
pbrook [Wed, 7 Feb 2007 17:06:19 +0000 (17:06 +0000)]
2007-02-07 Paul Brook <paul@codesourcery.com>
ld/
* configure.tgt: Add arm*-*-uclinux-*eabi.
gas/
* configure.tgt: Ditto.
brolley [Wed, 7 Feb 2007 16:55:29 +0000 (16:55 +0000)]
Add myself as maintainer of the MeP port.
gdbadmin [Wed, 7 Feb 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 6 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update
brolley [Tue, 6 Feb 2007 21:00:12 +0000 (21:00 +0000)]
Add myself as the maintainer of the MeP port.
brolley [Tue, 6 Feb 2007 19:51:33 +0000 (19:51 +0000)]
Fix entries for MeP submission.
brolley [Tue, 6 Feb 2007 18:57:08 +0000 (18:57 +0000)]
Fix entries for MeP submission.
brolley [Tue, 6 Feb 2007 18:53:45 +0000 (18:53 +0000)]
Fix entries for MeP submission and complex relocations.
brolley [Tue, 6 Feb 2007 18:16:55 +0000 (18:16 +0000)]
Fix entries for MeP submission.
brolley [Tue, 6 Feb 2007 18:10:34 +0000 (18:10 +0000)]
Fix entries for MeP port and complex relocations.
nickc [Tue, 6 Feb 2007 16:47:47 +0000 (16:47 +0000)]
Add missing cast to (unsigned long)
hjl [Tue, 6 Feb 2007 16:03:52 +0000 (16:03 +0000)]
2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (lang_size_sections_1): Add a missing `)'.
nickc [Tue, 6 Feb 2007 15:26:53 +0000 (15:26 +0000)]
PR ld/3805
* ld-elf/sec64k.exp: Expect the relocatable version of this test to fail for
the m32r because it creates both .rel and .rela sections.
nickc [Tue, 6 Feb 2007 15:15:12 +0000 (15:15 +0000)]
PR gas/3800
* readelf.c: Include elf/h8.h twice. The first time in order to get the reloc
numbers, the second time in order to get the reloc decoder function.
(dump_section): Tell the user if the section being displayed has unprocessed
relocs associated with it.
(get_reloc_size): New function - returns the size of a reloc.
(debug_apply_rela_addends): Use get_reloc_size().
* dwarf.c (read_and_display_attr_value): Extend number of languages known for
the DW_AT_language attribute.
(process_debug_info): Display the attribute offset before decoding the
attribute, in case there are problems.
nickc [Tue, 6 Feb 2007 15:13:26 +0000 (15:13 +0000)]
PR gas/3810 gas/3800
* gas/elf/elf.exp: Expect the redef test to fail on targets which do not
convert fixups against ordinary symbols into relocs against section symbols.
* gas/all/gas.exp: Likewise.
nickc [Tue, 6 Feb 2007 14:50:58 +0000 (14:50 +0000)]
Fix comment attached to #endif
amodra [Tue, 6 Feb 2007 13:56:38 +0000 (13:56 +0000)]
* ldlang.c (lang_size_sections_1): Don't warn on backwards dot
move unless section size is non-zero.
gdbadmin [Tue, 6 Feb 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
brolley [Mon, 5 Feb 2007 23:15:38 +0000 (23:15 +0000)]
2007-02-05 Dave Brolley <brolley@redhat.com>
Stan Cox <scox@redhat.com>
PR ld/3972
* elflink.c (elf_link_input_bfd): Always setup finfo->internal_syms.
amodra [Mon, 5 Feb 2007 23:00:10 +0000 (23:00 +0000)]
daily update
hjl [Mon, 5 Feb 2007 20:53:09 +0000 (20:53 +0000)]
Remove white spaces at the end of line.
brolley [Mon, 5 Feb 2007 20:37:29 +0000 (20:37 +0000)]
Support for Toshiba MeP.
brolley [Mon, 5 Feb 2007 20:34:31 +0000 (20:34 +0000)]
2007-02-05 Dave Brolley <brolley@redhat.com>
* Makefile.def: Add support for mep.
* configure.ac: Likewise.
* Makefile.in: Regenerated.
* configure: Regenerated.
* Contribute the following changes:
2001-07-06 DJ Delorie <dj@redhat.com>
* mep: New subdirectory and contents.
brolley [Mon, 5 Feb 2007 20:28:38 +0000 (20:28 +0000)]
Support for Toshiba MeP.
brolley [Mon, 5 Feb 2007 20:16:32 +0000 (20:16 +0000)]
Support for Toshiba MeP.
brolley [Mon, 5 Feb 2007 20:10:23 +0000 (20:10 +0000)]
Support for Toshiba MeP and for complex relocations.
brolley [Mon, 5 Feb 2007 20:04:21 +0000 (20:04 +0000)]
2007-02-05 Dave Brolley <brolley@redhat.com>
* mep-*: New support for Toshiba Media Processor (MeP).
* Makefile.am: Add support for MeP.
* configure.in: Likewise.
* disassemble.c: Likewise.
* Makefile.in: Regenerated.
* configure: Regenerated.
drow [Mon, 5 Feb 2007 20:02:50 +0000 (20:02 +0000)]
* linux-thread-db.c (check_for_thread_db): Return early if we have
no libthread_db support.
brolley [Mon, 5 Feb 2007 19:56:32 +0000 (19:56 +0000)]
2007-02-05 Dave Brolley <brolley@redhat.com>
* readelf.c (dump_relocations): Don't check for
(rtype == NULL && type == R_RELC).
2007-02-05 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2003-10-29 Dave Brolley <brolley@redhat.com>
* configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
* configure: Regenerated.
2001-04-03 Ben Elliston <bje@redhat.com>
* readelf.c: Include "elf/mep.h".
(guess_is_rela): Handle EM_CYGNUS_MEP.
(get_machine_name): Ditto.
(dump_relocations): Ditto.
brolley [Mon, 5 Feb 2007 19:55:14 +0000 (19:55 +0000)]
Add correct entrty for the addition of MeP.
brolley [Mon, 5 Feb 2007 19:50:11 +0000 (19:50 +0000)]
Support for Toshiba MeP and for complex relocations.
hjl [Mon, 5 Feb 2007 19:49:22 +0000 (19:49 +0000)]
Fix year.
brolley [Mon, 5 Feb 2007 19:46:38 +0000 (19:46 +0000)]
2007-02-05 Dave Brolley <brolley@redhat.com>
* *mep*: New cpu description for Toshiba Media Processor (MeP).
brolley [Mon, 5 Feb 2007 19:43:30 +0000 (19:43 +0000)]
2007-02-05 Dave Brolley <brolley@redhat.com>
* opc-asmdis.scm (-gen-init-asm-fn): Include CGEN_ASM_INIT_HOOK
in the generated code for @arch@_cgen_init_asm if it is defined.
* Contribute the following changes:
2005-04-05 Richard Sandiford <rsandifo@redhat.com>
* attr.scm (<string-attribute>): New attribute class.
(attr-kind): Handle <string-attribute>.
(parse-simple-attribute): New function.
(<boolean-attribute> 'parse-value): Use parse-simple-attribute.
(<bitset-attribute> 'parse-value): Likewise.
(<boolean-attribute> 'parse-value): Likewise.
(<enum-attribute> 'parse-value): Likewise.
(<string-attribute> 'parse-value): New function.
(-attr-parse): Handle <string-attribute>.
(-attr-read): Likewise.
(<string-attribute> 'gen-value-for-defn-raw): New function.
(<string-attribute> 'gen-value-for-defn): New function.
hjl [Mon, 5 Feb 2007 19:37:12 +0000 (19:37 +0000)]
Fix year in entries.
brolley [Mon, 5 Feb 2007 19:17:10 +0000 (19:17 +0000)]
2007-02-05 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2001-03-26 Ben Elliston <bje@redhat.com>
* dis-asm.h (print_insn_mep): Declare.
brolley [Mon, 5 Feb 2007 19:15:43 +0000 (19:15 +0000)]
2007-02-05 Dave Brolley <brolley@redhat.com>
* Contribute the following Changes:
2005-08-22 Dave Brolley <brolley@redhat.com>
* mep.h (EF_MEP_CPU_C4): New macro.
(EF_MEP_CPU_H1): Change to 0x10000000.
2005-04-22 Richard Sandiford <rsandifo@redhat.com>
* mep.h (EF_MEP_LIBRARY): New flag.
(EF_MEP_ALL_FLAGS): Update accordingly.
2004-06-21 Dave Brolley <brolley@redhat.com>
* mep.h (EF_MEP_CPU_MASK, EF_MEP_CPU_MEP, EF_MEP_CPU_C2)
(EF_MEP_CPU_C3, EF_MEP_CPU_H1, EF_MEP_INDEX_MASK)
(EF_MEP_ALL_FLAGS): New macros.
2001-09-28 Richard Henderson <rth@redhat.com>
* mep.h (SHF_MEP_VLIW, SEC_MEP_VLIW): New.
2001-07-12 DJ Delorie <dj@redhat.com>
* mep.h (R_MEP_GNU_VTINHERIT, R_MEP_GNU_VTENTRY): Mark as no-overflow.
2001-06-25 DJ Delorie <dj@redhat.com>
* mep.h: Add vtable relocs.
2001-05-10 DJ Delorie <dj@redhat.com>
* mep.h: Fix bit offsets for HI16*, make them no-overflow. Add
comment about mep-relocs.pl.
2001-05-01 DJ Delorie <dj@redhat.com>
* mep.h: Add MeP-specific relocs.
2001-03-22 Ben Elliston <bje@redhat.com>
* mep.h: New file.
2001-03-20 Ben Elliston <bje@redhat.com>
* common.h (EM_CYGNUS_MEP): Define.
brolley [Mon, 5 Feb 2007 19:15:07 +0000 (19:15 +0000)]
2007-02-05 Dave Brolley <brolley@redhat.com>
* Contribute the following Changes:
2005-08-22 Dave Brolley <brolley@redhat.com>
* mep.h (EF_MEP_CPU_C4): New macro.
(EF_MEP_CPU_H1): Change to 0x10000000.
2005-04-22 Richard Sandiford <rsandifo@redhat.com>
* mep.h (EF_MEP_LIBRARY): New flag.
(EF_MEP_ALL_FLAGS): Update accordingly.
2004-06-21 Dave Brolley <brolley@redhat.com>
* mep.h (EF_MEP_CPU_MASK, EF_MEP_CPU_MEP, EF_MEP_CPU_C2)
(EF_MEP_CPU_C3, EF_MEP_CPU_H1, EF_MEP_INDEX_MASK)
(EF_MEP_ALL_FLAGS): New macros.
2001-09-28 Richard Henderson <rth@redhat.com>
* mep.h (SHF_MEP_VLIW, SEC_MEP_VLIW): New.
2001-07-12 DJ Delorie <dj@redhat.com>
* mep.h (R_MEP_GNU_VTINHERIT, R_MEP_GNU_VTENTRY): Mark as no-overflow.
2001-06-25 DJ Delorie <dj@redhat.com>
* mep.h: Add vtable relocs.
2001-05-10 DJ Delorie <dj@redhat.com>
* mep.h: Fix bit offsets for HI16*, make them no-overflow. Add
comment about mep-relocs.pl.
2001-05-01 DJ Delorie <dj@redhat.com>
* mep.h: Add MeP-specific relocs.
2001-03-22 Ben Elliston <bje@redhat.com>
* mep.h: New file.
2001-03-20 Ben Elliston <bje@redhat.com>
* common.h (EM_CYGNUS_MEP): Define.
2007-02-15 Dave Brolley <brolley@redhat.com>
From Graydon Hoare <graydon@redhat.com>:
* common.h (STT_RELC, STT_SRELC, R_RELC): New macros.
brolley [Mon, 5 Feb 2007 19:12:53 +0000 (19:12 +0000)]
2007-02-05 Dave Brolley <brolley@redhat.com>
* mt-mep: New.
brolley [Mon, 5 Feb 2007 19:10:45 +0000 (19:10 +0000)]
2007-02-05 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2006-11-28 DJ Delorie <dj@redhat.com>
* configure.in: Fix typo for mep's target_makefile_frag.
* configure: Regenerated.
2005-04-22 Richard Sandiford <rsandifo@redhat.com>
* configure.in (mep*): Add -mlibrary to FLAGS_FOR_TARGET.
* configure: Regenerate.
2001-09-19 DJ Delorie <dj@redhat.com>
* configure.in (target_makefile_frag): use mt-mep
2001-06-12 Don Howard <dhoward@redhat.com>
* configure.in: Remove gdb from MeP skip list.
2001-04-05 DJ Delorie <dj@redhat.com>
* configure.in (noconfigdirs): Remove gcc from MeP skip list.
2001-03-20 Ben Elliston <bje@redhat.com>
* configure.in (noconfigdirs): Add gcc and gdb for MeP.
2001-03-19 Ben Elliston <bje@redhat.com>
* config.sub (mep, mep-*): Add.
hjl [Mon, 5 Feb 2007 18:22:48 +0000 (18:22 +0000)]
ld/testsuite/
2076-02-05 H.J. Lu <hongjiu.lu@intel.com>
* ld-i386/pcrel16.d: Undo the last change.
* ld-x86-64/pcrel16.d: Likewise.
opcodes/
2076-02-05 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OP_J): Undo the last change. Properly handle 64K
wrap around within the same segment in 16bit mode.
bwilson [Mon, 5 Feb 2007 17:42:38 +0000 (17:42 +0000)]
* elf32-xtensa.c (elf_xtensa_make_sym_local): Delete.
(elf_xtensa_hide_symbol, elf_backend_hide_symbol): Delete.
(elf_xtensa_fix_refcounts, elf_xtensa_allocate_plt_size)
(elf_xtensa_allocate_got_size): Replace these with...
(elf_xtensa_allocate_dynrelocs): ...this new function.
(elf_xtensa_size_dynamic_sections): Use it.
bwilson [Mon, 5 Feb 2007 17:18:38 +0000 (17:18 +0000)]
* elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT>
<R_XTENSA_JMP_SLOT, R_XTENSA_RELATIVE, R_XTENSA_PLT, R_XTENSA_DIFF32>:
Set src_mask to zero.
<R_XTENSA_DIFF8, R_XTENSA_DIFF16>: Likewise. Also fix dst_mask.
<R_XTENSA_ASM_EXPAND>: Set pcrel_offset to TRUE.
drow [Mon, 5 Feb 2007 13:22:15 +0000 (13:22 +0000)]
* mi/mi-parse.h: Include <sys/time.h>.
corinna [Mon, 5 Feb 2007 12:32:21 +0000 (12:32 +0000)]
* fhandler_serial.cc (fhandler_serial::tcsetattr): Add support for
baud rates up to
3000000 baud. Add missing 128K and 256K cases.
(fhandler_serial::tcgetattr): Ditto.
* include/sys/termios.h: Add baud rate definitions from
B460800 up to
B3000000.
hjl [Mon, 5 Feb 2007 02:36:46 +0000 (02:36 +0000)]
2076-02-04 H.J. Lu <hongjiu.lu@intel.com>
PR gas/3961
* gas/i386/secrel.d: Support 64bit host.
gdbadmin [Mon, 5 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 4 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update
nickrob [Sun, 4 Feb 2007 20:57:26 +0000 (20:57 +0000)]
*** empty log message ***
nickrob [Sun, 4 Feb 2007 20:57:05 +0000 (20:57 +0000)]
*** empty log message ***
dj [Sun, 4 Feb 2007 04:45:36 +0000 (04:45 +0000)]
* config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
byte relocs.
* config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
(m32c_cons_fix_new): Prototype.
gdbadmin [Sun, 4 Feb 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 3 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update
bwilson [Sat, 3 Feb 2007 06:34:22 +0000 (06:34 +0000)]
* elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to...
(elf_xtensa_dynamic_symbol_p): ...this.
bwilson [Sat, 3 Feb 2007 06:24:59 +0000 (06:24 +0000)]
* elf32-xtensa.c (plt_reloc_count): Move into link hash table.
(struct elf_xtensa_link_hash_table): New.
(elf_xtensa_hash_table): New.
(elf_xtensa_link_hash_table_create): New.
(elf_xtensa_check_relocs): Update plt_reloc_count references.
Update arguments to add_extra_plt_sections.
(elf_xtensa_create_dynamic_sections): Record new sections in the hash
table. Update for plt_reloc_count and add_extra_plt_sections.
(add_extra_plt_sections, elf_xtensa_create_plt_entry): Replace dynobj
argument with link info. Update calls to elf_xtensa_get_plt_section
and elf_xtensa_get_gotplt_section.
(elf_xtensa_allocate_local_got_size, elf_xtensa_size_dynamic_sections)
(elf_xtensa_relocate_section, elf_xtensa_finish_dynamic_sections)
(elf_xtensa_discard_info_for_section, shrink_dynamic_reloc_sections)
(relax_property_section): Get sections from the hash table and update
function calls.
(elf_xtensa_get_plt_section, elf_xtensa_get_gotplt_section): Replace
dynobj argument with link info. Get sections for first plt chunk from
the hash table.
(bfd_elf32_bfd_link_hash_table_create): Define.
nickrob [Sat, 3 Feb 2007 05:41:46 +0000 (05:41 +0000)]
*** empty log message ***
nickrob [Sat, 3 Feb 2007 05:41:15 +0000 (05:41 +0000)]
Numerous formatting changes.
(mi_cmd_data_write_register_values): Replace clause inadvertantly
removed in my previous change.
nickrob [Sat, 3 Feb 2007 05:17:00 +0000 (05:17 +0000)]
*** empty log message ***
hjl [Sat, 3 Feb 2007 00:55:42 +0000 (00:55 +0000)]
Cosmetic change.
hjl [Sat, 3 Feb 2007 00:46:21 +0000 (00:46 +0000)]
ld/testsuite/
2076-02-02 H.J. Lu <hongjiu.lu@intel.com>
* ld-i386/pcrel16.d: Updated.
* ld-x86-64/pcrel16.d: Likewise.
opcodes/
2076-02-02 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OP_J): Mask to 16bit only if there is a data16
prefix.
bwilson [Sat, 3 Feb 2007 00:08:22 +0000 (00:08 +0000)]
* config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
(xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
gdbadmin [Sat, 3 Feb 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
bwilson [Fri, 2 Feb 2007 23:59:29 +0000 (23:59 +0000)]
* config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
(xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
(map_suffix_reloc_to_operator): New.
(map_operator_to_reloc): New.
(expression_maybe_register): Fix incorrect test of return value from
xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator.
(xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
nickrob [Fri, 2 Feb 2007 23:29:52 +0000 (23:29 +0000)]
(mi_load_progress, timestamp, print_diff_now):
Use 1000000L instead of
1000000.
bwilson [Fri, 2 Feb 2007 23:26:52 +0000 (23:26 +0000)]
* config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
(tinsn_get_tok): Delete prototype.
* config/tc-xtensa.c (tinsn_get_tok): Delete.
nickrob [Fri, 2 Feb 2007 23:11:34 +0000 (23:11 +0000)]
(GDB/MI Miscellaneous Commands): Describe the new
command -enable-timings.
bwilson [Fri, 2 Feb 2007 23:09:50 +0000 (23:09 +0000)]
* config/xtensa-relax.h (struct build_instr): Delete id field.
* config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
and LABEL tokens.
(append_literal_op, append_label_op): Remove litnum/labnum arguments;
set op_data fields to zero.
(parse_id_constant): Delete.
(build_transition): Remove code to handle numbered literals and labels.
nickrob [Fri, 2 Feb 2007 23:09:00 +0000 (23:09 +0000)]
*** empty log message ***
nickrob [Fri, 2 Feb 2007 23:08:32 +0000 (23:08 +0000)]
*** empty log message ***
nickrob [Fri, 2 Feb 2007 23:01:27 +0000 (23:01 +0000)]
* mi/mi-main.c: Include <sys/resource.h> if present.
(rusage): Declare if HAVE_GETRUSAGE.
(current_command_ts, do_timings): New static variables.
(timestamp, print_diff_now, print_diff, timeval_diff):
New static timing functions.
(mi_cmd_enable_timings): New function for new MI command.
(captured_mi_execute_command, mi_execute_async_cli_command):
Call timing functions.
* mi/mi-cmds.c (mi_cmds): Add entry for new MI command
-enable-timings.
* mi/mi-cmds.h (mi_cmd_enable_timings): New extern.
* mi/mi-parse.h: (mi_timestamp): New structure.
(mi_parse): Add mi_timestamp* member.
amodra [Fri, 2 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update
nickrob [Fri, 2 Feb 2007 22:55:54 +0000 (22:55 +0000)]
* configure.ac: Test for sys/resource.h and getrusage.
* configure, config.in: Regenerate.
hjl [Fri, 2 Feb 2007 22:54:50 +0000 (22:54 +0000)]
2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
* avr-dis.c (avr_operand): Correct PR number in comment.
nickrob [Fri, 2 Feb 2007 22:54:46 +0000 (22:54 +0000)]
* configure.ac: Test for sys/resource.h and getrusage.
* configure, config.in: Regenerate.
nickrob [Fri, 2 Feb 2007 22:54:09 +0000 (22:54 +0000)]
* configure.ac: Test for sys/resource.h and getrusage.
* configure, config.in: Regenerate.
nickrob [Fri, 2 Feb 2007 22:52:06 +0000 (22:52 +0000)]
*** empty log message ***
hjl [Fri, 2 Feb 2007 22:15:51 +0000 (22:15 +0000)]
Fix typos in year.
bwilson [Fri, 2 Feb 2007 22:08:36 +0000 (22:08 +0000)]
* config/xtensa-relax.c (build_transition): Remove code after as_fatal.
(build_transition_table): Likewise.
jakub [Fri, 2 Feb 2007 21:10:50 +0000 (21:10 +0000)]
* elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *.
* elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types.
(struct elf_symbol): Change first member into union.
(elf_sort_elf_symbol): Compare pointers to internal syms rather than
internal syms. Only compare st_shndx fields.
(elf_create_symbuf): New function.
(bfd_elf_match_symbols_in_sections): Use it. If symbufs are available
for bfds, use a binary search, otherwise don't qsort symbols
unnecessarily only to select which symbols are for the particular
shndx.
eliz [Fri, 2 Feb 2007 19:48:50 +0000 (19:48 +0000)]
* gdbint.texinfo (Operation System ABI Variant Handling): Update
descriptions for new/deleted elements in gdb_osabi. Add missing
description for function generic_elf_osabi_sniff_abi_tag_sections.
hjl [Fri, 2 Feb 2007 17:16:08 +0000 (17:16 +0000)]
2076-02-02 H.J. Lu <hongjiu.lu@intel.com>
* MAINTAINERS: Add a space between H.J. and Lu.
jjohnstn [Fri, 2 Feb 2007 16:22:28 +0000 (16:22 +0000)]
2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libc/include/sys/errno.h: Add ECANCELED.
hjl [Fri, 2 Feb 2007 15:27:04 +0000 (15:27 +0000)]
binutils/
2076-02-02 H.J. Lu <hongjiu.lu@intel.com>
* doc/binutils.texi (objdump): Document the new addr64 option
for i386 disassembler.
include/
2076-02-02 H.J. Lu <hongjiu.lu@intel.com>
* dis-asm.h (print_i386_disassembler_options): New.
opcodes/
2076-02-02 H.J. Lu <hongjiu.lu@intel.com>
* disassemble.c (disassembler_usage): Call
print_i386_disassembler_options for i386 disassembler.
* i386-dis.c (print_i386_disassembler_options): New.
(print_insn): Support the new addr64 option.
corinna [Fri, 2 Feb 2007 15:16:53 +0000 (15:16 +0000)]
* syscalls.cc (unlink_nt): Add missing assignment in case NtClose fails.
hjl [Fri, 2 Feb 2007 13:59:54 +0000 (13:59 +0000)]
2076-02-02 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3945
* configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
target.
(DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
* configure: Regenerated.
* dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
nickc [Fri, 2 Feb 2007 13:10:58 +0000 (13:10 +0000)]
PR gas/3812
* gas/v850/v850e1.d: Correct expected disassembly of cmov insn to account for sign extension.
nickc [Fri, 2 Feb 2007 12:43:35 +0000 (12:43 +0000)]
* doc/binutils.texi (objdump): Document support for disassembling the 440 PowerPC architecture.
denis [Fri, 2 Feb 2007 12:40:11 +0000 (12:40 +0000)]
2007-02-02 Denis Pilat <denis.pilat@st.com>
* gdb.threads/threadapply.exp: check that frame is not changed by
the thread apply all command.
nickc [Fri, 2 Feb 2007 12:37:41 +0000 (12:37 +0000)]
* ppc-dis.c (powerpc_dialect): Handle ppc440.
* ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can be used.
denis [Fri, 2 Feb 2007 12:18:37 +0000 (12:18 +0000)]
2007-02-02 Denis Pilat <denis.pilat@st.com>
* thread.c (make_cleanup_restore_current_thread): New function.
(info_threads_command): Use of make_cleanup_restore_current_thread
to restore the current thread and the selected frame.
(restore_selected_frame): New function.
(struct current_thread_cleanup): Add frame_id field.
(do_restore_current_thread_cleanup): Add restoring of the selected
frame.
(make_cleanup_restore_current_thread): Likewise.
(thread_apply_all_command): backup the selected frame while
entering the function and restore it at exit.
(thread_apply_command): Likewise.