OSDN Git Service

pf3gnuchains/sourceware.git
15 years ago * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
hp [Wed, 7 Jan 2009 03:27:11 +0000 (03:27 +0000)]
* ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
ld-cris/tls-e-23.d, ld-cris/tls-e-66.d, ld-cris/tls-gd-3.d,
ld-cris/tls-gd-3h.d, ld-cris/tls-global-74.d,
ld-cris/tls-ie-8e1.d, ld-cris/tls-ldgde-14.d,
ld-cris/tls-ldgde-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-13.d,
ld-cris/tls-le-13s.d, ld-cris/tls-legd-16.d,
ld-cris/tls-legd-17.d, ld-cris/tls-legdx-16.d,
ld-cris/tls-legdx-17.d, ld-cris/tls-leie-18.d,
ld-cris/tls-leie-19.d, ld-cris/tls-local-57.d,
ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for
relocation value now offset by negative program TLS block size.
* ld-cris/tls-le-12s.d: Ditto.  Move 128-byte tls-data to last.
Adjust accordingly.
* ld-cris/tls-le-12s.s: Use movs, not movu, for sign-extended
always-negative relocation.
* ld-cris/tls-tprelm.s: Move filler data to after symbol for
tested relocation.
* ld-cris/tls-ok-36.d: Adjust accordingly.

15 years ago * cgen-ops.h (ADDQI, SUBQI, MULQI, NEGQI, ABSQI, ADDHI, SUBHI)
hp [Wed, 7 Jan 2009 01:13:36 +0000 (01:13 +0000)]
* cgen-ops.h (ADDQI, SUBQI, MULQI, NEGQI, ABSQI, ADDHI, SUBHI)
(MULHI, NEGHI, ABSHI, ADDSI, SUBSI, MULSI, NEGSI, ABSSI, ADDDI)
(SUBDI, MULDI, NEGDI, ABSDI): Cast arguments to the unsigned type
variant; UQI, UHI, USI, UDI, and cast the result to the signed
type, QI, HI, SI, DI.

15 years ago * cgen-ops.h (ADDQI, SUBQI, MULQI, NEGQI, ABSQI, ADDHI, SUBHI)
hp [Wed, 7 Jan 2009 01:12:51 +0000 (01:12 +0000)]
* cgen-ops.h (ADDQI, SUBQI, MULQI, NEGQI, ABSQI, ADDHI, SUBHI)
(MULHI, NEGHI, ABSHI, ADDSI, SUBSI, MULSI, NEGSI, ABSSI, ADDDI)
(SUBDI, MULDI, NEGDI, ABSDI): Cast arguments to the unsigned type
variant; UQI, UHI, USI, UDI, and cast the result to the signed
type, QI, HI, SI, DI.

15 years ago * sem.c: Regenerate.
hp [Wed, 7 Jan 2009 01:10:23 +0000 (01:10 +0000)]
* sem.c: Regenerate.

15 years ago * frv.cpu (mabshs): Explicitly sign-extend arguments of abs to DI.
hp [Wed, 7 Jan 2009 01:09:24 +0000 (01:09 +0000)]
* frv.cpu (mabshs): Explicitly sign-extend arguments of abs to DI.
(DI-ext-HI, DI-ext-UHI, DI-ext-DI): New pmacros.
(media-arith-sat-semantics): Explicitly sign- or zero-extend
arguments of "operation" to DI using "mode" and the new pmacros.

15 years ago * value.c (set_internalvar): Use value_free, not xfree.
tromey [Wed, 7 Jan 2009 00:45:54 +0000 (00:45 +0000)]
* value.c (set_internalvar): Use value_free, not xfree.

15 years ago*** empty log message ***
gdbadmin [Wed, 7 Jan 2009 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Wed, 7 Jan 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * callback.c (os_error): Mark as being a noreturn function.
hp [Tue, 6 Jan 2009 23:39:28 +0000 (23:39 +0000)]
* callback.c (os_error): Mark as being a noreturn function.
* sim-io.h (sim_io_error): Similar for sim_io_error.

15 years ago * callback.h (struct host_callback_struct): Mark member error as
hp [Tue, 6 Jan 2009 23:38:44 +0000 (23:38 +0000)]
* callback.h (struct host_callback_struct): Mark member error as
pointing to a noreturn function.

15 years ago * sim/cris/c/mmap5.c, sim/cris/c/mmap6.c, sim/cris/c/mmap7.c,
hp [Tue, 6 Jan 2009 20:50:09 +0000 (20:50 +0000)]
* sim/cris/c/mmap5.c, sim/cris/c/mmap6.c, sim/cris/c/mmap7.c,
sim/cris/c/mmap8.c, sim/cris/c/hellodyn3.c: New tests.

15 years ago * cris/traps.c (abort): Define to call sim_io_error.
hp [Tue, 6 Jan 2009 20:48:58 +0000 (20:48 +0000)]
* cris/traps.c (abort): Define to call sim_io_error.
(create_map): Make -1 imply a non-fixed address, not 0.  All
callers changed.  Only prefer the next higher unmapped address if
the last mapped address is no less than 0x40000000.  Check that
the address to be mapped is not already mapped.  Update head
comment.
(unmap_pages): Don't call abort when recursive call fails, just
note and return an error if a page in the range couldn't be unmapped.
(cris_bmod_handler, h_supr_set_handler, h_supr_get_handler)
(schedule, make_first_thread, cris_pipe_empty): New local variable sd.
(cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
non-MAP_FIXED argument overlapping existing map.  For MAP_FIXED,
don't abort on page not being mapped.  Handle non-anon filemap
with length padded to pagesize.

15 years ago2009-01-06 Chao-ying Fu <fu@mips.com>
chaoyingfu [Tue, 6 Jan 2009 19:24:28 +0000 (19:24 +0000)]
2009-01-06  Chao-ying Fu  <fu@mips.com>

* gas/mips/jalr.s, gas/mips/jalr.l: Add more tests for jalr
and jalr.hb.

15 years ago2009-01-06 Chao-ying Fu <fu@mips.com>
chaoyingfu [Tue, 6 Jan 2009 19:22:10 +0000 (19:22 +0000)]
2009-01-06  Chao-ying Fu  <fu@mips.com>

* config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
Use strncmp to match jalr and jalr.hb.
Fix a typo.

15 years ago2009-01-06 Joel Sherrill <joel.sherrill@oarcorp.com>
joel [Tue, 6 Jan 2009 19:01:36 +0000 (19:01 +0000)]
2009-01-06  Joel Sherrill <joel.sherrill@oarcorp.com>

* r8c.opc, m32c.opc: Add parentheses to remove warnings.

15 years agoCheck return values of functions declared with warn_unused_result
jimb [Tue, 6 Jan 2009 18:31:58 +0000 (18:31 +0000)]
Check return values of functions declared with warn_unused_result
attribute in GLIBC 2.8.
* cli/cli-cmds.c (pwd_command): Check return value from getcwd.
* inflow.c (check_syscall): New function.
(new_tty): Use check_syscall to check return values from open and dup.
* linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
* main.c (captured_main): Call cwd after setting up gdb_stderr;
check for errors from getcwd.
* mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
* ui-file.c (stdio_file_write): Ignore return value from fwrite.
(stdio_file_fputs): Same.
* utils.c (internal_vproblem): abort if last-ditch error message
write fails.

15 years ago* top.c (gdb_init): Don't set the current directory here; that's
jimb [Tue, 6 Jan 2009 18:28:03 +0000 (18:28 +0000)]
* top.c (gdb_init): Don't set the current directory here; that's
already been done in captured_main.

15 years ago2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 6 Jan 2009 18:20:45 +0000 (18:20 +0000)]
2009-01-06  H.J. Lu  <hongjiu.lu@intel.com>

* elfcpp.h (enum STT): Remove STT_IFUNC.

15 years agoReformat.
hjl [Tue, 6 Jan 2009 17:58:19 +0000 (17:58 +0000)]
Reformat.

15 years agogas/testsuite/
hjl [Tue, 6 Jan 2009 17:15:27 +0000 (17:15 +0000)]
gas/testsuite/

2009-01-06  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (December, 2008)
* gas/i386/avx.s: Add tests for 256bit vmovntdq, vmovntpd and
vmovntps.
* gas/i386/x86-64-avx.s: Likewise.

* gas/i386/avx.d: Updated.
* gas/i386/avx-intel.d: Likewise.
* gas/i386/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx-intel.d: Likewise.

opcodes/

2009-01-06  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (December, 2008)
* i386-dis.c (VEX_LEN_2B_M_0): Removed.
(VEX_LEN_E7_P_2_M_0): Likewise.
(VEX_LEN_2C_P_1): Updated.
(VEX_LEN_E8_P_2): Likewise.
(vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0.
(mod_table): Likewise.

* i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps.
* i386-tbl.h: Regenerated.

15 years ago2009-01-06 Sandra Loosemore <sandra@codesourcery.com>
sandra [Tue, 6 Jan 2009 17:07:06 +0000 (17:07 +0000)]
2009-01-06  Sandra Loosemore  <sandra@codesourcery.com>

gdb/
* ser-tcp.c: Adjust includes.
(tcp_set_cmdlist, tcp_show_cmdlist): Declare.
(tcp_auto_retry, tcp_retry_limit): Declare.
(TIMEOUT): Remove, in favor of tcp_retry_limit.
(POLL_INTERVAL): Increase to 5, in favor of backoff logic.
(wait_for_connect): New function.
(net_open): Use it.  Add auto-retry logic.
(set_tcp_cmd, show_tcp_cmd): New functions.
(_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
and "set/show tcp connect-timeout" commands.
* NEWS: Document new commands.

gdb/doc/
* gdb.texinfo (Remote Configuration): Document new
"set/show tcp auto-retry" and "set/show tcp connect-timeout"
commands.

15 years ago2009-01-06 Kai Tietz <kai.tietz@onevision.com>
ktietz [Tue, 6 Jan 2009 15:36:05 +0000 (15:36 +0000)]
2009-01-06  Kai Tietz  <kai.tietz@onevision.com>

        * windres.c (set_endianess): Get architecture name
        for internal target names like "pe-arm-wince-little".
        (find_arch_match): New helper.
        * ChangeLog: Reset it.
        * ChangeLog-2008: Moved old ChangeLog.

15 years ago2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
joel [Tue, 6 Jan 2009 14:40:32 +0000 (14:40 +0000)]
2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>

* config.bfd: Add lm32-*-rtems*.

15 years ago * gdbreplay.c (gdbreplay_version): Update copyright year.
brobecke [Tue, 6 Jan 2009 04:49:29 +0000 (04:49 +0000)]
* gdbreplay.c (gdbreplay_version): Update copyright year.
* server.c (gdbserver_version): Likewise.

15 years ago * cygcheck.cc (dump_sysinfo_services): Quote the path for popen.
phumblet [Tue, 6 Jan 2009 04:11:23 +0000 (04:11 +0000)]
    * cygcheck.cc (dump_sysinfo_services): Quote the path for popen.

15 years ago2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 6 Jan 2009 01:14:45 +0000 (01:14 +0000)]
2009-01-05  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (process_copyright): Update for 2009.

* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

15 years agoAdd new FMA tests.
hjl [Tue, 6 Jan 2009 01:10:48 +0000 (01:10 +0000)]
Add new FMA tests.

15 years agogas/
hjl [Tue, 6 Jan 2009 01:03:25 +0000 (01:03 +0000)]
gas/

2009-01-05  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (December, 2008)
* config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
support.  Don't swap REG and NDS for FMA.

gas/testsuite/

2009-01-05  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (December, 2008)
* gas/i386/arch-10.s: Replace vfmaddpd with vfmadd132pd.
* gas/i386/x86-64-arch-2.s: Likewise.

* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/avx.d: Likewise.
* gas/i386/avx-intel.d: Likewise.
* gas/i386/inval-avx.l: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.
* gas/i386/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx-intel.d: Likewise.
* gas/i386/x86-64-inval-avx.l: Likewise.

* gas/i386/avx.s: Remove vpermil2ps/vpermil2pd and FMA
instructions.  Update tests.
* gas/i386/inval-avx.s: Likewise.
* gas/i386/x86-64-avx.s: Likewise.
* gas/i386/x86-64-inval-avx.s: Likewise.

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

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

opcodes/

2009-01-05  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (December, 2008)
* i386-dis.c (OP_VEX_FMA): Removed.
(OP_EX_VexW): Likewise.
(OP_EX_VexImmW): Likewise.
(OP_XMM_VexW): Likewise.
(VEXI4_Fixup): Likewise.
(VPERMIL2_Fixup): Likewise.
(VexI4): Likewise.
(VexFMA): Likewise.
(Vex128FMA): Likewise.
(EXVexW): Likewise.
(EXdVexW): Likewise.
(EXqVexW): Likewise.
(EXVexImmW): Likewise.
(XMVexW): Likewise.
(VPERMIL2): Likewise.
(PREFIX_VEX_3A48...PREFIX_VEX_3A4A): Likewise.
(PREFIX_VEX_3A5C...PREFIX_VEX_3A5F): Likewise.
(PREFIX_VEX_3A68...PREFIX_VEX_3A6F): Likewise.
(PREFIX_VEX_3A78...PREFIX_VEX_3A7F): Likewise.
(VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2): Likewise.
(VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2): Likewise.
(get_vex_imm8): Likewise.
(OP_EX_VexReg): Likewise.
vpermil2_op): Likewise.
(EXVexWdq): New.
(vex_w_dq_mode): Likewise.
(PREFIX_VEX_3896...PREFIX_VEX_389F): Likewise.
(PREFIX_VEX_38A6...PREFIX_VEX_38AF): Likewise.
(PREFIX_VEX_38B6...PREFIX_VEX_38BF): Likewise.
(es_reg): Updated.
(PREFIX_VEX_38DB): Likewise.
(PREFIX_VEX_3A4A): Likewise.
(PREFIX_VEX_3A60): Likewise.
(PREFIX_VEX_3ADF): Likewise.
(VEX_LEN_3ADF_P_2): Likewise.
(prefix_table): Remove PREFIX_VEX_3A48...PREFIX_VEX_3A4A,
PREFIX_VEX_3A5C...PREFIX_VEX_3A5F,
PREFIX_VEX_3A68...PREFIX_VEX_3A6F and
PREFIX_VEX_3A78...PREFIX_VEX_3A7F.  Add
PREFIX_VEX_3896...PREFIX_VEX_389F,
PREFIX_VEX_38A6...PREFIX_VEX_38AF and
PREFIX_VEX_38B6...PREFIX_VEX_38BF.
(vex_table): Likewise.
(vex_len_table): Remove VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2
and VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2.
(putop): Support "%XW".
(intel_operand_size): Handle vex_w_dq_mode.

* i386-opc.h (VexNDS): Add a comment for VEX NDS and VEX DDS.

* i386-opc.tbl: Remove vpermil2pd/vpermil2ps and old FMA
instructions.  Add new FMA instructions.
* i386-tbl.h: Regenerated.

15 years ago* ChangeLog: Fix date of last entry.
devans [Tue, 6 Jan 2009 00:20:44 +0000 (00:20 +0000)]
* ChangeLog: Fix date of last entry.
* linux-low.c (handle_extended_wait): Improve comment.

15 years agodaily update
amodra [Tue, 6 Jan 2009 00:00:05 +0000 (00:00 +0000)]
daily update

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

15 years ago * linux-low.c (linux_attach_lwp): Add some comments/fixmes.
devans [Mon, 5 Jan 2009 23:11:48 +0000 (23:11 +0000)]
* linux-low.c (linux_attach_lwp): Add some comments/fixmes.

15 years ago * python/python-internal.h (Py_ssize_t): Define as int.
tromey [Mon, 5 Jan 2009 20:48:51 +0000 (20:48 +0000)]
* python/python-internal.h (Py_ssize_t): Define as int.

15 years ago2009-01-05 Craig Howland <howland@LGSInnovations.com>
jjohnstn [Mon, 5 Jan 2009 19:08:03 +0000 (19:08 +0000)]
2009-01-05  Craig Howland <howland@LGSInnovations.com>

        * libc/stdio/fwide.c:  Correct typo in TRAD_SYNOPSIS for _fwide_r.

15 years ago* MAINTAINERS: Fix my e-mail address as steering committee member.
jimb [Mon, 5 Jan 2009 17:36:06 +0000 (17:36 +0000)]
* MAINTAINERS: Fix my e-mail address as steering committee member.

15 years ago2009-01-05 Kai Tietz <kai.tietz@onevision.com>
ktietz [Mon, 5 Jan 2009 12:17:43 +0000 (12:17 +0000)]
2009-01-05  Kai Tietz  <kai.tietz@onevision.com>

        * emultempl/pe.em: Prefix dollar characters to be outputed in
        generated C file.
        * emultempl/pep.em: Likewise.

15 years agodaily update
amodra [Mon, 5 Jan 2009 00:00:08 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Mon, 5 Jan 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

15 years agoFix MinGW-Bug [2445962]; (reported by Keishi Suenaga).
keithmarshall [Sun, 4 Jan 2009 17:35:36 +0000 (17:35 +0000)]
Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).

15 years agodaily update
amodra [Sun, 4 Jan 2009 00:00:06 +0000 (00:00 +0000)]
daily update

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

15 years ago * cris/sim-if.c (TARGET_AT_NULL, TARGET_AT_PHDR, TARGET_AT_PHENT)
hp [Sat, 3 Jan 2009 21:25:42 +0000 (21:25 +0000)]
* cris/sim-if.c (TARGET_AT_NULL, TARGET_AT_PHDR, TARGET_AT_PHENT)
(TARGET_AT_PHNUM, TARGET_AT_PAGESZ, TARGET_AT_BASE)
(TARGET_AT_FLAGS, TARGET_AT_ENTRY, TARGET_AT_UID, TARGET_AT_EUID)
(TARGET_AT_GID, TARGET_AT_EGID, TARGET_AT_HWCAP)
(TARGET_AT_CLKTCK): Remove redundant macros.
(AUX_ENT): Adjust to use standard ELF AT_* macros.
(AUX_ENTF): Ditto.  Remove always-0 middle argument.  Update all
callers.
(sim_open): Also pass AT_SECURE.

15 years ago * sim/cris/c/settls1.c: New test.
hp [Sat, 3 Jan 2009 21:01:20 +0000 (21:01 +0000)]
* sim/cris/c/settls1.c: New test.

15 years ago * cris/sim-main.h (struct _sim_cpu): New member
hp [Sat, 3 Jan 2009 21:00:48 +0000 (21:00 +0000)]
* cris/sim-main.h (struct _sim_cpu): New member
set_target_thread_data.
* cris/crisv32f.c (CRIS_TLS_REGISTER): Define.
* cris/crisv10f.c: Ditto.
* cris/cris-tmpl.c (MY (set_target_thread_data)): New function.
(MY (f_specific_init)): Set new _sim_cpu member to new function.
* cris/traps.c (TARGET_SYS_set_thread_area): Define.
(cris_break_13_handler) <case TARGET_SYS_set_thread_area>: New
case.

15 years ago * sim/cris/c/exitg1.c, sim/cris/c/exitg2.c: New tests.
hp [Sat, 3 Jan 2009 20:26:19 +0000 (20:26 +0000)]
* sim/cris/c/exitg1.c, sim/cris/c/exitg2.c: New tests.

15 years ago * cris/traps.c (TARGET_SYS_exit_group): Define.
hp [Sat, 3 Jan 2009 20:25:48 +0000 (20:25 +0000)]
* cris/traps.c (TARGET_SYS_exit_group): Define.
(cris_break_13_handler): Handle it like the exit for the last
thread.

15 years ago * sim/cris/c/uname1.c: New test.
hp [Sat, 3 Jan 2009 19:58:46 +0000 (19:58 +0000)]
* sim/cris/c/uname1.c: New test.

15 years ago * cris/traps.c (TARGET_UTSNAME): Update to 2009-01-01.
hp [Sat, 3 Jan 2009 19:58:11 +0000 (19:58 +0000)]
* cris/traps.c (TARGET_UTSNAME): Update to 2009-01-01.
(TARGET_EPOCH): Update to match TARGET_UTSNAME.  Correct comment.
(cris_break_13_handler) <case TARGET_SYS_uname>: Update to
2.6.27.  Set machine field to the BFD printable name of the
machine.

15 years ago * sim/cris/c/mmap1.c (MMAP_FLAGS): Default-define to
hp [Sat, 3 Jan 2009 19:22:16 +0000 (19:22 +0000)]
* sim/cris/c/mmap1.c (MMAP_FLAGS): Default-define to
MAP_PRIVATE and use this macro in the mmap call.
* sim/cris/c/mmap4.c: New test.

15 years ago * cris/traps.c (TARGET_MAP_DENYWRITE): Define.
hp [Sat, 3 Jan 2009 19:21:42 +0000 (19:21 +0000)]
* cris/traps.c (TARGET_MAP_DENYWRITE): Define.
<case TARGET_SYS_mmap2>: Handle TARGET_MAP_DENYWRITE.

15 years ago * sim/cris/c/access1.c: New test.
hp [Sat, 3 Jan 2009 18:38:26 +0000 (18:38 +0000)]
* sim/cris/c/access1.c: New test.

15 years ago * cris/traps.c (TARGET_SYS_access, TARGET_R_OK, TARGET_W_OK)
hp [Sat, 3 Jan 2009 18:37:30 +0000 (18:37 +0000)]
* cris/traps.c (TARGET_SYS_access, TARGET_R_OK, TARGET_W_OK)
(TARGET_X_OK, TARGET_F_OK): Define.
(cris_break_13_handler) <case TARGET_SYS_access>: New case.

15 years ago * NEWS: Mention new feature --exclude-modules-for-implib.
davek [Sat, 3 Jan 2009 18:04:16 +0000 (18:04 +0000)]
* NEWS:  Mention new feature --exclude-modules-for-implib.
* ld.texinfo:  Document new --exclude-modules-for-implib option.
* pe-dll.c (exclude_list_struct):  Change type member from int to
new enumeration exclude_type.
(pe_dll_add_excludes):  Accept exclude_type instead of int param.
(auto_export):  Replace magic constants by exclude_type values and
handle new choice EXCLUDEFORIMPLIB.
(pe_dll_generate_implib):  Accept a pointer to the link_info and
iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
fresh BFDs for any found and link into import lib archive chain.
* pe-dll.h (exclude_type):  Add new enumerated type to replace magic
constants previously used for exclude_list_struct type member.
(pe_dll_add_excludes, pe_dll_generate_implib):  Update prototypes.
* pep-dll.h (exclude_type, pe_dll_add_excludes,
pe_dll_generate_implib):  Likewise to all the above.
* emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB):  Define new
getopts long option code for new --exclude-modules-for-implib option.
(gld${EMULATION_NAME}_add_options):  Add new entry to xtra_long[].
(gld_${EMULATION_NAME}_list_options):  List usage for it.
(gld${EMULATION_NAME}_handle_option):  Use exclude_type enumerated
values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
(gld_${EMULATION_NAME}_finish):  Pass pointer to link_info when
calling pe_dll_generate_implib.
* emultempl/pep.em (options):  Define new enumerated value for getopts
long option code for new --exclude-modules-for-implib option.
(gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
Again, likewise to all the above.

15 years ago * sim/cris/asm/pid1.ms: New test.
hp [Sat, 3 Jan 2009 17:52:19 +0000 (17:52 +0000)]
* sim/cris/asm/pid1.ms: New test.

15 years ago * cris/semcrisv32f-switch.c: Regenerate.
hp [Sat, 3 Jan 2009 17:51:47 +0000 (17:51 +0000)]
* cris/semcrisv32f-switch.c: Regenerate.

15 years ago * cris.cpu (cris-implemented-writable-specregs-v32): Correct size
hp [Sat, 3 Jan 2009 17:51:12 +0000 (17:51 +0000)]
* cris.cpu (cris-implemented-writable-specregs-v32): Correct size
of number 2, PID.

15 years ago2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
davek [Sat, 3 Jan 2009 17:43:45 +0000 (17:43 +0000)]
2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>

* pe-dll.c (autofilter_liblist):  Add entry for shared libgcc.
(libnamencmp):  New function.
(auto_export):  Use it in place of strncmp when filtering libraries.

Also rolled over ChangeLog to ChangeLog-2008

15 years ago2009-01-03 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 3 Jan 2009 16:19:52 +0000 (16:19 +0000)]
2009-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* coff-ppc.c: Add 2009 to Copyright.
* elf32-cris.c: Likewise.
* elflink.c: Likewise.

15 years ago PR 7099
nickc [Sat, 3 Jan 2009 10:00:58 +0000 (10:00 +0000)]
    PR 7099
        * gprof.texi (Compiling): Mention the need for using
        -static-libgcc on shared library systems.

15 years agoMove a 2009 Entry from ChangeLog-2008 to ChangeLog.
brobecke [Sat, 3 Jan 2009 06:02:29 +0000 (06:02 +0000)]
Move a 2009 Entry from ChangeLog-2008 to ChangeLog.

15 years ago Updated copyright notices for most files.
brobecke [Sat, 3 Jan 2009 05:57:49 +0000 (05:57 +0000)]
    Updated copyright notices for most files.

15 years ago* Makefile.in (CFLAGS): Look in cygwin's build directory for header files.
cgf [Sat, 3 Jan 2009 05:37:34 +0000 (05:37 +0000)]
* Makefile.in (CFLAGS): Look in cygwin's build directory for header files.

15 years ago * top.c (print_gdb_version): Update copyright year.
brobecke [Sat, 3 Jan 2009 05:18:00 +0000 (05:18 +0000)]
    * top.c (print_gdb_version): Update copyright year.

15 years ago * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
brobecke [Sat, 3 Jan 2009 05:15:51 +0000 (05:15 +0000)]
    * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.

15 years agocorrect
cgf [Sat, 3 Jan 2009 05:13:35 +0000 (05:13 +0000)]
correct

15 years agoRemove unneeded header files from source files throughout. Update copyrights
cgf [Sat, 3 Jan 2009 05:12:19 +0000 (05:12 +0000)]
Remove unneeded header files from source files throughout.  Update copyrights
where appropriate.
* globals.cc: New file for generic global variables.
* mkglobals_h: New file to generate globals.h.
* mkstatic: New Script used to build a (currently non-working) static
libcygwin_s.a.
* Makefile.in: Add unused rule to build a non-working libcygwin_s.a.
(DLL_OFILES): Add globals.o.  Make all objects rely on globals.h.
(globals.h): New target.  Generate globals.h.
* cygtls.h: Honor new CYGTLS_HANDLE define to control when the HANDLE operator
is allowed in _cygtls.
* dcrt0.cc: Move most globals to globals.cc.
* init.cc: Ditto.
* environ.cc (strip_title_path): Remove now-unneeded extern.
* fhandler_serial.cc (fhandler_serial::open): Ditto.
* pinfo.cc: Ditto.
(commune_process): Ditto.
* shared.cc: Ditto.
* glob.cc: Ditto.
* strace.cc: Ditto.
* exceptions.cc: Define CYGTLS_HANDLE before including winsup.h.
* path.cc (stat_suffixes): Move here.
* security.h: Add forward class path_conv declaration.
* smallprint.cc (__small_vsprintf): Make a true c++ function.
(__small_sprintf): Ditto.
(small_printf): Ditto.
(console_printf): Ditto.
(__small_vswprintf): Ditto.
(__small_swprintf): Ditto.
* spawn.cc (spawn_guts): Remove _stdcall decoration in favor of regparm.
(hExeced): Move to globals.cc
* strfuncs.cc (current_codepage): Ditto.
(active_codepage): Ditto.
* sync.cc (lock_process::locker): Move here from dcrt0.cc.
* syscalls.cc (stat_suffixes): Move to path.cc.
* tty.cc (tty::create_master): Uncapitalize fatal warning for consistency.
* winsup.h: Include globals.h to declare most of the grab bag list of globals
which were previously defined here.
* mount.h: Move USER_* defines back to shared_info.h.
* speclib: Force temporary directory cleanup.

15 years agoRotate the ChangeLog as per the Start of New Year Procedure.
brobecke [Sat, 3 Jan 2009 05:10:18 +0000 (05:10 +0000)]
Rotate the ChangeLog as per the Start of New Year Procedure.

15 years ago * ld-cris/tls-js1.d: New test.
hp [Sat, 3 Jan 2009 04:53:46 +0000 (04:53 +0000)]
* ld-cris/tls-js1.d: New test.

15 years ago * elf32-cris.c (elf_cris_finish_dynamic_symbol): Rename
hp [Sat, 3 Jan 2009 04:53:12 +0000 (04:53 +0000)]
* elf32-cris.c (elf_cris_finish_dynamic_symbol): Rename
gotplt_index to rela_plt_index.  Adjust for R_CRIS_DTPMOD entry.

15 years agoYear-end rollover.
cgf [Sat, 3 Jan 2009 02:27:46 +0000 (02:27 +0000)]
Year-end rollover.

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

15 years agodaily update
amodra [Sat, 3 Jan 2009 00:00:06 +0000 (00:00 +0000)]
daily update

15 years agobfd/
hjl [Fri, 2 Jan 2009 19:29:37 +0000 (19:29 +0000)]
bfd/

2009-01-02  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/9679
* elflink.c (elf_merge_st_other): New.
(_bfd_elf_merge_symbol): Use it on skipped weak definitions and
hide them if needed.
(elf_link_add_object_symbols): Updated.

ld/testsuite/

2009-01-02  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/9679
* ld-elf/pr9679-1.c: New.
* ld-elf/pr9679-2.c: Likewise.
* ld-elf/pr9679.rd: Likewise.

* ld-elf/shared.exp (build_tests): Add test for libpr9679.so.

15 years agobfd/
hjl [Fri, 2 Jan 2009 16:48:10 +0000 (16:48 +0000)]
bfd/

2009-01-02  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/9676
* elflink.c (elf_link_add_object_symbols): Update def_dynamic,
ref_dynamic and dynamic_def fields when setting def_regular
to 1.

ld/testsuite/

2009-01-02  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/9676
* ld-elf/pr9676-1.c: New.
* ld-elf/pr9676-2.c: Likewiswe.
* ld-elf/pr9676-3.c: Likewiswe.
* ld-elf/pr9676-4.c: Likewiswe.
* ld-elf/pr9676.rd: Likewiswe.

* ld-elf/shared.exp (build_tests): Add tests for libpr9676-1.a,
libpr9676-2.a, libpr9676-3.so, libpr9676-4.so and
libpr9676-4a.so.

* lib/ld-lib.exp (ar_simple_create): New.
(run_ld_link_tests): Support archive.
(run_cc_link_tests): Likewiswe.

15 years agoPR 9682
nickc [Fri, 2 Jan 2009 16:11:36 +0000 (16:11 +0000)]
PR 9682
   * coff-ppc.c (dump_toc): Fix up calls to fprintf without a string
   literal.

15 years ago * or32-opc.c (or32_print_register, or32_print_immediate,
nickc [Fri, 2 Jan 2009 14:21:53 +0000 (14:21 +0000)]
    * or32-opc.c (or32_print_register, or32_print_immediate,
        disassemble_insn): Don't rely on undefined sprintf behaviour.

        * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
        behaviour.

15 years ago po/id.po: Updated Indonesian translation.
nickc [Fri, 2 Jan 2009 13:55:37 +0000 (13:55 +0000)]
 po/id.po: Updated Indonesian translation.

15 years ago* speclib: Rewrite completely in perl. Avoid multiple nm calls.
cgf [Fri, 2 Jan 2009 06:57:14 +0000 (06:57 +0000)]
* speclib: Rewrite completely in perl.  Avoid multiple nm calls.

15 years ago*** empty log message ***
gdbadmin [Fri, 2 Jan 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Fri, 2 Jan 2009 00:00:06 +0000 (00:00 +0000)]
daily update

15 years ago2009-01-01 Pedro Alves <pedro@codesourcery.com>
palves [Thu, 1 Jan 2009 22:02:02 +0000 (22:02 +0000)]
2009-01-01  Pedro Alves  <pedro@codesourcery.com>

PR breakpoints/9681:
* exceptions.h (enum errors): New error type, MEMORY_ERROR.
* corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
* breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
retrow all other exceptions.

2009-01-01  Pedro Alves  <pedro@codesourcery.com>

PR breakpoints/9681:
* gdb.base/watchpoint.exp: Add regression test.

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

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

15 years ago* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 191.
cgf [Wed, 31 Dec 2008 21:47:45 +0000 (21:47 +0000)]
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 191.

15 years ago* glob_pattern_p.cc: New file.
cgf [Wed, 31 Dec 2008 21:33:34 +0000 (21:33 +0000)]
* glob_pattern_p.cc: New file.
* Makefile.in (DLL_OFILES): Add glob_pattern_p.o.
* glob.h: Add declaration for glob_pattern_p.
* pinfo.cc (pinfo::thisproc): Remove __stdcall attribute.

15 years ago2008-12-31 Pedro Alves <pedro@codesourcery.com>
palves [Wed, 31 Dec 2008 15:44:21 +0000 (15:44 +0000)]
2008-12-31  Pedro Alves  <pedro@codesourcery.com>

* gdb.threads/attach-into-signal.exp: Don't use
gdb_suppress_entire_file.
* gdb.threads/attach-stopped.exp: Ditto.
* gdb.threads/attachstop-mt.exp: Ditto.

15 years agoCorrect mishandling of invalid characters in printf() format specs.
keithmarshall [Wed, 31 Dec 2008 15:34:09 +0000 (15:34 +0000)]
Correct mishandling of invalid characters in printf() format specs.

15 years ago* include/bits/wordsize.h: New linux-compatibility header.
cgf [Wed, 31 Dec 2008 04:12:44 +0000 (04:12 +0000)]
* include/bits/wordsize.h: New linux-compatibility header.

15 years ago * cygcheck.cc (pretty_id): Quote the path for popen.
phumblet [Wed, 31 Dec 2008 01:44:36 +0000 (01:44 +0000)]
    * cygcheck.cc (pretty_id): Quote the path for popen.
        (dump_sysinfo_services): Ditto.

15 years ago2008-12-31 Pedro Alves <pedro@codesourcery.com>
palves [Wed, 31 Dec 2008 01:34:09 +0000 (01:34 +0000)]
2008-12-31  Pedro Alves  <pedro@codesourcery.com>

PR gdb/8812:
* infrun.c (handle_command): Don't print a header or notify the
target about signal changes if we didn't change any signal.

2008-12-31  Pedro Alves  <pedro@codesourcery.com>

PR gdb/8812:
* gdb.base/signal.exp: Change kfail to fail, and update PR number.

15 years ago*** empty log message ***
gdbadmin [Wed, 31 Dec 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Wed, 31 Dec 2008 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago * sim/cris/asm/badarch1.ms: Tweak error message match.
hp [Tue, 30 Dec 2008 18:53:42 +0000 (18:53 +0000)]
* sim/cris/asm/badarch1.ms: Tweak error message match.

15 years ago * cris/sim-if.c (sim_open): If sim_analyze_program fails, emit
hp [Tue, 30 Dec 2008 18:52:44 +0000 (18:52 +0000)]
* cris/sim-if.c (sim_open): If sim_analyze_program fails, emit
just a short CRIS-specific notice.  Tweak the wording for a
failing architecture test.

15 years ago* exceptions.cc (try_to_debug): Avoid creating a huge buffer on the stack.
cgf [Tue, 30 Dec 2008 18:18:09 +0000 (18:18 +0000)]
* exceptions.cc (try_to_debug): Avoid creating a huge buffer on the stack.

15 years ago * sim/cris/asm/badarch1.ms, sim/cris/c/badldso1.c,
hp [Tue, 30 Dec 2008 13:57:10 +0000 (13:57 +0000)]
* sim/cris/asm/badarch1.ms, sim/cris/c/badldso1.c,
sim/cris/c/badldso2.c, sim/cris/c/badldso3.c,
sim/cris/c/helloaout.c, sim/cris/c/hellodyn.c,
sim/cris/c/hellodyn2.c, sim/cris/c/writev1.c,
sim/cris/c/writev2.c: New tests.
* sim/cris/c/c.exp: If compiler links libc.so when attempting to
link dynamically, create symlink named "lib" to the directory
where it is found.  Handle new test-case option "dynamic".

15 years ago * cris/traps.c (TARGET_SYS_writev): New macro.
hp [Tue, 30 Dec 2008 13:36:17 +0000 (13:36 +0000)]
* cris/traps.c (TARGET_SYS_writev): New macro.
(is_mapped_only, cris_dump_map): New functions.
(cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle more flags
and prot combinations and a non-zero page-offset.  If
TARGET_MAP_FIXED, unmap pages before mapping them.
<case TARGET_SYS_mprotect>: When checking, allow any length
argument.  Don't actually do anything.
<case TARGET_SYS_writev>: New case.

15 years ago * cris/Makefile.in (SIM_OBJS): Remove sim-hload.o.
hp [Tue, 30 Dec 2008 13:10:35 +0000 (13:10 +0000)]
* cris/Makefile.in (SIM_OBJS): Remove sim-hload.o.
* cris/sim-if.c: Include elf-bfd.h.
(struct progbounds): New members end_loadmem, start_nonloadmem.
(xprintf, eprintf): New functions, copied from common/sim-load.c.
(cris_load_elf_file, sim_load, cris_get_progbounds): New functions.
(get_progbounds_iterator): Renamed from get_progbounds.  Make
static.  Update head comment.  Set new struct progbounds members.
(exec_load_addr, interp_load_addr, interp_start_addr): New static
variables.
(aux_ent_phdr, aux_ent_phent, aux_ent_phnum, aux_ent_base)
(aux_ent_entry, cris_write_interp, cris_handle_interpreter): New
functions.
(sim_open): New constant array auxv_entries.  Rewrite AUX_ENT
handling to use auxv_entries.  Improve error message and checking
for invalid programs.  Use new variable abfd for the program
instead of for each access reaching into sd to get it.
(sim_create_inferior): If non-zero, use interp_start_addr instead
of the program start address.
(cris_disassemble_insn): Remove incorrect and unclear, supposedly
stale comment.  Always specify little-endian.

15 years ago * sim/cris/asm/opterr1.ms, sim/cris/asm/opterr2.ms: Adjust for
hp [Tue, 30 Dec 2008 10:51:11 +0000 (10:51 +0000)]
* sim/cris/asm/opterr1.ms, sim/cris/asm/opterr2.ms: Adjust for
differences in getopt_long error message quoting.

15 years ago * gas/ppc/ppc.exp: Do not run the booke_xcoff64 test.
nickc [Tue, 30 Dec 2008 10:41:46 +0000 (10:41 +0000)]
    * gas/ppc/ppc.exp: Do not run the booke_xcoff64 test.
        * gas/ppc/booke_xcoff64.s: Delete.
        * gas/ppc/booke_xcoff64.d: Delete.