OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
17 years agodaily update
amodra [Thu, 14 Dec 2006 23:00:12 +0000 (23:00 +0000)]
daily update

17 years ago2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 14 Dec 2006 22:47:12 +0000 (22:47 +0000)]
2006-12-14  Jeff Johnston  <jjohnstn@redhat.com>
            Eric Blake  <ebb9@byu.net>

        * libc/stdio/fflush.c (fflush): On seekable streams, always flush
        read but unused data.
        * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
        even read streams may have side effects that must happen.

17 years agogas/testsuite/
hjl [Thu, 14 Dec 2006 20:13:27 +0000 (20:13 +0000)]
gas/testsuite/

2006-12-14  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-inval.s: Add cmpxchg16b.
* gas/i386/x86_64.s: Likewise.
* gas/i386/x86-64-inval.l: Updated.
* gas/i386/x86_64.d: Likewise.

opcodes/

2006-12-14  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (CMPXCHG8B_Fixup): New.
(grps): Use CMPXCHG8B_Fixup for cmpxchg8b.

17 years ago * Makefile.am (YFLAGS): Define.
drow [Thu, 14 Dec 2006 18:33:28 +0000 (18:33 +0000)]
* Makefile.am (YFLAGS): Define.
* Makefile.in: Regenerated.

17 years ago2006-12-14 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 14 Dec 2006 13:28:21 +0000 (13:28 +0000)]
2006-12-14  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (match_template): Simplify 3 and 4 operand
match.

17 years ago * elf-bfd.h (struct bfd_elf_section_data): Clarify sec_group
amodra [Thu, 14 Dec 2006 03:05:35 +0000 (03:05 +0000)]
* elf-bfd.h (struct bfd_elf_section_data): Clarify sec_group
and next_in_group usage.

17 years ago PR 3704
amodra [Thu, 14 Dec 2006 02:59:25 +0000 (02:59 +0000)]
PR 3704
* bfdio.c (bfd_bread): Don't read past end of archive elements.

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

17 years ago2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
jjohnstn [Wed, 13 Dec 2006 23:06:02 +0000 (23:06 +0000)]
2006-12-13  Joel Schopp <jschopp@austin.ibm.com>

        * libc/machine/spu/setjmp.S: Fix to handle registers past 115
        correctly.

17 years ago2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
jjohnstn [Wed, 13 Dec 2006 23:01:21 +0000 (23:01 +0000)]
2006-12-13  Joel Schopp <jschopp@austin.ibm.com>

        * newlib/include/alloca.h: add undef alloca to work with xlc

17 years agodaily update
amodra [Wed, 13 Dec 2006 23:00:05 +0000 (23:00 +0000)]
daily update

17 years ago2006-12-13 Ben Elliston <bje@au.ibm.com>
jjohnstn [Wed, 13 Dec 2006 22:57:10 +0000 (22:57 +0000)]
2006-12-13  Ben Elliston  <bje@au.ibm.com>

        * libnosys/_exit.c (_exit): Finish with an infinite loop to
        eliminate a warning about this noreturn function returning.

17 years ago * value.c (value_copy): Copy the full 'location' contents, instead
jimb [Wed, 13 Dec 2006 22:36:47 +0000 (22:36 +0000)]
* value.c (value_copy): Copy the full 'location' contents, instead
of assuming that copying ADDRESS will bring over everything in the
union.

17 years agoFix a typo.
hjl [Wed, 13 Dec 2006 21:17:04 +0000 (21:17 +0000)]
Fix a typo.

17 years ago2006-12-13 Sa Liu <saliu@de.ibm.com>
jjohnstn [Wed, 13 Dec 2006 19:42:55 +0000 (19:42 +0000)]
2006-12-13  Sa Liu  <saliu@de.ibm.com>

        * spu/access.c: New file
        * spu/dup.c: New file
        * spu/ftruncate.c: New file
        * spu/jsre.h: add structures for new functions
        * spu/time.c: New file
        * spu/Makefile.in (access.o, dup.o, ftruncate.o, time.o): New targets.

17 years ago2006-12-13 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 13 Dec 2006 19:39:12 +0000 (19:39 +0000)]
2006-12-13  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_modrm_byte): Set the Operand_PCrel
bit only.

17 years ago2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
jjohnstn [Wed, 13 Dec 2006 19:36:17 +0000 (19:36 +0000)]
2006-12-12  Joel Schopp <jschopp@austin.ibm.com>

        * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
        cell spu

17 years ago2006-12-13 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 13 Dec 2006 18:26:29 +0000 (18:26 +0000)]
2006-12-13  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (match_template): Use a for loop to set
operand_types array.

17 years agogas/
hjl [Wed, 13 Dec 2006 17:59:59 +0000 (17:59 +0000)]
gas/

2006-12-13  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/3712
* config/tc-i386.c (match_template): Use MAX_OPERANDS for the
number of operands. Issue an error if MAX_OPERANDS != 4. Add
the 4th operand check.

gas/testsuite/

2006-12-13  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/3712
* gas/i386/inval.s: Add invalid insertq.
* gas/i386/x86-64-inval.s: Likewise.

* gas/i386/inval.l: Updated.
* gas/i386/x86-64-inval.l: Likewise.

17 years ago2006-12-13 Dave Brolley <brolley@redhat.com>
brolley [Wed, 13 Dec 2006 16:38:36 +0000 (16:38 +0000)]
2006-12-13  Dave Brolley  <brolley@redhat.com>

        * lib/ld-lib.exp (big_or_little_endian): Accept -meb and
        -mel for big and little endian respectively.

17 years ago2006-12-13 Paul Brook <paul@codesourcery.com>
pbrook [Wed, 13 Dec 2006 16:06:37 +0000 (16:06 +0000)]
2006-12-13  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (arm_arch_option_table): Add v7-{a,r,m}.
* doc/c-arm.texi: Fix spelling of ARMv7 profile variants.

17 years ago2006-12-13 Markus Deuling <deuling@de.ibm.com>
uweigand [Wed, 13 Dec 2006 14:17:51 +0000 (14:17 +0000)]
2006-12-13  Markus Deuling  <deuling@de.ibm.com>

* spu-tdep.c (spu_init_vector_type): New function.
(spu_builtin_type_vec128.): New static variable.
(spu_register_type): Return spu_builtin_type_vec128 as default.
(_initialize_spu_tdep): Call spu_init_vector_type.

17 years ago * winsup.h (clear_procimptoken): Close hProcImpToken in a safer way.
corinna [Wed, 13 Dec 2006 11:18:36 +0000 (11:18 +0000)]
* winsup.h (clear_procimptoken): Close hProcImpToken in a safer way.

17 years ago * security.cc (lsaauth): Initialize lsa to INVALID_HANDLE_VALUE to
corinna [Wed, 13 Dec 2006 09:53:41 +0000 (09:53 +0000)]
* security.cc (lsaauth): Initialize lsa to INVALID_HANDLE_VALUE to
avoid potential access violation.

17 years ago*** empty log message ***
gdbadmin [Wed, 13 Dec 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Tue, 12 Dec 2006 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago2006-12-12 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 12 Dec 2006 20:28:17 +0000 (20:28 +0000)]
2006-12-12  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.h (WordMem): Document it for 64 bit memory
reference.

17 years ago * Makefile.in (subauth): Drop rule.
corinna [Tue, 12 Dec 2006 20:26:27 +0000 (20:26 +0000)]
* Makefile.in (subauth): Drop rule.
* configure.in: Remove subauth related check.
* configure: Regenerate.

17 years ago Remove subauth directory.
corinna [Tue, 12 Dec 2006 19:22:07 +0000 (19:22 +0000)]
Remove subauth directory.

17 years ago * environ.cc (subauth_id_init): Remove.
corinna [Tue, 12 Dec 2006 19:18:56 +0000 (19:18 +0000)]
* environ.cc (subauth_id_init): Remove.
(parse_thing): Drop "subauth_id" option.
* security.cc (get_token_group_sidlist): Drop comments concerning
subauthentication.
(create_token): Back out subauthentication related changes.
(subauth): Remove.
* security.h (create_token): Remove declaration.
(subauth): Ditto.
* syscalls.cc (seteuid32): Drop subauthentication handling entirely.

17 years ago * cygwinenv.sgml: Drop description of "traverse" option.
corinna [Tue, 12 Dec 2006 18:48:33 +0000 (18:48 +0000)]
* cygwinenv.sgml: Drop description of "traverse" option.

17 years ago * environ.cc (set_traverse): Remove.
corinna [Tue, 12 Dec 2006 18:47:25 +0000 (18:47 +0000)]
* environ.cc (set_traverse): Remove.
(parse_thing): Drop "traverse" option.
* path.cc (fs_info::update): Don't request SE_CHANGE_NOTIFY_PRIV
privilege.
* sec_helper.cc (set_cygwin_privileges): Ditto.
* security.cc (allow_traverse): Remove.
(alloc_sd): Drop special allow_traverse code.
* security.h (allow_traverse): Drop declaration.
* syscalls.cc (statvfs): Don't request SE_CHANGE_NOTIFY_PRIV privilege.

17 years ago Partially revert change from 2005-04-03, always running under an
corinna [Tue, 12 Dec 2006 16:27:32 +0000 (16:27 +0000)]
Partially revert change from 2005-04-03, always running under an
impersonation token, which collides with Vista UAC.
* cygheap.h (deimpersonate): revert to self instead of impersonating
hProcImpToken.
(reimpersonate): Only impersonate if setuid.
* dcrt0.cc (dll_crt0_0): Don't initialize hProcImpToken here.
(dll_crt0_1): Set privileges on hProcToken.
* fork.cc (frok::child): Set privileges on hProcToken.  Close handle to
hProcImpToken.
* grp.cc (internal_getgroups): Use hProcToken instead of hProcImpToken.
* security.cc (check_access): Create hProcImpToken on demand here.
* security.h (set_process_privilege): Set privileges on hProcToken.
(_push_thread_privilege): Use hProcToken instead of hProcImpToken.
(pop_thread_privilege): If not setuid'ed, revert to self.
* syscalls.cc (setegid32): Drop setting primary group on hProcImpToken.
Close handle to hProcImpToken.
* uinfo.cc (internal_getlogin): Ditto.
* winsup.h (clear_procimptoken): New inline function.

17 years agoAdd missing ChangeLog.
cgf [Tue, 12 Dec 2006 15:59:26 +0000 (15:59 +0000)]
Add missing ChangeLog.

17 years ago* sigproc.cc (child_info::child_info): Initialize msv_count.
cgf [Tue, 12 Dec 2006 15:58:08 +0000 (15:58 +0000)]
* sigproc.cc (child_info::child_info): Initialize msv_count.

17 years ago Revert erroneous checkin.
corinna [Tue, 12 Dec 2006 15:10:56 +0000 (15:10 +0000)]
Revert erroneous checkin.

17 years agobfd/
drow [Tue, 12 Dec 2006 14:31:47 +0000 (14:31 +0000)]
bfd/
* doc/Makefile.am (bfd_TEXINFOS): Set.
(bfd.info bfd.dvi bfd.html): Delete rule.
* doc/Makefile.in: Regenerated.
gas/
* doc/Makefile.am (as_TEXINFOS): Set.
(as.info as.dvi as.html): Delete rule.
* doc/Makefile.in: Regenerated.
gprof/
* Makefile.am (gprof_TEXINFOS): Set.
(gprof.info gprof.dvi gprof.html): Delete rule.
* Makefile.in: Regenerated.
ld/
* Makefile.am (ld_TEXINFOS): Set.
(ld.info ld.dvi ld.html): Delete rule.
* Makefile.in: Regenerated.

17 years ago * libc/minires.c (res_ninit): Drop handling for LOCALDOMAIN environment
corinna [Tue, 12 Dec 2006 08:29:37 +0000 (08:29 +0000)]
* libc/minires.c (res_ninit): Drop handling for LOCALDOMAIN environment
variable.

17 years ago * ldlang.c (print_output_section_statement): Print load address
amodra [Tue, 12 Dec 2006 08:10:39 +0000 (08:10 +0000)]
* ldlang.c (print_output_section_statement): Print load address
when lma differs from vma.
testsuite/
* ld-scripts/overlay-size-map.d: Update.

17 years agosync a change from gcc
amodra [Tue, 12 Dec 2006 01:38:04 +0000 (01:38 +0000)]
sync a change from gcc

17 years ago*** empty log message ***
gdbadmin [Tue, 12 Dec 2006 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Mon, 11 Dec 2006 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago * configure.in: Remove superfluous semicolons.
bje [Mon, 11 Dec 2006 22:19:03 +0000 (22:19 +0000)]
* configure.in: Remove superfluous semicolons.
* configure: Regenerate.

17 years ago * Makefile.in (DLL_OFILES): Add minires-os-if.o and minires.o.
corinna [Mon, 11 Dec 2006 19:59:05 +0000 (19:59 +0000)]
* Makefile.in (DLL_OFILES): Add minires-os-if.o and minires.o.
(SUBLIBS): Add libresolv.a.
Add rule for libresolv.a.
* autoload.cc: Fix return code handling for IP Helper API in case
of being unable to load iphlpapi.dll.
(DnsQuery_A): Define.
(DnsRecordListFree): Define.
* cygwin.din: Export resolver functions.
* include/resolv.h: New header.
* include/arpa/nameser.h: New header.
* include/arpa/nameser_compat.h: New header.
* include/cygwin/version.h: Bump API minor number.
* libc/minires-os-if.c: New file.
* libc/minires.c: New file.
* libc/minires.h: New file.

17 years ago2006-12-11 Kazu Hirata <kazu@codesourcery.com>
jjohnstn [Mon, 11 Dec 2006 19:58:00 +0000 (19:58 +0000)]
2006-12-11 Kazu Hirata <kazu@codesourcery.com>

Merge from newlib-csl-20060320-branch:
2006-12-01  Nathan Sidwell  <nathan@codesourcery.com>
    Kazu Hirata  <kazu@codesourcery.com>

* m68k/Makefile.in (CF_ISRS): Use addprefix.

2006-11-01 Nathan Sidwell <nathan@codesourcery.com>

* m68k/Makefile.in (CFLAGS): Do not clear.  Add to all compilations.
(ARFLAGS): Remove commented out definition.

* m68k/configure.in (DO) Set to list of target cpu families.
* m68k/configure: Rebuilt.
* m68k/Makefile.in (DO): New.
(UNHOSTED_BSP, UNHOSTED_OBJS, HOSTED_BSP, HOSTED_OBJS): Move
later.
(m5208evb, m5213evb, m52235evb, m5235evb, m5273c3, m5275evb,
m5282evb, m5329evb, m5485evb): Move earlier.
(all): Add all_$DO dependencies.
(all_cf, all_m68k): New targets, depend on cf & m68k bsps as
appropriate.
(m%-ram.ld, m%-rom.ld, m%-ram-hosted.ld, m%-rom-hosted.ld): Add
'm' prefix.
(install): Add install_$DO dependencies.
(install_cf, install_m68k): New targets.  Perform cf and m68k
installs as appropriate.
(install_io): New, install the io libraries.

2006-10-23 Nathan Sidwell <nathan@codesourcery.com>

* m68k/Makefile.in (CF_CRT0): Rename to CF_CRT0S, separate hosted
& unhosted versions.
(CF_OBJS): Add cf-isv.o.
(CF_SOURCES): Add cf-isv.S.
(cf-hosted-crt0.o, cf-unhosted-crt0.o): New targets.
* m68k/cf-isv.S: New, broken out of ...
* m68k/cf-crt0.S: ... here.  Add HOSTED & UNHOSTED differences.
* m68k/cf-crt1.c (__start1): Add heap_limit argument.
(__heap_limit): Define.
* m68k/cf-sbrk.c (__heap_limit): Declare.
(sbrk): Adjust for __heap_limit.
* m68k/cf.sc: Use different crt0's for hosted & unhosted.
Install a separate isv.o file.
* m68k/io.h (HOSTED_PUTCHAR): Replace with ...
(HOSTED_INIT_SIM): ... this.

2006-10-20 Nathan Sidwell <nathan@codesourcery.com>

* m68k/Makefile.in (CF_BOARDS): Add m5275evb.
(m5275evb): New board.

2006-10-20 Vladimir Prus <vladimir@codesourcery.com>

* m68k/cf.sc: Add linkonce sections and
DWARF sections.

2006-10-07 Nathan Sidwell <nathan@codesourcery.com>

* m68k/Makefile.in: Adjust Coldfire rules.
(BDM_CRT0, BDM_BSP, BDM_OBJS, BDM_ISRS): Rename to ...
(CF_CRT0, CF_BSP, CF_OBJS, CF_ISRS): ... here.  Adjust.
(BDM_OTHER_OBJS): Remove.
(BDM_SYSOBJS): Rename to ...
(UNHOSTED_OBJS): ... here.  Adjust.
(UNHOSTED_BSP, HOSTED_OBJS, HOSTED_BSP): New.
(CF_HOSTED_SCRIPTS): New.
(CF_SCRIPTS, CF_SOURCES): Adjust.
* m68k/cf.sc: Add IO library variable.
* m68k/bdm-crt0.S, m68k/bdm-crt1.c, m68k/bdm-isrs.c,
m68k/bdm-sbrk.c, m68k/bdm-semihost.S: Rename to ...
* m68k/cf-crt0.S, m68k/cf-crt1.c, m68k/cf-isrs.c, m68k/cf-sbrk.c,
m68k/cf-hosted.S: ... here.
* m68k/cf-exit.c: New.
* m68k/bdm-gdb.h, m68k/bdm-semihost.h: Merge into ...
* m68k/io.h: ... here.  Add unhosted support.  Adjust conversion
function names.
* m68k/bdm-gdb.c: Rename to ...
* m68k/io-gdb.c: ... here.  Adjust names of conversion functions.
* m68k/bdm-close.c, m68k/bdm-exit.c, m68k/bdm-fstat.c,
m68k/bdm-gettimeofday.c, m68k/bdm-isatty.c, m68k/bdm-lseek.c,
m68k/bdm-open.c, m68k/bdm-read.c, m68k/bdm-rename.c,
m68k/bdm-stat.c, m68k/bdm-system.c, m68k/bdm-time.c,
m68k/bdm-unlink.c, m68k/bdm-write.c: Rename to ...
* m68k/io-close.c, m68k/io-exit.c, m68k/io-fstat.c,
m68k/io-gettimeofday.c, m68k/io-isatty.c, m68k/io-lseek.c,
m68k/io-open.c, m68k/io-read.c, m68k/io-rename.c, m68k/io-stat.c,
m68k/io-system.c, m68k/io-time.c, m68k/io-unlink.c,
m68k/io-write.c: ... here.  Include io.h. Adjust for hosted &
unhosted libraries.  Adjust names of gdb conversion functions.

2006-09-29 Nathan Sidwell <nathan@codesourcery.com>

* m68k/bdm-semihost.S: Add more comments. Make instruction weirder.

2006-09-22 Nathan Sidwell <nathan@codesourcery.com>

* m68k/bdm-crt1.c (hardware_init_hook): Use #defines for CACR bits.

2006-09-18 Nathan Sidwell <nathan@codesourcery.com>

* m68k/Makefile.in: Don't force a frame pointer on the ISRs.
* m68k/bdm-crt1.c (__start1): Don't set the VBR here.
(hardeare_init_hook): Define weakly.  Set VBR here, enable caching
if supported.

* m68k/Makefile.in (bdm-semihost.o): Build from bdm-semihost.S.
* m68k/bdm-semihost.c: Remove.
* m68k/bdm-semihost.S: New.
* m68k/bdm-crt0.S: Don't install semihosting trap handler.
* m68k/bdm-close.c, bdm-exit.c, bdm-fstat.c, bdm-gettimeofday.c,
bdm-isatty.c, bdm-lseek.c, bdm-open.c, bdm-read.c, bdm-rename.c,
bdm-stat.c, bdm-system.c, bdm-unlink.c, bdm-write.c): Update.
* m68k/bdm-isrs.c: Update comment.
* m68k/bdm-semihost.h (BDM_TRAPNUM, BDM_FUNC_REG, BDM_ARG_REG,
BDM_TRAP): Remove.
(__bdm_semihost): Declare.

2006-09-15 Nathan Sidwell <nathan@codesourcery.com>

* m68k/Makefile.in (BDM_OTHER_OBJS): Remove sbrk.o.
(BDM_SYSOBJS): Add bdm-sbrk.o.
* m68k/bdm-sbrk.c: New.

2006-09-06 Nathan Sidwell <nathan@codesourcery.com>

* m68k/Makefile.in (CF_SOURCES): New.
(install): Install them.

2006-09-01 Nathan Sidwell <nathan@codesourcery.com>

* m68k/cf.sc: Add .jcr section to .text.

17 years ago* sigproc.cc (child_info::child_info): Move old comment about msv_count here.
cgf [Mon, 11 Dec 2006 19:17:20 +0000 (19:17 +0000)]
* sigproc.cc (child_info::child_info): Move old comment about msv_count here.
Edit it slightly to reflect new sensibilities.

17 years ago* dumper.cc: Add an include to accommodate new include/elf usage.
cgf [Mon, 11 Dec 2006 19:17:17 +0000 (19:17 +0000)]
* dumper.cc: Add an include to accommodate new include/elf usage.

17 years ago MAINTAINERS (SH): Remove my entry.
amylaar [Mon, 11 Dec 2006 19:13:21 +0000 (19:13 +0000)]
MAINTAINERS (SH): Remove my entry.

17 years ago2006-12-11 Ben Elliston <bje@au.ibm.com>
jjohnstn [Mon, 11 Dec 2006 19:04:13 +0000 (19:04 +0000)]
2006-12-11  Ben Elliston  <bje@au.ibm.com>

        * configure.in: Remove extra whitespace from config_testsuite =
        VALUE statements to eliminate shell errors. Remove superfluous
        semicolons.
        * configure: Regenerate.

17 years agocorrect email address
cgf [Mon, 11 Dec 2006 18:58:40 +0000 (18:58 +0000)]
correct email address

17 years agocorrect email address
cgf [Mon, 11 Dec 2006 18:58:22 +0000 (18:58 +0000)]
correct email address

17 years ago* child_info.h (child_info_spawn::__stdin): New element.
cgf [Mon, 11 Dec 2006 18:55:28 +0000 (18:55 +0000)]
* child_info.h (child_info_spawn::__stdin): New element.
(child_info_spawn::__stdin): Ditto.
(CURR_CHILD_INFO_MAGIC): Regenerate.
* dcrt0.cc (check_sanity_and_sync): Minor cleanup.
(child_info_spawn::handle_spawn): Handle new __std* elements by calling
move_fd.
* dtable.cc (dtable::move_fd): Define new function.
* dtable.h (dtable::move_fd): Declare new function.
* fhandler.h (fhandler_pipe::popen_pid): Declare new element.
* fhandler.h (fhandler_pipe::get_popen_pid): Define new function.
* fhandler.h (fhandler_pipe::set_popen_pid): Ditto.
* pipe.cc (fhandler_pipe::fhandler_pipe): Zero popen_pid.
(fhandler_pipe::dup): Ditto.
* spawn.cc (handle): Change second argument to bool.
(spawn_guts): Accept __stdin/__stdout arguments and set them appropriately in
child_info structure and in STARTUPINFO structure.
* syscalls.cc (popen): New cygwin-specific implementation using spawn.
(pclose): Ditto.
* winsup.h (spawn_guts): Accommodate new arguments for spawn_guts.
* fhandler.cc (fhandler_base::set_no_inheritance): Make second arg a bool.
* fhandler.h (fhandler_base::set_no_inheritance): Ditto for declaration.
* child_info.h (child_info::msv_count): Rename from the now-inappropriate
"zero".
(child_info_spawn::filler): Add filler to work around Vista bug.
(child_info_fork::filler): Ditto.
* dcrt0.cc (get_cygwin_startup_info): Remove "zero" check since it is now
always filled out.
* fork.cc (frok::parent): Move ch.zero manipulation to constructor.
* spawn.cc (spawn_guts): Ditto.  Remove _ch wrapper.
* sigproc.cc (child_info::child_info): Initialize starter[].
* shared.cc (shared_info::heap_slop_size): Remove noisy system_printfs.
* shared_info.h (CURR_SHARED_MAGIC): Regenerate.

17 years ago2006-12-11 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 11 Dec 2006 18:11:13 +0000 (18:11 +0000)]
2006-12-11  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (Eq): Replaced by ...
(Mq): New. This.
(Ma): Defined with OP_M instead of OP_E.
(grps): Updated cmpxchg8b and vmptrst for Eq -> Mq.
(OP_M): Added bound, cmpxchg8b and vmptrst to bad modrm list.

17 years agobfd/
drow [Mon, 11 Dec 2006 15:09:40 +0000 (15:09 +0000)]
bfd/
* configure.in: Define GENINSRC_NEVER.
* doc/Makefile.am (bfd.info): Remove srcdir prefix.
(MAINTAINERCLEANFILES): Add info file.
(DISTCLEANFILES): Pretend to add info file.
* po/Make-in (.po.gmo): Put gmo files in objdir.
* configure, Makefile.in, doc/Makefile.in: Regenerated.
binutils/
* configure.in: Define GENINSRC_NEVER.
* doc/Makefile.am (MAINTAINERCLEANFILES): Add info file.
(DISTCLEANFILES): Pretend to add info file.
* po/Make-in (.po.gmo): Put gmo files in objdir.
* configure, Makefile.in, doc/Makefile.in: Regenerated.
gas/
* configure.in: Define GENINSRC_NEVER.
* doc/Makefile.am (as.info): Remove srcdir prefix.
(MAINTAINERCLEANFILES): Add info file.
(DISTCLEANFILES): Pretend to add info file.
* po/Make-in (.po.gmo): Put gmo files in objdir.
* configure, Makefile.in, doc/Makefile.in: Regenerated.
gprof/
* configure.in: Define GENINSRC_NEVER.
* doc/Makefile.am (gprof.info): Remove srcdir prefix.
(MAINTAINERCLEANFILES): Add info file.
(DISTCLEANFILES): Pretend to add info file.
* po/Make-in (.po.gmo): Put gmo files in objdir.
* configure, Makefile.in: Regenerated.
ld/
* configure.in: Define GENINSRC_NEVER.
* doc/Makefile.am (ld.info): Remove srcdir prefix.
(MAINTAINERCLEANFILES): Add info file.
(DISTCLEANFILES): Pretend to add info file.
* po/Make-in (.po.gmo): Put gmo files in objdir.
* configure, Makefile.in: Regenerated.
opcodes/
* po/Make-in (.po.gmo): Put gmo files in objdir.

17 years ago * elflink.c (bfd_elf_gc_sections): Also search for corresponding
ebotcazou [Mon, 11 Dec 2006 14:52:13 +0000 (14:52 +0000)]
* elflink.c (bfd_elf_gc_sections): Also search for corresponding
sections with .gnu.linkonce.t. prefix.

17 years ago * fhandler.cc (rootdir): Fix typo in comment.
corinna [Mon, 11 Dec 2006 09:07:22 +0000 (09:07 +0000)]
* fhandler.cc (rootdir): Fix typo in comment.
* syscalls.cc (try_to_bin): Ditto.

17 years ago * configure.in: Handle spu makefile frag.
amodra [Mon, 11 Dec 2006 06:47:55 +0000 (06:47 +0000)]
* configure.in:  Handle spu makefile frag.
* config/mt-spu: New file.
* Makefile.tpl (MAINT): Define
(MAINTAINER_MODE_FALSE, MAINTAINER_MODE_TRUE): Define.
* configure: Regenerate.
* Makefile.in: Regenerate.

17 years ago * config.sub, config.guess: Update from upstream sources.
bje [Mon, 11 Dec 2006 04:12:46 +0000 (04:12 +0000)]
  * config.sub, config.guess: Update from upstream sources.

17 years ago * configure.in: Sync with GCC (spu-*-*).
bje [Mon, 11 Dec 2006 00:25:59 +0000 (00:25 +0000)]
* configure.in: Sync with GCC (spu-*-*).
* configure: Sync with GCC.

17 years ago * spu/exit.c (libgloss_exit): Rename from this ..
bje [Mon, 11 Dec 2006 00:04:00 +0000 (00:04 +0000)]
    * spu/exit.c (libgloss_exit): Rename from this ..
        (_exit): .. to this. Overhaul.
        (exit): Remove.

17 years ago*** empty log message ***
gdbadmin [Mon, 11 Dec 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agoResurrect.
bje [Sun, 10 Dec 2006 23:53:07 +0000 (23:53 +0000)]
Resurrect.

17 years agoRemove (missed in previous commit).
bje [Sun, 10 Dec 2006 23:14:32 +0000 (23:14 +0000)]
Remove (missed in previous commit).

17 years agodaily update
amodra [Sun, 10 Dec 2006 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agoTypo fix.
bje [Sun, 10 Dec 2006 22:49:53 +0000 (22:49 +0000)]
Typo fix.

17 years ago* mount.cc (do_mount): Avoid unnecessary cygwin_conv_to_win32_path and pass
cgf [Sun, 10 Dec 2006 21:50:06 +0000 (21:50 +0000)]
* mount.cc (do_mount): Avoid unnecessary cygwin_conv_to_win32_path and pass
POSIX path directly - this avoids a cygwin DLL warning.

17 years ago * autoload.cc (SHFileOperationA): Drop definition.
corinna [Sun, 10 Dec 2006 16:43:29 +0000 (16:43 +0000)]
* autoload.cc (SHFileOperationA): Drop definition.
* ntdll.h (struct _FILE_RENAME_INFORMATION): Define.
* path.cc (fs_info::update): Note length of rootdir prefix in
root_len.
(get_nt_native_path): New function, taking over functionality of
path_conv::get_nt_native_path.
(path_conv::get_nt_native_path): Just call get_nt_native_path.
* path.h (get_nt_native_path): Declare.
(struct fs_info): New member root_len.
(fs_info::length): New inline method returning root_len.
(path_conv::rootdir): New inline method returning rootdir prefix.
* syscalls.cc (try_to_bin): Rewrite using only system calls.
(unlink_nt): Call try_to_bin with additional handle to open file
parameter.
(statvfs): Use path_conv::rootdir method.
* wincap.h: Define has_recycle_dot_bin throughout.
* wincap.cc: Ditto.

17 years ago * fhandler.cc (rootdir): Clarify comment.
corinna [Sun, 10 Dec 2006 16:20:43 +0000 (16:20 +0000)]
* fhandler.cc (rootdir): Clarify comment.

17 years ago * fhandler.cc (rootdir): Don't look for volume mount points on remote
corinna [Sun, 10 Dec 2006 16:18:51 +0000 (16:18 +0000)]
* fhandler.cc (rootdir): Don't look for volume mount points on remote
shares.

17 years ago * fhandler.cc (rootdir): Drop useless post-increment. Take volume
corinna [Sun, 10 Dec 2006 12:56:49 +0000 (12:56 +0000)]
* fhandler.cc (rootdir): Drop useless post-increment.  Take volume
mount points into account.
(check_posix_perm): Allocate space for root directory big enough.

17 years ago2006-12-09 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 10 Dec 2006 02:50:52 +0000 (02:50 +0000)]
2006-12-09  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (X86_64_1): New.
(X86_64_2): Likewise.
(X86_64_3): Likewise.
(dis386): Replace 0x60, 0x61 and 0x62 entries with x86-64
tables.
(x86_64_table): Add entries for 0x60, 0x61 and 0x62.

17 years ago*** empty log message ***
gdbadmin [Sun, 10 Dec 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sat, 9 Dec 2006 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago2006-12-09 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 9 Dec 2006 21:06:13 +0000 (21:06 +0000)]
2006-12-09  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c: Adjust white spaces.

17 years agoFix ChangeLog entry.
hjl [Sat, 9 Dec 2006 16:55:52 +0000 (16:55 +0000)]
Fix ChangeLog entry.

17 years ago2006-12-09 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 9 Dec 2006 16:43:40 +0000 (16:43 +0000)]
2006-12-09  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.h (template): Use MAX_OPERANDS instead of 4
operand_types array.

17 years ago * syscalls.cc (try_to_bin): Add comment that this is not possibly
corinna [Sat, 9 Dec 2006 09:29:47 +0000 (09:29 +0000)]
* syscalls.cc (try_to_bin): Add comment that this is not possibly
the final version.

17 years ago * win32-nat.c (env_sort): Remove.
corinna [Sat, 9 Dec 2006 09:12:58 +0000 (09:12 +0000)]
* win32-nat.c (env_sort): Remove.
(win32_create_inferior): Remove code which creates a Windows
environment.  Use Cygwin function call instead.  Propagate
current environment to inferior process.

17 years ago*** empty log message ***
gdbadmin [Sat, 9 Dec 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Fri, 8 Dec 2006 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * config/tc-z8k.c (whatreg): Add comment describing function.
cpg [Fri, 8 Dec 2006 22:15:11 +0000 (22:15 +0000)]
    * config/tc-z8k.c (whatreg): Add comment describing function.
        Return NULL if symbol name characters follow the register number.
        (parse_reg): Use NULL instead of 0 for pointer values.  Stop
        processing if whatreg returned NULL.

17 years ago(varobj_update): Ensure frame is restored when
nickrob [Fri, 8 Dec 2006 22:06:04 +0000 (22:06 +0000)]
(varobj_update): Ensure frame is restored when
variable object is out of scope.

17 years ago*** empty log message ***
nickrob [Fri, 8 Dec 2006 22:05:36 +0000 (22:05 +0000)]
*** empty log message ***

17 years ago * gas/z8k/reglabel.d: New test.
cpg [Fri, 8 Dec 2006 21:56:03 +0000 (21:56 +0000)]
    * gas/z8k/reglabel.d: New test.
        * gas/z8k/reglabel.s: New test.
        * gas/z8k/z8k.exp: Run new test.

17 years ago2006-12-08 Sa Liu <saliu@de.ibm.com>
jjohnstn [Fri, 8 Dec 2006 21:50:56 +0000 (21:50 +0000)]
2006-12-08  Sa Liu  <saliu@de.ibm.com>

        * spu/exit.c (libgloss_exit): Rename from this ..
        (_exit): .. to this. Overhaul.
        (exit): Remove.
        * spu/crt0.S, spu/crti.S, spu/crtn.S: New files.
        * spu/crt0.C, spu/init.c: Remove.
        * spu/configure.in (AC_INIT): Check for crt0.S, not crt0.C.
        * spu/configure: Regenerate.
        * spu/Makefile.in (crti.o, crtn.o, crt1.o, crt2.o): New targets.
        (OBJS): Remove init.o.
        (CRTOBJS): New.
        (OUTPUTS): Add $(CRTOBJS).

17 years ago * Makefile.def (dependencies): Add dependency for
mrs [Fri, 8 Dec 2006 21:05:25 +0000 (21:05 +0000)]
    * Makefile.def (dependencies): Add dependency for
        install-target-libssp and install-target-libgomp on
        install-gcc.
        * Makefile.in: Regenerate.

17 years ago*** empty log message ***
eliz [Fri, 8 Dec 2006 17:30:44 +0000 (17:30 +0000)]
*** empty log message ***

17 years agoClarify the meaning of an ``obvious fix'' in the docs.
eliz [Fri, 8 Dec 2006 17:28:31 +0000 (17:28 +0000)]
Clarify the meaning of an ``obvious fix'' in the docs.

17 years ago2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
vprus [Fri, 8 Dec 2006 14:29:02 +0000 (14:29 +0000)]
2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>

        Test for base in references.
        * gdb.mi/mi-var-cp.cc: Add test code.
        * gdb.mi/mi-var-cp.exp: Test for bases in references.
        * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
        * gdb.mi/mi2-watch.exp: Likewise.
        * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
        (mi_list_varobj_children): New function.

17 years ago2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
vprus [Fri, 8 Dec 2006 12:58:36 +0000 (12:58 +0000)]
2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>

        * gdb.texinfo (GDB/MI Variable Objects): Wrap historical
        note in @ignore, to be removed later if nobody complains.

17 years ago2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
vprus [Fri, 8 Dec 2006 12:44:07 +0000 (12:44 +0000)]
2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>

        * varobj.c (varobj_create): Don't call release_value.
        (varobj_set_value): Likewise.
        (install_new_value): Call coerce_ref and release_value
        on the value. Add asserts.

17 years ago(mi_cmd_var_update): Fix memory leak.
nickrob [Fri, 8 Dec 2006 04:09:53 +0000 (04:09 +0000)]
(mi_cmd_var_update):  Fix memory leak.

17 years ago*** empty log message ***
nickrob [Fri, 8 Dec 2006 04:09:30 +0000 (04:09 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
gdbadmin [Fri, 8 Dec 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Thu, 7 Dec 2006 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago * syscalls.cc (unlink_nt): Open native symlinks with
corinna [Thu, 7 Dec 2006 17:53:05 +0000 (17:53 +0000)]
* syscalls.cc (unlink_nt): Open native symlinks with
FILE_OPEN_REPARSE_POINT flag.

17 years ago * ntdll.h (STATUS_DELETE_PENDING): Define.
corinna [Thu, 7 Dec 2006 17:40:24 +0000 (17:40 +0000)]
* ntdll.h (STATUS_DELETE_PENDING): Define.
(struct _FILE_DISPOSITION_INFORMATION): Define.
* syscalls.cc (unlink_9x): new function to delete file on 9x.
* syscalls.cc (unlink_nt): new function to delete file on NT.
(unlink): Simplify.  Move OS dependent stuff into aforementioned
functions.  Also handle FILE_ATTRIBUTE_HIDDEN as R/O-like flag.

17 years agobfd/
kazu [Thu, 7 Dec 2006 15:39:00 +0000 (15:39 +0000)]
bfd/
* elf32-m68k.c: Update uses of EF_M68K_*.

binutils/
* readelf.c: Update uses of EF_M68K_*.

gas/
* config/tc-m68k.c: Update uses of EF_M68K_*.

include/elf
* m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A_NODIV,
EF_M68K_ISA_A, EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B_NOUSP,
EF_M68K_ISA_B, EF_M68K_ISA_C, EF_M68K_MAC_MASK, EF_M68K_MAC,
EF_M68K_EMAC, EF_M68K_EMAC_B, EF_M68K_FLOAT): Rename to
EF_M68K_CF_ISA_MASK, EF_M68K_CF_ISA_A_NODIV, EF_M68K_CF_ISA_A,
EF_M68K_CF_ISA_A_PLUS, EF_M68K_CF_ISA_B_NOUSP,
EF_M68K_CF_ISA_B, EF_M68K_CF_ISA_C, EF_M68K_CF_MAC_MASK,
EF_M68K_CF_MAC, EF_M68K_CF_EMAC, EF_M68K_CF_EMAC_B,
EF_M68K_CF_FLOAT, respectively.

17 years agobfd/
hjl [Thu, 7 Dec 2006 13:31:59 +0000 (13:31 +0000)]
bfd/

2006-12-07  H.J. Lu <hjl@gnu.org>

PR ld/3666
* elflink.c (elf_link_add_object_symbols): Keep symbol
visibility for symbols from discarded section.

ld/testsuite/

2006-12-07  H.J. Lu <hjl@gnu.org>

PR ld/3666
* ld-elf/group3a.d: New file.
* ld-elf/group3a.s: Likewise.
* ld-elf/group3b.d: Likewise.
* ld-elf/group3b.s: Likewise.

17 years ago * autoload.cc (SHFileOperationA): Define.
corinna [Thu, 7 Dec 2006 11:53:45 +0000 (11:53 +0000)]
* autoload.cc (SHFileOperationA): Define.
* syscalls.cc (try_to_bin): New function trying to move a file to
the recycle bin.
(unlink): Fix arguments used in CreateFile for delete on close.
Before closing the handle, try to move the file to the recycle bin.