OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
15 years agogas/
hjl [Tue, 21 Jul 2009 17:50:20 +0000 (17:50 +0000)]
gas/

2009-07-21  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/10420
* config/tc-i386.c (i386_align_code): Tune for 32bit nops in
64bit.
(i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm
for 64bit.

gas/testsuite/

2009-07-21  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/10420
* gas/i386/i386.exp: Run x86-64-nops-1-pentium.

* gas/i386/x86-64-nops-1-pentium.d: New.

15 years ago * dtable.cc (dup2): Correct return value for no-op.
corinna [Tue, 21 Jul 2009 13:28:59 +0000 (13:28 +0000)]
* dtable.cc (dup2): Correct return value for no-op.

15 years ago * lib/msimg32.def (GetDCBrushColor, GetDCPenColor): Move entry points
corinna [Tue, 21 Jul 2009 09:39:02 +0000 (09:39 +0000)]
* lib/msimg32.def (GetDCBrushColor, GetDCPenColor): Move entry points
from here...
* lib/gdo32.dll: ...to here.

15 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Add special case
corinna [Tue, 21 Jul 2009 08:10:35 +0000 (08:10 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Add special case
for MVFS.  Explain why.
(fhandler_disk_file::utimens): Drop local variables lastaccess and
lastwrite.  Copy timestamps right into FILE_BASIC_INFORMATION structure
to avoid copying them twice.

15 years ago * insn.scm (multi-insn-instantiate!): Use logging messages instead of
devans [Tue, 21 Jul 2009 05:44:41 +0000 (05:44 +0000)]
* insn.scm (multi-insn-instantiate!): Use logging messages instead of
commented out printfs.
* rtl.scm (rtl-finish!): Whitespace tweaks.

15 years ago PR 10419
ian [Tue, 21 Jul 2009 05:22:54 +0000 (05:22 +0000)]
PR 10419
* x86_64.cc (Target_x86_64::do_code_fill): Correct nop sequences.

15 years ago * model.scm (parse-insn-timing): Tweak logging message.
devans [Tue, 21 Jul 2009 04:23:59 +0000 (04:23 +0000)]
* model.scm (parse-insn-timing): Tweak logging message.
* operand.scm: Comment and whitespace tweaks.
(op:type): Tweak error message.
(op-ifield): Tweak logging message.
(-derived-operand-parse, anyof-merge-semantics): Ditto.
* read.scm: Whitespace cleanup.
* utils.scm: Whitespace cleanup.

15 years ago2009-07-20 Marc Khouzam <marc.khouzam@ericsson.com>
marckhouzam [Tue, 21 Jul 2009 03:31:18 +0000 (03:31 +0000)]
2009-07-20  Marc Khouzam  <marc.khouzam@ericsson.com>

    * utils.c (defaulted_query): Update comment and remove dead code.

15 years agodaily update
amodra [Tue, 21 Jul 2009 00:00:08 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Tue, 21 Jul 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago Add support for "comdat types" from DWARF4.
devans [Mon, 20 Jul 2009 21:21:17 +0000 (21:21 +0000)]
Add support for "comdat types" from DWARF4.
* dwarf2read.c (dwarf2_per_objfile): New member types,
signatured_types.
(TYPES_SECTION): New macro.
(dwarf2_per_cu_data): Change size of length field from 30 bits
to 29 bits.  New member from_debug_types.
(signatured_type): New struct.
(struct attribute): New union member signatured_type.
(DW_SIGNATURED_TYPE): New macro.
(dwarf2_attr_no_follow): New function.
(read_type_unit_scope): New function.
(follow_die_ref_or_sig, follow_die_sig): New functions.
(dwarf2_locate_sectoins): Handle .debug_types.
(dwarf2_build_psymtabs): Read .debug_types.
(read_type_comp_unit_head): New function.
(hash_type_signature, eq_type_signature): New functions.
(create_debug_types_hash_table): New function.
(lookup_signatured_type): New function.
(process_psymtab_comp_unit): Handle type units too.
(process_type_comp_unit, build_type_psymtabs): New functions.
(dwarf2_build_psymtabs_hard): Call build_type_psymtabs.
(load_partial_comp_unit): Assert not called for a type unit.
(skip_one_die): Handle DW_FORM_sig8.
(queue_comp_unit): Don't call load_full_comp_unit here, or
update read_in_chain.
(psymtab_to_symtab_1): Call read_signatured_type_at_offset for
type units, or load_full_comp_unit for comp units after
queue_comp_unit returns.
(load_full_comp_unit): Assert not called for type units.
(load_full_comp_unit): Update read_in_chain here.
(process_die): Handle DW_TAG_type_unit.
(read_structure_type): Look for signatured types.
(read_enumeration_type): Ditto.
(init_cu_die_reader): Handle .debug_types.
(read_comp_unit): Assert hash not computed yet.
(read_die_and_children): Expand debugging printf to handle .debug_types.
(read_partial_die): Handle DW_TAG_type_unit:
(find_patial_die): Handle .debug_types.
(read_attribute_value): Handle DW_FORM_sig8.
(die_type): Call follow_die_ref_or_sig instead of follow_die_ref.
(die_containing_type): Ditto.
(dwarf_tag_name): Handle DW_TAG_type_unit.
(dwarf_attr_name): Handle DW_AT_signature.
(dwarf_form_name): Handle DW_FORM_sec_offset, DW_FORM_exprloc,
DW_FORM_flag_present, DW_FORM_sig8.
(dump_die_shallow): Handlel DW_FORM_sig8.
(maybe_queue_comp_unit): Change return type to int from void.
All callers updated.
(follow_die_ref): Handle .debug_types.
(lookup_signatured_type_at_offset): New function.
(read_signatured_type_at_offset): New function.
(read_signatured_type): New function.

15 years ago Add some dwarf4 values.
devans [Mon, 20 Jul 2009 20:57:39 +0000 (20:57 +0000)]
Add some dwarf4 values.
* dwarf2.h (enum dwarf_tag): Add DW_TAG_type_unit.
(enum dwarf_form): Add DW_FORM_sec_offset, DW_FORM_exprloc,
DW_FORM_flag_present, DW_FORM_sig8.
(enum dwarf_attribute): Add DW_AT_signature.

15 years ago * arch-utils.c (gdbarch_info_fill): Only reference GDB_OSABI_DEFAULT
uweigand [Mon, 20 Jul 2009 19:41:29 +0000 (19:41 +0000)]
* arch-utils.c (gdbarch_info_fill): Only reference GDB_OSABI_DEFAULT
if the macro is defined.

15 years ago2009-07-20 Pedro Alves <pedro@codesourcery.com>
palves [Mon, 20 Jul 2009 18:51:40 +0000 (18:51 +0000)]
2009-07-20  Pedro Alves  <pedro@codesourcery.com>

* features/gdb-target.dtd (target): Accept an optional 'osabi'
element.
(osabi): Define element.
* features/mips-linux.xml (target): Add an osabi subelement set to
GNU/Linux.
* regformats/regdat.sh (xmlarch, xmlosabi): New variables.  Don't
write the architecture into $xmltarget.  Store it in $xmlarch.
Handle the 'osabi' type.  Handle outputting the osabi element of
the target description.
* regformats/reg-x86-64-linux.dat (osabi): Set to GNU/Linux.
* regformats/reg-i386-linux.dat (osabi): Set to GNU/Linux.

* target-descriptions.h (tdesc_osabi, set_tdesc_osabi): Declare.
* target-descriptions.c (struct target_desc) <osabi>: New field.
(tdesc_osabi): New function.
(set_tdesc_osabi): New function.
* xml-tdesc.c: Include osabi.h.
(tdesc_end_osabi): New.
(target_children): Parse "osabi" elements.
* arch-utils.c (gdbarch_info_fill): Try to get the osabi from the
target description if the user didn't override it or it is not
extractable from the bfd.  If that still fails, fallback to the
configured in default.
* osabi.h (osabi_from_tdesc_string): Declare.
* osabi.c (osabi_from_tdesc_string): New.
(gdbarch_lookup_osabi): Return GDB_OSABI_UNKNOWN instead of
GDB_OSABI_DEFAULT.

* NEWS: Mention that target descriptions can now describe the
target OS ABI.

2009-07-20  Pedro Alves  <pedro@codesourcery.com>

* gdb.texinfo (Target Description Format): Mention the new <osabi>
optional element.
(subsection OS ABI): New subsection.

15 years ago * wincap.h (wincaps::has_always_all_codepages): New element.
corinna [Mon, 20 Jul 2009 15:44:54 +0000 (15:44 +0000)]
* wincap.h (wincaps::has_always_all_codepages): New element.
* wincap.cc: Implement above element throughout.
* wchar.h (__sjis_mbtowc): Declare.
(__eucjp_mbtowc): Ditto.
(__gbk_mbtowc): Ditto.
(__kr_mbtowc): Ditto.
(__big5_mbtowc): Ditto.
* syscalls.cc (internal_setlocale): Convert to char * function.
Return parameter by default.  Return NULL if request to use a
charset can't be satisfied due to missing codepage support in the
underlying OS.  Fix comment.
(setlocale): Store original locale.  Restore to original locale if
internal_setlocale returns NULL.

15 years agofix gdbtui build errors when pipe() is not available (e.g. mingw targets)
vapier [Mon, 20 Jul 2009 15:24:50 +0000 (15:24 +0000)]
fix gdbtui build errors when pipe() is not available (e.g. mingw targets)

* configure.ac (AC_CHECK_FUNCS): Check for pipe.
* config.in, configure: Regenerate.
* tui/tui-io.c (TUI_USE_PIPE_FOR_READLINE): Define if HAVE_PIPE.

15 years ago * gnu-nat.c: Include "inf-child.h".
palves [Mon, 20 Jul 2009 15:18:22 +0000 (15:18 +0000)]
* gnu-nat.c: Include "inf-child.h".
(gnu_mourn_inferior): Use the passed in target_ops
instead of the gnu_ops global.
(gnu_create_inferior): Inline `attach_to_child', use the passed in
target_ops instead of the gnu_ops global.
(gnu_can_run): Delete.
(gnu_attach): Use the passed in target_ops instead of the gnu_ops
global.
(gnu_detach): Ditto.
(gnu_prepare_to_store, gnu_open): Delete.
(gnu_store_registers, gnu_fetch_registers): Delete declarations.
(gnu_ops): Delete.
(init_gnu_ops): Delete.
(gnu_target): New.
(_initialize_gnu_nat): Don't call init_gnu_ops or add_target here.
* gnu-nat.h (gnu_target): Declare.
* i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Make
static.
(_initialize_i386gnu_nat): New.

15 years ago * Makefile.in (all): Fix wrong target names.
corinna [Mon, 20 Jul 2009 15:08:08 +0000 (15:08 +0000)]
* Makefile.in (all): Fix wrong target names.
(cygwin-ug-net/cygwin-ug-net-nochunks.html.gz): Ditto.
(cygwin-ug-net/cygwin-ug-net.pdf): Convert to use docbook2pdf.
(cygwin-api/cygwin-api.pdf): Ditto.

15 years ago * dwarf2loc.c (find_location_expression): Retrieve beginning and
uweigand [Mon, 20 Jul 2009 15:06:13 +0000 (15:06 +0000)]
* dwarf2loc.c (find_location_expression): Retrieve beginning and
ending address offsets in location list entries as integers,
not as addresses.

15 years ago * infrun.c (wait_for_inferior): Invalidate registers and overlay
uweigand [Mon, 20 Jul 2009 15:05:10 +0000 (15:05 +0000)]
* infrun.c (wait_for_inferior): Invalidate registers and overlay
cache every time before calling target_wait.
(handle_inferior_event): Make static. Always reset waiton_ptid.
Never call registers_changed.
(prepare_to_wait): Do not invaliate registers or overlay cache
(moved to wait_for_inferior).  Do not reset waiton_ptid (moved
to handle_inferior_event).
(fetch_inferior_event): Remove check for always-true condition.

15 years ago * fork.cc (fork): Create local tmp_pathbuf. Explain why.
corinna [Mon, 20 Jul 2009 14:16:05 +0000 (14:16 +0000)]
* fork.cc (fork): Create local tmp_pathbuf.  Explain why.

15 years ago2009-07-20 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 20 Jul 2009 13:40:48 +0000 (13:40 +0000)]
2009-07-20  H.J. Lu  <hongjiu.lu@intel.com>

* NEWS: Mention --insn-width.

* objdump.c (insn_width): New.
(usage): Display --insn-width.
(option_values): Add OPTION_INSN_WIDTH.
(long_options): Add --insn-width.
(disassemble_bytes): Handle insn_width.
(main): Handle OPTION_INSN_WIDTH.

* doc/binutils.texi: Document --insn-width.

15 years ago PR 10288
nickc [Mon, 20 Jul 2009 12:11:18 +0000 (12:11 +0000)]
    PR 10288
        * arm-dis.c (arm_opcodes): Catch non-zero bits 8-11 in register
        offset or indexed based addressing mode 3.

15 years ago * faq: Throughout, revert references to User's Guide to default URL.
corinna [Mon, 20 Jul 2009 10:10:46 +0000 (10:10 +0000)]
* faq: Throughout, revert references to User's Guide to default URL.

15 years ago2009-07-20 Thomas Schwinge <tschwinge@gnu.org>
tschwinge [Mon, 20 Jul 2009 09:50:59 +0000 (09:50 +0000)]
2009-07-20  Thomas Schwinge  <tschwinge@gnu.org>

* i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Adjust to
2009-02-23 target_ops changes.

15 years ago * new-features.sgml (ov-new1.7-misc): Add stdc++ new/delete wrappers.
corinna [Mon, 20 Jul 2009 08:57:54 +0000 (08:57 +0000)]
* new-features.sgml (ov-new1.7-misc): Add stdc++ new/delete wrappers.

15 years ago * new-features.sgml (ov-new1.7-posix): Add WCONTINUED, WIFCONTINUED.
corinna [Mon, 20 Jul 2009 08:49:21 +0000 (08:49 +0000)]
* new-features.sgml (ov-new1.7-posix): Add WCONTINUED, WIFCONTINUED.

15 years ago * setup2.sgml (setup-locale-charsetlist): Fix ISO88-59-13 and -15
corinna [Mon, 20 Jul 2009 08:32:39 +0000 (08:32 +0000)]
* setup2.sgml (setup-locale-charsetlist): Fix ISO88-59-13 and -15
codepage numbers.

15 years agoAdd testcase for nested pmacros with bindings.
devans [Mon, 20 Jul 2009 01:06:05 +0000 (01:06 +0000)]
Add testcase for nested pmacros with bindings.

15 years ago Fix binding of nested pmacro parameters.
devans [Mon, 20 Jul 2009 00:57:03 +0000 (00:57 +0000)]
Fix binding of nested pmacro parameters.
* pmacros.scm (-pmacro-env-make): New arg prev-env.
All callers updated.
(-pmacro-bulid-lambda): Ditto.
* doc/pmacros.texi: Update.

15 years ago * ifield.scm (-multi-ifield-make-default-insert): Fix shifts
devans [Mon, 20 Jul 2009 00:47:23 +0000 (00:47 +0000)]
* ifield.scm (-multi-ifield-make-default-insert): Fix shifts
calculation.
(-multi-ifield-make-default-extract): Ditto.

15 years ago*** empty log message ***
gdbadmin [Mon, 20 Jul 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Mon, 20 Jul 2009 00:00:07 +0000 (00:00 +0000)]
daily update

15 years ago * rtl-c.scm (addc-cflag, addc-oflag, subc-cflag, subc-oflag): Define.
devans [Sun, 19 Jul 2009 19:19:42 +0000 (19:19 +0000)]
* rtl-c.scm (addc-cflag, addc-oflag, subc-cflag, subc-oflag): Define.
(add-cflag, add-oflag, sub-cflag, sub-oflag): Deprecate.
* rtx-funcs.scm (addc-cflag, addc-oflag, subc-cflag, subc-oflag):
Define.
(add-cflag, add-oflag, sub-cflag, sub-oflag): Deprecate.
* doc/rtl.texi: Update.

15 years ago * doc/pmacros.texi (.not): Emphasize (.not 0) is not 1.
devans [Sun, 19 Jul 2009 16:57:52 +0000 (16:57 +0000)]
* doc/pmacros.texi (.not): Emphasize (.not 0) is not 1.

Rename builtin boolean pmacros, for consistency with rtl.
* pmacros.scm: .and -> .andif, .or -> .orif, .bitand -> .and,
.bitor -> .or, .bitxor -> .xor, .bitinv -> .inv.
* doc/pmacros.texi: Update.
* testsuite/pmacros-1.test: Update.

15 years agodaily update
amodra [Sun, 19 Jul 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sun, 19 Jul 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago2009-07-18 Michael Snyder <msnyder@vmware.com>
msnyder [Sat, 18 Jul 2009 23:35:30 +0000 (23:35 +0000)]
2009-07-18  Michael Snyder  <msnyder@vmware.com>

* infrun.c (handle_inferior_event): Remove an execution_direction
check in the "check for subroutine calls" test, and add some
additional handling for reverse-stepping through shared libraries.

15 years agofix typos in previous entry
devans [Sat, 18 Jul 2009 20:58:28 +0000 (20:58 +0000)]
fix typos in previous entry

15 years ago Use hash tables to record ifields, operands, insns, macro-insns.
devans [Sat, 18 Jul 2009 20:44:58 +0000 (20:44 +0000)]
Use hash tables to record ifields, operands, insns, macro-insns.
* attr.scm (attr-builtin!): Tweak some comments.
* hardware.scm (hardware-builtin!): Call all-isas-attr-value.
* ifield.scm (<ifield>): Subclass from <ordered-ident> instead of
<ident>.
(<multi-ifield>): New constructor.
(ifield-builtin!): Add isa attr to f-nil, f-anyof.
* insn.scm (<insn>): Subclass from <ordered-ident> instead of
<ident>.
(-sub-insn-make!): Add hack to avoid differences in generated code.
(multi-insn-instantiate!): Add total number of multi-insns to
logging message.
* mach.scm (<arch>): Rename members ifld-list, op-list, insn-list,
minsn-list to foo-table.  New member next-ordinal.
Update getters/setters.
(arch-ifld-list, arch-op-list, arch-insn-list, arch-minsn-list):
New functions.
(-get-next-ordinal!, -get-lowest-ordinal): New function.
(-make-ident-object-table, -ident-object-table->list,
-ident-object-table-add!, -ident-object-table-lookup): New functions.
(current-ifld-list, current-ifld-add! current-ifld-lookup,
-ifld-already-defined?): Rewrite.
(current-op-list, current-op-add! current-op-lookup,
-op-already-defined?): Rewrite.
(current-raw-insn-list, insn-list-car, insn-list-splice!): Delete.
(current-insn-list, current-insn-add! current-insn-lookup,
-insn-already-defined?): Rewrite.
(current-minsn-list, current-minsn-add! current-minsn-lookup,
-minsn-already-defined?): Rewrite.
(all-isas-attr-value, all-isas-attr, attr-isa-list): New functions.
(MAX-VIRTUAL-INSNS): Define.
(arch-analyze-insns!): Add hack to avoid differences in generated code.
Update use of arch-insn-list.
(mach-init!): Initialize ifld-table, op-table, insn-table, minsn-table.
(arch-finish!): Delete references to ifld-table, op-table, insn-table,
minsn-table.
* minsn.scm (<macro-insn>): Subclass from <ordered-ident> instead of
<ident>.  New constructor.
* operand.scm (<operand>): Subclass from <ordered-ident> instead of
<ident>.
* sid.scm (-virtual-insn-add!): New function.
(-create-virtual-insns!): Call it.
(-fill-sim-insn-list!): Rewrite.
* sim.scm (-virtual-insn-add!, -create-virtual-insns!): New functions.
(sim-finish!): Move contents to -create-virtual-insns!, and call it.
* utils-cgen.scm (<ordered-ident>): New class.
(obj-ordinal, obj-set-ordinal!): New functions.
(add-ident-methods!): Delete.

* model.scm (parse-insn-timing): Change logging message to level 3.

15 years ago* exceptions.cc (sig_handle_tty_stop): Set stopsig to SIGCONT when continuing.
cgf [Sat, 18 Jul 2009 20:25:06 +0000 (20:25 +0000)]
* exceptions.cc (sig_handle_tty_stop): Set stopsig to SIGCONT when continuing.
(stopped_or_terminated): Honor WCONTINUED.
* wait.cc (wait4): Ditto.
* include/cygwin/wait.h (WCONTINUED): Define.
(__W_CONTINUED): Ditto.
(WIFCONTINUED): Ditto.

15 years ago2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
ironhead [Sat, 18 Jul 2009 15:19:02 +0000 (15:19 +0000)]
2009-07-18  Gregory McGarry  <gregorymcgarry@users.sourceforge.net>

        * include/inttypes.h include/math.h include/stdio.h include/stdlib.h
        include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard
        to all inline functions.

15 years ago2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
ironhead [Sat, 18 Jul 2009 15:09:18 +0000 (15:09 +0000)]
2009-07-18  Gregory McGarry  <gregorymcgarry@users.sourceforge.net>

        * CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
        * CRT_fp10.c: Ditto.

15 years ago2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
ironhead [Sat, 18 Jul 2009 15:05:20 +0000 (15:05 +0000)]
2009-07-18  Gregory McGarry  <gregorymcgarry@users.sourceforge.net>

        * cpu_features.c: replace gcc-specific construct with portable alternative
        and match the code a few lines above.
        * crt1.c: remove gcc-specific noreturn attribute with mingw alternative

15 years ago2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
ironhead [Sat, 18 Jul 2009 14:56:47 +0000 (14:56 +0000)]
2009-07-18  Gregory McGarry  <gregorymcgarry@users.sourceforge.net>

        * include/_mingw.h: Changes required for PCC compiler.

15 years ago2009-07-18 Jeff Lu <jll544@yahoo.com>
ironhead [Sat, 18 Jul 2009 14:41:22 +0000 (14:41 +0000)]
2009-07-18 Jeff Lu  <jll544@yahoo.com>

        * mingwex/usleep.c: round up to next ms

15 years agoFix prologue analysis for moxie.
green [Sat, 18 Jul 2009 13:52:02 +0000 (13:52 +0000)]
Fix prologue analysis for moxie.

15 years ago2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Sat, 18 Jul 2009 01:39:51 +0000 (01:39 +0000)]
2009-07-17  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
        mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
        mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
        the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.

15 years ago*** empty log message ***
gdbadmin [Sat, 18 Jul 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Sat, 18 Jul 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * libstdcxx_wrapper.cc (operator delete): Remove stray space in
davek [Fri, 17 Jul 2009 23:37:04 +0000 (23:37 +0000)]
* libstdcxx_wrapper.cc (operator delete):  Remove stray space in
asm name.

15 years agorevert erroneous checkin
cgf [Fri, 17 Jul 2009 22:51:28 +0000 (22:51 +0000)]
revert erroneous checkin

15 years agomerge from gcc
dj [Fri, 17 Jul 2009 20:20:39 +0000 (20:20 +0000)]
merge from gcc

15 years ago* cygtls.cc (_cygtls::init_exception_handler): Test for e, not e->prev or we
cgf [Fri, 17 Jul 2009 18:17:11 +0000 (18:17 +0000)]
* cygtls.cc (_cygtls::init_exception_handler): Test for e, not e->prev or we
could still end up adding our handler twice.  Add comment explaining what we're
doing.
* dll_init.cc (dll_dllcrt0_1): Clarify comment.

15 years ago2009-07-17 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 17 Jul 2009 17:54:49 +0000 (17:54 +0000)]
2009-07-17  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_assemble): Update operand types.
(update_imm): Updated.
(finalize_imm): Update the first 2 immediate operands only
for instructions with 2 operands or more.

15 years ago2009-07-17 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 17 Jul 2009 17:08:34 +0000 (17:08 +0000)]
2009-07-17  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_assemble): Check implicit registers
only for instructions with 3 operands or less.

15 years ago * solib.c (solib_bfd_open): Do not call ops->bfd_open.
uweigand [Fri, 17 Jul 2009 17:08:22 +0000 (17:08 +0000)]
* solib.c (solib_bfd_open): Do not call ops->bfd_open.
(solib_map_sections): Call ops->bfd_open instead of solib_bfd_open.
* solib-frv.c (_initialize_frv_solib): Initialize bfd_open member.
* solib-irix.c (_initialize_irix_solib): Likewise.
* solib-null.c (_initialize_null_solib): Likewise.
* solib-osf.c (_initialize_osf_solib): Likewise.
* solib-pa64.c (_initialize_pa64_solib): Likewise.
* solib-som.c (_initialize_som_solib): Likewise.
* solib-sunos.c (_initialize_sunos_solib): Likewise.
* solib-svr4.c (_initialize_svr4_solib): Likewise.
* solib-target.c (_initialize_solib_target): Likewise.

15 years ago* cygtls.cc (_cygtls::init_exception_handler): Avoid adding our exception
cgf [Fri, 17 Jul 2009 16:54:21 +0000 (16:54 +0000)]
* cygtls.cc (_cygtls::init_exception_handler): Avoid adding our exception
handler twice.

15 years ago * syscalls.cc (unlink_nt): Just return when a sharing violation
corinna [Fri, 17 Jul 2009 16:45:21 +0000 (16:45 +0000)]
* syscalls.cc (unlink_nt): Just return when a sharing violation
occurs on remote filesystems.

15 years ago * mi/mi-cmd-disas.c (mi_cmd_disassemble): Respect mixed_mode flag.
uweigand [Fri, 17 Jul 2009 15:55:53 +0000 (15:55 +0000)]
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Respect mixed_mode flag.

15 years ago * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
nickc [Fri, 17 Jul 2009 15:22:10 +0000 (15:22 +0000)]
    * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
        compile time warning.

15 years ago * dwarf.c (display_debug_lines): If do_debug_lines has not been
nickc [Fri, 17 Jul 2009 15:19:21 +0000 (15:19 +0000)]
    * dwarf.c (display_debug_lines): If do_debug_lines has not been
        set then default to displaying raw .debug_line section contents.

15 years ago PR other/40784
jsm28 [Fri, 17 Jul 2009 15:11:33 +0000 (15:11 +0000)]
PR other/40784
* tls.m4 (GCC_CHECK_TLS): Add extra quoting around argument to
AC_LINK_IFELSE.

15 years ago * ld-mips-elf/pic-and-nonpic-3b.dd: Updated to use new PLT
nickc [Fri, 17 Jul 2009 13:36:15 +0000 (13:36 +0000)]
    * ld-mips-elf/pic-and-nonpic-3b.dd: Updated to use new PLT
        entries.
        * ld-mips-elf/pic-and-nonpic-5b.dd: Likewise.
        * ld-mips-elf/pic-and-nonpic-6-o32.dd: Likewise.
        * ld-mips-elf/pic-and-nonpic-6-n32.dd: Likewise.
        * ld-mips-elf/pic-and-nonpic-6-n64.dd: Likewise.

15 years ago * elfxx-mips.c (LOAD_INTERLOCKS_P): New define.
nickc [Fri, 17 Jul 2009 09:45:59 +0000 (09:45 +0000)]
    * elfxx-mips.c (LOAD_INTERLOCKS_P): New define.
        (_bfd_mips_elf_size_dynamic_sections): For CPUs without load
        interlocking, the last PLT entry needs a nop in the branch delay slot.
        (_bfd_mips_elf_finish_dynamic_symbol): For CPUs with load itnerlocking,
        output the last two PLT entries in reverse order.

        * ld-mips-elf/pic-and-nonpic-3b.dd,
        ld-mips-elf/pic-and-nonpic-5b.dd,
        ld-mips-elf/pic-and-nonpic-6-o32.dd: Updated to use new PLT entries.

15 years ago * globals.cc: Improve comment on R/O UNICODE_STRINGs.
corinna [Fri, 17 Jul 2009 09:00:17 +0000 (09:00 +0000)]
* globals.cc: Improve comment on R/O UNICODE_STRINGs.
* mount.h (class fs_info): Add is_mvfs bit.
* mount.cc (fs_info::update): Recognize MVFS remote filesystem.
(fillout_mntent): Reorder filesystem checks for speed.  Add
mvfs, unixfs, and sunwnfs filesystem types.
* path.h (class path_conv): Add fs_is_mvfs method.
* path.cc (symlink_worker): On MVFS, always create symlinks as
Windows shortcuts.  Explain why.

15 years ago PR 10400
ian [Fri, 17 Jul 2009 01:07:33 +0000 (01:07 +0000)]
PR 10400
* layout.h: #include <map>.
(class Kept_section): Change from struct to class.  Add accessors
and setters.  Add section size to Comdat_group mapping.  Change
Comdat_group to std::map.  Add is_comdat_ field.  Add
linkonce_size field in union.
(class Layout): Update declaration of find_or_add_kept_section.
Don't declare find_kept_object.
* layout.cc (Layout::find_or_add_kept_section): Remove candidate
parameter.  Add object, shndx, is_comdat, and is_group_name
parameters.  Change all callers.  Adjust for new Kept_section.
(Layout::find_kept_object): Remove.
* object.cc (Sized_relobj::include_section_group): Update use of
Kept_section.  Rename secnum to shndx.  Only record
Kept_comdat_section if sections are the same size.
(Sized_relobj::include_linkonce_section): Update use of
Kept_section.  Only record Kept_comdat_section if sections are the
same size.  Set size of linkonce section.
(Sized_relobj::map_to_kept_section): Update call to
get_kept_comdat_section.
* object.h (class Sized_relobj): Rename fields in
Kept_comdat_section to drop trailing underscores; change object
field to Relobj*.  Change Kept_comdat_section_table to store
struct rather than pointer.
(Sized_relobj::set_kept_comdat_section): Remove kept parameter.
Add kept_object and kept_shndx parameters.  Change all callers.
(Sized_relobj::get_kept_comdat_section): Change return type to
bool.  Add kept_object and kept_shndx parameters.  Change all
callers.
* plugin.cc (Pluginobj::include_comdat_group): Update call to
Layout::find_or_add_kept_section.

15 years agodaily update
amodra [Fri, 17 Jul 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Fri, 17 Jul 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library when
jsm28 [Thu, 16 Jul 2009 23:21:15 +0000 (23:21 +0000)]
* tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library when
cross-compiling.

15 years ago2009-07-16 Dave Korn <dave.korn.cygwin@gmail.com>
hjl [Thu, 16 Jul 2009 21:10:49 +0000 (21:10 +0000)]
2009-07-16  Dave Korn  <dave.korn.cygwin@gmail.com>
    H.J. Lu  <hongjiu.lu@intel.com>

* binutils-all/objcopy.exp: Run testranges and testranges-ia64
for ELF targets only.

15 years ago2009-07-16 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 16 Jul 2009 21:00:09 +0000 (21:00 +0000)]
2009-07-16  H.J. Lu  <hongjiu.lu@intel.com>

* binutils-all/objcopy.exp; Run testranges-ia64.

* binutils-all/testranges.d: Don't run for ia64.

* binutils-all/testranges-ia64.d: New.
* binutils-all/testranges-ia64.s: Likewise.

15 years ago * linux-thread.db.c (try_thread_db_load_1): Tweak comment.
devans [Thu, 16 Jul 2009 20:45:16 +0000 (20:45 +0000)]
* linux-thread.db.c (try_thread_db_load_1): Tweak comment.

15 years ago2007-07-16 Paul Pluzhnikov <ppluzhnikov@google.com>
ppluzhnikov [Thu, 16 Jul 2009 19:47:43 +0000 (19:47 +0000)]
2007-07-16  Paul Pluzhnikov  <ppluzhnikov@google.com>

* linux-thread-db.c (thread_db_find_new_threads_silently):
New function.
(try_thread_db_load_1): Call it.

15 years ago * doc/rtl.texi (Enumerated constants): Add example, fix a typo,
devans [Thu, 16 Jul 2009 18:50:53 +0000 (18:50 +0000)]
* doc/rtl.texi (Enumerated constants): Add example, fix a typo,
add a link to define-normal-insn-enum.

15 years ago * doc/porting.texi (Conventions): Add docs on writing integers.
devans [Thu, 16 Jul 2009 18:18:16 +0000 (18:18 +0000)]
* doc/porting.texi (Conventions): Add docs on writing integers.

15 years ago * cpu/simplify.inc (*): One line doc strings don't need \n.
devans [Thu, 16 Jul 2009 17:53:25 +0000 (17:53 +0000)]
* cpu/simplify.inc (*): One line doc strings don't need \n.
(df): Invoke define-full-ifield instead of claiming it's an alias.
(dno): Define.
(dnop): Mark as deprecated.

15 years ago * cpu/play.cpu: Add example of hardware `layout'.
devans [Thu, 16 Jul 2009 17:49:24 +0000 (17:49 +0000)]
* cpu/play.cpu: Add example of hardware `layout'.
* doc/porting.tex: Add docs on simplify.inc.
* doc/rtl.texi: Cleanup pass over "Simplification macros",
and other things.

* ifield.scm: Whitespace/formatting cleanup.

* ifield.scm (-multi-ifield-parse): Watch for missing subfields.

15 years ago * cpu/play.cpu: Add example of hardware `layout'.
devans [Thu, 16 Jul 2009 17:48:30 +0000 (17:48 +0000)]
* cpu/play.cpu: Add example of hardware `layout'.
* doc/porting.tex: Add docs on simplify.inc.
* doc/rtl.texi: Cleanup pass over "Simplification macros",
and other things.

* ifield.scm: Whitespace/formatting cleanup.

* ifield.scm (-multi-ifield-parse): Watch for missing subfields.

15 years ago * read.scm (parse-error): Don't print single entry args as a list.
devans [Thu, 16 Jul 2009 17:43:49 +0000 (17:43 +0000)]
* read.scm (parse-error): Don't print single entry args as a list.
(-reader-process-expanded-1): Convert symbol to string for
string-append.

15 years agogas/
hjl [Thu, 16 Jul 2009 17:37:25 +0000 (17:37 +0000)]
gas/

2009-07-16  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_assemble): Only check i.operands for AX.
(md_estimate_size_before_relax): Don't relax IFUNC symbols.

gas/testsuite/

2009-07-16  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run ifunc and x86-64-ifunc.

* gas/i386/ifunc.d: New,
* gas/i386/ifunc.s: Likewise.
* gas/i386/x86-64-ifunc.d: Likewise.

15 years ago * insn.scm (multi-insn-instantiate!): Tweak logging message.
devans [Thu, 16 Jul 2009 17:22:44 +0000 (17:22 +0000)]
* insn.scm (multi-insn-instantiate!): Tweak logging message.

15 years ago * syscalls.cc (unlink_nt): First remove the R/O DOS attribute with
corinna [Thu, 16 Jul 2009 16:55:25 +0000 (16:55 +0000)]
* syscalls.cc (unlink_nt): First remove the R/O DOS attribute with
FILE_WRITE_ATTRIBUTES access only, then re-open the file for DELETE.
Explain why.

15 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Remove file
corinna [Thu, 16 Jul 2009 15:28:56 +0000 (15:28 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Remove file
attribute check already done in NtSetAttributesFile.

15 years agobfd/
hjl [Thu, 16 Jul 2009 14:23:09 +0000 (14:23 +0000)]
bfd/

2009-07-16  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_relocate_section): Don't get local
STT_GNU_IFUNC symbol for relocatable link.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.

ld/testsuite/

2009-07-16  H.J. Lu  <hongjiu.lu@intel.com>

* ld-ifunc/ifunc-5r-local-i386.d: New.
* ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.

15 years ago gas/
nathan [Thu, 16 Jul 2009 13:18:50 +0000 (13:18 +0000)]
gas/
* config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
the offset for REL targets here.

gas/testsuite/
* gas/arm/target-reloc-1.s: New.
* gas/arm/target-reloc-1.d: New.

ld/testsuite/
* ld-arm/arm-target2.s: Add addend cases.
* ld-arm/arm-target2-rel.d: Adjust.
* ld-arm/arm-target2-abs.d: Adjust.
* ld-arm/arm-target2-got-rel.d: Adjust.

15 years ago * globals.cc: Reorder constant UNICODE_STRINGs for clarity.
corinna [Thu, 16 Jul 2009 09:56:24 +0000 (09:56 +0000)]
* globals.cc: Reorder constant UNICODE_STRINGs for clarity.
* mount.h (fs_info::sttaus): Move filesystem type flags into
substructure.  Add union to allow simple test for having set any
one filesystem type flag.  Replace has_buggy_open flag with is_sunwnfs
flag.  Replace has_buggy_fileid_dirinfo with is_unixfs flag.
(fs_info::got_fs): New private method.
(fs_info::has_buggy_open): New explicit implementation.
(fs_info::has_buggy_fileid_dirinfo): Ditto.
* mount.cc (fs_info::update): Optimize filesystem checks for speed.
* winsup.h (IMPLEMENT_STATUS_FLAG): Change write accessor to return
value just set.

15 years ago2009-07-15 Kai Tietz <kai.tietz@onevision.com>
hjl [Thu, 16 Jul 2009 00:37:27 +0000 (00:37 +0000)]
2009-07-15  Kai Tietz  <kai.tietz@onevision.com>

* listing.c (print_source): Initialize cache by NULL.

15 years ago*** empty log message ***
gdbadmin [Thu, 16 Jul 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Thu, 16 Jul 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago Code reorg in preparation for adding comdat types support.
devans [Wed, 15 Jul 2009 22:17:07 +0000 (22:17 +0000)]
Code reorg in preparation for adding comdat types support.
* dwarf2read.c (struct die_reader_specs): New struct.
(locate_pdi_sibling): New arg buffer.  All callers updated.
(load_partial_dies, read_partial_die): Ditto.
(read_8_bytes): Change return type to ULONGEST.
(read_comp_unit): Delete arg abfd.  All callers updated.
(read_die_and_children_1): Delete args abfd, cu.  New arg reader.
All callers updated.
(read_die_and_children, read_die_and_siblings): Ditto.
(read_full_die): Ditto.  Move closer to callers.
(skip_one_die): New arg buffer.  All callers updated.
(load_full_comp_unit): Change return type to void.  All callers
updated.
(partial_read_comp_unit_head): New args buffer, buffer_size.
All callers updated.
(process_psymtab_comp_unit): New function, split out from
dwarf2_build_psymtabs_hard.
(dwarf2_build_psymtabs_hard): Call it.
(load_partial_comp_unit): Renamed from load_comp_unit.
All callers updated.
(skip_children): New arg buffer.  All callers updated.
(init_cu_die_reader): New function.
(is_ref_attr): New function.
(dwarf2_get_ref_die_offset): Call it.
(alloc_one_comp_unit): New function.

15 years ago * fhandler_netdrive.cc (GET_RESOURCE_INFO): Remove.
corinna [Wed, 15 Jul 2009 18:18:02 +0000 (18:18 +0000)]
* fhandler_netdrive.cc (GET_RESOURCE_INFO): Remove.
(thread_netdrive): Drop GET_RESOURCE_INFO case.
(fhandler_netdrive::exists): Use GET_RESOURCE_OPENENUM info class
to check for existance.

15 years ago * gen-all-doc: Generate index.html.
devans [Wed, 15 Jul 2009 16:49:32 +0000 (16:49 +0000)]
* gen-all-doc: Generate index.html.

15 years ago * strace.cc (main): Open trace output file in UNIX mode.
corinna [Wed, 15 Jul 2009 15:18:51 +0000 (15:18 +0000)]
* strace.cc (main): Open trace output file in UNIX mode.

15 years ago * doc/c-arm.texi (mauto-it): Removed old option.
nickc [Wed, 15 Jul 2009 15:08:54 +0000 (15:08 +0000)]
    * doc/c-arm.texi (mauto-it): Removed old option.
        (mimplicit-it): Added right option.

15 years ago * fhandler_netdrive.cc (fhandler_netdrive::readdir): Remove useless
corinna [Wed, 15 Jul 2009 14:31:49 +0000 (14:31 +0000)]
* fhandler_netdrive.cc (fhandler_netdrive::readdir): Remove useless
alloca.

15 years ago * path.cc (cwdstuff::set): Only fix up UNC path in win32 so as not
corinna [Wed, 15 Jul 2009 13:27:34 +0000 (13:27 +0000)]
* path.cc (cwdstuff::set): Only fix up UNC path in win32 so as not
to overwrite incoming path.

15 years ago2009-07-14 Michael Snyder <msnyder@vmware.com>
msnyder [Wed, 15 Jul 2009 01:18:58 +0000 (01:18 +0000)]
2009-07-14  Michael Snyder  <msnyder@vmware.com>

* gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
to bring gdb to the beginning of the calling line.

15 years ago2009-07-14 Michael Snyder <msnyder@vmware.com>
msnyder [Wed, 15 Jul 2009 01:12:16 +0000 (01:12 +0000)]
2009-07-14  Michael Snyder  <msnyder@vmware.com>

* gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
confusing the i386 epilogue unwinder.

15 years ago*** empty log message ***
gdbadmin [Wed, 15 Jul 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***