OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
14 years ago2009-11-10 Doug Kwan <dougkwan@google.com>
dougkwan [Tue, 10 Nov 2009 08:07:30 +0000 (08:07 +0000)]
2009-11-10  Doug Kwan  <dougkwan@google.com>

* i386.cc (Target_i386::do_calls_non_split): Add a cast to avoid
a format warning.
* incremental.cc (open_incremental_binary): Initialized local
variables to avoid warnings.
* object.cc (make_elf_object): Ditto.
* x86_64.cc (Target_x86_64::do_calls_non_split): Add a cast to avoid
a format warning.

14 years agodaily update
amodra [Tue, 10 Nov 2009 08:00:04 +0000 (08:00 +0000)]
daily update

14 years ago PR mi/9583:
brobecke [Tue, 10 Nov 2009 07:02:55 +0000 (07:02 +0000)]
    PR mi/9583:
        * symtab.c (find_line_symtab, append_exact_match_to_sals)
        (expand_line_sal): Use full filename when setting breakpoints if
        available

14 years ago * dwarf2read.c (read_import_statement): Don't clobber original cu.
ccoutant [Tue, 10 Nov 2009 06:39:40 +0000 (06:39 +0000)]
* dwarf2read.c (read_import_statement): Don't clobber original cu.

14 years ago * configure: Regenerate with autcoconf 2.64.
kseitz [Tue, 10 Nov 2009 04:56:52 +0000 (04:56 +0000)]
* configure: Regenerate with autcoconf 2.64.

14 years ago * path.cc (symlink_info::check_reparse_point): Always check
corinna [Tue, 10 Nov 2009 04:46:35 +0000 (04:46 +0000)]
* path.cc (symlink_info::check_reparse_point): Always check
SubstituteName for volume string to recognize volume mount points.
Reuse subst when calling sys_wcstombs.
* syscalls.cc (rename): Set errno to EBUSY when trying to rename
volume mount points.  Explain why.

14 years ago * library/srctextwin.itb (lookup_line): Update parameters
kseitz [Tue, 10 Nov 2009 04:39:31 +0000 (04:39 +0000)]
* library/srctextwin.itb (lookup_line): Update parameters
to gdb_set_bp.
* generic/gdbtk-bp.c: Remove extern declarations for symbols
in breakpoint.c.
(gdb_set_bp_addr): Remove.
(Gdbtk_Breakpoint_Init): Remove Tcl command "gdb_set_bp_addr".
(gdb_set_bp): Remove file and line arguments; add "addr" argument.
Rewrite to use "public" APIs from gdb.

14 years ago * README: Update information about using external
kseitz [Tue, 10 Nov 2009 04:31:57 +0000 (04:31 +0000)]
* README: Update information about using external
Tcl, Tk, and Itcl.

14 years ago * aclocal.m4: Regenerate with autotools 1.11.
kseitz [Tue, 10 Nov 2009 04:27:28 +0000 (04:27 +0000)]
* aclocal.m4: Regenerate with autotools 1.11.
* configure: Regenerate.
* plugins/Makefile.in: Regenerate.
* plugins/aclocal.m4: Regenerate.
* plugins/configure: Regenerate.

14 years ago * aclocal.m4: Regenerate.
kseitz [Tue, 10 Nov 2009 04:23:12 +0000 (04:23 +0000)]
* aclocal.m4: Regenerate.
* configure: Regeneratre.
* Makefile.in: Regenerate.
* library/Makefile.am: Remove unused PACKAGES variable.
* library/Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.

14 years ago * python/python.c (execute_gdb_command): Copy the argument text.
tromey [Tue, 10 Nov 2009 03:29:10 +0000 (03:29 +0000)]
* python/python.c (execute_gdb_command): Copy the argument text.

14 years agogdb/testsuite/
jkratoch [Tue, 10 Nov 2009 02:57:34 +0000 (02:57 +0000)]
gdb/testsuite/
* Makefile.in (abs_builddir): New.
(site.exp): New target `$(abs_builddir)/site.exp'.  New comment.
(check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
`$(abs_builddir)/site.exp'.

14 years agoInclude "config.h".
hjl [Tue, 10 Nov 2009 01:11:34 +0000 (01:11 +0000)]
Include "config.h".

009-11-09  H.J. Lu  <hongjiu.lu@intel.com>

PR gold/10930
* testsuite/plugin_test.c: Include "config.h".

14 years ago2009-11-09 Doug Kwan <dougkwan@google.com>
dougkwan [Tue, 10 Nov 2009 01:03:45 +0000 (01:03 +0000)]
2009-11-09  Doug Kwan  <dougkwan@google.com>

* arm.cc (Target_arm::fake_relnum_for_stubs): New constant.
(arm_symbol_value): Remove.
(Arm_relocate_functions::arm_branch_common,
Arm_relocate_functions::abs8, Arm_relocate_functions::thm_abs5,
Arm_relocate_functions::abs12, Arm_relocate_functions::abs16,
Arm_relocate_functions::abs32, Arm_relocate_functions::rel32,
Arm_relocate_functions::thm_call, Arm_relocate_functions::plt32,
Arm_relocate_functions::call, Arm_relocate_functions::jump24,
Arm_relocate_functions::prel31, Arm_relocate_functions::mov_abs_nc,
Arm_relocate_functions::movt_abs, Arm_relocate_functions::movw_abs_nc,
Arm_relocate_functions::thm_mobw_abs_nc,
Arm_relocate_functions::thm_mov_abs,
Arm_relocate_functions::movw_prel_nc,
Arm_relocate_functions::thm_movt_abs,
Arm_relocate_functions::movt_prel,
Arm_relocate_functions::thm_movw_prel_nc,
Arm_relocate_functions::thm_movt_prel): Adjust callers of the above.
(Target_arm::Relocate::relocate): Only decompose address into two
parts if relocation type uses the thumb-bit and pass the actual
bit instead of a flag indicating that the thumb-bit is used.  Adjust
calls to methods in Arm_relocate_functions for this change.

14 years ago * fhandler_console.cc (fhandler_console::read): Restrict generating
corinna [Tue, 10 Nov 2009 00:38:34 +0000 (00:38 +0000)]
* fhandler_console.cc (fhandler_console::read): Restrict generating
META key sequences to singlebyte input chars.

14 years agoDon't return on STT_GNU_IFUNC symbol when stripping.
hjl [Mon, 9 Nov 2009 23:37:10 +0000 (23:37 +0000)]
Don't return on STT_GNU_IFUNC symbol when stripping.

bfd/

2009-11-09  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10911
* elflink.c (elf_link_output_extsym): Don't return on
STT_GNU_IFUNC symbol when stripping.

ld/testsuite/

2009-11-09  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10911
* ld-ifunc/ifunc-4a-x86.d: New.

14 years ago2009-11-09 Tristan Gingold <gingold@adacore.com>
gingold [Mon, 9 Nov 2009 22:50:29 +0000 (22:50 +0000)]
2009-11-09  Tristan Gingold  <gingold@adacore.com>

* avr/interp.c (sim_resume): Fix typo for OP_ret.

14 years ago PR 10925
ian [Mon, 9 Nov 2009 11:02:01 +0000 (11:02 +0000)]
PR 10925
* reloc.cc: Instantiate
Sized_relobj::initialize_input_to_output_maps and
Sized_relobj:free_input_to_output_maps.

14 years ago*** empty log message ***
gdbadmin [Mon, 9 Nov 2009 09:00:03 +0000 (09:00 +0000)]
*** empty log message ***

14 years agobinutils/
jkratoch [Mon, 9 Nov 2009 08:01:57 +0000 (08:01 +0000)]
binutils/
* bucomm.c (get_file_size): Update comment for the error return value.

14 years agodaily update
amodra [Mon, 9 Nov 2009 08:00:04 +0000 (08:00 +0000)]
daily update

14 years ago * readelf.c (slurp_hppa_unwind_table): Don't relocate address twice.
danglin [Mon, 9 Nov 2009 06:36:46 +0000 (06:36 +0000)]
* readelf.c (slurp_hppa_unwind_table): Don't relocate address twice.

14 years ago * elf32-hppa.c (elf32_hppa_final_link): Don't sort unwind information
danglin [Mon, 9 Nov 2009 05:47:24 +0000 (05:47 +0000)]
* elf32-hppa.c (elf32_hppa_final_link): Don't sort unwind information
in a relocatable link.
* elf64-hppa.c (elf_hppa_final_link): Likewise.

14 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Drop all "other"
corinna [Sun, 8 Nov 2009 19:22:28 +0000 (19:22 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Drop all "other"
permissions from st_mode, if the reading the file's security descriptor
failed.  Explain why.

14 years ago*** empty log message ***
gdbadmin [Sun, 8 Nov 2009 09:00:04 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Sun, 8 Nov 2009 08:00:05 +0000 (08:00 +0000)]
daily update

14 years ago * gdbint.texinfo, stabs.texinfo: Move the @setchapternewpage
brobecke [Sun, 8 Nov 2009 04:46:57 +0000 (04:46 +0000)]
    * gdbint.texinfo, stabs.texinfo: Move the @setchapternewpage
        and @settitle directives up to help makeinfo find them.

14 years ago From Michael Snyder (circa 2004):
kevinb [Sat, 7 Nov 2009 14:31:21 +0000 (14:31 +0000)]
From Michael Snyder (circa 2004):
* lib/gdbserv-output.c (gdbserv_output_string_as_bytes):
Pull strlen out of loop for optimization.
(gdbserv_output_string): Ditto.

14 years ago PR 10876
ian [Sat, 7 Nov 2009 11:02:28 +0000 (11:02 +0000)]
PR 10876
* defstd.cc (in_segment): Set only_if_ref true for "end".

14 years ago * largefile.m4: New file.
brobecke [Sat, 7 Nov 2009 11:01:29 +0000 (11:01 +0000)]
    * largefile.m4: New file.

14 years ago2009-11-06 Doug Kwan <dougkwan@google.com>
dougkwan [Sat, 7 Nov 2009 10:58:05 +0000 (10:58 +0000)]
2009-11-06  Doug Kwan  <dougkwan@google.com>

* arm.cc (class Reloc_stub): Correct a comment.
(Target_arm::Target_arm): Initialize arm_input_section_map_.
(Target_arm::scan_section_for_stubs): New method declaration.
(Target_arm::do_make_elf_object, Target_arm::do_make_output_section):
Change methods from private to protected.
(Target_arm::do_may_relax): New method definition.
(Target_arm::do_relax, Target_arm::group_sections,
Target_arm::scan_reloc_for_stub,
Target_arm::scan_reloc_section_for_stubs): New method declarations.
(Target_arm::arm_input_section_map_): New data member declaration.
(Target_arm::scan_reloc_for_stub,
Target_arm::scan_reloc_section_for_stubs,
Target_arm::scan_section_for_stubs, Target_arm::group_sections,
Target_arm::do_relax): New method definitions.

14 years ago*** empty log message ***
gdbadmin [Sat, 7 Nov 2009 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

14 years ago2009-11-06 Sebastian Pop <sebastian.pop@amd.com>
spop [Sat, 7 Nov 2009 08:17:25 +0000 (08:17 +0000)]
2009-11-06  Sebastian Pop  <sebastian.pop@amd.com>

* opcodes/i386-dis.c (reg_table): Add XOP_8F_TABLE (XOP_09) to
reg_table[REG_8F][1]: for XOP instructions, ModRM.reg first points to
B.mm in the RXB.mmmmm byte, and so when B is set, we still should use
the xop_table.
(get_valid_dis386): Removed unused condition (from cut/n/paste) for
XOP instructions.

* gas/testsuite/gas/i386/x86-64-lwp.s: Updated to also contain
patterns with r[8-15] registers.
* gas/testsuite/gas/i386/x86-64-lwp.d: Same.

14 years agodaily update
amodra [Sat, 7 Nov 2009 08:00:04 +0000 (08:00 +0000)]
daily update

14 years ago2009-11-06 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 7 Nov 2009 07:59:44 +0000 (07:59 +0000)]
2009-11-06  H.J. Lu  <hongjiu.lu@intel.com>

* doc/c-i386.texi: Move .lwp.

14 years ago * globals.cc (ro_u_scr): New R/O unicode string.
corinna [Sat, 7 Nov 2009 05:51:03 +0000 (05:51 +0000)]
* globals.cc (ro_u_scr): New R/O unicode string.
(ro_u_sys): Ditto.
* syscalls.cc (nt_path_has_suffix): Replace with ...
(nt_path_has_executable_suffix): New function checking for explicit
executable suffixes.
(rename): Call nt_path_has_executable_suffix instead of
nt_path_has_suffix.  Check oldpath for nt_path_has_executable_suffix
as well to set old_explicit_suffix.

14 years ago * m68k-tdep.c (m68k_convert_register_p): Correct
vprus [Sat, 7 Nov 2009 04:26:17 +0000 (04:26 +0000)]
* m68k-tdep.c (m68k_convert_register_p): Correct
messup.

14 years ago * m68k-tdep.c (m68k_convert_register_p): Compare with
vprus [Sat, 7 Nov 2009 02:22:30 +0000 (02:22 +0000)]
* m68k-tdep.c (m68k_convert_register_p): Compare with
the actual type of fp registers, not one of the possible
values.

14 years ago2009-11-06 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 7 Nov 2009 01:50:59 +0000 (01:50 +0000)]
2009-11-06  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10912
* ldmain.c (add_DT_NEEDED_for_dynamic): Default to TRUE.

14 years ago2009-11-06 Kai Tietz <kai.tietz@onevision.com>
ktietz [Sat, 7 Nov 2009 00:50:55 +0000 (00:50 +0000)]
2009-11-06  Kai Tietz  <kai.tietz@onevision.com>

        * pe.em (DEFAULT_PSEUDO_RELOC_VERSION): New macro.
        (gld_XXX_before_parse): Set pseudo-relocation default
        version to DEFAULT_PSEUDO_RELOC_VERSION.
        (gldXXX_handle_option): Likewise.

14 years ago * configure.ac: Check for (struct stat)::st_mtim
ian [Sat, 7 Nov 2009 00:47:06 +0000 (00:47 +0000)]
* configure.ac: Check for (struct stat)::st_mtim
* fileread.cc (File_read::get_mtime): Use st_mtim if available.
* config.in: Regenerate.
* configure: Regenerate.

14 years agoChecking this in for: Jonas Maebe <jonas.maebe@elis.ugent.be>
brobecke [Fri, 6 Nov 2009 23:38:19 +0000 (23:38 +0000)]
Checking this in for:  Jonas Maebe  <jonas.maebe@elis.ugent.be>

        Add DWARF attribute value for the "Borland fastcall" calling
        convention.
        * elf/dwarf2.h: Add DW_CC_GNU_borland_fastcall_i386 constant.

14 years ago Prevent program output from mix with "^running".
vprus [Fri, 6 Nov 2009 23:26:09 +0000 (23:26 +0000)]
    Prevent program output from mix with "^running".

gdb/
* mi/mi-interp.c (mi_on_resume): Output token
and "^running" together, so that nothing else gets
in between.

14 years ago * transport_pipes.cc (transport_layer_pipes::transport_layer_pipes):
corinna [Fri, 6 Nov 2009 22:11:52 +0000 (22:11 +0000)]
* transport_pipes.cc (transport_layer_pipes::transport_layer_pipes):
Check cygwin_internal for returning 0 rather than for != 0.
(transport_layer_pipes::accept): Add debug output.
(transport_layer_pipes::connect): Ditto.

14 years ago * shared.cc (inst_root_inited): New static bool variable.
corinna [Fri, 6 Nov 2009 22:06:35 +0000 (22:06 +0000)]
* shared.cc (inst_root_inited): New static bool variable.
(init_installation_root): Set inst_root_inited to true.
(memory_init): Print installation root debug output only if
inst_root_inited is true.

14 years ago * config/obj-elf.c (obj_elf_change_section): Remove FIXME from
amodra [Fri, 6 Nov 2009 20:51:04 +0000 (20:51 +0000)]
* config/obj-elf.c (obj_elf_change_section): Remove FIXME from
comment.

14 years ago * cgen-mem.h (DECLARE_GETT): Don't inline.
devans [Fri, 6 Nov 2009 13:46:17 +0000 (13:46 +0000)]
* cgen-mem.h (DECLARE_GETT): Don't inline.
(DECLARE_SETT): Ditto.

14 years ago* libc/include/ctype.h (__ctype_lookup): Fix precedence.
ericb [Fri, 6 Nov 2009 12:27:19 +0000 (12:27 +0000)]
* libc/include/ctype.h (__ctype_lookup): Fix precedence.

14 years ago*** empty log message ***
gdbadmin [Fri, 6 Nov 2009 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

14 years ago2009-11-05 Sebastian Pop <sebastian.pop@amd.com>
spop [Fri, 6 Nov 2009 08:40:03 +0000 (08:40 +0000)]
2009-11-05  Sebastian Pop  <sebastian.pop@amd.com>
    Quentin Neill  <quentin.neill@amd.com>

* gas/config/tc-i386.c (cpu_arch): Add CPU_LWP_FLAGS.
(build_vex_prefix): Handle xop09 and xop0a.
(build_modrm_byte): Handle vexlwp.
(md_show_usage): Add lwp.
* gas/doc/c-i386.texi (i386-LWP): New section.

* gas/testsuite/gas/i386/i386.exp: Run x86-64-lwp in 64-bit mode,
run lwp in 32-bit mode.
* gas/testsuite/gas/i386/x86-64-lwp.d: New.
* gas/testsuite/gas/i386/x86-64-lwp.s: New.
* gas/testsuite/gas/i386/lwp.d: New.
* gas/testsuite/gas/i386/lwp.s: New.

* opcodes/i386-dis.c (OP_LWPCB_E): New.
(OP_LWP_E): New.
(OP_LWP_I): New.
(USE_XOP_8F_TABLE): New.
(XOP_8F_TABLE): New.
(REG_XOP_LWPCB): New.
(REG_XOP_LWP): New.
(XOP_09): New.
(XOP_0A): New.
(reg_table): Redirect REG_8F to XOP_8F_TABLE.
Add entries for REG_XOP_LWPCB and REG_XOP_LWP.
(xop_table): New.
(get_valid_dis386): Handle USE_XOP_8F_TABLE.
Use the offsets VEX_0F, VEX_0F38, and VEX_0F3A instead of their values
to access to the vex_table.
(OP_LWPCB_E): New.
(OP_LWP_E): New.
(OP_LWP_I): New.
* opcodes/i386-gen.c (cpu_flag_init): Add CPU_LWP_FLAGS, CpuLWP.
(cpu_flags): Add CpuLWP.
(opcode_modifiers): Add VexLWP, XOP09, and XOP0A.
* opcodes/i386-opc.h (CpuLWP): New.
(i386_cpu_flags): Add bit cpulwp.
(VexLWP): New.
(XOP09): New.
(XOP0A): New.
(i386_opcode_modifier): Add vexlwp, xop09, and xop0a.
* opcodes/i386-opc.tbl (llwpcb): Added.
(lwpval): Added.
(lwpins): Added.

14 years ago * dwarf2read.c (struct dwarf2_cu): Remove ranges_offset and
drow [Fri, 6 Nov 2009 08:18:00 +0000 (08:18 +0000)]
* dwarf2read.c (struct dwarf2_cu): Remove ranges_offset and
has_ranges_offset.
(struct partial_die_info): Remove language, has_stmt_list, dirname,
and line_offset.
(dwarf2_build_include_psymtabs): Take a die_info.  Handle a missing
line table.
(dwarf2_get_pc_bounds): Take PST argument.  Pass it
to dwarf2_ranges_read.  Update all callers.
(init_cu_die_reader): Move earlier.
(dwarf2_find_base_address): New function.
(process_psymtab_comp_unit): Rewrite to use a full DIE for the
compilation unit.  Use dwarf2_get_pc_bounds and
dwarf2_find_base_address.
(load_comp_unit): Rewrite to use a full DIE for the compilation unit.
(process_full_comp_unit): Use dwarf2_find_base_address.
(read_partial_die): Remove support for attributes only used
in the compilation unit DIE.
* symfile.c (allocate_psymtab): Make FILENAME const.
(start_psymtab_common): Likewise.
* symfile.h (allocate_psymtab, start_psymtab_common): Update
prototypes.

14 years agodaily update
amodra [Fri, 6 Nov 2009 08:00:04 +0000 (08:00 +0000)]
daily update

14 years ago * symmisc.c (print_symbol_bcache_statistics): Print filename cache
tromey [Fri, 6 Nov 2009 07:26:09 +0000 (07:26 +0000)]
* symmisc.c (print_symbol_bcache_statistics): Print filename cache
statistics.
(print_objfile_statistics): Likewise.
* symfile.c (reread_symbols): Initialize filename_cache.
(allocate_symtab): Cache the file name.
(allocate_psymtab): Likewise.
* solib-sunos.c (allocate_rt_common_objfile): Initialize
filename_cache.
* objfiles.h (struct objfile) <filename_cache>: New field.
* objfiles.c (allocate_objfile): Initialize filename_cache.
(free_objfile): Free filename_cache.

14 years ago * symfile.c (add_psymbol_to_bcache): Make 'psymbol' static again.
tromey [Fri, 6 Nov 2009 07:19:09 +0000 (07:19 +0000)]
* symfile.c (add_psymbol_to_bcache): Make 'psymbol' static again.
Zero the 'value' field.

14 years ago * amd64-tdep.c (amd64_init_frame_cache): Enhance comment describing
devans [Fri, 6 Nov 2009 06:17:00 +0000 (06:17 +0000)]
* amd64-tdep.c (amd64_init_frame_cache): Enhance comment describing
saved_regs.

14 years ago * top.c (execute_command): Select a frame before checking the current
drow [Fri, 6 Nov 2009 05:43:52 +0000 (05:43 +0000)]
* top.c (execute_command): Select a frame before checking the current
language.  Only output a message if verbose.

14 years ago * config/m68k-emc.exp, lib/emc-support.exp,
drow [Fri, 6 Nov 2009 05:06:02 +0000 (05:06 +0000)]
* config/m68k-emc.exp, lib/emc-support.exp,
gdb.trace/gdb_c_test.c: Delete.
* gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
gdb.trace/collection.exp, gdb.trace/deltrace.exp,
gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
casing for m68k-*-elf.

14 years agoRemove debugging code accidentally included in last commit.
ian [Fri, 6 Nov 2009 04:56:41 +0000 (04:56 +0000)]
Remove debugging code accidentally included in last commit.

14 years ago PR 10910
ian [Fri, 6 Nov 2009 04:54:30 +0000 (04:54 +0000)]
PR 10910
* output.cc (Output_segment::add_output_section): Add missing
return statement.

14 years ago * symtab.h (SYMBOL_SET_LINKAGE_NAME): Update comment.
tromey [Fri, 6 Nov 2009 04:53:03 +0000 (04:53 +0000)]
* symtab.h (SYMBOL_SET_LINKAGE_NAME): Update comment.
* symfile.c (allocate_symtab): Don't use obsavestring on a
constant string.
* stabsread.c (define_symbol): Don't use obsavestring on a
constant string.
* mdebugread.c (parse_type): Don't use obsavestring on a constant
string.
(new_symtab): Likewise.
* elfread.c (elf_symtab_read): Don't use obsavestring on a
constant string.

14 years ago * utils-cgen.scm (gen-set-macro2): New function.
devans [Fri, 6 Nov 2009 04:23:08 +0000 (04:23 +0000)]
* utils-cgen.scm (gen-set-macro2): New function.
* sim.scm (<hw-register> gen-get-macro): Call it.

14 years ago * co-for-gen-all: New file.
devans [Fri, 6 Nov 2009 03:42:30 +0000 (03:42 +0000)]
* co-for-gen-all: New file.

14 years ago * testsuite/name-comments-1.test: Update call to current-insn-lookup.
devans [Fri, 6 Nov 2009 01:59:54 +0000 (01:59 +0000)]
* testsuite/name-comments-1.test: Update call to current-insn-lookup.

14 years ago * utils.scm (reduce): Delete.
devans [Fri, 6 Nov 2009 01:55:33 +0000 (01:55 +0000)]
* utils.scm (reduce): Delete.

* rtl-traverse.scm (/rtx-canon-rtx-enum): Tweak local name.

* enum.scm (gen-enum-sym): Make consistent with gen-enum-decl
regarding PREFIX attribute handling.

* operand.scm (<hw-index>): Add enum to possible types, all uses
updated.
(hw-index-constant?, hw-index-constant-value): New functions.
(make-enum-hw-index, hw-index-enum-name, hw-index-enum-value,
hw-index-enum-obj): New functions.
(/operand-parse): Handle enum indices.
* intrinsics.scm (md-operand:fixed-register): Use hw-index-constant?,
hw-index-constant-value.
* rtl.scm (rtx-constant-value): Fix handling of enums.
* rtx-funcs.scm (enum): Ditto.
* sid.scm (<hardware-base> cxmake-get): Only ifield indices are
currently supported here.

14 years agodowngrade some fixmes -> ???
devans [Fri, 6 Nov 2009 01:53:40 +0000 (01:53 +0000)]
downgrade some fixmes -> ???

14 years ago * lexsup.c: Rename --add-needed to --copy-dt-needed-entries.
nickc [Fri, 6 Nov 2009 00:35:49 +0000 (00:35 +0000)]
    * lexsup.c: Rename --add-needed to --copy-dt-needed-entries.
        * ldlang.h (struct lang_input_statement_struct): Rename add_needed
        to add_DT_NEEDED_for_dynamic.  Rename as_needed to
        add_DT_NEEDED_for_regular.
        * ldlang.c: Likewise.
        * ldlang.h: Likewise.
        * ldlang.c: Use the new variable names.
        * ldgram.y: Likewise.
        * emultempl/elf32.em: Likewise.
        * ld.texinfo: Document the renamed option.  Also mention its
        affect on the resolution of dynamic symbols.
        * NEWS: Mention the changed option name.

14 years ago * elflink.c (elf_link_add_object_symbols): Improve error
nickc [Fri, 6 Nov 2009 00:34:17 +0000 (00:34 +0000)]
    * elflink.c (elf_link_add_object_symbols): Improve error
        message generated when a symbol is left unresolved because a
        --no-add-needed command line option has prevented the
        inclusion of the DSO defining it.

14 years ago * syscalls.cc (nt_path_has_suffix): New function.
corinna [Thu, 5 Nov 2009 23:44:12 +0000 (23:44 +0000)]
* syscalls.cc (nt_path_has_suffix): New function.
(rename): Don't append .exe suffix if binary target name has any suffix
at all.

14 years ago * gas/i386/i386.exp (space1): Move test inside check for x86
nickc [Thu, 5 Nov 2009 20:02:15 +0000 (20:02 +0000)]
    * gas/i386/i386.exp (space1): Move test inside check for x86
        target.

14 years ago * spawn.cc (dll_suffixes): Disable. Explain why.
corinna [Thu, 5 Nov 2009 18:59:17 +0000 (18:59 +0000)]
* spawn.cc (dll_suffixes): Disable.  Explain why.
(perhaps_suffix): Use stat_suffixes instead of dll_suffixes.

14 years ago2009-11-05 Kai Tietz <kai.tietz@onevision.com>
ktietz [Thu, 5 Nov 2009 18:49:07 +0000 (18:49 +0000)]
2009-11-05  Kai Tietz  <kai.tietz@onevision.com>

        * dllwrap.c (is_leading_underscore): New variable.
        (cpu_type): New enum type.
        (which_cpu): New variable.
        (usage): Add new options --no-leading-underscore
        and --leading-underscore.
        (long_options): Likewise.
        (OPTION_NO_LEADING_UNDERSCORE): New define.
        (OPTION_LEADING_UNDERSCORE): Likewise.
        (main): Initialize which_host, pass new options
        to dlltool, do underscoring dependent on
        is_leading_underscore, and do '@12' decoration
        only for x86.

14 years ago PR 10880
ian [Thu, 5 Nov 2009 15:24:39 +0000 (15:24 +0000)]
PR 10880
* object.h (class Object): Add is_needed and set_is_needed
methods.  Add is_needed_ field.  Make bool fields into bitfields.
* symtab.cc (Symbol_table::set_dynsym_indexes): If a symbol is
defined in a dynamic object and referenced by a regular object,
set is_needed for the dynamic object.
* layout.cc (Layout::finish_dynamic_section): Don't add DT_NEEDED
if the file is marked with as_needed and it is not needed.

14 years ago[opcodes]
dj [Thu, 5 Nov 2009 11:31:40 +0000 (11:31 +0000)]
[opcodes]
* rx-decode.opc (rx_decode_opcode) (mvtipl): Add.
(mvtcp, mvfcp, opecp): Remove.
* rx-decode.c: Regenerate.
* rx-dis.c (cpen): Remove.

[gas]
* config/rx-parse.y (MVTIPL): Update bit pattern.
(cpen): Remove.

[include/opcode]
* rx.h (rx_decode_opcode) (mvtipl): Add.
(mvtcp, mvfcp, opecp): Remove.

14 years ago[opcodes]
dj [Thu, 5 Nov 2009 09:38:44 +0000 (09:38 +0000)]
[opcodes]
* rx-decode.opc (rx_decode_opcode) (mvtipl): Add.
(mvtcp, mvfcp, opecp): Remove.
* rx-decode.c: Regenerate.
* rx-dis.c (cpen): Remove.

[gas]
* config/rx-parse.y (MVTIPL): Update bit pattern.
(cpen): Remove.

[include/opcode]
* rx.h (rx_decode_opcode) (mvtipl): Add.
(mvtcp, mvfcp, opecp): Remove.

14 years ago*** empty log message ***
gdbadmin [Thu, 5 Nov 2009 09:00:04 +0000 (09:00 +0000)]
*** empty log message ***

14 years ago * symfile.c (add_psymbol_to_bcache): Don't copy name. Make
tromey [Thu, 5 Nov 2009 08:06:49 +0000 (08:06 +0000)]
* symfile.c (add_psymbol_to_bcache): Don't copy name.  Make
'psymbol' non-static.

14 years agodaily update
amodra [Thu, 5 Nov 2009 08:00:05 +0000 (08:00 +0000)]
daily update

14 years ago2009-11-04 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 5 Nov 2009 03:52:03 +0000 (03:52 +0000)]
2009-11-04  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/876
* gas/i386/i386.exp: Run space1.

* gas/i386/space1.l: New.
* gas/i386/space1.s: Likewise.

14 years ago2009-11-04 Kai Tietz <kai.tietz@onevision.com>
ktietz [Thu, 5 Nov 2009 03:13:04 +0000 (03:13 +0000)]
2009-11-04  Kai Tietz  <kai.tietz@onevision.com>

        * emulparams/arm_epoc_pe.sh: Remove ENTRY.
        * emulparams/arm_wince_pe.sh: Likewise.
        * emulparams/i386pe.sh: Likewise.
        * emulparams/i386pe_posix.sh: Likewise.
        * emulparams/mcorepe.sh: Likewise.
        * emulparams/mipspe.sh: Likewise.
        * emulparams/ppcpe.sh: Likewise.
        * emulparams/armpe.sh: Likewise.
        * emulparams/i386pep.sh: Likewise.
        * emulparams/shpe.sh: Likewise.
        Additionally cleaned up double-defined
        variables SUBSYSTEM and INITIAL_SYMBOL_CHAR.
        * emultempl/pe.em: Remove use of ENTRY.
        (pe_subsystem): New local variable.
        (gld_XXX_before_parse): Don't set default
        entry point here.
        (set_entry_point): New function to set entry
        point.
        (set_pe_subsystem): Remove code for entry point.
        (gld_XXX_after_parse): Use set_entry_point here.
        * emultempl/pep.em: Likewise.

14 years ago * path.cc (read_mounts): Skip unnecessary test if path has been
corinna [Thu, 5 Nov 2009 02:09:32 +0000 (02:09 +0000)]
* path.cc (read_mounts): Skip unnecessary test if path has been
fetched from loaded cygwin1.dll.

14 years ago * cygcheck.cc (cygwin_dll_path): New global variable.
corinna [Thu, 5 Nov 2009 02:00:45 +0000 (02:00 +0000)]
* cygcheck.cc (cygwin_dll_path): New global variable.
(load_cygwin): Fetch cygwin DLL path and store in cygwin_dll_path.
* strace.cc: Full ditto.
* path.cc (read_mounts): First use the path stored in cygwin_dll_path,
if available.  Then fall back to fetching own path.  Add comment.
Drop printing warnings since they look funny in strace output.

14 years ago PR 10887
ian [Thu, 5 Nov 2009 01:35:51 +0000 (01:35 +0000)]
PR 10887
* arm.cc (Target_arm::do_finalize_sections): Don't add dynamic
tags if data is discarded by linker script.
* i386.cc (Target_i386::do_finalize_sections): Likewise.
* powerpc.cc (Target_powerpc::do_finalize_sections): Likewise.
* sparc.cc (Target_sparc::do_finalize_sections): Likewise.
* x86_64.cc (Target_x86_64::do_finalize_sections): Likewise.

14 years ago * layout.cc (Layout::get_output_section): Add is_interp and
ian [Thu, 5 Nov 2009 00:56:03 +0000 (00:56 +0000)]
* layout.cc (Layout::get_output_section): Add is_interp and
is_dynamic_linker_section parameters.  Change all callers.
(Layout::choose_output_section): Likewise.
(Layout::make_output_section): Likewise.
(Layout::add_output_section_data): Add is_dynamic_linker_section
parameter.  Change all callers.
* layout.h (class Layout): Update declarations.
* output.h (class Output_section): Add is_interp, set_is_interp,
is_dynamic_linker_section, set_is_dynamic_linker_section methods.
Add is_interp_, is_dynamic_linker_section_ fields.  Change
generate_code_fills_at_write_ to a bitfield.
* output.cc (Output_section::Output_sections): Initialize new
fields.
(Output_segment::add_output_section): Add do_sort parameter.
Change all callers.

14 years ago * path.cc (read_mounts): First get installation path from own path.
corinna [Thu, 5 Nov 2009 00:47:29 +0000 (00:47 +0000)]
* path.cc (read_mounts): First get installation path from own path.
Check if cygwin1.dll exists in same directory.  Only if not, try to
get installation path from setup registry key.  Add ample warnings.

14 years ago * Makefile.in (cygpath.exe): Add -fno-threadsafe-statics to CXXFLAGS.
corinna [Wed, 4 Nov 2009 23:14:51 +0000 (23:14 +0000)]
* Makefile.in (cygpath.exe): Add -fno-threadsafe-statics to CXXFLAGS.

14 years agoFix ChangeLog typo.
pbrook [Wed, 4 Nov 2009 19:22:03 +0000 (19:22 +0000)]
Fix ChangeLog typo.

14 years ago2009-11-04 Daniel Jacobowitz <dan@codesourcery.com>
mkuvyrkov [Wed, 4 Nov 2009 18:51:59 +0000 (18:51 +0000)]
2009-11-04  Daniel Jacobowitz  <dan@codesourcery.com>
    Maxim Kuvyrkov  <maxim@codesourcery.com>

* config/tc-m68k.h (CF_DIFF_EXPR_OK): Define to 0 for uClinux.
(CFI_DIFF_LSDA_OK): Define.
* config/te-uclinux.h: New file.
* configure.tgt (m68k-uclinux): Define em.
* dw2gencfi.c (CFI_DIFF_LSDA_OK): New macro.
(dot_cfi_lsda, output_fde): Use instead of CFI_DIFF_EXPR_OK.

14 years ago * m32c-desc.c: Regenerate.
devans [Wed, 4 Nov 2009 15:18:26 +0000 (15:18 +0000)]
* m32c-desc.c: Regenerate.
* mep-desc.c: Regenerate.

14 years ago * arch.c: Regenerate.
devans [Wed, 4 Nov 2009 14:42:21 +0000 (14:42 +0000)]
* arch.c: Regenerate.
* arch.h: Regenerate.
* cpu.c: Regenerate.
* cpu.h: Regenerate.
* cpuall.h: Regenerate.
* decode.c: Regenerate.
* decode.h: Regenerate.
* model.c: Regenerate.
* sem-switch.c: Regenerate.
* sem.c: Regenerate.

14 years ago * arch.c: Regenerate.
devans [Wed, 4 Nov 2009 14:16:32 +0000 (14:16 +0000)]
* arch.c: Regenerate.
* arch.h: Regenerate.
* cpu.c: Regenerate.
* cpu.h: Regenerate.
* cpuall.h: Regenerate.
* decode.c: Regenerate.
* decode.h: Regenerate.
* model.c: Regenerate.
* sem-switch.c: Regenerate.
* sem.c: Regenerate.

14 years ago * arch.c: Regenerate.
devans [Wed, 4 Nov 2009 14:06:59 +0000 (14:06 +0000)]
* arch.c: Regenerate.
* arch.h: Regenerate.
* cpu.c: Regenerate.
* cpu.h: Regenerate.
* cpu2.c: Regenerate.
* cpu2.h: Regenerate.
* cpuall.h: Regenerate.
* cpux.c: Regenerate.
* cpux.h: Regenerate.
* decode.c: Regenerate.
* decode.h: Regenerate.
* decode2.c: Regenerate.
* decode2.h: Regenerate.
* decodex.c: Regenerate.
* decodex.h: Regenerate.
* model.c: Regenerate.
* model2.c: Regenerate.
* modelx.c: Regenerate.
* sem-switch.c: Regenerate.
* sem.c: Regenerate.
* sem2-switch.c: Regenerate.
* semx-switch.c: Regenerate.

14 years ago * Makefile.in (mloop.c): Add @true to rule.
devans [Wed, 4 Nov 2009 14:02:18 +0000 (14:02 +0000)]
* Makefile.in (mloop.c): Add @true to rule.
(mloopx.c, mloop2.c): Ditto.
(stamp-*): Add Makefile dependency.
(arch.c, arch.h, cpuall.h): Specify full path.
(cpu.h, sem.c, sem-switch.c, model.c, decode.c, decode.h): Ditto.
(cpux.h, semx-switch.c, modelx.c, decodex.c, decodex.h): Ditto.
(cpu2.h, sem2-switch.c, model2.c, decode2.c, decode2.h): Ditto.

14 years ago * arch.c: Regenerate.
devans [Wed, 4 Nov 2009 13:40:47 +0000 (13:40 +0000)]
* arch.c: Regenerate.
* arch.h: Regenerate.
* cpu.c: Regenerate.
* cpu.h: Regenerate.
* cpuall.h: Regenerate.
* decode-compact.c: Regenerate.
* decode-compact.h: Regenerate.
* decode-media.c: Regenerate.
* decode-media.h: Regenerate.
* defs-compact.h: Regenerate.
* defs-media.h: Regenerate.
* sem-compact-switch.c: Regenerate.
* sem-compact.c: Regenerate.
* sem-media-switch.c: Regenerate.
* sem-media.c: Regenerate.
* sh-desc.c: Regenerate.
* sh-opc.h: Regenerate.

14 years ago * arch.c: Regenerate.
devans [Wed, 4 Nov 2009 13:33:06 +0000 (13:33 +0000)]
* arch.c: Regenerate.
* arch.h: Regenerate.
* cpu.c: Regenerate.
* cpu.h: Regenerate.
* cpuall.h: Regenerate.
* decode.c: Regenerate.
* decode.h: Regenerate.
* model.c: Regenerate.
* sem.c: Regenerate.

14 years ago PR 10860
ian [Wed, 4 Nov 2009 10:24:41 +0000 (10:24 +0000)]
PR 10860
* options.h (class General_options): Add --warn-common.
* resolve.cc (Symbol_table::resolve): Handle --warn-common when
merging two common symbols.
(Symbol_table::should_override): Handle --warn-common when merging
a common symbol with a defined symbol.  Use report_resolve_problem
for multiple definitions.
(Symbol_table::report_resolve_problem): New function.
* symtab.h (class Symbol_table): Declare report_resolve_problem.

14 years ago*** empty log message ***
gdbadmin [Wed, 4 Nov 2009 09:00:03 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Wed, 4 Nov 2009 08:00:03 +0000 (08:00 +0000)]
daily update

14 years ago2009-11-03 Doug Kwan <dougkwan@google.com>
dougkwan [Wed, 4 Nov 2009 06:18:13 +0000 (06:18 +0000)]
2009-11-03  Doug Kwan  <dougkwan@google.com>

* arm.cc (Target_arm::Target_arm): Initialize stub_tables_ and
stub_factory_.
(Target_arm::stub_factory): New method definition.
(Target_arm::new_arm_input_section,
Target_arm::find_arm_input_section, Target_arm::new_stub_table,
Target_arm::reloc_uses_thumb_bit): New method declarations.
(Target_arm::Stub_table_list, Target_arm::Arm_input_section_map):
New type definitions.
(Target_arm::stub_tables_, Target_arm::stub_factory_): New data
member declarations.
(Target_arm::reloc_uses_thumb_bit, Target_arm::new_arm_input_section,
Target_arm::find_arm_input_section, Target_arm::new_stub_table):
New method definitions.

14 years ago2009-11-03 Paul Pluzhnikov <ppluzhnikov@google.com>
ppluzhnikov [Wed, 4 Nov 2009 02:14:53 +0000 (02:14 +0000)]
2009-11-03  Paul Pluzhnikov  <ppluzhnikov@google.com>

* linux-thread-db.c (disable_thread_event_reporting): Adjust.

14 years ago * Makefile.in (SIM_EXTRA_DEPS): Add sh-desc.h sh-opc.h.
devans [Wed, 4 Nov 2009 01:56:52 +0000 (01:56 +0000)]
* Makefile.in (SIM_EXTRA_DEPS): Add sh-desc.h sh-opc.h.
(sh-desc.o): New rule.
(sh-desc.h,sh-desc.c,sh-opc.h): Replaces rule for desc.h.
(all generated file rules): Specify generated file with full path.