OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
14 years ago*** empty log message ***
gdbadmin [Wed, 23 Dec 2009 09:00:02 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Wed, 23 Dec 2009 08:00:04 +0000 (08:00 +0000)]
daily update

14 years agoGDB 7.0.1 released.
gdbadmin [Wed, 23 Dec 2009 03:06:01 +0000 (03:06 +0000)]
GDB 7.0.1 released.

14 years agoFix getsubopt declaration.
ericb [Tue, 22 Dec 2009 22:07:23 +0000 (22:07 +0000)]
Fix getsubopt declaration.

* libc/include/sys/unistd.h (suboptarg, getsubopt): Move...
* libc/include/stdlib.h: ...here, to match POSIX for getsubopt.

14 years ago2009-12-22 Hui Zhu <teawater@gmail.com>
teawater [Tue, 22 Dec 2009 12:16:39 +0000 (12:16 +0000)]
2009-12-22  Hui Zhu  <teawater@gmail.com>

* record.c (record_message): Change argument.
(record_message_wrapper): New function.
(do_record_message): Change it name to
"record_message_wrapper_safe".
Let it call "record_message_wrapper".
(record_resume_error): Deleted.
(record_resume): Call "record_message".
(record_wait): Deleted record_resume_error.
Call "record_message_wrapper_safe".
Set status when do_record_message need stop the inferior.

2009-12-22  Hui Zhu  <teawater@gmail.com>

* gdb.reverse/sigall-reverse.exp: Adjust.

14 years ago2009-12-21 Sriraman Tallam <tmsriram@google.com>
tmsriram [Tue, 22 Dec 2009 10:33:43 +0000 (10:33 +0000)]
2009-12-21  Sriraman Tallam  <tmsriram@google.com>

* options.cc (General_options::parse_version): Make -v continue and do
the link like GNU ld does.

14 years ago * linux-x86-low.c: Delete outdated comment about Elf32_Phdr.
devans [Tue, 22 Dec 2009 09:18:13 +0000 (09:18 +0000)]
* linux-x86-low.c: Delete outdated comment about Elf32_Phdr.

14 years ago*** empty log message ***
gdbadmin [Tue, 22 Dec 2009 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

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

14 years ago gdb/
devans [Tue, 22 Dec 2009 06:23:42 +0000 (06:23 +0000)]
gdb/
* linux-nat.c (kill_lwp): Minor cleanup, move definition of
tkill_failed into ifdef HAVE_TKILL_SYSCALL.  Move setting of errno
there too.  Delete unnecessary resetting of errno after syscall.
Minor comment changes to match gdbserver/linux-low.c:kill_lwp.

gdbserver/
* linux-low.c (kill_lwp): Use __NR_tkill instead of SYS_tkill.
Move definition of tkill_failed to ifdef __NR_tkill to avoid gcc
warning ifndef __NR_tkill.  Move setting of errno there too.
Delete unnecessary resetting of errno after syscall.
Minor comment changes to match gdb/linux-nat.c:kill_lwp.

14 years ago * configure.ac: Check for dladdr.
devans [Tue, 22 Dec 2009 05:52:52 +0000 (05:52 +0000)]
* configure.ac: Check for dladdr.
* config.in: Regenerate.
* configure: Regenerate.
* thread-db.c (dladdr_to_soname): Only define ifdef HAVE_DLADDR.
(try_thread_db_load): Update.

14 years ago * linux-low.c (my_waitpid): Delete unnecessary prototype.
devans [Tue, 22 Dec 2009 02:54:03 +0000 (02:54 +0000)]
* linux-low.c (my_waitpid): Delete unnecessary prototype.

14 years ago * path.cc (cygwin_conv_path): Add band-aid including comment to avoid
corinna [Tue, 22 Dec 2009 01:44:37 +0000 (01:44 +0000)]
* path.cc (cygwin_conv_path): Add band-aid including comment to avoid
conversion from POSIX "." to Win32 ".\\".

14 years ago * exec.cc (execvp): Call find_exec with FE_NNF flag to enforce
corinna [Tue, 22 Dec 2009 00:16:27 +0000 (00:16 +0000)]
* exec.cc (execvp): Call find_exec with FE_NNF flag to enforce
a NULL return when executable isn't found in $PATH.  Convert NULL
to "".
(execvpe): Ditto.
* spawn.cc (spawn_guts): Return with EFAULT if prog_arg is NULL.
Return with ENOENT if prog_arg is empty string.  Add a comment.

14 years agoFix typo in filename.
brobecke [Mon, 21 Dec 2009 22:23:25 +0000 (22:23 +0000)]
Fix typo in filename.

14 years agoFix Thumb2 bl range options.
ramana [Mon, 21 Dec 2009 21:56:41 +0000 (21:56 +0000)]
Fix Thumb2 bl range options.

2009-12-21  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
            Richard Earnshaw  <richard.earnshaw@arm.com>

        * config/tc-arm.c (encode_thumb2_b_bl_offset): New. Refactored
        from md_apply_fix.
        (md_apply_fix): Fixup range checks for Thumb2 version
        of unconditional calls. Call encode_thumb2_b_bl_offset for
        unconditional branches / function calls.

14 years ago * MAINTAINERS: Update my email address.
amodra [Mon, 21 Dec 2009 19:27:20 +0000 (19:27 +0000)]
* MAINTAINERS: Update my email address.

14 years ago * MAINTAINERS: Update my email address.
amodra [Mon, 21 Dec 2009 19:21:16 +0000 (19:21 +0000)]
* MAINTAINERS: Update my email address.

14 years ago * elf64-ppc.c: Delete my email address.
amodra [Mon, 21 Dec 2009 19:21:01 +0000 (19:21 +0000)]
* elf64-ppc.c: Delete my email address.

14 years ago * fhandler_console.cc (get_nonascii_key): Generate ESC prefix
corinna [Mon, 21 Dec 2009 19:11:27 +0000 (19:11 +0000)]
* fhandler_console.cc (get_nonascii_key): Generate ESC prefix
for Alt modifier generically for function keys and keypad keys.
Distinguish Normal, Ctrl, Shift, Ctrl-Shift rather
than Normal, Ctrl, Shift, Alt, so that in combination with generic
Alt handling all 8 combinations of these modifiers are distinguished.
(keytable): Add escape sequences for remaining modified
function keys as a compatible extension using rxvt escape codes.
Also distinguish keypad keys modified with Ctrl, Shift, Ctrl-Shift
using xterm-style modifier coding.

14 years ago * mi/mi-main.c (mi_cmd_gdb_exit): Flush raw_stdout.
vprus [Mon, 21 Dec 2009 19:02:04 +0000 (19:02 +0000)]
* mi/mi-main.c (mi_cmd_gdb_exit): Flush raw_stdout.

14 years ago PR gdb/10884
vprus [Mon, 21 Dec 2009 18:50:26 +0000 (18:50 +0000)]
PR gdb/10884

* value.c (value_primitive_field): Call check_typedef
on the type.

14 years ago Throughout, revert ill-conceived replacement of hMainThread with
corinna [Mon, 21 Dec 2009 18:38:24 +0000 (18:38 +0000)]
Throughout, revert ill-conceived replacement of hMainThread with
GetCurrentThread/NtCurrentThread.
* dcrt0.cc (dll_crt0_0): Duplicate main thread handle to hMainThread
again.

14 years ago * COPYING: Update to GPL version 3.
brobecke [Mon, 21 Dec 2009 16:40:04 +0000 (16:40 +0000)]
    * COPYING: Update to GPL version 3.

14 years ago * gpl.texi: Update to version 3 of the GPL.
brobecke [Mon, 21 Dec 2009 16:30:10 +0000 (16:30 +0000)]
    * gpl.texi: Update to version 3 of the GPL.

14 years ago*** empty log message ***
gdbadmin [Mon, 21 Dec 2009 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

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

14 years ago2009-12-20 Michael Snyder <msnyder@vmware.com>
msnyder [Mon, 21 Dec 2009 04:09:37 +0000 (04:09 +0000)]
2009-12-20  Michael Snyder  <msnyder@vmware.com>

* amd64-tdep.c (amd64_epilogue_frame_cache): Fix buf size.

14 years ago * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
brobecke [Sun, 20 Dec 2009 20:55:24 +0000 (20:55 +0000)]
    * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
        gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
        gdb.base/watch_thread_num.c, gdb.java/jprint.java,
        gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
        gdb.modula2/unbounded1.c: Update copyright header.

14 years ago * Makefile.in: Update copyright header.
brobecke [Sun, 20 Dec 2009 20:53:07 +0000 (20:53 +0000)]
    * Makefile.in: Update copyright header.
        * observer.texi: Fix the copyright header of the generated files.

14 years ago * darwin-nat-info.c, solib-spu.c, spu-multiarch.c,
brobecke [Sun, 20 Dec 2009 20:51:26 +0000 (20:51 +0000)]
    * darwin-nat-info.c, solib-spu.c, spu-multiarch.c,
        regformats/regdat.sh, features/Makefile: Update copyright header.

14 years ago*** empty log message ***
gdbadmin [Sun, 20 Dec 2009 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Sun, 20 Dec 2009 08:00:04 +0000 (08:00 +0000)]
daily update

14 years ago * gas/xc16x/xc16x.exp (*): Add missing " in timeout cases.
devans [Sun, 20 Dec 2009 04:34:07 +0000 (04:34 +0000)]
* gas/xc16x/xc16x.exp (*): Add missing " in timeout cases.

14 years agoReplace VexNDS, VexNDD and VexLWP with VexVVVV.
hjl [Sun, 20 Dec 2009 03:36:26 +0000 (03:36 +0000)]
Replace VexNDS, VexNDD and VexLWP with VexVVVV.

gas/

2009-12-19  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (process_operands): Check vexvvvv instead
of vexnds and vexndd.
(build_modrm_byte): Check vexvvvv instead of vexnds, vexndd
and vexlwp.

opcodes/

2009-12-19  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Remove VexNDS, VexNDD and
VexLWP.  Add VexVVVV.

* i386-opc.h (VexNDS): Removed.
(VexNDD): Likewise.
(VexLWP): Likewise.
(VEXXDS): New.
(VEXNDD): Likewise.
(VEXLWP): Likewise.
(VexVVVV): Likewise.
(i386_opcode_modifier): Remove vexnds, vexndd and vexlwp.
Add vexvvvv.

* i386-opc.tbl: Replace VexNDS with VexVVVV=1, VexNDD with
VexVVVV=2 and VexLWP with VexVVVV=3.
* i386-tbl.h: Regenerated.

14 years ago * fhandler_console.cc (__vt100_conv): Minor formatting change.
corinna [Sun, 20 Dec 2009 00:40:31 +0000 (00:40 +0000)]
* fhandler_console.cc (__vt100_conv): Minor formatting change.

14 years ago * fhandler_console.cc (write_console): Check for VT100
corinna [Sun, 20 Dec 2009 00:37:09 +0000 (00:37 +0000)]
* fhandler_console.cc (write_console): Check for VT100
graphics mode and transform wide characters in ASCII small
letter range to corresponding graphics.
(__vt100_conv): Table to transform small ASCII letters to line
drawing graphics for use in VT100 graphics mode.
(write_normal): Check for SO/SI control characters to
enable/disable VT100 graphics mode.
(base_chars): Enable SO/SI control characters for detection.
(write): Check for ESC ( 0 / ESC ( B escape sequences to
enable/disable VT100 graphics mode. Also detect ">" while
parsing ESC [ sequences to distinguish specific requests.
(char_command): Distinguish Secondary from Primary Device Attribute
request to report more details about cygwin console terminal version.
* fhandler.h (vt100_graphics_mode_active): New flag to indicate mode.
(saw_greater_than_sign): New parse flag for ESC [ > sequences.
(gotparen, gotrparen): New state values to parse ESC ( / ) sequences.

* fhandler_console.cc (read): Allow combined Alt-AltGr modifiers
to also produce an ESC prefix like a plain Alt modifier, e.g. to make
Alt-@ work on a keyboard where @ is AltGr-q.

14 years ago * event-loop.c: Include unistd.h if it exists.
devans [Sat, 19 Dec 2009 10:24:51 +0000 (10:24 +0000)]
* event-loop.c: Include unistd.h if it exists.

14 years ago * linux-low.c (my_waitpid): Move definition away from being in
devans [Sat, 19 Dec 2009 10:16:22 +0000 (10:16 +0000)]
* linux-low.c (my_waitpid): Move definition away from being in
between linux_tracefork_child/linux_test_for_tracefork.

14 years ago* signal.cc (nanosleep): Fix bug in previous patch.
ericb [Sat, 19 Dec 2009 09:58:33 +0000 (09:58 +0000)]
* signal.cc (nanosleep): Fix bug in previous patch.

14 years ago * arm-linux-tdep.c (ARM_OABI_SYSCALL_RESTART_SYSCALL): New macro.
macro [Sat, 19 Dec 2009 09:40:14 +0000 (09:40 +0000)]
* arm-linux-tdep.c (ARM_OABI_SYSCALL_RESTART_SYSCALL): New macro.
(ARM_LDR_PC_SP_12): Likewise.
(arm_linux_restart_syscall_init): New function.
(arm_linux_restart_syscall_tramp_frame): New variable.
(arm_linux_init_abi): Install the
arm_linux_restart_syscall_tramp_frame unwinder.

14 years ago gdb/
devans [Sat, 19 Dec 2009 09:29:10 +0000 (09:29 +0000)]
gdb/
* gdb_proc_service.h (psaddr_t): Fix type.
* linux-thread-db.c (thread_db_info.td_thr_tls_get_addr_p): Fix
signature to match glibc.
(thread_db_get_thread_local_address): Use psaddr_t for type of
address to match parameter of td_thr_tls_get_addr_p.
Cast through psaddr_t instead of (void*) to match parameter of
td_thr_tls_get_addr_p.

gdbserver/
* gdb_proc_service.h (psaddr_t): Fix type.
* thread-db.c (thread_db_info.td_thr_tls_get_addr_p): Fix
signature to match glibc.

14 years ago * gas/mips/eret-2.s: Add an instruction to fill a branch delay
macro [Sat, 19 Dec 2009 09:24:09 +0000 (09:24 +0000)]
* gas/mips/eret-2.s: Add an instruction to fill a branch delay
slot.
* gas/mips/eret-2.d: Adjust accordingly.

14 years ago gas/
macro [Sat, 19 Dec 2009 09:21:28 +0000 (09:21 +0000)]
gas/
* config/tc-mips.c (s_mips_ent): Also set BSF_FUNCTION for
".aent".

gas/testsuite/
* gas/mips/aent.d: New test.
* gas/mips/aent.s: Source for the new test.
* gas/mips/mips.exp: Run it.

14 years ago*** empty log message ***
gdbadmin [Sat, 19 Dec 2009 09:00:32 +0000 (09:00 +0000)]
*** empty log message ***

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

14 years agoMove Imm1 before Imm8.
hjl [Sat, 19 Dec 2009 06:07:58 +0000 (06:07 +0000)]
Move Imm1 before Imm8.

2009-12-18  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (operand_types): Move Imm1 before Imm8.

14 years ago Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcess
corinna [Sat, 19 Dec 2009 05:32:03 +0000 (05:32 +0000)]
Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcess
according to context.  Throughout, replace hMainThread with
GetCurrentThread/NtCurrentThread according to context.
* dcrt0.cc (dll_crt0_0): Drop duplication of GetCurrentProcess to
hMainProc.  Drop duplication of GetCurrentThread to hMainThread.
* dtable.cc (dtable::stdio_init): Remove useless comment.
* globals.cc (hMainProc): Remove.
(hMainThread): Remove.
* ntdll.h (NtCurrentProcess): Define.
(NtCurrentThread: Define.

14 years ago2009-12-18 Steve Ellcey <sje@cup.hp.com>
sje [Sat, 19 Dec 2009 03:11:55 +0000 (03:11 +0000)]
2009-12-18  Steve Ellcey  <sje@cup.hp.com>

* config/tc-hppa.c: Change access to access_ctr.

14 years ago * fhandler.h (fhandler_registry::value_name): Convert to wchar_t*.
corinna [Sat, 19 Dec 2009 02:14:19 +0000 (02:14 +0000)]
* fhandler.h (fhandler_registry::value_name): Convert to wchar_t*.
* fhandler_registry.cc: Call UNICODE registry functions throughout
and convert to multibyte using current locale's charset.  Accommodate
throughout.
(must_encode): Take wchar_t.
(encode_regname): Convert from wchar_t *.
(decode_regname): Convert to wchar_t *.

14 years agoinclude/elf/
uweigand [Sat, 19 Dec 2009 01:21:49 +0000 (01:21 +0000)]
include/elf/
* common.h (NT_S390_HIGH_GPRS): Define.

bfd/
* elf.c (elfcore_grok_s390_high_gprs): New function.
(elfcore_grok_note): Handle NT_S390_HIGH_GPRS notes.
(elfcore_write_s390_high_gprs): New function.
(elfcore_write_register_note): Call it.

binutils/
* readelf.c (get_note_type): Handle NT_S390_HIGH_GPRS notes.

14 years ago * path.sgml (func-cygwin-conv-path): Clarify meaning of size parameter.
corinna [Fri, 18 Dec 2009 19:11:55 +0000 (19:11 +0000)]
* path.sgml (func-cygwin-conv-path): Clarify meaning of size parameter.
(func-cygwin-conv-path-list): Fix typo.
(func-cygwin-posix-path-list-p): Ditto.

14 years ago * mep.opc: Apply patches from opcodes to compile with -Wshadow.
devans [Fri, 18 Dec 2009 15:04:33 +0000 (15:04 +0000)]
* mep.opc: Apply patches from opcodes to compile with -Wshadow.
mep-asm.c now regenerates correctly again.

14 years ago * config.sub, config.guess: Update from upstream sources.
bje [Fri, 18 Dec 2009 12:39:58 +0000 (12:39 +0000)]
* config.sub, config.guess: Update from upstream sources.

14 years ago* ps.cc (main): Return 0 if pid found.
cgf [Fri, 18 Dec 2009 12:34:59 +0000 (12:34 +0000)]
* ps.cc (main): Return 0 if pid found.

14 years ago2009-12-17 Stan Shebs <stan@codesourcery.com>
shebs [Fri, 18 Dec 2009 09:36:46 +0000 (09:36 +0000)]
2009-12-17  Stan Shebs  <stan@codesourcery.com>

* breakpoint.c (bpstat_check_location): Check for tracepoints.

14 years ago*** empty log message ***
gdbadmin [Fri, 18 Dec 2009 09:00:02 +0000 (09:00 +0000)]
*** empty log message ***

14 years ago2009-12-16 Michael Snyder <msnyder@vmware.com>
msnyder [Fri, 18 Dec 2009 08:41:04 +0000 (08:41 +0000)]
2009-12-16  Michael Snyder  <msnyder@vmware.com>

* i386-tdep.c (i386_process_record): Reformat comments.

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

14 years ago2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 18 Dec 2009 06:48:49 +0000 (06:48 +0000)]
2009-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * mn10300/Makefile.in: Add mkdir call to make installation
        directory when installing.

14 years ago2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 18 Dec 2009 06:12:49 +0000 (06:12 +0000)]
2009-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update copyright date.
        * COPYING.LIBGLOSS: Ditto.

14 years ago2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 18 Dec 2009 06:08:04 +0000 (06:08 +0000)]
2009-12-17  Jeff Johnston <jjohnstn@redhat.com>

        * libc/include/_syslist.h: Add _mkdir transform.

14 years ago2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 18 Dec 2009 05:41:27 +0000 (05:41 +0000)]
2009-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * NEWS: Update with 1.18.0 info.
        * README: Ditto.
        * acinclude.m4: Change version number to 1.18.0.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * doc/aclocal.m4: Ditto.
        * doc/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
        * libc/libc.texinfo: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.
        * libm/libm.texinfo: Ditto.
        * libc/sys/linux/shared.ld: Add VERS_1.18

14 years ago2008-12-17 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 18 Dec 2009 05:40:05 +0000 (05:40 +0000)]
2008-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * NEWS: Update with 1.18.0 info.
        * README: Ditto.
        * acinclude.m4: Change version number to 1.18.0.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * doc/aclocal.m4: Ditto.
        * doc/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
        * libc/libc.texinfo: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.
        * libm/libm.texinfo: Ditto.
        * libc/sys/linux/shared.ld: Add VERS_1.18

14 years ago2009-12-17 Jerker Back <jerker.back@gmail.com>
jjohnstn [Fri, 18 Dec 2009 05:04:42 +0000 (05:04 +0000)]
2009-12-17  Jerker Back  <jerker.back@gmail.com>

        * libc/iconv/lib/local.h[!__GNUC__]: Add alternative version of
        ICONV_ZERO_MB_STATE_T macro.
        * libc/iconv/lib/ucsconv.c (ucs_based_conversion_get_state): Use
        temporary local variable nullstate to hold empty mbstate_t.

14 years ago * pe-dll.c (generate_reloc): Take account of wrapper options when
davek [Fri, 18 Dec 2009 04:51:35 +0000 (04:51 +0000)]
* pe-dll.c (generate_reloc): Take account of wrapper options when
testing if a weak symbol is defined or not, and when it is not,
consider whether the default value requires a base reloc anyway.

14 years ago2009-12-17 Jerker Back <jerker.back@gmail.com>
jjohnstn [Fri, 18 Dec 2009 04:43:42 +0000 (04:43 +0000)]
2009-12-17  Jerker Back  <jerker.back@gmail.com>

        * libc/include/_ansi.h: Add new _EXFNPTR macro for using with
        function pointer arguments.
        * libc/iconv/lib/conv.h: Use _EXFNPTR rather than _EXPARM macro.
        * libc/iconv/lib/ucsconv.h: Ditto.
        * libc/include/stdlib.h: Use new _EXFNPTR macro for function pointers.
        * libc/include/sys/reent.h: Ditto.
        * libc/include/sys/unistd.h: Ditto.
        * libc/search/bsearch.c: Ditto.
        * libc/stdio/fseek.c: Ditto.
        * libc/stdio64/fseeko64.c: Ditto.
        * libc/stdlib/atexit.c: Ditto.
        * libc/stdlib/on_exit.c: Ditto.

14 years ago * deffilep.y (def_file_free): Add missing shadow parameter renaming.
davek [Fri, 18 Dec 2009 04:33:59 +0000 (04:33 +0000)]
* deffilep.y (def_file_free): Add missing shadow parameter renaming.
(def_file_print): Likewise.
(def_stash_module): Likewise.
(def_file_add_import): Likewise.

14 years ago2009-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
jjohnstn [Fri, 18 Dec 2009 04:26:37 +0000 (04:26 +0000)]
2009-12-17  Ralf Corsépius <ralf.corsepius@rtems.org>

        * libc/include/machine/ieeefp.h: Rework __IEEE_*_ENDIAN handling.
        * libc/machine/arm/machine/endian.h: Remove (Conflicts with
        libc/include/machine/endian.h)

14 years ago2009-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
jjohnstn [Fri, 18 Dec 2009 04:24:22 +0000 (04:24 +0000)]
2009-12-17  Ralf Corsépius <ralf.corsepius@rtems.org>

        * libc/include/machine/setjmp.h: Set up _JBLEN #ifdef __m68k__.

14 years ago2009-12-17 Ralf Corsepius <ralf.corsepius@rtems.org>
jjohnstn [Fri, 18 Dec 2009 04:22:23 +0000 (04:22 +0000)]
2009-12-17  Ralf Corsepius <ralf.corsepius@rtems.org>

        * libc/include/pthread.h: Add pthread_atfork, pthread_rwlock_unlock
        * libc/include/sys/stat.h: Use struct timespec st_*tim,
        blksize_t st_blksize, blkcnt_t st_blocks.
        Add st_*time compatibility macros.

14 years ago * syscalls.cc (try_to_bin): Handle remote shares as well. Just rename
corinna [Fri, 18 Dec 2009 03:33:05 +0000 (03:33 +0000)]
* syscalls.cc (try_to_bin): Handle remote shares as well.  Just rename
files in this case, instead of moving them to the recycler.  Create
even more unique filename.  Add comment to explain filename.
(unlink_nt): Remove code returning with EBUSY on remote shares.
Set bin_stat to move_to_bin except on NFS.  Add comment to explain.

14 years ago * gen-all: Add support for building gcc/newlib.
devans [Fri, 18 Dec 2009 02:52:00 +0000 (02:52 +0000)]
* gen-all: Add support for building gcc/newlib.
Specify --prefix and install all built tools.

14 years ago2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>
jjohnstn [Fri, 18 Dec 2009 01:10:41 +0000 (01:10 +0000)]
2009-12-16  Ralf Corsépius <ralf.corsepius@rtems.org>

        * libc/sys/rtems/machine/_types.h: New (Derived from
        machine/_default_types.h).
        * libc/sys/rtems/crt0.c: Rework. Introduce macro RTEMS_STUB.
        * libc/sys/rtems/sys/param.h:
        Update copyright notice from FreeBSD.
        Remove HZ.
        Add #include <sys/priority.h>
        Remove priority handling (moved to sys/priority.h).
        Remove CLBYTES (Unused, abandoned in BSD).
        * libc/sys/rtems/sys/queue.h: Update copyright (from FreeBSD).
        Remove CIRCLEQ_*.

2

14 years ago2009-12-17 Rafael Avila de Espindola <espindola@google.com>
espindola [Fri, 18 Dec 2009 01:02:02 +0000 (01:02 +0000)]
2009-12-17  Rafael Avila de Espindola  <espindola@google.com>

* Makefile.am (CCFILES): Add timer.cc.
(HFILES): Add timer.h.
* configure.ac: Check for sysconf and times.
* main.cc: include timer.h.
(main): Use Timer instead of get_run_time.
* timer.cc: New.
* timer.h: New.
* workqueue.cc: include timer.h.
(Workqueue::find_and_run_task):
Report user, sys and wall time.
* Makefile.in: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.

14 years ago* signal.cc (nanosleep): Support 'infinite' sleep times.
ericb [Thu, 17 Dec 2009 23:04:03 +0000 (23:04 +0000)]
* signal.cc (nanosleep): Support 'infinite' sleep times.
(sleep): Avoid uninitialized memory.

14 years ago PR binutils/10924
nickc [Thu, 17 Dec 2009 18:52:14 +0000 (18:52 +0000)]
    PR binutils/10924
        * config/tc-arm.c (do_ldstv4): Do not allow r15 as the destination
        register.
        (do_mrs): Likewise.
        (do_mul): Likewise.

        * arm-dis.c: Add support for %<>ru and %<>rU formats to enforce
        unique register numbers.  Extend support for %<>R format to
        thumb32 and coprocessor instructions.

        * gas/arm/unpredictable.s: Add more unpredictable instructions.
        * gas/arm/unpredictable.d: Add expected disassemblies.

14 years ago PR ld/11088
amodra [Thu, 17 Dec 2009 14:45:25 +0000 (14:45 +0000)]
PR ld/11088
include/elf/
* ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
R_PPC_RELAX32PC_PLT): Delete.
(R_PPC_RELAX, R_PPC_RELAX_PLT, R_PPC_RELAX_PLTREL24): Define.
bfd/
* elf32-ppc.c (update_plt_info): Clear sec here when addend is
less than 32768..
(ppc_elf_check_relocs): ..rather than doing so here.  Ignore new
relax relocs.
(ppc_elf_gc_sweep_hook): Don't segfault when symbol hiding has
removed plt_entry records.
(ppc_elf_tls_setup): Handle PIE calls to __tls_get_addr correctly.
(ppc_elf_tls_optimize): Likewise.  Also dec __tls_get_addr refcount
when optimizing code using new tlsgd and tlsld marker relocs.
(ppc_elf_relax_section): Differentiate relaxed PLTREL24 relocs
from ADDR24 relocs using plt or glink.  Don't clear the addend
for R_PPC_RELAX_PLTREL24.
(ppc_elf_relocate_section): Correctly handle addends on relaxed
PLTREL24 relocs.

14 years ago PR ld/11088
amodra [Thu, 17 Dec 2009 09:07:38 +0000 (09:07 +0000)]
PR ld/11088
* elf64-ppc.c (ppc64_elf_gc_sweep_hook): Don't abort if symbol
hiding has nulled out plt.plist.

14 years ago*** empty log message ***
gdbadmin [Thu, 17 Dec 2009 09:00:34 +0000 (09:00 +0000)]
*** empty log message ***

14 years ago2009-12-16 Doug Kwan <dougkwan@google.com>
dougkwan [Thu, 17 Dec 2009 09:00:26 +0000 (09:00 +0000)]
2009-12-16  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_relobj::scan_sections_for_stubs): Exclude ICF-eliminated
sections.
* object.cc (Sized_relobj::do_finalize_local_symbols): Handle
relaxed input sections.
* output.cc (Output_section::find_relaxed_input_section): Change
return type to Output_relaxed_input_section pointer.  Adjust code
for new type of relaxed_input_section_map_.
* output.h (Output_section::find_relaxed_input_section): Change
return type to Output_relaxed_input_section pointer.
(Output_section::Output_relaxed_input_section_by_input_section_map):
New type.
(Output_section::relaxed_input_section_map_): Change type to
Output_section::Output_relaxed_input_section_by_input_section_map.
* symtab.cc (Symbol_table::compute_final_value): Handle relaxed
input section.

14 years agodaily update
amodra [Thu, 17 Dec 2009 08:00:04 +0000 (08:00 +0000)]
daily update

14 years ago2009-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
jjohnstn [Thu, 17 Dec 2009 06:35:51 +0000 (06:35 +0000)]
2009-12-16  Joel Sherrill <joel.sherrill@oarcorp.com>

        * libc/sys/rtems/machine/param.h: Only use sizeof(double) -1
        for ALIGNBYTES on SPARC.

14 years ago * linux-low.c (linux_read_memory): Fix argument to read.
devans [Thu, 17 Dec 2009 06:23:34 +0000 (06:23 +0000)]
* linux-low.c (linux_read_memory): Fix argument to read.

14 years agoRemove ByteOkIntel.
hjl [Thu, 17 Dec 2009 05:08:31 +0000 (05:08 +0000)]
Remove ByteOkIntel.

gas/

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

* config/tc-i386.c (process_suffix): Set i.suffix to 0 in
Intel syntax if size is ignored and b/l/w suffixes are
illegal.
(check_byte_reg): Remove byteokintel check.

opcodes/

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

* i386-gen.c (opcode_modifiers): Remove ByteOkIntel.

* i386-opc.h (ByteOkIntel): Removed.
(i386_opcode_modifier): Remove byteokintel.

* i386-opc.tbl: Remove ByteOkIntel.
* i386-tbl.h: Regenerated.

14 years ago2009-12-16 Conny Marco Menebrocker <c-m-m@gmx.de>
jjohnstn [Thu, 17 Dec 2009 05:00:55 +0000 (05:00 +0000)]
2009-12-16  Conny Marco Menebrocker <c-m-m@gmx.de>

        * xc16x/Makefile.in: Remove extraneous stuff
        brought in by copy.
        * xc16x/configure.in: Ditto.
        * xc16x/configure: Regenerated.

14 years ago2009-12-16 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 17 Dec 2009 04:33:09 +0000 (04:33 +0000)]
2009-12-16  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/errno.h: Move EHOSTDOWN, EPFNOSUPPORT,
        and ETOOMANYREFS into general list as they are referenced
        by OpenGroup and needed by RTEMS.

14 years ago2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>
jjohnstn [Thu, 17 Dec 2009 03:30:19 +0000 (03:30 +0000)]
2009-12-16  Ralf Corsépius <ralf.corsepius@rtems.org>

        * libc/search/hcreate.c: Don't include <sys/queue.h> (Unused).

14 years ago2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>
jjohnstn [Thu, 17 Dec 2009 03:28:13 +0000 (03:28 +0000)]
2009-12-16  Ralf Corsépius <ralf.corsepius@rtems.org>

        * libc/sys/rtems/machine/_types.h: New (Derived from
        machine/_default_types.h).
        * libc/sys/rtems/crt0.c: Rework. Introduce macro RTEMS_STUB.
        * libc/sys/rtems/sys/param.h:
        Update copyright notice from FreeBSD.
        Remove HZ.
        Add #include <sys/priority.h>
        Remove priority handling (moved to sys/priority.h).
        Remove CLBYTES (Unused, abandoned in BSD).
        * libc/sys/rtems/sys/queue.h: Update copyright (from FreeBSD).
        Remove CIRCLEQ_*.

14 years agoReplace Vex0F, Vex0F38, Vex0F3A, XOP08, XOP09 and XOP0A with VexOpcode.
hjl [Thu, 17 Dec 2009 00:43:15 +0000 (00:43 +0000)]
Replace Vex0F, Vex0F38, Vex0F3A, XOP08, XOP09 and XOP0A with VexOpcode.

gas/

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

* config/tc-i386.c (build_vex_prefix): Replace vex0f, vex0f38,
vex0f3a, xop08, xop09 and xop0a with vexopcode.

opcodes/

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

* i386-gen.c (opcode_modifiers): Remove Vex0F, Vex0F38,
Vex0F3A, XOP08, XOP09 and XOP0A.  Add VexOpcode.

* i386-opc.h (Vex0F): Removed.
(Vex0F38): Likewise.
(Vex0F3A): Likewise.
(VexOpcode): New.
(VEX0F): Likewise.
(VEX0F38): Likewise.
(VEX0F3A): Likewise.
(XOP08): Defined as a macro.
(XOP09): Likewise.
(XOP0A): Likewise.
(i386_opcode_modifier): Remove vex0f, vex0f38, vex0f3a, xop08,
xop09 and xop0a.  Add vexopcode.

* i386-opc.tbl: Replace Vex0F with VexOpcode=0, Vex0F38 with
VexOpcode=1, Vex0F3A with VexOpcode=2, XOP08 with VexOpcode=3,
XOP09 with VexOpcode=4 and XOP0A with VexOpcode=5.
* i386-tbl.h: Regenerated.

14 years ago * sim.scm (/op-gen-written-update): Disable operand number is too
devans [Thu, 17 Dec 2009 00:33:33 +0000 (00:33 +0000)]
* sim.scm (/op-gen-written-update): Disable operand number is too
large warning, for now.

14 years ago* dwarf2read.c (read_subroutine_type): Add the subroutine type to the
gaius [Thu, 17 Dec 2009 00:09:43 +0000 (00:09 +0000)]
* dwarf2read.c (read_subroutine_type): Add the subroutine type to the
die immediately to allow a parameter type to be the same subroutine type.

14 years ago * fhandler_console.cc (read): Detect and handle mouse wheel scrolling
corinna [Wed, 16 Dec 2009 23:56:09 +0000 (23:56 +0000)]
* fhandler_console.cc (read): Detect and handle mouse wheel scrolling
events (for completion of mouse reporting mode 1000) and mouse
movement events (for additional mouse reporting modes 1002 and 1003).
Use mouse_aware() as a guard and only condition for mouse
reporting in order to enforce consistence of read() and select().
Add focus reports (for additional focus reporting mode 1004).
(mouse_aware): Enable detection of additional mouse events for select().
Tune function to precisely match actual reporting criteria.
Move adjustment of mouse position (by window scroll offset)
here to avoid duplicate code.
(char_command): Initialization of enhanced mouse reporting modes.
Initialization of focus reporting mode.
* fhandler.h (use_mouse): Change flag (bool->int) to indicate
additional mouse modes. Add flag to indicate focus reporting.
(mouse_aware): Move enhanced function into fhandler_console.cc.
* select.cc (peek_console): Use modified mouse_aware() for more
general detection of mouse events. Also check for focus reports.

14 years ago * regtool.cc: Throughout, convert all registry calls to wide char
corinna [Wed, 16 Dec 2009 23:02:57 +0000 (23:02 +0000)]
* regtool.cc: Throughout, convert all registry calls to wide char
calls and use string conversion according to current locale.
(longopts): Change "dword-le" to "dword-be", as was originally
intended.
(usage): Change usage accordingly.
(print_version): Simplify copyright dates in output.
(cmd_list): Handle REG_LINK like REG_SZ.
(cmd_get): Ditto.
(main): Call setlocale.
* utils.sgml (regtool): Fix options and add missing descriptions for
new features.

14 years ago * registry.cc (cygnus_class): Remove.
corinna [Wed, 16 Dec 2009 22:09:45 +0000 (22:09 +0000)]
* registry.cc (cygnus_class): Remove.
(reg_key::build_reg): Don't set class when creating key.

14 years agoFix a typo in ChangeLog.
hjl [Wed, 16 Dec 2009 14:31:40 +0000 (14:31 +0000)]
Fix a typo in ChangeLog.

14 years agoReplace VEX2SOURCES with XOP2SOURCES.
hjl [Wed, 16 Dec 2009 14:18:10 +0000 (14:18 +0000)]
Replace VEX2SOURCES with XOP2SOURCES.

gas/

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_modrm_byte): Check XOP2SOURCES
instead VEX2SOURCES.

opcodes/

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.h (VEX2SOURCES): Renamed to ...
(XOP2SOURCES): This.

14 years agoReplace Vex2Sources and Vex3Sources with VexSources.
hjl [Wed, 16 Dec 2009 13:00:34 +0000 (13:00 +0000)]
Replace Vex2Sources and Vex3Sources with VexSources.

gas/

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (process_operands): Check vexsources
instead of vex3sources.
(build_modrm_byte): Check vexsources instead of vex2sources
and vex3sources.

opcodes/

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Remove Vex3Sources and
Vex2Sources.  Add VexSources.

* i386-opc.h ()Vex2Sources: Removed.
(Vex3Sources): Likewise.
(VEX2SOURCES): New.
(VEX3SOURCES): Likewise.
(VexSources): Likewise.
(i386_opcode_modifier): Remove vex2sources and vex3sources.
Add vexsources.

* i386-opc.tbl: Replace Vex2Sources with VexSources=1 and
Vex3Sourceswith VexSources=2.
* i386-tbl.h: Regenerated.

14 years agoRemove VexW0 and VexW1. Add VexW.
hjl [Wed, 16 Dec 2009 11:10:43 +0000 (11:10 +0000)]
Remove VexW0 and VexW1.  Add VexW.

gas/

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_vex_prefix): Replace vexw0/vexw1
with vexw.
(build_modrm_byte): Likewise.

opcodes/

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Remove VexW0 and VexW1.  Add
VexW.

* i386-opc.h (VexW0): Removed.
(VexW1): Likewise.
(VEXW0): New.
(VEXW1): Likewise.
(VexW): Likewise.
(i386_opcode_modifier): Remove vexw0 and vexw1.  Add vexw.

* i386-opc.tbl: Replace VexW0 with VexW=1 and VexW1 with
Vex=2.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

14 years ago2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 16 Dec 2009 09:28:55 +0000 (09:28 +0000)]
2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* as.h (mempcpy): New.

* configure.in: Check if mempcpy is declared.
* configure: Regenerated.
* config.in: Likewise.