OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
14 years agobinutils/testsuite/ChangeLog:
davek [Sat, 30 Jan 2010 16:13:33 +0000 (16:13 +0000)]
binutils/testsuite/ChangeLog:

* binutils-all/windres/html.rc: Don't xfail x86_64-*-mingw*.
* binutils-all/windres/lang.rc: Likewise.
* binutils-all/windres/messagetable.rc: Likewise.
* binutils-all/windres/strtab1.rc: Likewise.
* binutils-all/windres/strtab2.rc: Likewise.
* binutils-all/windres/version.rc: Likewise.
* binutils-all/windres/version_cat.rc: Likewise.

14 years ago * elf32-hppa.c (final_link_relocate): Convert R_PARISC_TLS_GD21L,
danglin [Sat, 30 Jan 2010 16:09:42 +0000 (16:09 +0000)]
* elf32-hppa.c (final_link_relocate): Convert R_PARISC_TLS_GD21L,
R_PARISC_TLS_LDM21L and R_PARISC_TLS_IE21L relocations that use the
linkage table pointer to use the global table pointer if not doing
a shared link.

14 years ago2010-01-29 Viktor Kutuzov <vkutuzov@accesssoftek.com>
dougkwan [Sat, 30 Jan 2010 00:11:00 +0000 (00:11 +0000)]
2010-01-29  Viktor Kutuzov  <vkutuzov@accesssoftek.com>

* gold/arm.cc: Added support for the ARM relocations: R_ARM_THM_PC8,
R_ARM_THM_PC12, R_ARM_THM_ALU_PREL_11_0.
(Arm_relocate_functions::thm_alu11): New Method.
(Arm_relocate_functions::thm_pc8): New Method.
(Arm_relocate_functions::thm_pc12): New Method.
(Target_arm::Scan::local): Handle the relocations.
(Target_arm::Scan::global): Likewise.
(Target_arm::Relocate::relocate): Likewise.
(Target_arm:Relocatable_size_for_reloc::get_size_for_reloc): Likewise.

14 years ago2010-01-29 Doug Kwan <dougkwan@google.com>
dougkwan [Sat, 30 Jan 2010 00:01:12 +0000 (00:01 +0000)]
2010-01-29  Doug Kwan  <dougkwan@google.com>

* arm.cc (Target_arm::Scan::global): General PLTs for the same set
of relocation types as ld.

14 years ago*** empty log message ***
gdbadmin [Sat, 30 Jan 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago2010-01-29 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 29 Jan 2010 23:04:20 +0000 (23:04 +0000)]
2010-01-29  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/search/Makefile.am: Create .def files for bsearch and qsort.
        * libc/search/Makefile.in: Regenerated.
        * libc/stdlib/stdlib.tex: Add bsearch and qsort.

14 years agodaily update
amodra [Fri, 29 Jan 2010 23:00:05 +0000 (23:00 +0000)]
daily update

14 years ago2010-01-29 Doug Kwan <dougkwan@google.com>
dougkwan [Fri, 29 Jan 2010 22:16:17 +0000 (22:16 +0000)]
2010-01-29  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_relocate_functions::arm_branch_common) Change visibility
to public.
(Arm_relocate_functions::thumb_branch_common): Ditto.
(Arm_relocate_functions::thm_call, Arm_relocate_functions::thm_jump24,
Arm_relocate_functions::thm_xpc22, Arm_relocate_functions::plt32,
Arm_relocate_functions::xpc25, Arm_relocate_functions::call,
Arm_relocate_functions::jump24): Remove.
(Target_arm::Relocate::relocate): Adjust code to call
Arm_relocation_functions::arm_branch_common and
Arm_relocation_functions::thumb_branch_common instead of their removed
wrappers.  Merge switch-cases together to reduce source code size.

14 years ago * sec_auth.cc (lsaauth): Use CYG_LSA_MAGIC as checksum start value to
corinna [Fri, 29 Jan 2010 19:51:11 +0000 (19:51 +0000)]
* sec_auth.cc (lsaauth): Use CYG_LSA_MAGIC as checksum start value to
decouple from Cygwin release.

14 years ago * cyglsa.c: Include lmcons.h instead of lm.h to make newer WinDDK happy.
corinna [Fri, 29 Jan 2010 19:50:14 +0000 (19:50 +0000)]
* cyglsa.c: Include lmcons.h instead of lm.h to make newer WinDDK happy.
(LsaApLogonUserEx): Use CYG_LSA_MAGIC as checksum start value to
decouple from Cygwin release.
* make-64bit-version-with-visual-c.bat: Avoid compiler warning.
* cyglsa64.dll: New build.

14 years ago * libc/strfmon.c (__setup_vars): Test for an empty string rather than
corinna [Fri, 29 Jan 2010 19:38:21 +0000 (19:38 +0000)]
* libc/strfmon.c (__setup_vars): Test for an empty string rather than
for a NULL pointer.

14 years ago* dll_init.cc (remove_dll_atexit): New function.
cgf [Fri, 29 Jan 2010 18:34:09 +0000 (18:34 +0000)]
* dll_init.cc (remove_dll_atexit): New function.
(dll_list::detach): Run any atexit handlers registered in the DLL prior to
unloading.

14 years ago2010-01-29 Doug Kwan <dougkwan@google.com>
dougkwan [Fri, 29 Jan 2010 18:23:18 +0000 (18:23 +0000)]
2010-01-29  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_relobj::Arm_relobj): Initialize new data member
output_local_symbol_count_needs_update_.
(Arm_relobj::output_local_symbol_count_needs_update,
 Arm_relobj::set_output_local_symbol_count_needs_update,
 Arm_relobj::update_output_local_symbol_count): New methods.
(Arm_relobj::output_local_symbol_count_needs_update_): New data
member.
(Arm_exidx_cantunwind::do_fixed_endian_write): Write address
of pointed function as in a R_ARM_PREL31 relocation.
(Arm_output_section<big_endian>::fix_exidx_coverage): Mark objects
for output local symbol count updating.
(Target_arm::do_relax): Update output local symbol counts in objects
if necessary.
* object.h (Sized_relobj::set_output_local_symbol_count): New method.

14 years ago* libc/strfmon.c (__setup_vars): Fix compiler warning about assigning const
cgf [Fri, 29 Jan 2010 17:37:54 +0000 (17:37 +0000)]
* libc/strfmon.c (__setup_vars): Fix compiler warning about assigning const
strings.  Compare a pointer to NULL rather than '\0'.
* dll_init.cc (dll_dllcrt0_1): Minor comment fix.
* pipe.cc (fhandler_pipe::create_selectable): Remove Win9x accommodation.

14 years ago gas/testsuite/
drow [Fri, 29 Jan 2010 16:47:55 +0000 (16:47 +0000)]
gas/testsuite/
* gas/arm/dis-data.d: Update test name.  Do not expect
.word output.
* gas/arm/dis-data2.d, gas/arm/dis-data2.s,
gas/arm/dis-data3.d, gas/arm/dis-data3.s: New tests.

opcodes/
* opcodes/arm-dis.c (struct arm_private_data): New.
(print_insn_coprocessor, print_insn_arm): Update to use struct
arm_private_data.
(is_mapping_symbol, get_map_sym_type): New functions.
(get_sym_code_type): Check the symbol's section.  Do not check
mapping symbols.
(print_insn): Default to disassembling ARM mode code.  Check
for mapping symbols separately from other symbols.  Use
struct arm_private_data.

14 years ago PR 11136
nickc [Fri, 29 Jan 2010 16:02:38 +0000 (16:02 +0000)]
    PR 11136
        * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
        NS_NULL.
        * gas/arm/neon-omit.s: Add instruction that causes crash.
        * gas/arm/neon-omit.d: Add expected disassembly.

14 years ago * arm.cc: Added support for the ARM relocations:
ian [Fri, 29 Jan 2010 15:46:43 +0000 (15:46 +0000)]
* arm.cc: Added support for the ARM relocations:
R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL, R_ARM_MOVW_BREL,
R_ARM_THM_MOVW_BREL_NC, R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL.
(Arm_relocate_functions::movw_rel_nc): Renamed (was
movw_prel_nc).
(Arm_relocate_functions::movw_rel): New method.
(Arm_relocate_functions::movt_rel): Renamed (was movt_prel).
(Arm_relocate_functions::thm_movw_rel_nc): Renamed (was
thm_movw_prel_nc).
(Arm_relocate_functions::thm_movw_rel): New method.
(Arm_relocate_functions::thm_movt_rel): Renamed (was
thm_movt_prel).
(Target_arm::Scan::local): Handle MOVW_BREL/MOVT_BREL
relocations.
(Target_arm::Scan::global): Likewise.
(Target_arm::Relocate::relocate): Likewise.
(Target_arm::Relocatable_size_for_reloc::get_size_for_reloc):
Likewise.

14 years ago * infrun.c (prepare_to_proceed): Handle other signals which might
drow [Fri, 29 Jan 2010 15:40:19 +0000 (15:40 +0000)]
* infrun.c (prepare_to_proceed): Handle other signals which might
match a breakpoint.
(handle_inferior_event): Move the check for unusual breakpoint
signals earlier.

gdbserver/
* linux-low.c (get_stop_pc): Check for SIGTRAP.
(linux_wait_for_event_1): Handle SIGILL and SIGSEGV as possible
breakpoints.

14 years ago * gdb.base/call-strs.exp, gdb.base/default.exp,
drow [Fri, 29 Jan 2010 15:38:37 +0000 (15:38 +0000)]
* gdb.base/call-strs.exp, gdb.base/default.exp,
gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
gdb.base/watchpoint-solib.exp: Save and restore timeout.
* gdb.base/ending-run.exp: Correct restore of timeout.
* gdb.base/page.exp: Remove unnecessary timeout setting.

14 years agoamd64 - function returning record with field straddling 2 registers
brobecke [Fri, 29 Jan 2010 14:39:02 +0000 (14:39 +0000)]
amd64 - function returning record with field straddling 2 registers

gdb/ChangeLog:

        From Paul Hilfinger  <hilfinger@adacore.com>
        * amd64-tdep.c (amd_classify_aggregate): Handle the case of
        a record of length <= 16 in which a field straddles the two
        eightbytes.

gdb/testsuite/ChangeLog:

        * gdb.ada/rec_return: New testcase.

14 years ago Throughout, use FileBothDirectoryInformation info class rather than
corinna [Fri, 29 Jan 2010 11:20:05 +0000 (11:20 +0000)]
Throughout, use FileBothDirectoryInformation info class rather than
FileDirectoryInformation info class to avoid problems with incomplete
filesystem implementations.  Fix comments accordingly.
* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Set
fname->Length to 0 in error case to avoid potential crash in debug
output.
(fhandler_disk_file::readdir): Try to speed up the working default case.
Check for STATUS_INVALID_NETWORK_RESPONSE as potential status value
returned by filesystems not implementing FileIdBothDirectoryInformation.
* ntdll.h (STATUS_INVALID_NETWORK_RESPONSE): Define.
(FILE_BOTH_DIRECTORY_INFORMATION): Rename to official name.
* path.cc (symlink_info::check): Don't request FILE_READ_EA access, it's
not required for NFS.  Try to speed up the working default case.  Check
for STATUS_INVALID_NETWORK_RESPONSE as potential status value returned
by filesystems not supporting non-NULL EA parameters.  Fix the way
fs.update is called.  Improve debug output.

14 years agoImplement return values on amd64-windows.
brobecke [Fri, 29 Jan 2010 05:29:21 +0000 (05:29 +0000)]
Implement return values on amd64-windows.

        * amd64-windows-tdep.c: #include gdbcore.h and regcache.h.
        (amd64_windows_return_value): New function.
        (amd64_windows_init_abi): Call set_gdbarch_return_value with
        amd64_windows_return_value.

14 years agoamd64-windows: 32 bytes allocated on stack by caller for integer parameter registers
brobecke [Fri, 29 Jan 2010 05:27:35 +0000 (05:27 +0000)]
amd64-windows: 32 bytes allocated on stack by caller for integer parameter registers

        * i386-tdep.h (struct gdbarch_tdep): Add new field
        integer_param_regs_saved_in_caller_frame.
        * amd64-windows-tdep.c (amd64_windows_init_abi): Set
        tdep->integer_param_regs_saved_in_caller_frame to 1.
        * amd64-tdep.c (amd64_push_dummy_call): Allocate some memory on
        stack if tdep->integer_param_regs_saved_in_caller_frame is set.

14 years agoAdd summary line to the second to last entry.
brobecke [Fri, 29 Jan 2010 05:23:37 +0000 (05:23 +0000)]
Add summary line to the second to last entry.

14 years agoamd64-windows: memory args passed by pointer during function calls.
brobecke [Fri, 29 Jan 2010 05:21:55 +0000 (05:21 +0000)]
amd64-windows: memory args passed by pointer during function calls.

        * i386-tdep.h (gdbarch_tdep): Add field memory_args_by_pointer.
        * amd64-tdep.c (amd64_push_arguments): Add handling of architectures
        where tdep->memory_args_by_pointer is non-zero.
        * amd64-windows-tdep.c (amd64_windows_init_abi): Set
        tdep->memory_args_by_pointer to 1.

14 years agoamd64: Integer parameters in function calls on Windows.
brobecke [Fri, 29 Jan 2010 05:19:22 +0000 (05:19 +0000)]
amd64: Integer parameters in function calls on Windows.

gdb/ChangeLog:

        * i386-tdep.h (enum amd64_reg_class): New, moved here from
        amd64-tdep.c.
        (struct gdbarch_tdep): Add fields call_dummy_num_integer_regs,
        call_dummy_integer_regs, and classify.
        * amd64-tdep.h (amd64_classify): Add declaration.
        * amd64-tdep.c (amd64_dummy_call_integer_regs): New static constant.
        (amd64_reg_class): Delete, moved to i386-tdep.h.
        (amd64_classify): Make non-static.  Move declaration to amd64-tdep.h.
        Replace call to amd64_classify by call to tdep->classify.
        (amd64_push_arguments): Get the list of registers to use for
        passing integer parameters from the gdbarch tdep structure,
        rather than using a hardcoded one.  Replace calls to amd64_classify
        by calls to tdep->classify.
        (amd64_push_dummy_call): Get the register number used for
        the "hidden" argument from tdep->call_dummy_integer_regs.
        (amd64_init_abi): Initialize tdep->call_dummy_num_integer_regs
        and tdep->call_dummy_integer_regs.  Set tdep->classify.
        * amd64-windows-tdep.c: Add include of gdbtypes.h.
        (amd64_windows_dummy_call_integer_regs): New static global.
        (amd64_windows_classify): New function.
        (amd64_windows_init_abi): Initialize tdep->call_dummy_num_integer_regs
        tdep->call_dummy_integer_regs and tdep->classify.

gdb/testsuite/ChangeLog:

        * gdb.ada/call_pn: New testcase.

14 years agocore files: wrong signal number with threaded program on sparc-solaris.
brobecke [Fri, 29 Jan 2010 04:32:59 +0000 (04:32 +0000)]
core files: wrong signal number with threaded program on sparc-solaris.

        * elf.c (elfcore_grok_lwpstatus): Do not overwrite the core signal
        if it has already been set.

14 years agoadd list of supported apps for application-is?
devans [Fri, 29 Jan 2010 03:11:43 +0000 (03:11 +0000)]
add list of supported apps for application-is?

14 years ago * pmacros.scm (pmacros-init!): New arg rtl-version, all callers
devans [Fri, 29 Jan 2010 02:59:01 +0000 (02:59 +0000)]
* pmacros.scm (pmacros-init!): New arg rtl-version, all callers
updated.  Use %-prefix if rtl-version >= 0.9.
* read.scm (/supported-rtl-versions): Add (0 9).
(/rtl-version-valid?): New function.
(/cmd-define-rtl-version): If new rtl version, reinvoke pmacros-init!.
(/reader-expr): New function.
(reader-process): New function.
(/reader-process-with-loc!): Renamed from /reader-process!.
Don't pre-expand `if' commands.
(/cmd-if): Simplify.  Pmacro-expand test, then, else clauses here.
Handle rtl-version-equal?, rtl-version-at-least?.
* testsuite/Makefile.am (clean-test-files): Remove *.test.cpu*.
* testsuite/Makefile.in: Regenerate.
* testsuite/pmacros-1.test: Test both . and % as prefixes.
* testsuite/testsuite.cpu (/begin, /print, /dump): New pmacros.
(newline, print-match, print-expr, print-thunk): Use them.
(internal-verify): Update definition.
* doc/rtl.texi (define-rtl-version): Document rtl version 0.9.
(Top level conditionals): New node.

14 years agotweak comment
devans [Fri, 29 Jan 2010 02:28:40 +0000 (02:28 +0000)]
tweak comment

14 years ago * read.scm (rtl-version-at-least?): Fix typo.
devans [Fri, 29 Jan 2010 02:26:57 +0000 (02:26 +0000)]
* read.scm (rtl-version-at-least?): Fix typo.

14 years ago2010-01-26 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
ironhead [Fri, 29 Jan 2010 00:41:58 +0000 (00:41 +0000)]
2010-01-26  Chris Sutcliffe  <ir0n3h4d@users.sourceforge.net>

        * include/shldisp.h (AUTOCOMPLETEOPTIONS): Add version guard around
        ACO_WORD_FILTER and ACO_NOPREFIXFILTERING.

14 years ago*** empty log message ***
gdbadmin [Fri, 29 Jan 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Thu, 28 Jan 2010 23:00:04 +0000 (23:00 +0000)]
daily update

14 years ago * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
drow [Thu, 28 Jan 2010 22:14:11 +0000 (22:14 +0000)]
* gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
(Top level): Use it to resume.
* lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
the Thumb mode displaced stepping error as unsupported.

14 years ago * regcache.c (regcache_xmalloc): Add aspace argument. Use it
drow [Thu, 28 Jan 2010 22:07:57 +0000 (22:07 +0000)]
* regcache.c (regcache_xmalloc): Add aspace argument.  Use it
for the new regcache.  All callers updated.
(regcache_cpy, regcache_cpy_no_passthrough): Do not set aspace here.
(get_thread_arch_regcache): Do not set aspace here.
* regcache.h (regcache_xmalloc): Update declaration.

* frame.c, infcall.c, ppc-linux-tdep.c: Calls to
regcache_xmalloc updated.

14 years ago * gas/pe/section-align-1.d: Don't test section flags.
davek [Thu, 28 Jan 2010 19:00:02 +0000 (19:00 +0000)]
* gas/pe/section-align-1.d: Don't test section flags.
* gas/pe/section-align-2.d: Likewise.

14 years ago2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
swagiaal [Thu, 28 Jan 2010 17:58:02 +0000 (17:58 +0000)]
2010-01-28  Sami Wagiaalla  <swagiaal@redhat.com>

    * gdb.cp/nsusing.exp: Added more tests.
    * gdb.cp/nsrecurs.exp: Ditto.
    * gdb.cp/nsusing.cc: Added test functions.
    * gdb.cp/nsrecurs.cc: Ditto.

14 years agoAllow VL=1 on scalar FMA instructions.
hjl [Thu, 28 Jan 2010 15:33:22 +0000 (15:33 +0000)]
Allow VL=1 on scalar FMA instructions.

gas/testsuite/

2010-01-28  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/fma-scalar-intel.d: New.
* gas/i386/fma-scalar.d: Likewise.
* gas/i386/fma-scalar.s: Likewise.
* gas/i386/x86-64-fma-scalar-intel.d: Likewise.
* gas/i386/x86-64-fma-scalar.d: Likewise.
* gas/i386/x86-64-fma-scalar.s: Likewise.

* gas/i386/i386.exp: Run fma-scalar, fma-scalar-intel,
x86-64-fma-scalar and x86-64-fma-scalar-intel.

opcodes/

2010-01-28  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (EXVexWdqScalar): New.
(vex_scalar_w_dq_mode): Likewise.
(prefix_table): Update entries for PREFIX_VEX_3899,
PREFIX_VEX_389B, PREFIX_VEX_389D, PREFIX_VEX_389F,
PREFIX_VEX_38A9, PREFIX_VEX_38AB, PREFIX_VEX_38AD,
PREFIX_VEX_38AF, PREFIX_VEX_38B9, PREFIX_VEX_38BB,
PREFIX_VEX_38BD and PREFIX_VEX_38BF.
(intel_operand_size): Handle vex_scalar_w_dq_mode.
(OP_EX): Likewise.

14 years ago PR 11225
nickc [Thu, 28 Jan 2010 15:25:18 +0000 (15:25 +0000)]
    PR 11225
        * objdump.c (only): Replace with linked list.
        (only_size, only_used): Replace with only_list.
        (process_section_p): Set seen field on matches sections.
        (add_only): New function.
        (free_only_list): New function.
        (disassemble_section): Check only_list.
        (main): Use add_only and free_only_list.

        * gas/pe/aligncomm-c.d: Dump all sections.

        * ld-sh/refdbg-0-dso.d: Dump all sections.

14 years ago * Makefile.in (tags, ctags, CTAGS)): Add rules to create tags file.
corinna [Thu, 28 Jan 2010 11:54:00 +0000 (11:54 +0000)]
* Makefile.in (tags, ctags, CTAGS)): Add rules to create tags file.

14 years agoAnother -Wunused-function error in procfs.c (sparc-solaris)
brobecke [Thu, 28 Jan 2010 08:19:29 +0000 (08:19 +0000)]
Another -Wunused-function error in procfs.c (sparc-solaris)

        * procfs.c (insert_dbx_link_breakpoint): Delete declaration.  Move up.
        Only define if SYS_syssgi is defined.
        (remove_dbx_link_breakpoint): Delete declaration.  Move up.
        (dbx_link_addr, insert_dbx_link_bpt_in_file)
        (insert_dbx_link_bpt_in_region): Move up.  Only define if SYS_syssgi
        is itself defined.

14 years ago * mach.scm: Follow commenting convention.
devans [Thu, 28 Jan 2010 05:29:04 +0000 (05:29 +0000)]
* mach.scm: Follow commenting convention.

14 years ago * read.scm: Follow commenting convention.
devans [Thu, 28 Jan 2010 05:05:47 +0000 (05:05 +0000)]
* read.scm: Follow commenting convention.

14 years ago * pmacros.scm: Follow commenting convention. Replace change to
devans [Thu, 28 Jan 2010 04:45:14 +0000 (04:45 +0000)]
* pmacros.scm: Follow commenting convention.  Replace change to
$pmacro to %pmacro.  $pmacro is confusing with $ in assembler syntax.
(/pmacro-orig-prefix, /pmacro-prefix): New globals.

14 years ago2010-01-26 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
ironhead [Thu, 28 Jan 2010 01:16:55 +0000 (01:16 +0000)]
2010-01-26  Chris Sutcliffe  <ir0n3h4d@users.sourceforge.net>

        * include/shldisp.h (AUTOCOMPLETEOPTIONS): Add enum.

14 years ago*** empty log message ***
gdbadmin [Thu, 28 Jan 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Wed, 27 Jan 2010 23:00:05 +0000 (23:00 +0000)]
daily update

14 years agogas/ChangeLog:
davek [Wed, 27 Jan 2010 22:01:35 +0000 (22:01 +0000)]
gas/ChangeLog:

* NEWS: Mention new feature.
* config/obj-coff.c (obj_coff_section): Accept digits and use
to override default section alignment power if specified.
* doc/as.texinfo (.section directive): Update documentation.

gas/testsuite/ChangeLog:

* gas/pe/section-align-1.s: New test source file.
* gas/pe/section-align-1.d: Likewise control script.
* gas/pe/section-align-2.s: Likewise ...
* gas/pe/section-align-2.d: ... and likewise.
* gas/pe/pe.exp: Invoke new testcases.

14 years agogdb/testsuite/
jkratoch [Wed, 27 Jan 2010 20:53:22 +0000 (20:53 +0000)]
gdb/testsuite/
* gdb.base/break-interp.exp: Use [file tail $filename] to omit any
absolute directory pathnames in gdb.sum file.

14 years ago* windows-nat.c (windows_initialization_done): New variable.
cgf [Wed, 27 Jan 2010 19:57:52 +0000 (19:57 +0000)]
* windows-nat.c (windows_initialization_done): New variable.
(get_windows_debug_event): Issue error when process dies before completely
initializing.
(do_initial_windows_stuff): Set flag to indicate when we are done with the
initial steps of attaching to the child.

14 years ago2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
swagiaal [Wed, 27 Jan 2010 18:04:56 +0000 (18:04 +0000)]
2010-01-27  Sami Wagiaalla  <swagiaal@redhat.com>

* gdb.cp/namespace-using.exp: Rename to nsusing.exp.
* gdb.cp/namespace-using.cc: Rename to nsusing.cc.

14 years ago2010-01-27 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 27 Jan 2010 16:43:26 +0000 (16:43 +0000)]
2010-01-27  Tristan Gingold  <gingold@adacore.com>

* vms.h: Remove trailing spaces.
(struct hdr_struct): Remove unused hdr_c_cpr field.
(enum file_format_enum): Add comments.
* vms.c (vms_bfd_print_private_bfd_data): New function that
replaces the macro.
Remove trailing spaces.
* vms-misc.c: Improve comments.
(_bfd_vms_get_object_record): Also handle files without pads.
* vms-hdr.c (_bfd_vms_write_dbg): Fix format string.
* vms-gsd.c (struct flagdescstruct): Make name field const.
(gsyflagdesc): Fix typo.

14 years ago * arm.cc: Added support for ARM group relocations.
ian [Wed, 27 Jan 2010 15:17:46 +0000 (15:17 +0000)]
* arm.cc: Added support for ARM group relocations.
(Target_arm::reloc_needs_sym_origin): New method.
(Arm_relocate_functions::calc_grp_kn): New method.
(Arm_relocate_functions::calc_grp_residual): New method.
(Arm_relocate_functions::calc_grp_gn): New method.
(Arm_relocate_functions::arm_grp_alu): New Method.
(Arm_relocate_functions::arm_grp_ldr): New Method.
(Arm_relocate_functions::arm_grp_ldrs): New Method.
(Arm_relocate_functions::arm_grp_ldc): New Method.
(Target_arm::Scan::local): Handle the ARM group relocations.
(Target_arm::Scan::global): Likewise.
(Target_arm::Relocate::relocate): Likewise.
(Target_arm::Relocatable_size_for_reloc::get_size_for_reloc):
Likewise.

14 years agoAllow VL=1 on AVX scalar instructions.
hjl [Wed, 27 Jan 2010 14:34:39 +0000 (14:34 +0000)]
Allow VL=1 on AVX scalar instructions.

gas/

2010-01-27  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (avxscalar): New.
(OPTION_MAVXSCALAR): Likewise.
(build_vex_prefix): Select vector_length for scalar instructions
based on avxscalar.
(md_longopts): Add OPTION_MAVXSCALAR.
(md_parse_option): Handle OPTION_MAVXSCALAR.
(md_show_usage): Add -mavxscalar=.

* doc/c-i386.texi: Document -mavxscalar=.

gas/testsuite/

2010-01-27  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/avx-scalar-intel.d: New.
* gas/i386/avx-scalar.d: Likewise.
* gas/i386/avx-scalar.s: Likewise.
* gas/i386/x86-64-avx-scalar-intel.d: Likewise.
* gas/i386/x86-64-avx-scalar.d: Likewise.
* gas/i386/x86-64-avx-scalar.s: Likewise.

* gas/i386/i386.exp: Run avx-scalar, avx-scalar-intel,
x86-64-avx-scalar and x86-64-avx-scalar-intel.

opcodes/

2010-01-27  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (XMScalar): New.
(EXdScalar): Likewise.
(EXqScalar): Likewise.
(EXqScalarS): Likewise.
(VexScalar): Likewise.
(EXdVexScalarS): Likewise.
(EXqVexScalarS): Likewise.
(XMVexScalar): Likewise.
(scalar_mode): Likewise.
(d_scalar_mode): Likewise.
(d_scalar_swap_mode): Likewise.
(q_scalar_mode): Likewise.
(q_scalar_swap_mode): Likewise.
(vex_scalar_mode): Likewise.
(vex_len_table): Duplcate entries for VEX_LEN_10_P_1,
VEX_LEN_10_P_3, VEX_LEN_11_P_1, VEX_LEN_11_P_3, VEX_LEN_2A_P_1,
VEX_LEN_2A_P_3, VEX_LEN_2C_P_3, VEX_LEN_2D_P_1, VEX_LEN_2E_P_0,
VEX_LEN_2E_P_2, VEX_LEN_2F_P_2, VEX_LEN_51_P_1, VEX_LEN_51_P_3,
VEX_LEN_52_P_1, VEX_LEN_53_P_1, VEX_LEN_58_P_1, VEX_LEN_58_P_3,
VEX_LEN_59_P_1, VEX_LEN_5A_P_1, VEX_LEN_5A_P_3, VEX_LEN_5C_P_1,
VEX_LEN_5C_P_3, VEX_LEN_5D_P_1, VEX_LEN_5D_P_3, VEX_LEN_5E_P_1,
VEX_LEN_5E_P_3, VEX_LEN_5F_P_1, VEX_LEN_5F_P_3, VEX_LEN_6E_P_2,
VEX_LEN_7E_P_1, VEX_LEN_7E_P_2, VEX_LEN_D6_P_2, VEX_LEN_C2_P_1,
VEX_LEN_C2_P_3, VEX_LEN_3A0A_P_2 and VEX_LEN_3A0B_P_2.
(vex_w_table): Update entries for VEX_W_10_P_1, VEX_W_10_P_3,
VEX_W_11_P_1, VEX_W_11_P_3, VEX_W_2E_P_0, VEX_W_2E_P_2,
VEX_W_2F_P_0, VEX_W_2F_P_2, VEX_W_51_P_1, VEX_W_51_P_3,
VEX_W_52_P_1, VEX_W_53_P_1, VEX_W_58_P_1, VEX_W_58_P_3,
VEX_W_59_P_1, VEX_W_59_P_3, VEX_W_5A_P_1, VEX_W_5A_P_3,
VEX_W_5C_P_1, VEX_W_5C_P_3, VEX_W_5D_P_1, VEX_W_5D_P_3,
VEX_W_5E_P_1, VEX_W_5E_P_3, VEX_W_5F_P_1, VEX_W_5F_P_3,
VEX_W_7E_P_1, VEX_W_D6_P_2  VEX_W_C2_P_1, VEX_W_C2_P_3,
VEX_W_3A0A_P_2 and VEX_W_3A0B_P_2.
(intel_operand_size): Handle d_scalar_mode, d_scalar_swap_mode,
q_scalar_mode, q_scalar_swap_mode.
(OP_XMM): Handle scalar_mode.
(OP_EX): Handle d_scalar_mode, d_scalar_swap_mode, q_scalar_mode
and q_scalar_swap_mode.
(OP_VEX): Handle vex_scalar_mode.

14 years ago PR ld/11217
amodra [Wed, 27 Jan 2010 12:44:07 +0000 (12:44 +0000)]
PR ld/11217
* elf64-ppc.c (struct ppc_link_hash_table): Add toc_bfd, toc_first_sec.
(ppc64_elf_setup_section_lists): Init them.
(ppc64_elf_next_toc_section): Don't partition multi-toc between .got
and .toc on the same input file.
(ppc64_elf_relocate_section): Correct GOT entry offset.

14 years ago * solib-svr4.c (solib_break_names): Add __dl_rtld_db_dlactivity.
devans [Wed, 27 Jan 2010 00:32:08 +0000 (00:32 +0000)]
* solib-svr4.c (solib_break_names): Add __dl_rtld_db_dlactivity.

14 years agogdb/
jkratoch [Wed, 27 Jan 2010 00:15:59 +0000 (00:15 +0000)]
gdb/
* symtab.h (struct symbol <symtab>): New comment on NULL values.

14 years ago*** empty log message ***
gdbadmin [Wed, 27 Jan 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * breakpoint.c (bpstat_stop_status): Delete useless code.
devans [Tue, 26 Jan 2010 23:56:53 +0000 (23:56 +0000)]
* breakpoint.c (bpstat_stop_status): Delete useless code.

14 years agogdb/
jkratoch [Tue, 26 Jan 2010 23:40:12 +0000 (23:40 +0000)]
gdb/
* printcmd.c (display_uses_solib_p): Remove variable section.  Access
objfile via SYMBOL_SYMTAB.

14 years agodaily update
amodra [Tue, 26 Jan 2010 23:00:05 +0000 (23:00 +0000)]
daily update

14 years ago2010-01-26 Doug Kwan <dougkwan@google.com>
dougkwan [Tue, 26 Jan 2010 21:29:10 +0000 (21:29 +0000)]
2010-01-26  Doug Kwan  <dougkwan@google.com>

* arm.cc (set): Include.
(class Arm_exidx_fixup): Change type of last_input_section_ to const
pointer type.
  (Arm_output_section::Text_section_list): New type.
(Arm_output_section::append_text_sections_to_list): New method.
(Arm_output_section::fix_exidx_coverage): Ditto.
(Arm_relobj::Arm_relobj): Initialize exidx_section_map_.
    (Arm_relobj::convert_input_section_to_relaxed_section): Use
Relobj::set_section_offset() instead of
Sized_relobj::invalidate_section_offset().
    (Arm_relobj::section_needs_reloc_stub_scanning): Add an extra
parameter for section headers. Ignore relocation sections for
unallocated sections and EXIDX sections.
(Target_arm::fix_exidx_coverage): New method.
(Target_arm::output_section_address_less_than): New type.
(Arm_exidx_fixup::add_exidx_cantunwind_as_needed): Use index of the
linked text section instead of the EXIDX section.
(Arm_output_section::create_stub_group): Add an assertion to check
that this is not an EXIDX output section.
(Arm_output_section::append_text_sections_to_list): New method.
(Arm_output_section::fix_exidx_coverage): Ditto.
(Arm_relobj::scan_sections_for_stubs): Adjust call to
    Arm_relobj::section_needs_reloc_stub_scanning.
(Target_arm::do_relax): Fix EXIDX output section coverage in the
first pass.
(Target_arm::fix_exidx_coverage): New method.
* object.h (Relobj::set_output_section): New method.
(Sized_relobj::invalidate_section_offset): Remove method.
(Sized_relobj::do_invalidate_section_offset): Remove method.
(Sized_relobj::do_set_section_offset): Handle offset value -1.

14 years ago* faq-api.xml: d2u/u2d are from cygutils, not util-linux.
yselkowitz [Tue, 26 Jan 2010 19:26:58 +0000 (19:26 +0000)]
* faq-api.xml: d2u/u2d are from cygutils, not util-linux.

14 years agogdb
tromey [Tue, 26 Jan 2010 16:53:39 +0000 (16:53 +0000)]
gdb
PR exp/7643:
* eval.c (evaluate_subexp_for_address) <UNOP_IND>: Call
coerce_array on result.
gdb/testsuite
PR exp/7643:
* gdb.base/printcmds.exp (test_print_string_constants): Remove
setup_kfail.

14 years ago 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
swagiaal [Tue, 26 Jan 2010 16:47:34 +0000 (16:47 +0000)]
 2010-01-14  Sami Wagiaalla  <swagiaal@redhat.com>

* gdb.cp/nsrecurs.exp: New test.
* gdb.cp/nsrecurs.cc: New test program.
* gdb.cp/nsstress.exp: New test.
* gdb.cp/nsstress.cc: New test program.
* gdb.cp/nsdecl.exp: New test.
* gdb.cp/nsdecl.cc: New test program.

 2010-01-26  Sami Wagiaalla  <swagiaal@redhat.com>

* cp-namespace.c (cp_lookup_symbol_namespace): Added
search_parent argument.
(cp_add_using): Initialize 'searched' field.
(reset_directive_searched): New function.
* cp-support.h: Add 'searched' field to using_direct struct.
(cp_lookup_symbol_imports): Ditto.
* cp-namespace.c (cp_lookup_symbol_imports): Ditto.
Perform recursive search.
Implement non parent search.
* valops.c (value_maybe_namespace_elt): Updated.

14 years ago* Makefile.in: Skip validation in xmlto step.
cgf [Tue, 26 Jan 2010 16:16:19 +0000 (16:16 +0000)]
* Makefile.in: Skip validation in xmlto step.
* overview.sgml: Clarify language in "A brief history of Cygwin".

14 years ago * new-features.sgml (ov-new1.7.2): Add console enhancements.
corinna [Tue, 26 Jan 2010 16:09:46 +0000 (16:09 +0000)]
* new-features.sgml (ov-new1.7.2): Add console enhancements.

14 years ago2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
swagiaal [Tue, 26 Jan 2010 15:48:25 +0000 (15:48 +0000)]
2010-01-26  Sami Wagiaalla  <swagiaal@redhat.com>

* gdb.cp/namespace-using.exp: Add test for printing of namespaces
imported into file scope.
Marked test as xfail.
* gdb.cp/namespace-using.cc (marker5): New function.
* gdb.cp/shadow.exp: New test.
* gdb.cp/shadow.cc: New test program.
* gdb.cp/nsimport.exp: New test.
* gdb.cp/nsimport.cc: New test program.

2010-01-26  Sami Wagiaalla  <swagiaal@redhat.com>

PR gdb/10929:
* dwarf2read.c (read_lexical_block_scope): Create blocks for
scopes which contain using directives even if they contain no
declarations.
* symtab.c (lookup_symbol_aux): Pass lowest level block to
la_lookup_symbol_nonlocal.
* cp-namespace.c (cp_lookup_symbol_nonlocal): call
cp_lookup_symbol_namespace.
(cp_lookup_symbol_namespace): Perform an import lookup at every
block level.
(cp_lookup_symbol_imports): New function.
(cp_lookup_symbol_in_namespace): New function.

14 years ago2010-01-26 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 26 Jan 2010 13:42:26 +0000 (13:42 +0000)]
2010-01-26  Tristan Gingold  <gingold@adacore.com>

* targets.c (BFD_JUMP_TABLE_ARCHIVE): Add initializer for write_ar_hdr.
(bfd_target): Add _bfd_write_ar_hdr_fn field.
* archive.c (is_bsd44_extended_name): New macro.
(_bfd_generic_read_ar_hdr_mag): Use it.  Add extra_size.
(bfd_slurp_armap): Also check for "__.SYMDEF" as a BSD4.4 extended
name.
(_bfd_archive_bsd44_construct_extended_name_table): New function.
(_bfd_generic_write_ar_hdr): Ditto.
(_bfd_bsd44_write_ar_hdr): Ditto.
(_bfd_write_archive_contents): Call _bfd_write_ar_hdr.
(bsd_write_armap): Adjust firstreal computation.
* libbfd-in.h (struct areltdata): Add extra_size field.
(_bfd_generic_write_ar_hdr): Add prototype.
(_bfd_bsd44_write_ar_hdr): Ditto.
(_bfd_write_ar_hdr): Define.
(_bfd_noarchive_write_ar_hdr): Ditto.
(_bfd_archive_bsd_write_ar_hdr): Ditto.
(_bfd_archive_coff_write_ar_hdr): Ditto.
(_bfd_archive_bsd44_slurp_armap): Ditto.
(_bfd_archive_bsd44_slurp_extended_name_table): Ditto.
(_bfd_archive_bsd44_construct_extended_name_table): New prototype.
(_bfd_archive_bsd44_truncate_arname): Ditto.
(_bfd_archive_bsd44_write_armap): Ditto.
(_bfd_archive_bsd44_read_ar_hdr): Ditto.
(_bfd_archive_bsd44_write_ar_hdr): Ditto.
(_bfd_archive_bsd44_openr_next_archived_file): Ditto.
(_bfd_archive_bsd44_get_elt_at_index): Ditto.
(_bfd_archive_bsd44_generic_stat_arch_elt): Ditto.
(_bfd_archive_bsd44_update_armap_timestamp): Ditto.
* libbfd.h: Regenerate.
* oasys.c (oasys_write_ar_hdr): Define.
* libecoff.h (_bfd_ecoff_write_ar_hdr): Define.
* ieee.c (ieee_write_ar_hdr): Define.
* elf64-mips.c (bfd_elf64_archive_write_ar_hdr): Define.
* coff-rs6000.c (rs6000coff_vec): Adjust for write_ar_hdr field.
(bfd_pmac_xcoff_backend_data): Ditto.
* coff64-rs6000.c (rs6000coff64_vec): Ditto.
(bfd_xcoff_aix5_backend_data): Ditto.
* coff-alpha.c (alpha_ecoff_write_ar_hdr): Define.
* aout-target.h (MY_write_ar_hdr): Define it if not defined.
* aout-tic30.c (MY_write_ar_hdr): Ditto.
* mach-o-target.c (TARGET_NAME): Use _bfd_archive_bsd44 archive.
(bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr)
(bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table)
(bfd_mach_o_construct_extended_name_table)
(bfd_mach_o_truncate_arname, bfd_mach_o_write_armap)
(bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt)
(bfd_mach_o_update_armap_timestamp): Moved to mach-o.c
* mach-o.c (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr)
(bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table)
(bfd_mach_o_construct_extended_name_table)
(bfd_mach_o_truncate_arname, bfd_mach_o_write_armap)
(bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt)
(bfd_mach_o_update_armap_timestamp): Moved from mach-o-target.c
* bfd-in2.h: Regenerate.

14 years agoProperly check undefined symbols when gc_sections is active.
hjl [Tue, 26 Jan 2010 13:21:35 +0000 (13:21 +0000)]
Properly check undefined symbols when gc_sections is active.

bfd/

2010-01-26  Alan Modra  <amodra@gmail.com>
    H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11218
* elflink.c (elf_link_output_extsym): Do not ignore undefined
symbols with ref_regular set when gc_sections is active.

ld/testsuite/

2010-01-26  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11218
* ld-gc/dummy.s: New.
* ld-gc/pr11218-1.c: Likewise.
* ld-gc/pr11218-2.c: Likewise.
* ld-gc/pr11218.d: Likewise.

14 years ago2010-01-26 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 26 Jan 2010 13:13:33 +0000 (13:13 +0000)]
2010-01-26  Tristan Gingold  <gingold@adacore.com>

* Makefile.am (bin2c): Add libintl dependance and library.
* Makefile.in: Regenerate.

14 years ago * co-for-gen-all: Simplify a bit.
devans [Tue, 26 Jan 2010 03:07:31 +0000 (03:07 +0000)]
* co-for-gen-all: Simplify a bit.

14 years ago*** empty log message ***
gdbadmin [Tue, 26 Jan 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Mon, 25 Jan 2010 23:00:05 +0000 (23:00 +0000)]
daily update

14 years ago2010-01-25 Kai Tietz <kai.tietz@onevision.com>
ironhead [Mon, 25 Jan 2010 22:58:03 +0000 (22:58 +0000)]
2010-01-25  Kai Tietz  <kai.tietz@onevision.com>

        Implement TLS Callback.

        * tlsmcrt.c: New file.
        * tlsmthread.c: Ditto.
        * tlssup.c: Ditto.
        * tlsthrd.c: Ditto.
        * Makefile.in: Include new files.
        * crt1.c: Implement TLS Callback.
        * dllcrt1.c: Ditto.
        * mthr_stub.c: Remove.

14 years ago * nlsfuncs.cc (__get_lcid_from_locale): Add comments. Fix typos in
corinna [Mon, 25 Jan 2010 21:20:31 +0000 (21:20 +0000)]
* nlsfuncs.cc (__get_lcid_from_locale): Add comments.  Fix typos in
comments.  Make sure to set last_lcid every time.  Return locale
without territory part as invalid.  Handle modern serbian territory
names per ISO 3166 on older systems as well.  Add appropriate comment.
(__set_charset_from_locale): Handle LCID for sr_CS as well to make older
systems happy.

14 years ago * generic/gdbtk-cmds.c (gdb_set_inferior_args): set_inferior_args
kseitz [Mon, 25 Jan 2010 19:59:29 +0000 (19:59 +0000)]
* generic/gdbtk-cmds.c (gdb_set_inferior_args): set_inferior_args
now works as expected. Do not strdup/free the argument string.

14 years agogdb
tromey [Mon, 25 Jan 2010 19:31:23 +0000 (19:31 +0000)]
gdb
PR gdb/11049:
* c-valprint.c (c_val_print): Fix test of extract_unsigned_integer
result.
gdb/testsuite
PR gdb/11049:
* gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
with "set print null-stop on".

14 years ago gcc PR libstdc++/36101, gcc PR libstdc++/42813
amylaar [Mon, 25 Jan 2010 18:06:22 +0000 (18:06 +0000)]
gcc PR libstdc++/36101, gcc PR libstdc++/42813
* configure.ac (bootstrap_target_libs): Make inclusion of
target-libgomp conditional on libgomb being in target_configdirs.
* configure: Regenerate.

14 years ago2010-01-25 Doug Kwan <dougkwan@google.com>
dougkwan [Mon, 25 Jan 2010 17:30:29 +0000 (17:30 +0000)]
2010-01-25  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_exidx_merged_section::do_output_offset):
Fix warning due to signed and unsigned comparison on a 32-bit host.

14 years ago * faq-setup.xml: Drop references to non-NT systems.
corinna [Mon, 25 Jan 2010 17:04:29 +0000 (17:04 +0000)]
* faq-setup.xml: Drop references to non-NT systems.
* faq-using.xml: Ditto.
(faq.using.sshd-in-domain): New FAQ entry.

14 years ago * configure.ac: Only use host_os part when disabling TUI on osf.
ro [Mon, 25 Jan 2010 13:22:01 +0000 (13:22 +0000)]
* configure.ac: Only use host_os part when disabling TUI on osf.
Use test to check variables, prefix strings with x.
* configure: Regenerate.

* solib-osf.c (osf_current_sos): Initialize tail.

14 years ago * nlsfuncs.cc (__set_charset_from_locale): Rearrange to set charset
corinna [Mon, 25 Jan 2010 11:55:45 +0000 (11:55 +0000)]
* nlsfuncs.cc (__set_charset_from_locale): Rearrange to set charset
more closely aligned to Glibc.

14 years ago * spawn.cc (spawn_guts): Only try to remove long path prefix from
corinna [Mon, 25 Jan 2010 11:21:56 +0000 (11:21 +0000)]
* spawn.cc (spawn_guts): Only try to remove long path prefix from
runpath if runpath is not NULL.

14 years ago2010-01-25 gingold <gingold@adacore.com>
gingold [Mon, 25 Jan 2010 10:54:58 +0000 (10:54 +0000)]
2010-01-25  gingold  <gingold@adacore.com>

        * windows-nat.c (windows_continue): Use %x to print thread id.
        (get_windows_debug_event): Ditto.

14 years ago * faq-using.xml: Fix typos and remove incorrect locale-specific
corinna [Mon, 25 Jan 2010 10:50:21 +0000 (10:50 +0000)]
* faq-using.xml: Fix typos and remove incorrect locale-specific
documentation.
* new-features.sgml: Ditto.
* pathnames.sgml: Ditto.

14 years ago * nlsfuncs.cc (__get_lcid_from_locale): Fix a comment. Handle special
corinna [Mon, 25 Jan 2010 10:44:56 +0000 (10:44 +0000)]
* nlsfuncs.cc (__get_lcid_from_locale):  Fix a comment.  Handle special
language/TERRITORY combinations explicitely.  Explain why.

14 years ago * getlocale.c (main): Use setlocale and fetch string from Windows
corinna [Mon, 25 Jan 2010 09:22:12 +0000 (09:22 +0000)]
* getlocale.c (main): Use setlocale and fetch string from Windows
using GetLocaleInfoW.  Explain why.

14 years ago PR ld/11217
amodra [Mon, 25 Jan 2010 06:47:15 +0000 (06:47 +0000)]
PR ld/11217
* elf64-ppc.c (ppc64_elf_tls_optimize): Optimize tls sequences
with relocations against undefined weak symbols.
(ppc64_elf_relocate_section): Don't optimize calls to undefined
weak functions if the symbol is dynamic.
(ppc64_elf_relocate_section): Edit tprel tls sequences.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
(_bfd_elf_ppc_at_tprel_transform): New function.
* bfd-in.h (_bfd_elf_ppc_at_tprel_transform): Declare.
* bfd-in2.h: Regenerate.

14 years ago common/
devans [Mon, 25 Jan 2010 04:08:51 +0000 (04:08 +0000)]
common/
* cgen-accfp.c (fextsfdf): New arg how.  All callers updated.
(ftruncdfsf, floatsisf, flostsidf, ufloatsisf, fixsfsi, fixdfsi,
ufixsfsi): Ditto.
* cgen-fpu.h (CGEN_FPCONV_KIND): New enum.
(struct cgen_fp_ops): Update signatures of floating point conversion
operations.

frv/
* sem.c: Regenerate.

sh64/
* cpu.h: Regenerate.

14 years ago * cgen-fpu.h (cgen_fp_ops): Update signatures of floating point
devans [Mon, 25 Jan 2010 03:55:05 +0000 (03:55 +0000)]
* cgen-fpu.h (cgen_fp_ops): Update signatures of floating point
conversion functions.
* cgen-fpu.cxx (cgen_fp_ops): Ditto.
* cgen-types (fpconv_kind): New enum.
* fp.h (enum round_mode_t): Define values in terms of cgen's
builtin values.

sh/
* sh.cxx (sh64_fldi0): Update call to floating point convertion func.
(sh64_fldi1, sh64_fcnvds, sh64_fcnvsd, sh64_floatld, sh64_floatls,
sh64_floatqd, sh64_floatqs, sh64_ftrcdl, sh64_ftrcsl, sh64_ftrcdq,
sh64_ftrcsq, sh64_ftrvs): Ditto.
* sh2a-fpu-cpu.h, * sh2e-cpu.h, * sh3e-cpu.h, * sh4-cpu.h,
* sh4a-cpu.h, * sh5-cpu.h: Regenerate.

14 years ago * desc-cpu.scm (cgen-desc.h): Don't print virtual enums.
devans [Mon, 25 Jan 2010 03:50:43 +0000 (03:50 +0000)]
* desc-cpu.scm (cgen-desc.h): Don't print virtual enums.
* sid-cpu.scm (cgen-desc.h): Ditto.
* enum.scm (enum-builtin!): New function.
* read.scm (reader-install-builtin!): Call it.
* rtl-c.scm (s-convop): Delete, replaced with ...
(s-int-convop, s-float-convop): ... new fns.
(ext, zext, trunc): Update.
(fext, ftrunc, float, ufloat, fix, ufix): Update.
* rtx-funcs.scm (fext, ftrunc, float, ufloat, fix, ufix): New parameter
`how'.
* cpu/mep-fmax.cpu (fcvtsw): Update.
* cpu/sh.cpu (h-fsd, h-fmov): Update.
* doc/rtl.texi (float-convop): Update.

* frv.cpu (floating-point-conversion): Update call to fp conv op.
(floating-point-dual-conversion, ne-floating-point-dual-conversion,
conditional-floating-point-conversion, ne-floating-point-conversion,
float-parallel-mul-add-double-semantics): Ditto.

14 years ago * gen-all: Be more consistent with intrinsic generation.
devans [Mon, 25 Jan 2010 01:08:01 +0000 (01:08 +0000)]
* gen-all: Be more consistent with intrinsic generation.

14 years ago * Make-common.in (CGEN_SIM_DEPS): Define.
devans [Mon, 25 Jan 2010 00:48:17 +0000 (00:48 +0000)]
* Make-common.in (CGEN_SIM_DEPS): Define.
(CGEN_INCLUDE_DEPS): Use it.
(CGEN_MAIN_CPU_DEPS): Simplify.

14 years ago * utils-cgen.scm (<location>): Define using new define-class.
devans [Mon, 25 Jan 2010 00:40:28 +0000 (00:40 +0000)]
* utils-cgen.scm (<location>): Define using new define-class.
(<ident>, <source-ident>, <context>): Ditto.

* cos.scm (/object-string): New function.
(/object-error): Use it.
(/object-count-true): New function
(object-copy-top): Delete.  All callers changed to call object-copy.
(/parse-member-list, /build-getter-defs, /build-setter-defs): New fns.
(define-class, define-interface, define-method): New macros.
(define-getters, define-setters, vmake): Moved here ...
* utils-cgen.scm: ... from here.

14 years ago*** empty log message ***
gdbadmin [Mon, 25 Jan 2010 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

14 years agowhitespace fixes in previous patch
devans [Sun, 24 Jan 2010 23:54:57 +0000 (23:54 +0000)]
whitespace fixes in previous patch

14 years ago* utils-cgen.scm: Follow commenting convention.
devans [Sun, 24 Jan 2010 23:48:37 +0000 (23:48 +0000)]
* utils-cgen.scm: Follow commenting convention.

14 years agominor whitespace fix
devans [Sun, 24 Jan 2010 23:37:39 +0000 (23:37 +0000)]
minor whitespace fix