]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
13 years ago * cygpath.cc (get_device_name): Fix path length test.
Corinna Vinschen [Mon, 6 Dec 2010 13:40:24 +0000 (13:40 +0000)]
* cygpath.cc (get_device_name): Fix path length test.

13 years ago * path.cc (path_conv::check): Don't generate ENOENT for non-existant
Corinna Vinschen [Mon, 6 Dec 2010 13:09:40 +0000 (13:09 +0000)]
* path.cc (path_conv::check): Don't generate ENOENT for non-existant
CYGDRIVE and NETDRIVE paths.  Add comment.

13 years agoCheck in for PR other/46020 was meant for PR other/46026.
Alexandre Oliva [Mon, 6 Dec 2010 13:00:26 +0000 (13:00 +0000)]
Check in for PR other/46020 was meant for PR other/46026.

13 years ago PR libffi/46792
Hans-Peter Nilsson [Mon, 6 Dec 2010 01:55:25 +0000 (01:55 +0000)]
PR libffi/46792
* configure.ac (cris-*-elf, crisv32-*-elf): Disable target-libffi.
* configure: Regenerate.

13 years ago PR target/40125
Dave Korn [Mon, 6 Dec 2010 01:40:20 +0000 (01:40 +0000)]
PR target/40125
PR lto/46695
* lthostflags.m4: New file.
(ACX_LT_HOST_FLAGS): Define.

13 years ago * libc/include/math.h: Missing from previous checkin.
Corinna Vinschen [Fri, 3 Dec 2010 16:08:48 +0000 (16:08 +0000)]
* libc/include/math.h: Missing from previous checkin.

13 years ago * mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB.
Dave Korn [Thu, 2 Dec 2010 23:36:59 +0000 (23:36 +0000)]
* mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB.
(BOOT_LDFLAGS): Add matching stack size flag.
* mh-mingw (LDFLAGS): Likewise.
(BOOT_LDFLAGS): Likewise.

13 years ago2010-12-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 2 Dec 2010 20:05:11 +0000 (20:05 +0000)]
2010-12-02  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Add National Semiconductor notice.

13 years ago2010-12-02 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Thu, 2 Dec 2010 19:57:43 +0000 (19:57 +0000)]
2010-12-02  Craig Howland <howland@LGSInnovations.com>

        * libm/common/s_log2.c:  Change from using M_LOG2_E to M_LN2 define
        (from math.h--the latter is POSIX, the former non-standard).
        * libm/common/sf_log2.c:  Ditto.  Change cast for M_LN2 from float to
        float_t (in case all math not done in float).
        * libc/include/math.h:  Ditto (same 2 things as sf_log2.c).

13 years ago2010-12-02 Jayant Sonar jayant.sonar@kpitcummins.com
Jeff Johnston [Thu, 2 Dec 2010 19:35:47 +0000 (19:35 +0000)]
2010-12-02  Jayant Sonar  jayant.sonar@kpitcummins.com
            Kaushik Phatak  kaushik.phatak@kpitcummins.com

        * configure.in: Add CR16 support.
        * configure: Regenerated.
        * cr16/aclocal.m4: New.
        * cr16/close.c: New.
        * cr16/configure: New.
        * cr16/configure.in: New.
        * cr16/crt1.S: New.
        * cr16/crti.S: New.
        * cr16/crtn.S: New.
        * cr16/dvz_hndl.c: New.
        * cr16/_exit.c: New.
        * cr16/flg_hndl.c: New.
        * cr16/fstat.c: New.
        * cr16/_getenv.c: New.
        * cr16/getpid.c: New.
        * cr16/iad_hndl.c: New.
        * cr16/intable.c: New.
        * cr16/isatty.c: New.
        * cr16/kill.c: New.
        * cr16/lseek.c: New.
        * cr16/Makefile.in: New.
        * cr16/open.c: New.
        * cr16/putnum.c: New.
        * cr16/read.c: New.
        * cr16/_rename.c: New.
        * cr16/sbrk.c: New.
        * cr16/sim.ld: New.
        * cr16/stat.c: New.
        * cr16/svc_hndl.c: New.
        * cr16/time.c: New.
        * cr16/und_hndl.c: New.
        * cr16/unlink.c: New.
        * cr16/write.c: New.

13 years ago2010-12-02 Jayant Sonar jayant.sonar@kpitcummins.com
Jeff Johnston [Thu, 2 Dec 2010 19:30:47 +0000 (19:30 +0000)]
2010-12-02  Jayant Sonar  jayant.sonar@kpitcummins.com
            Kaushik Phatak  kaushik.phatak@kpitcummins.com

        * configure.host: Add CR16 support.
        * libc/include/machine/ieeefp.h: Ditto.
        * libc/include/machine/setjmp.h: Ditto.
        * libc/include/sys/config.h: Ditto.
        * libc/machine/configure.in: Ditto
        * libc/machine/configure: Regenerated
        * libc/machine/cr16/aclocal.m4: New.
        * libc/machine/cr16/configure.in: New
        * libc/machine/cr16/configure: New
        * libc/machine/cr16/getenv.c: New
        * libc/machine/cr16/Makefile.am: New
        * libc/machine/cr16/Makefile.in: New
        * libc/machine/cr16/setjmp.S: New
        * libc/machine/cr16/sys/asm.h: New
        * libc/machine/cr16/sys/libh.h: New
        * libc/machine/cr16/sys/syscall.h: New

13 years ago * net.cc (get_xp_ifs): Fix counting of idx to return stable interface
Corinna Vinschen [Thu, 2 Dec 2010 11:39:15 +0000 (11:39 +0000)]
* net.cc (get_xp_ifs): Fix counting of idx to return stable interface
alias names for interfaces with multiple IPv4 addresses.

13 years ago * fhandler_tty.cc (fhandler_tty_slave::dup): Free path_conv strings
Corinna Vinschen [Mon, 29 Nov 2010 20:51:38 +0000 (20:51 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::dup): Free path_conv strings
to avoid memory leak.  Add comment.
(fhandler_pty_master::dup): Ditto.
* path.h (path_conv::free_strings): New method.

13 years ago * libm/complex/catan.c, libm/complex/catanf.c,
Corinna Vinschen [Mon, 29 Nov 2010 12:15:02 +0000 (12:15 +0000)]
* libm/complex/catan.c, libm/complex/catanf.c,
libm/complex/ctan.c, libm/complex/ctanf.c:
Use HUGE_VAL instead of MAXNUM.

13 years ago* configure.ac: Move comment to remove extra space in last argument
Andreas Schwab [Mon, 29 Nov 2010 11:01:42 +0000 (11:01 +0000)]
* configure.ac: Move comment to remove extra space in last argument
of GCC_TARGET_TOOL.

13 years ago * bootstrap-lto.mk (BOOT_ADAFLAGS): Delete.
Eric Botcazou [Sat, 27 Nov 2010 15:55:17 +0000 (15:55 +0000)]
* bootstrap-lto.mk (BOOT_ADAFLAGS): Delete.

13 years ago * libm/complex/cargf.c: Use crealf instead of creal.
Corinna Vinschen [Fri, 26 Nov 2010 08:59:22 +0000 (08:59 +0000)]
* libm/complex/cargf.c: Use crealf instead of creal.

13 years agoPR other/46020
Alexandre Oliva [Fri, 26 Nov 2010 04:56:39 +0000 (04:56 +0000)]
PR other/46020
* configure.ac (CXX_FOR_TARGET): Add -funconfigured-libstdc++-v3.
* Makefile.def (CXX_FOR_TARGET): Removed from flags_to_pass.
* Makefile.tpl (CXX_FOR_TARGET_FLAG_TO_PASS): New.
(BASE_FLAGS_TO_PASS): Use it.
* configure: Rebuilt.
* Makefile.in: Rebuilt.

13 years ago2010-11-25 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Thu, 25 Nov 2010 09:33:54 +0000 (09:33 +0000)]
2010-11-25  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/tc-s390.c (current_cpu): Initialize with latest CPU.
(init_default_arch): Default to z/Architecture mode if CPU provides it.
Remove the check setting the CPU default.

2010-11-25  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* opcode/s390.h (enum s390_opcode_cpu_val): Add S390_OPCODE_MAXCPU.

13 years agoinclude/opcode/
Richard Sandiford [Tue, 23 Nov 2010 20:24:32 +0000 (20:24 +0000)]
include/opcode/
* mips.h: Fix previous commit.

13 years agoProperly check default linker.
H.J. Lu [Tue, 23 Nov 2010 18:10:14 +0000 (18:10 +0000)]
Properly check default linker.

2010-11-23  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/12258
* configure.ac: Correct comments for --enable-gold/--enable-ld.
Properly check default linker.
* configure: Regnerated.

13 years ago * mips.h (INSN_CHIP_MASK): Update according to INSN_LOONGSON_3A.
Nick Clifton [Tue, 23 Nov 2010 17:04:11 +0000 (17:04 +0000)]
* mips.h (INSN_CHIP_MASK): Update according to INSN_LOONGSON_3A.
(INSN_LOONGSON_3A): Clear bit 31.

* elfxx-mips.c (mips_set_isa_flags): Move bfd_mach_loongson_3a
after bfd_mach_mips_sb1.

* config/tc-mips.c (mips_cpu_info_table): Move loongson3a after sb1.

13 years ago * autoload.cc (SendARP): Remove.
Corinna Vinschen [Tue, 23 Nov 2010 15:37:41 +0000 (15:37 +0000)]
* autoload.cc (SendARP): Remove.
* net.cc (get_flags): Set IFF_NOARP flag for PPP and SLIP devices.
(get_xp_ifs): Unify IFF_BROADCAST setting.  Drop calling SendARP to
set IFF_NOARP flag.

13 years ago * configure.ac: For --enable-gold, handle value `default' instead of
Nick Clifton [Tue, 23 Nov 2010 13:39:56 +0000 (13:39 +0000)]
* configure.ac: For --enable-gold, handle value `default' instead of
`both*'.   New configure option --{en,dis}able-ld.

ld, gold/
* configure.ac: For --enable-gold, handle value `default' instead of
`both*'. Always install ld as ld.gold, install as ld if gold is
the default.

13 years ago * path.cc (symlink_info::check): Don't use FileNetworkOpenInformation
Corinna Vinschen [Tue, 23 Nov 2010 09:26:16 +0000 (09:26 +0000)]
* path.cc (symlink_info::check): Don't use FileNetworkOpenInformation
on Netapps.  Relax condition for workaround.  Always request size
information via FileStandardInformation info class in workaround.

13 years agoMove ChangeLog entry to the correct ChangeLog file.
Joel Brobecker [Tue, 23 Nov 2010 00:34:41 +0000 (00:34 +0000)]
Move ChangeLog entry to the correct ChangeLog file.

13 years agoravenscar/sparc: cannot fetch registers from non-active thread
Joel Brobecker [Tue, 23 Nov 2010 00:29:45 +0000 (00:29 +0000)]
ravenscar/sparc: cannot fetch registers from non-active thread

gdb/ChangeLog:

        * ravenscar-sparc-thread.c (supply_register_at_address):
        Fix passing of buf in call to regcache_raw_supply.

13 years ago * mount.cc (NETAPP_IGNORE): Add FILE_PERSISTENT_ACLS.
Corinna Vinschen [Mon, 22 Nov 2010 14:19:50 +0000 (14:19 +0000)]
* mount.cc (NETAPP_IGNORE): Add FILE_PERSISTENT_ACLS.
(FS_IS_NETAPP_DATAONTAP): Drop test for FILE_PERSISTENT_ACLS.
(fs_info::update): Set filetype to ntfs in remote case, too.  Fix a
couple of comments.  Add test for Netapps faking to be FAT.

* mount.h (IMPLEMENT_FS_FLAG): Simplify definition and usage.

13 years ago * net.cc (get_ipv4fromreg_ipcnt): Fix debug output. Only create debug
Corinna Vinschen [Mon, 22 Nov 2010 13:03:00 +0000 (13:03 +0000)]
* net.cc (get_ipv4fromreg_ipcnt): Fix debug output.  Only create debug
output if error is not ERROR_FILE_NOT_FOUND.
(get_ipv4fromreg): Ditto.

13 years ago * configure.ac: Only disable a language library if no language needs
Ian Lance Taylor [Sun, 21 Nov 2010 01:56:30 +0000 (01:56 +0000)]
* configure.ac: Only disable a language library if no language needs
it.  Don't let --disable-libgcj uncondtionally disable libffi.
* configure: Rebuild.

Also moved ChangeLog entry to correct file.

13 years agosync toplevel with gcc
Paolo Bonzini [Sat, 20 Nov 2010 20:31:10 +0000 (20:31 +0000)]
sync toplevel with gcc

13 years agoPR other/46202: implement install-strip.
Ralf Wildenhues [Sat, 20 Nov 2010 19:37:57 +0000 (19:37 +0000)]
PR other/46202: implement install-strip.

/:
PR other/46202
* configure.ac: Fix just-built in-tree STRIP name to be
binutils/strip-new.
* configure: Regenerate.
* Makefile.def (install-strip-gcc, install-strip-binutils)
(install-strip-opcodes, install-strip-ld, install-strip-itcl)
(install-strip-sid): Mirror dependencies on non-strip variants
of these targets on the respective -strip prerequisites.
* Makefile.tpl (install-strip, install-strip-host)
(install-strip-target): New targets.
(install-strip-[+module+], install-strip-target-[+module+]):
New targets.
* Makefile.in: Regenerate.

etc/:
* Makefile.in (install-strip): New target.

libiberty/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(install): Also mark as phony.

13 years agoMerge from gcc top-level.
Ian Lance Taylor [Fri, 19 Nov 2010 22:06:27 +0000 (22:06 +0000)]
Merge from gcc top-level.

./:
* configure.ac: Add target-libgo to target_libraries.  Set
and substitute GOC_FOR_BUILD and GOC_FOR_TARGET.
* Makefile.tpl (BUILD_EXPORTS): Add GOC and GOCFLAGS.
(HOST_EXPORTS): Add GOC.
(BASE_TARGET_EXPORTS): Add GOC.
(GOC_FOR_BUILD, GOCFLAGS, GOC_FOR_TARGET): New variables.
(GOCFLAGS_FOR_TARGET): New variable.
(EXTRA_HOST_FLAGS): Add GOC.
(EXTRA_TARGET_FLAGS): Add GOC and GOCFLAGS.
* Makefile.def (target_modules): Add libgo.
(flags_to_pass): Add GOC_FOR_TARGET and GOCFLAGS_FOR_TARGET.
(dependencies): Add dependency from configure-target-libgo to
configure-target-libffi and all-target-libstdc++-v3.  Add
dependencies from all-target-libgo to all-target-libffi.
(languages): Add go.
* configure: Rebuild.
* Makefile.in: Rebuild.

* config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
compiler/flag environment variables.

* configure.ac: Check for lang_requires_boot_languages in
config-lang.in files.
* configure: Rebuild.

PR fortran/32049
* Makefile.def: Add libquadmath; build it with language=fortran.
* configure.ac: Add libquadmath.
* Makefile.tpl: Handle multiple libs in check-[+language+].
* Makefile.in: Regenerate.
* configure: Regenerate.

* configure.ac: Fix spelling in option names.
* configure: Regenerated.

PR bootstrap/39622
* configure.ac (FLAGS_FOR_TARGET): Add include-fixed path.
* configure: Regenerated.

* config/cloog.m4: Add -enable-cloog-backend=(isl|ppl|ppl-legacy) to
define the cloog backend to use. Furthermore, only pass the ppllibs to
the configure checks, if necessary.
* configure: Regenerate.

* config/cloog.m4: Use CLooG predefined macro to check for CLooG PPL.
* configure: regenerate

* config/cloog.m4: Fix typo.  verison -> version.
* configure: Regenerate.

* config/cloog.m4: Pass ppl libraries to the CLooG version check.
* configure: Regenerate.

* configure.ac: Support official CLooG.org versions.
* configure: Regenerate.
* config/cloog.m4: New.

* configure.ac (*-*-darwin*): Use mh-darwin for all Darwin variants.
* configure: Regenerate.

config/:
* cloog.m4 (CLOOG_INIT_FLAGS): Fix spelling in option names.

* bootstrap-lto: Use -flto.

* mh-darwin: Renamed from mh-ppc-darwin.

13 years ago * libc/locale/locale.c (loadlocale): Recognise the "cjknarrow"
Corinna Vinschen [Fri, 19 Nov 2010 10:02:36 +0000 (10:02 +0000)]
* libc/locale/locale.c (loadlocale): Recognise the "cjknarrow"
modifier on "C.<charset>" locales too.

13 years ago * fhandler_tty.cc (fhandler_tty_slave::fchown): Initialize mode to 0.
Corinna Vinschen [Thu, 18 Nov 2010 18:55:10 +0000 (18:55 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::fchown): Initialize mode to 0.

13 years ago * setup2.sgml (setup-locale-ov): Document CJK ambiguous width change
Corinna Vinschen [Thu, 18 Nov 2010 11:05:46 +0000 (11:05 +0000)]
* setup2.sgml (setup-locale-ov): Document CJK ambiguous width change
for non-Unicode charsets.
* new-features.sgml (ov-new1.7.8): Mention CJK ambiguous width change.
Drop redundant NT4 pre-SP4 support entry.

13 years ago * libc/locale/locale.c (loadlocale): Fix width of CJK ambigous
Corinna Vinschen [Thu, 18 Nov 2010 11:02:53 +0000 (11:02 +0000)]
* libc/locale/locale.c (loadlocale): Fix width of CJK ambigous
characters to 1 for singlebyte charsets and 2 for non-Unicode
multibyte charsets. Change documentation accordingly.

13 years ago2010-11-17 Bernd Schmidt <bernds@codesourcery.com>
Jeff Johnston [Wed, 17 Nov 2010 21:45:58 +0000 (21:45 +0000)]
2010-11-17  Bernd Schmidt  <bernds@codesourcery.com>

        * tic6x/syscalls.c (cio_getclk_to_host, cio_getclk_from_host): New
        structs.
        (cio_to_host, cio_from_host): Use them.
        (clock): New function.

13 years ago2010-11-17 Bernd Schmidt <bernds@codesourcery.com>
Jeff Johnston [Wed, 17 Nov 2010 21:44:57 +0000 (21:44 +0000)]
2010-11-17  Bernd Schmidt  <bernds@codesourcery.com>

        * configure.host (newlib_cflags): For tic6x, add -DCLOCK_PROVIDED.

13 years agostart a gitignore
Michael Frysinger [Wed, 17 Nov 2010 19:34:59 +0000 (19:34 +0000)]
start a gitignore

13 years agomerge from gcc
DJ Delorie [Wed, 17 Nov 2010 02:03:39 +0000 (02:03 +0000)]
merge from gcc

13 years ago * libc/machine/i386/setjmp.S (longjmp): Per POSIX, return 1 if second
Corinna Vinschen [Tue, 16 Nov 2010 17:52:21 +0000 (17:52 +0000)]
* libc/machine/i386/setjmp.S (longjmp): Per POSIX, return 1 if second
argument is 0.

13 years ago * libc/include/sys/types.h: Add _mode_t for __rtems__.
Corinna Vinschen [Tue, 16 Nov 2010 17:29:39 +0000 (17:29 +0000)]
* libc/include/sys/types.h: Add _mode_t for __rtems__.
* libc/sys/rtems/machine/_types.h: Provide _mode_t, _fpos_t, _off_t.
Add _ssize_t for 64bit sparc.
Let arm, i386, m68k, mips, PPC, sparc use 64bit _off_t, _fpos_t.

13 years ago * configure.host: Add -D_COMPILING_NEWLIB to newlib_cflags.
Corinna Vinschen [Tue, 16 Nov 2010 17:14:11 +0000 (17:14 +0000)]
* configure.host: Add -D_COMPILING_NEWLIB to newlib_cflags.

13 years agoblackfin: add support for L1 code/data flags
Michael Frysinger [Mon, 15 Nov 2010 22:30:47 +0000 (22:30 +0000)]
blackfin: add support for L1 code/data flags

Add new linker options for marking programs to load into L1 memory
at runtime.  This needs new EF flag bits, so declare them.

Signed-off-by: Jie Zhang <jie.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years ago * posix.sgml: Move llround and llroundf to implemented SUSv4 functions.
Corinna Vinschen [Mon, 15 Nov 2010 12:44:57 +0000 (12:44 +0000)]
* posix.sgml: Move llround and llroundf to implemented SUSv4 functions.
* include/cygwin/version.h: Add llround and llroundf to the comment for
the 233 CYGWIN_VERSION_API_MINOR bump.

13 years ago PR gas/12198
Matthew Gretton-Dann [Mon, 15 Nov 2010 10:03:05 +0000 (10:03 +0000)]
PR gas/12198
* gas/config/tc-arm.c (arm_arch_v6m_only): New variable.
(aeabi_set_public_attributes): Ensure we only set the Operating System
Extension when we are on an M-profile core.
* gas/testsuite/gas/arm/pr12198-1.d: New test.
* gas/testsuite/gas/arm/pr12918-1.s: Likewise.
* gas/testsuite/gas/arm/pr12198-2.d: Likewise.
* gas/testsuite/gas/arm/pr12918-2.s: Likewise.
* include/opcode/arm.h (ARM_AEXT_V6M_ONLY): New define.
(ARM_AEXT_V6M): Rewrite in terms of ARM_AEXT_V6M_ONLY.
(ARM_ARCH_V6M_ONLY): New define.

13 years ago bfd/
Nick Clifton [Thu, 11 Nov 2010 10:23:38 +0000 (10:23 +0000)]
bfd/
* archures.c (bfd_mach_mips_loongson_3a): Defined.
* bfd-in2.h (bfd_mach_mips_loongson_3a): Defined.
* cpu-mips.c (I_loongson_3a): New add.
(arch_info_struct): Add loongson_3a.
* elfxx-mips.c (_bfd_elf_mips_mach): Add loongson_3a.
(mips_set_isa_flags): Add loongson_3a.
(mips_mach_extensions): Add loongson_3a in MIPS64 extensions.

binutils/
* readelf.c (get_machine_flags): Add loongson-3a.

gas/
* config/tc-mips.c (mips_cpu_info_table): Add loongson3a in MIPS 64.
* doc/c-mips.texi (MIPS cpu): Add loongson3a.

include/
* elf/mips.h (E_MIPS_MACH_LS3A): Defined.
* opcode/mips.h (INSN_LOONGSON_3A): Defined.
(CPU_LOONGSON_3A): Defined.
(OPCODE_IS_MEMBER): Add LOONGSON_3A.

opcodes/
* mips-dis.c (mips_arch_choices): Add loongson3a.
* mips-opc.c (IL3A): Defined as INSN_LOONGSON_3A.
(mips_builtin_opcodes): Modify some instructions' membership from
IL2F to IL2F|IL3A, since these instructions are supported by Loongson_3A.

14 years agomerge from gcc
DJ Delorie [Fri, 5 Nov 2010 18:06:02 +0000 (18:06 +0000)]
merge from gcc

14 years agoFix typo in microblaze license.
Michael Eager [Fri, 5 Nov 2010 14:09:25 +0000 (14:09 +0000)]
Fix typo in microblaze license.

14 years ago2010-11-04 Ralf Corsépius <ralf.corsepius@rtems.org>
Jeff Johnston [Thu, 4 Nov 2010 18:27:13 +0000 (18:27 +0000)]
2010-11-04  Ralf Corsépius  <ralf.corsepius@rtems.org>

        * libm/complex/cacos.c: Reorder function calls to work around ICE
        in arm/thumb-gcc.

14 years agoSync from gcc/
Dave Korn [Wed, 3 Nov 2010 14:27:06 +0000 (14:27 +0000)]
Sync from gcc/

PR lto/46273
* configure.ac: Remove libelf tests.  Build lto-plugin on ELF always
and on other supported platforms whenever LTO is enabled.
* configure: Rebuild.

14 years ago* include/paths.h (_PATH_VARTMP): Define.
Yaakov Selkowitz [Tue, 2 Nov 2010 17:38:36 +0000 (17:38 +0000)]
* include/paths.h (_PATH_VARTMP): Define.

14 years agomerge from gcc
DJ Delorie [Tue, 2 Nov 2010 15:20:40 +0000 (15:20 +0000)]
merge from gcc

14 years agobfd:
Joseph Myers [Tue, 2 Nov 2010 14:36:37 +0000 (14:36 +0000)]
bfd:
* elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type): Except for
Tag_ABI_compatibility, treat odd tags as strings and even ones as
integers.
(elf32_tic6x_obj_attrs_order, elf32_tic6x_tag_to_array_alignment,
elf32_tic6x_array_alignment_to_tag): New.
(elf32_tic6x_merge_attributes): Handle more attributes.  Set type
for merged attributes.
(elf_backend_obj_attrs_order): Define.

binutils:
* readelf.c (display_tic6x_attribute): Handle more attributes.

gas:
* config/tc-tic6x.c (OPTION_MPID, OPTION_MPIC, OPTION_MNO_PIC):
New enum values.
(md_longopts): Add options mpid, mpic and mno-pic.
(tic6x_pid_type, tic6x_pid, tic6x_pic, tic6x_pid_type_table,
tic6x_pid_types, tic6x_use_pid): New.
(md_parse_option): Handle new options.
(md_show_usage): Output help text for new options.
(tic6x_set_attributes): Set PID and PIC attributes.
* doc/as.texinfo: Document -mpid=, -mpic and -mno-pic.
* doc/c-tic6x.texi (TIC6X Options): Likewise.

gas/testsuite:
* gas/tic6x/attr-array-directive-1.d,
gas/tic6x/attr-array-directive-1.s,
gas/tic6x/attr-array-directive-2.d,
gas/tic6x/attr-array-directive-2.s,
gas/tic6x/attr-array-directive-3.d,
gas/tic6x/attr-array-directive-3.s,
gas/tic6x/attr-array-directive-4.d,
gas/tic6x/attr-array-directive-4.s,
gas/tic6x/attr-conformance-directive-1.d,
gas/tic6x/attr-conformance-directive-1.s,
gas/tic6x/attr-conformance-directive-2.d,
gas/tic6x/attr-conformance-directive-2.s,
gas/tic6x/attr-pic-directive-1.d,
gas/tic6x/attr-pic-directive-1.s,
gas/tic6x/attr-pic-directive-2.d,
gas/tic6x/attr-pic-directive-2.s,
gas/tic6x/attr-pic-opts-mno-pic.d, gas/tic6x/attr-pic-opts-mpic.d,
gas/tic6x/attr-pid-directive-1.d,
gas/tic6x/attr-pid-directive-1.s,
gas/tic6x/attr-pid-directive-2.d,
gas/tic6x/attr-pid-directive-2.s,
gas/tic6x/attr-pid-opts-mpid-far.d,
gas/tic6x/attr-pid-opts-mpid-near.d,
gas/tic6x/attr-pid-opts-mpid-no.d,
gas/tic6x/attr-stack-directive-1.d,
gas/tic6x/attr-stack-directive-1.s,
gas/tic6x/attr-stack-directive-2.d,
gas/tic6x/attr-stack-directive-2.s,
gas/tic6x/attr-wchar-directive-1.d,
gas/tic6x/attr-wchar-directive-1.s,
gas/tic6x/attr-wchar-directive-2.d,
gas/tic6x/attr-wchar-directive-2.s: New tests.

include/elf:
* tic6x-attrs.h (Tag_ABI_wchar_t, Tag_ABI_stack_align_needed,
Tag_ABI_stack_align_preserved, Tag_ABI_PID, Tag_ABI_PIC,
Tag_ABI_array_object_alignment,
Tag_ABI_array_object_align_expected, Tag_ABI_conformance): Define.

ld/testsuite:
* ld-tic6x/attr-array-16-16.d, ld-tic6x/attr-array-16-4.d,
ld-tic6x/attr-array-16-416.d, ld-tic6x/attr-array-16-48.d,
ld-tic6x/attr-array-16-8.d, ld-tic6x/attr-array-16-816.d,
ld-tic6x/attr-array-16.s, ld-tic6x/attr-array-4-16.d,
ld-tic6x/attr-array-4-4.d, ld-tic6x/attr-array-4-416.d,
ld-tic6x/attr-array-4-48.d, ld-tic6x/attr-array-4-8.d,
ld-tic6x/attr-array-4-816.d, ld-tic6x/attr-array-4.s,
ld-tic6x/attr-array-416-16.d, ld-tic6x/attr-array-416-4.d,
ld-tic6x/attr-array-416-416.d, ld-tic6x/attr-array-416-48.d,
ld-tic6x/attr-array-416-8.d, ld-tic6x/attr-array-416-816.d,
ld-tic6x/attr-array-416.s, ld-tic6x/attr-array-48-16.d,
ld-tic6x/attr-array-48-4.d, ld-tic6x/attr-array-48-416.d,
ld-tic6x/attr-array-48-48.d, ld-tic6x/attr-array-48-8.d,
ld-tic6x/attr-array-48-816.d, ld-tic6x/attr-array-48.s,
ld-tic6x/attr-array-8-16.d, ld-tic6x/attr-array-8-4.d,
ld-tic6x/attr-array-8-416.d, ld-tic6x/attr-array-8-48.d,
ld-tic6x/attr-array-8-8.d, ld-tic6x/attr-array-8-816.d,
ld-tic6x/attr-array-8.s, ld-tic6x/attr-array-816-16.d,
ld-tic6x/attr-array-816-4.d, ld-tic6x/attr-array-816-416.d,
ld-tic6x/attr-array-816-48.d, ld-tic6x/attr-array-816-8.d,
ld-tic6x/attr-array-816-816.d, ld-tic6x/attr-array-816.s,
ld-tic6x/attr-conformance-10-10.d,
ld-tic6x/attr-conformance-10-11.d,
ld-tic6x/attr-conformance-10-none.d,
ld-tic6x/attr-conformance-10.s, ld-tic6x/attr-conformance-11-10.d,
ld-tic6x/attr-conformance-11-11.d,
ld-tic6x/attr-conformance-11-none.d,
ld-tic6x/attr-conformance-11.s,
ld-tic6x/attr-conformance-none-10.d,
ld-tic6x/attr-conformance-none-11.d,
ld-tic6x/attr-conformance-none-none.d,
ld-tic6x/attr-conformance-none.s, ld-tic6x/attr-pic-0.s,
ld-tic6x/attr-pic-00.d, ld-tic6x/attr-pic-01.d,
ld-tic6x/attr-pic-1.s, ld-tic6x/attr-pic-10.d,
ld-tic6x/attr-pic-11.d, ld-tic6x/attr-pid-0.s,
ld-tic6x/attr-pid-00.d, ld-tic6x/attr-pid-01.d,
ld-tic6x/attr-pid-02.d, ld-tic6x/attr-pid-1.s,
ld-tic6x/attr-pid-10.d, ld-tic6x/attr-pid-11.d,
ld-tic6x/attr-pid-12.d, ld-tic6x/attr-pid-2.s,
ld-tic6x/attr-pid-20.d, ld-tic6x/attr-pid-21.d,
ld-tic6x/attr-pid-22.d, ld-tic6x/attr-stack-16-16.d,
ld-tic6x/attr-stack-16-8.d, ld-tic6x/attr-stack-16-816.d,
ld-tic6x/attr-stack-16.s, ld-tic6x/attr-stack-8-16.d,
ld-tic6x/attr-stack-8-8.d, ld-tic6x/attr-stack-8-816.d,
ld-tic6x/attr-stack-8.s, ld-tic6x/attr-stack-816-16.d,
ld-tic6x/attr-stack-816-8.d, ld-tic6x/attr-stack-816-816.d,
ld-tic6x/attr-stack-816.s, ld-tic6x/attr-wchar-0.s,
ld-tic6x/attr-wchar-00.d, ld-tic6x/attr-wchar-01.d,
ld-tic6x/attr-wchar-02.d, ld-tic6x/attr-wchar-1.s,
ld-tic6x/attr-wchar-10.d, ld-tic6x/attr-wchar-11.d,
ld-tic6x/attr-wchar-12.d, ld-tic6x/attr-wchar-2.s,
ld-tic6x/attr-wchar-20.d, ld-tic6x/attr-wchar-21.d,
ld-tic6x/attr-wchar-22.d: New tests.

14 years ago PR binutils/12110
Alan Modra [Tue, 2 Nov 2010 00:22:10 +0000 (00:22 +0000)]
PR binutils/12110
* configure.ac: Error when source path contains spaces.
* configure: Regenerate.

14 years ago* regtool.c (cmd_set): Write correct number of bytes for REG_MULTI_SZ case.
Christopher Faylor [Sun, 31 Oct 2010 01:41:19 +0000 (01:41 +0000)]
* regtool.c (cmd_set): Write correct number of bytes for REG_MULTI_SZ case.

14 years ago* localtime.cc (is_upper): Rename to isupper and include ctype.h to pull in
Christopher Faylor [Sat, 30 Oct 2010 19:22:42 +0000 (19:22 +0000)]
* localtime.cc (is_upper): Rename to isupper and include ctype.h to pull in
standard macro.
(lcl_is_set): Define as an enum.
(tzsetwall): Assign lcl_is_set to correct enum values.
(tzset): Ditto.  Copy as much of TZ as will fit to TZ buffer.

14 years agobfd:
Joseph Myers [Fri, 29 Oct 2010 16:47:54 +0000 (16:47 +0000)]
bfd:
* elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type): Check
Tag_ABI_compatibility not Tag_compatibility.
(elf32_tic6x_merge_attributes): Update compatibility attribute
name in comment.  Return FALSE if merging common attributes fails.

binutils:
* readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
not hardcoded 32.  Display name of this attribute.

gas:
* doc/c-tic6x.texi (TIC6X Directives): Mention
Tag_ABI_compatibility.

gas/testsuite:
* gas/tic6x/attr-compatibility-directive-1.d,
gas/tic6x/attr-compatibility-directive-1.s,
gas/tic6x/attr-compatibility-directive-2.d,
gas/tic6x/attr-compatibility-directive-2.s: New tests.

include/elf:
* tic6x-attrs.h (Tag_ABI_compatibility): Define.

ld/testsuite:
* ld-tic6x/attr-compatibility-gnu-gnu.d,
ld-tic6x/attr-compatibility-gnu-other.d,
ld-tic6x/attr-compatibility-gnu.s,
ld-tic6x/attr-compatibility-other-gnu.d,
ld-tic6x/attr-compatibility-other-other.d,
ld-tic6x/attr-compatibility-other.s: New tests.

14 years agobfd:
Joseph Myers [Fri, 29 Oct 2010 00:15:56 +0000 (00:15 +0000)]
bfd:
2010-10-29  Bernd Schmidt  <bernds@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* elf32-tic6x.c (elf32_tic6x_merge_attributes): Check for mismatch
of DSBT attributes.

binutils:
2010-10-29  Bernd Schmidt  <bernds@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.

gas:
2010-10-29  Bernd Schmidt  <bernds@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* config/tc-tic6x.c (OPTION_MDSBT, OPTION_MNO_DSBT): New enum
values.
(md_longopts): Add mdsbt and mno-dsbt.
(tic6x_dsbt): New static variable.
(md_parse_option): Handle OPTION_MDSBT and OPTION_MNO_DSBT.
(md_show_usage): Output help text for -mdsbt and -mno-dsbt.
(TAG): Add comma at the end.
(tic6x_set_attributes): Set Tag_ABI_DSBT.
* doc/as.texinfo: Document -mdsbt and -mno-dsbt.
* doc/c-tic6x.texi (TIC6X Options): Likewise.
(TIC6X Directives): Mention Tag_ABI_DSBT.

gas/testsuite:
2010-10-29  Bernd Schmidt  <bernds@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* gas/tic6x/attr-dsbt-directive-1.d,
gas/tic6x/attr-dsbt-directive-1.s,
gas/tic6x/attr-dsbt-directive-2.d,
gas/tic6x/attr-dsbt-directive-2.s,
gas/tic6x/attr-dsbt-opts-mdsbt.d,
gas/tic6x/attr-dsbt-opts-mno-dsbt.d: New tests.

include/elf:
2010-10-29  Bernd Schmidt  <bernds@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* tic6x-attrs.h (Tag_ABI_DSBT): New.

ld/testsuite:
2010-10-29  Bernd Schmidt  <bernds@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* ld-tic6x/attr-dsbt-0.s, ld-tic6x/attr-dsbt-00.d,
ld-tic6x/attr-dsbt-01.d, ld-tic6x/attr-dsbt-1.s,
ld-tic6x/attr-dsbt-10.d, ld-tic6x/attr-dsbt-11.d: New tests.

14 years ago2010-10-27 Maurice Baijens <maurice.baijens@ellips.nl>
Jeff Johnston [Wed, 27 Oct 2010 19:06:10 +0000 (19:06 +0000)]
2010-10-27  Maurice Baijens  <maurice.baijens@ellips.nl>

        * libc/stdlib/strtol.c: Make sure signed characters are not
        sign-extended when converted to int and passed to ctype macros.
        * libc/stdlib/strtoul.c: Ditto.
        * libc/stdlib/strtoll_r.c: Ditto.
        * libc/stdlib/strtoull_r.c: Ditto.

14 years ago* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 233.
Christopher Faylor [Wed, 27 Oct 2010 14:22:27 +0000 (14:22 +0000)]
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 233.

14 years agoTweak entry.
Christopher Faylor [Sun, 24 Oct 2010 19:33:03 +0000 (19:33 +0000)]
Tweak entry.

14 years ago* dcrt0.cc (do_exit): Don't set thread termination until all fds have been
Christopher Faylor [Sun, 24 Oct 2010 18:50:57 +0000 (18:50 +0000)]
* dcrt0.cc (do_exit): Don't set thread termination until all fds have been
closed since an fd may rely on a thread.
* fhandler_tty.cc: Reformat comment.
(fhandler_pty_master::pty_master_thread): Refuse ERROR_PIPE_CONNECTED state as
an error.
* globals.cc (exit_states): Reorder ES_THREADTERM.
* path.cc (find_fast_cwd_pointers): Remove excessively wordy DEBUGGING output.

14 years ago* exceptions.cc (try_to_debug): Improve comment.
Christopher Faylor [Sun, 24 Oct 2010 15:26:05 +0000 (15:26 +0000)]
* exceptions.cc (try_to_debug): Improve comment.
* fhandler_tty.cc (fhandler_pty_master::fhandler_pty_master): Add a comment.

14 years ago* pinfo.cc (pinfo::exit): Grab a tty lock before setting pgid.
Christopher Faylor [Sat, 23 Oct 2010 18:57:43 +0000 (18:57 +0000)]
* pinfo.cc (pinfo::exit): Grab a tty lock before setting pgid.

14 years ago* pinfo.cc (pinfo::exit): Reset tty pgrp to zero if no more handles open.
Christopher Faylor [Sat, 23 Oct 2010 18:55:01 +0000 (18:55 +0000)]
* pinfo.cc (pinfo::exit): Reset tty pgrp to zero if no more handles open.
(_pinfo::set_ctty): Remove debugging stuff.

14 years ago* fhandler_tty.cc (fhandler_pty_master::open): Remove debugging printf.
Christopher Faylor [Sat, 23 Oct 2010 18:11:20 +0000 (18:11 +0000)]
* fhandler_tty.cc (fhandler_pty_master::open): Remove debugging printf.

14 years ago* fhandler.h (fhandler_termios::tcinit): Make second argument non-optional.
Christopher Faylor [Sat, 23 Oct 2010 18:07:08 +0000 (18:07 +0000)]
* fhandler.h (fhandler_termios::tcinit): Make second argument non-optional.
* fhandler_console.cc (fhandler_console::open): Specify second argument to
tcinit.
* fhandler_termios.cc (fhandler_termios::tcinit): Rename second argument.  Set
pgid to 0 if this is a pty master.
(fhandler_termios::tcgetpgrp): Just return value of pgid.  It will be zero if
not initialized.
* fhandler_tty.cc (fhandler_tty_slave::open): Specify second argument to
tcinit.
(fhandler_tty_slave::ioctl): Implement TIOCGPRP/TIOCSPGRP.  Fix switch
indentation.
(fhandler_tty_master::ioctl): Implement TIOCGPRP/TIOCSPGRP.
* include/sys/termios.h (TIOCGPGRP): Define similarly to Linux.
* include/sys/termios.h (TIOCSPGRP): Ditto.

14 years agobfd:
Joseph Myers [Thu, 21 Oct 2010 21:16:53 +0000 (21:16 +0000)]
bfd:
* elf32-tic6x.c (elf32_tic6x_merge_arch_attributes): Update for
attribute renaming.
(elf_backend_obj_attrs_section): Change to ".c6xabi.attributes".

binutils:
* readelf.c (display_tic6x_attribute): Update for attribute
renaming.

gas:
* config/tc-tic6x.c (tic6x_arch_attribute, tic6x_arches,
md_assemble, tic6x_set_attributes): Update for attribute renaming.
* doc/c-tic6x.texi: Update for attribute renaming.

gas/testsuite:
* gas/tic6x/attr-arch-directive-1.d,
gas/tic6x/attr-arch-directive-2.d,
gas/tic6x/attr-arch-directive-3.d,
gas/tic6x/attr-arch-directive-4.d,
gas/tic6x/attr-arch-directive-4.s,
gas/tic6x/attr-arch-directive-5.d,
gas/tic6x/attr-arch-directive-5.s,
gas/tic6x/attr-arch-opts-c62x.d, gas/tic6x/attr-arch-opts-c64x+.d,
gas/tic6x/attr-arch-opts-c64x.d, gas/tic6x/attr-arch-opts-c674x.d,
gas/tic6x/attr-arch-opts-c67x+.d, gas/tic6x/attr-arch-opts-c67x.d,
gas/tic6x/attr-arch-opts-none-1.d,
gas/tic6x/attr-arch-opts-none-2.d,
gas/tic6x/attr-arch-opts-override-1.d,
gas/tic6x/attr-arch-opts-override-2.d: Update for attribute
renaming and renumbering.

include/elf:
* tic6x-attrs.h (Tag_C6XABI_Tag_CPU_arch): Change to Tag_ISA,
value 4.
* tic6x.h (Values for Tag_C6XABI_Tag_CPU_arch): Rename for
attribute renaming.

ld:
* emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Use
.c6xabi.attributes, not __TI_build_attributes.

ld/testsuite:
* ld-tic6x/attr-arch-c62x-c62x.d, ld-tic6x/attr-arch-c62x-c64x+.d,
ld-tic6x/attr-arch-c62x-c64x.d, ld-tic6x/attr-arch-c62x-c674x.d,
ld-tic6x/attr-arch-c62x-c67x+.d, ld-tic6x/attr-arch-c62x-c67x.d,
ld-tic6x/attr-arch-c64x+-c62x.d, ld-tic6x/attr-arch-c64x+-c64x+.d,
ld-tic6x/attr-arch-c64x+-c64x.d, ld-tic6x/attr-arch-c64x+-c674x.d,
ld-tic6x/attr-arch-c64x+-c67x+.d, ld-tic6x/attr-arch-c64x+-c67x.d,
ld-tic6x/attr-arch-c64x-c62x.d, ld-tic6x/attr-arch-c64x-c64x+.d,
ld-tic6x/attr-arch-c64x-c64x.d, ld-tic6x/attr-arch-c64x-c674x.d,
ld-tic6x/attr-arch-c64x-c67x+.d, ld-tic6x/attr-arch-c64x-c67x.d,
ld-tic6x/attr-arch-c674x-c62x.d, ld-tic6x/attr-arch-c674x-c64x+.d,
ld-tic6x/attr-arch-c674x-c64x.d, ld-tic6x/attr-arch-c674x-c674x.d,
ld-tic6x/attr-arch-c674x-c67x+.d, ld-tic6x/attr-arch-c674x-c67x.d,
ld-tic6x/attr-arch-c67x+-c62x.d, ld-tic6x/attr-arch-c67x+-c64x+.d,
ld-tic6x/attr-arch-c67x+-c64x.d, ld-tic6x/attr-arch-c67x+-c674x.d,
ld-tic6x/attr-arch-c67x+-c67x+.d, ld-tic6x/attr-arch-c67x+-c67x.d,
ld-tic6x/attr-arch-c67x-c62x.d, ld-tic6x/attr-arch-c67x-c64x+.d,
ld-tic6x/attr-arch-c67x-c64x.d, ld-tic6x/attr-arch-c67x-c674x.d,
ld-tic6x/attr-arch-c67x-c67x+.d, ld-tic6x/attr-arch-c67x-c67x.d:
Update for attribute renaming.

14 years ago * Makefile.def (target_modules): Set lib_path to src/.libs for
Ian Lance Taylor [Wed, 20 Oct 2010 15:43:40 +0000 (15:43 +0000)]
* Makefile.def (target_modules): Set lib_path to src/.libs for
libstdc++-v3 module.
* Makefile.tpl: Fix typo in TARGET_LIB_PATH comment.
* Makefile.in: Rebuild.

14 years ago2010-10-18 Marco Atzeri <marco_atzeri@yahoo.it>
Jeff Johnston [Mon, 18 Oct 2010 22:40:24 +0000 (22:40 +0000)]
2010-10-18  Marco Atzeri  <marco_atzeri@yahoo.it>

        * libm/Makefile.am: added complex functions documentation
        * libm/libm.texinfo: ditto
        * libm/complex/Makefile.am: Ditto
        * libm/complex/complex.tex: Ditto
        * libm/complex/(cabs.c, cacos.c, cacosh.c, carg.c,
        casin.c, casinh.c, catan.c, catanh.c, ccos.c, ccosh.c,
        cexp.c, cimag.c, clog.c, conj.c, cpow.c, cproj.c, creal.c,
        csin.c, csinh.c, csqrt.c, ctan.c, ctanh.c): Ditto
        * libm/Makefile.in: Regenerate
        * libm/complex/Makefile.in: Ditto

14 years agomerge from gcc
DJ Delorie [Mon, 18 Oct 2010 17:08:53 +0000 (17:08 +0000)]
merge from gcc

14 years ago* winsup/cygwin/cygwin.din: Add llround and llroundf.
Christopher Faylor [Mon, 18 Oct 2010 15:14:17 +0000 (15:14 +0000)]
* winsup/cygwin/cygwin.din: Add llround and llroundf.

14 years agolibgloss: bfin: sync headers to VDSP 5.0 Update 8
Michael Frysinger [Sun, 17 Oct 2010 23:52:49 +0000 (23:52 +0000)]
libgloss: bfin: sync headers to VDSP 5.0 Update 8

A new release of VDSP means syncing random updates to the libgloss headers.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agofix dates
Christopher Faylor [Sat, 16 Oct 2010 17:58:48 +0000 (17:58 +0000)]
fix dates

14 years agolibgloss: bfin: add support for bf592 processors
Michael Frysinger [Sat, 16 Oct 2010 17:06:55 +0000 (17:06 +0000)]
libgloss: bfin: add support for bf592 processors

Import the headers from VisualDSP and add a linker script for them.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agolibgloss: bfin: add support for bf50x processors
Michael Frysinger [Fri, 15 Oct 2010 20:32:11 +0000 (20:32 +0000)]
libgloss: bfin: add support for bf50x processors

Import the headers from VisualDSP and add linker scripts for them.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agochangelogs for previous blackfin commits
Michael Frysinger [Fri, 15 Oct 2010 05:43:16 +0000 (05:43 +0000)]
changelogs for previous blackfin commits

14 years agolibgloss: bfin: handle L1 sections in linker scripts
Michael Frysinger [Fri, 15 Oct 2010 05:41:53 +0000 (05:41 +0000)]
libgloss: bfin: handle L1 sections in linker scripts

Make sure gcc L1 attributes work with the default Blackfin linker scripts.

Signed-off-by: Stuart Henderson <stuart.henderson@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agolibgloss: bfin: drop BF541 headers
Michael Frysinger [Fri, 15 Oct 2010 05:38:51 +0000 (05:38 +0000)]
libgloss: bfin: drop BF541 headers

The BF541 never actually existed, so punt it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years ago2010-10-14 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Thu, 14 Oct 2010 20:14:33 +0000 (20:14 +0000)]
2010-10-14  Craig Howland <howland@LGSInnovations.com>

        * libc/include/math.h:  Delete cabs() and cabs() prototypes
        (c.f. 2010-10-08 change by Corinna).

14 years agoApplied patch series for LD plugin interface (six parts).
Dave Korn [Thu, 14 Oct 2010 01:31:28 +0000 (01:31 +0000)]
Applied patch series for LD plugin interface (six parts).

[PATCH] Add infrastructure for plugin API; functionality to follow.

    include/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

Apply LD plugin patch series (part 1/6).
* plugin-api.h (LDPT_GNU_LD_VERSION): New ld_plugin_tag enum member.

    ld/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

Apply LD plugin patch series (part 1/6).
* configure.in: Add AC_CHECKs for file io and dlfcn headers and
functions and AC_SEARCH for -ldl.
(enable_plugins): New shell variable set if above tests find dlopen
functionality.
(ENABLE_PLUGINS): Add related automake conditional.
* configure: Regenerate.
* config.in: Likewise.
* Makefile.am (PLUGIN_C): Declare plugin C source file, conditional
on ENABLE_PLUGINS being defined.
(PLUGIN_H): Likewise for header file.
(PLUGIN_OBJECT): Likewise for object file.
(PLUGIN_CFLAGS): Likewise -D flag required to compile plugin support.
(AM_CPPFLAGS): Use PLUGIN_CFLAGS.
(CFILES): Use PLUGIN_C.
(HFILES): Use PLUGIN_H.
(OFILES): Use PLUGIN_OBJECT.
(ld_new_SOURCES): Use PLUGIN_C.
(noinst_LTLIBRARIES)[ENABLE_PLUGINS]: Declare test plugin.
(libldtestplug_la_SOURCES)[ENABLE_PLUGINS]: Add automake definition
for test plugin.
(libldtestplug_la_CFLAGS)[ENABLE_PLUGINS]: Likewise.
(libldtestplug_la_LDFLAGS)[ENABLE_PLUGINS]: Likewise.
* Makefile.in: Regenerate.
* sysdep.h: Include stdarg.h, unistd.h and one of fcntl.h or
sys/file.h where available.  Include dlfcn.h when ENABLE_PLUGINS.
(O_RDONLY): Supply default definition likewise to bfd's sysdep.h
(O_WRONLY): Likewise.
(O_RDWR): Likewise.
(O_ACCMODE): Likewise.
(O_BINARY): Likewise.
(SEEK_SET): Likewise.
(SEEK_CUR): Likewise.
(SEEK_END): Likewise.
* ldmisc.c (vfinfo): Make non-static.  Add %p format char.
* ldmisc.h (vfinfo): Declare extern prototype.
* lexsup.c (enum option_values)[ENABLE_PLUGINS]: Add new entries for
OPTION_PLUGIN and OPTION_PLUGIN_OPT.
(ld_options[])[ENABLE_PLUGINS]: Add option data for the above two.
(parse_args)[ENABLE_PLUGINS]: Handle them, and load all plugins once
option parsing is complete.
* ldmain.c (main)[ENABLE_PLUGINS]: Call plugin cleanup hooks just
after lang_finish.
* plugin.c: New source file.
* plugin.h: Likewise new header.
* testplug.c: New source file.

    ld/testsuite/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

Apply LD plugin patch series (part 1/6).
* ld-bootstrap/bootstrap.exp: Skip static tests also if LD plugins
are enabled.
* lib/ld-lib.exp (proc regexp_diff): Extend verbose debug output.
(proc set_file_contents): Write a file with the supplied content.
(run_ld_link_tests): Add new 'ld' action to test linker output.
(proc check_plugin_api_available): Return true if linker under test
supports the plugin API.
* ld-plugin/func.c: New test source file.
* ld-plugin/main.c: Likewise.
* ld-plugin/text.c: Likewise.
* ld-plugin/plugin-1.d: New dump test output pattern script.
* ld-plugin/plugin-2.d: Likewise.
* ld-plugin/plugin-3.d: Likewise.
* ld-plugin/plugin-4.d: Likewise.
* ld-plugin/plugin-5.d: Likewise.
* ld-plugin/plugin.exp: New test control script.
---
[PATCH] Implement claim file and all symbols read hooks and add symbols callback.

  ld/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

Apply LD plugin patch series (part 2/6).
* ldfile.c (ldfile_try_open_bfd)[ENABLE_PLUGINS]: Don't return early
during compat checks if they pass, instead offer any successfully
opened and accepted file to the plugin claim file hooks chain.  Create
a dummy bfd to accept symbols added by the plugin, if the plugin
claims the file.
* ldlang.c (lang_process)[ENABLE_PLUGINS]: Call plugin all symbols
read hook chain before ldemul_after_open.
* ldlang.h (struct lang_input_statement_struct): Add new single-bit
'claimed' flag.
* plugin.c (IRONLY_SUFFIX): New macro for dummy bfd file suffix.
(IRONLY_SUFFIX_LEN): Length of the above string.
(plugin_get_ir_dummy_bfd): New function to create the dummy bfd used
to store symbols for ir-only files.
(is_ir_dummy_bfd): New function to check if a bfd is ir-only.
(asymbol_from_plugin_symbol): New function converts symbol formats.
(add_symbols): Call it to convert plugin syms to bfd syms and add
them to the dummy bfd.
* plugin.h: Add missing include guards.
(plugin_get_ir_dummy_bfd): Add prototype.
(is_ir_dummy_bfd): Likewise.
* testplug.c (TV_MESSAGE): New helper macro.
(struct claim_file): New struct.
(claim_file_t): New typedef.
(tag_names[]): Make static and const.
(claimfiles_list): New variable.
(claimfiles_tail_chain_ptr): Likewise.
(last_claimfile): Likewise.
(record_claim_file): Record a file to claim on a singly-linked list.
(parse_symdefstr): Parse an ASCII representation of a symbol from a
plugin option into the fields of a struct ld_plugin_symbol.
(record_claimed_file_symbol):  Use it to parse plugin option for
adding a symbol.
(parse_option): Parse claim file and add symbol options.
(dump_tv_tag): Use TV_MESSAGE.
(onload): Likewise.
(onclaim_file): Make static.  Use TV_MESSAGE.  Scan list of files to
claim and claim this file if required, adding any symbols specified.
(onall_symbols_read): Make static and use TV_MESSAGE.
(oncleanup): Likewise.

  ld/testsuite/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

Apply LD plugin patch series (part 2/6).
* ld-plugin/plugin-3.d: Enable regexes for new functionality.
* ld-plugin/plugin-5.d: Likewise.
* ld-plugin/plugin-6.d: New testcase.
* ld-plugin/plugin-7.d: Likewise.
* ld-plugin/plugin.exp: Use 'nm' on compiled test objects to determine
whether symbols in plugin arguments need an underscore prefix.  Add
new plugin-6.d and plugin-7.d testcases.
---
[PATCH] Implement get symbols callback.

  ld/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

Apply LD plugin patch series (part 3/6).
* ldmain.c (notice)[ENABLE_PLUGINS]: Call plugin_notice.
* plugin.c (non_ironly_hash): Add new bfd hash table.
(plugin_load_plugins): Exit early if no plugins to load.  If plugins
do load successfully, set notice_all flag in link info.
(get_symbols): Implement.
(plugin_load_plugins): Exit early if no plugins to load, else after
loading plugins successfully enable notice_all mode.
(init_non_ironly_hash): Lazily init non_ironly_hash table.
(plugin_notice): Record symbols referenced from non-IR files in the
non_ironly_hash.  Suppress tracing, cref generation and nocrossrefs
tracking for symbols from dummy IR bfds.
* plugin.h: Fix formatting.
(plugin_notice): Add prototype.
* testplug.c (dumpresolutions): New global var.
(parse_options): Accept "dumpresolutions".
(onall_symbols_read): Get syms and dump resolutions if it was given.

  ld/testsuite/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

Apply LD plugin patch series (part 3/6).
* ld-plugin/plugin-8.d: New testcase.
* ld-plugin/plugin.exp: Invoke it.
---
[PATCH] Implement add input file, add input lib and set extra lib path callbacks.

  ld/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

Apply LD plugin patch series (part 4/6).
* ldlang.c (lang_process)[ENABLE_PLUGINS]: Move invocation of
plugin_call_all_symbols_read to before setting of gc_sym_list, and
open any new input files that may have been added during it.
* ldmain.c (multiple_definition)[ENABLE_PLUGINS]: Call out to
plugin_multiple_definition and let it have first say over what to do
with the clashing definitions.
* plugin.c (no_more_claiming): New boolean variable.
(plugin_cached_allow_multiple_defs): Likewise.
(add_input_file): Implement.
(add_input_library): Likewise.
(set_extra_library_path): Likewise.
(plugin_call_claim_file): Don't do anything when no_more_claiming set.
(plugin_call_all_symbols_read): Set it.  Disable link info
"allow_multiple_definition" flag, but cache its value.
(plugin_multiple_definition): New function.
* plugin.h (plugin_multiple_definition): Add prototype.
* testplug.c (addfile_enum_t): New enumerated typedef.
(add_file_t): New struct typedef.
(addfiles_list): New variable.
(addfiles_tail_chain_ptr): Likewise.
(record_add_file): New function.
(parse_option): Parse "add:", "lib:" and "dir:" options and call it.
(onall_symbols_read): Iterate the list of new files, libs and dirs,
adding them.

  ld/testsuite/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

Apply LD plugin patch series (part 4/6).
* ld-plugin/plugin-9.d: New testcase.
* ld-plugin/plugin.exp: Invoke it.
---
[PATCH] Add ELF symbol visibility support to plugin interface.

  ld/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

Apply LD plugin patch series (part 5/6).
* plugin.c (asymbol_from_plugin_symbol): If the bfd is an ELF bfd,
find the elf symbol data and set the visibility in the st_other field.

  ld/testsuite/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

Apply LD plugin patch series (part 5/6).
* ld-plugin/plugin-ignore.d: New dump test control script.
* ld-plugin/plugin-vis-1.d: Likewise.
* ld-plugin/plugin.exp: Add list of ELF-only tests and run them if
testing on an ELF target.
---
[PATCH] Add archive support to plugin interface.

  bfd/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

Apply LD plugin patch series (part 6/6).
* aoutx.h (aout_link_check_ar_symbols): Take new "subsbfd" reference
parameter and pass it when invoking add_archive_element callback.
(aout_link_check_archive_element): Handle substitute bfd if it
was set during add_archive_element callback in the above.
* cofflink.c (coff_link_check_ar_symbols): Take new "subsbfd" reference
parameter and pass it when invoking add_archive_element callback.
(coff_link_check_archive_element): Handle substitute bfd if it
was set during add_archive_element callback in the above.
* ecoff.c (read_ext_syms_and_strs): New function holds symbol-reading
code factored-out from ecoff_link_check_archive_element.
(reread_ext_syms_and_strs): Clear old symbols and call it.
(ecoff_link_check_archive_element):  Use the above.  Handle substitute
BFD if one is set by add_archive_element callback.
(ecoff_link_add_archive_symbols): Likewise allow bfd substitution.
* elflink.c (elf_link_add_archive_symbols): Likewise.
* linker.c (generic_link_check_archive_element): Likewise.
* pdp11.c (aout_link_check_ar_symbols): Take new "subsbfd" reference
parameter and pass it when invoking add_archive_element callback.
(aout_link_check_archive_element): Handle substitute bfd if it was
set during add_archive_element callback in the above.
* vms-alpha.c (alpha_vms_link_add_archive_symbols): Handle substitute
BFD if one is set by add_archive_element callback.
* xcofflink.c (xcoff_link_check_dynamic_ar_symbols): Take new "subsbfd"
reference parameter and pass it when invoking add_archive_element
callback.
(xcoff_link_check_ar_symbols): Likewise.
(xcoff_link_check_archive_element): Handle bfd substitution if it was
set by callback in the above.

  include/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

Apply LD plugin patch series (part 6/6).
* bfdlink.h (struct_bfd_link_callbacks): Document new argument
to add_archive_element callback used to return a replacement bfd which
is to be added to the hash table in place of the original element.

  ld/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

Apply LD plugin patch series (part 6/6).
* ldlang.c (load_symbols): Handle bfd subsitution when calling the
add_archive_element callback.
* ldmain.c (add_archive_element)[ENABLE_PLUGINS]: Offer the archive
member to the plugins and if claimed set "subsbfd" output parameter to
point to the dummy IR-only BFD.

  ld/testsuite/ChangeLog:

2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>

Apply LD plugin patch series (part 6/6).
* ld-plugin/plugin-10.d: New dump test control script.
* ld-plugin/plugin-11.d: Likewise.
* ld-plugin/plugin.exp: Run them.
---

14 years ago*** empty log message ***
Corinna Vinschen [Sat, 9 Oct 2010 11:01:03 +0000 (11:01 +0000)]
*** empty log message ***

14 years ago * new-features.sgml (ov-new1.7.8): Document reinstantiation of the
Corinna Vinschen [Sat, 9 Oct 2010 11:00:47 +0000 (11:00 +0000)]
* new-features.sgml (ov-new1.7.8): Document reinstantiation of the
original 1.7 CWD handling.

14 years ago * cygheap.h (cwdstuff::override_win32_cwd): Declare.
Corinna Vinschen [Sat, 9 Oct 2010 10:54:13 +0000 (10:54 +0000)]
* cygheap.h (cwdstuff::override_win32_cwd): Declare.
* ntdll.h (struct _PEB): Add members accessed by the fast cwd method
starting with Vista.
(struct _KUSER_SHARED_DATA): Define with only the DismountCount.
(RtlAllocateHeap): Declare.
(RtlEnterCriticalSection): Declare.
(RtlFreeHeap): Declare.
(RtlLeaveCriticalSection): Declare.
* path.cc (get_user_proc_parms): Remove.
(struct _FAST_CWD): New structure.
(fast_cwd_ptr): Define.
(SharedUserData): Define.
(peek32): Define.
(find_fast_cwd_pointers): New function to find the global pointer
to the current FAST_CWD structure.
(copy_cwd_str): New helper function.
(cwdstuff::override_win32_cwd): New method to set the Win32 CWD.
(cwdstuff::init): Just call override_win32_cwd from here when
started from native Win32 parent.
(cwdstuff::set): Access Win32 CWD via PEB reference instead of using
get_user_proc_parms function.  Memorize old DismountCount before
opening directory handle.  Call override_win32_cwd to set up Win32 CWD.
Be more verbose in comments.
* wincap.h (wincaps::has_fast_cwd): New element.
* wincap.cc: Implement has_fast_cwd element throughout.

14 years agocgen/
Alan Modra [Sat, 9 Oct 2010 06:50:21 +0000 (06:50 +0000)]
cgen/
* utils-cgen.scm (gen-attr-accessors): Rename bool attribute to bool_.
* cpu/mep.opc (mep_cgen_insn_supported): Ditto.
include/opcode/
* cgen.h (CGEN_ATTR, CGEN_ATTR_TYPE): Rename bool attribute to bool_.
(CGEN_ATTR_BOOLS, CGEN_ATTR_CGEN_INSN_ALIAS_VALUE): Likewise.

opcodes/
* fr30-desc.h: Regenerate.
* frv-desc.h: Regenerate.
* ip2k-desc.h: Regenerate.
* iq2000-desc.h: Regenerate.
* lm32-desc.h: Regenerate.
* m32c-desc.h: Regenerate.
* m32r-desc.h: Regenerate.
* mep-desc.h: Regenerate.
* mep-opc.c: Regenerate.
* mt-desc.h: Regenerate.
* openrisc-desc.h: Regenerate.
* xc16x-desc.h: Regenerate.
* xstormy16-desc.h: Regenerate.

14 years ago2010-10-08 Bernd Schmidt <bernds@codesourcery.com>
Jeff Johnston [Sat, 9 Oct 2010 02:33:30 +0000 (02:33 +0000)]
2010-10-08  Bernd Schmidt  <bernds@codesourcery.com>
        Joseph Myers  <joseph@codesourcery.com>

        * configure.host: Handle tic6x targets.
        * libc/include/machine/ieeefp.h: Define endianness for C6X.
        * libc/include/machine/setjmp.h: Add __TMS320C6X__ case.
        * libc/machine/configure.in: Handle tic6x targets.
        * libc/machine/configure: Regenerate.
        * libc/machine/tic6x/Makefile.am, libc/machine/tic6x/configure.in,
        libc/machine/tic6x/setjmp.S: New.
        * libc/machine/tic6x/Makefile.in, libc/machine/tic6x/aclocal.m4,
        libc/machine/tic6x/configure: New (generated).

14 years ago2010-10-08 Bernd Schmidt <bernds@codesourcery.com>
Jeff Johnston [Sat, 9 Oct 2010 02:31:22 +0000 (02:31 +0000)]
2010-10-08  Bernd Schmidt  <bernds@codesourcery.com>
        Joseph Myers  <joseph@codesourcery.com>

        * configure.in: Handle tic6x targets.
        * configure: Regenerate.
        * tic6x/Makefile.in, tic6x/configure.in, tic6x/crt0.S,
        tic6x/getpid.c, tic6x/kill.c, tic6x/sbrk.c, tic6x/syscalls.c: New.
        * tic6x/configure: New (generated).

14 years ago2010-10-08 Bernd Schmidt <bernds@codesourcery.com>
Jeff Johnston [Sat, 9 Oct 2010 02:29:34 +0000 (02:29 +0000)]
2010-10-08  Bernd Schmidt  <bernds@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

        * COPYING.LIBGLOSS: Add National Semiconductor and CodeSourcery
        notices.
        * COPYING.NEWLIB: Add Texas Instruments notice.

14 years ago * libc/include/sys/unistd.h: Declare getsid, setegid, seteuid for RTEMS.
Corinna Vinschen [Fri, 8 Oct 2010 15:28:49 +0000 (15:28 +0000)]
* libc/include/sys/unistd.h: Declare getsid, setegid, seteuid for RTEMS.

14 years ago * libm/common/sf_llrint.c, libm/common/sf_round.c: Add explicit casts
Corinna Vinschen [Fri, 8 Oct 2010 15:24:56 +0000 (15:24 +0000)]
* libm/common/sf_llrint.c, libm/common/sf_round.c: Add explicit casts
to __uint32_t to avoid overflows on implicit casts.

14 years ago * libm/complex/complex.tex: Add empty stub.
Corinna Vinschen [Fri, 8 Oct 2010 15:01:14 +0000 (15:01 +0000)]
* libm/complex/complex.tex: Add empty stub.

14 years ago * new-features.sgml (ov-new1.7.8): Document new C99 complex API.
Corinna Vinschen [Fri, 8 Oct 2010 10:56:14 +0000 (10:56 +0000)]
* new-features.sgml (ov-new1.7.8): Document new C99 complex API.

14 years ago * cygwin.din: Export new complex math functions from newlib.
Corinna Vinschen [Fri, 8 Oct 2010 10:51:17 +0000 (10:51 +0000)]
* cygwin.din: Export new complex math functions from newlib.
* posix.sgml: Move newly exported complex functions to implemented
SUSv4 functions.
* include/cygwin/version.h: Bump API minor version.

14 years ago * libm/math/w_cabs.c: Delete.
Corinna Vinschen [Fri, 8 Oct 2010 10:49:28 +0000 (10:49 +0000)]
* libm/math/w_cabs.c: Delete.
* libm/math/wf_cabs.c: Delete.
* libm/math/Makefile.am (src): Remove w_cabs.c.
(fsrc): Remove wf_cabs.c.
* libm/math/Makefile.in: Regenerate.

14 years ago * libc/include/complex.h: New complex header.
Corinna Vinschen [Fri, 8 Oct 2010 10:35:14 +0000 (10:35 +0000)]
* libc/include/complex.h: New complex header.
* libm/common/fdlibm.h: Added ifdef _COMPLEX_H.
* libm/complex/*: New complex functions imported from NetBSD.
* libm/Makefile.am: Added complex subdir.
* libm/Makefile.in: Regenerate.
* libm/configure.in: Added complex subdir.
* libm/configure: Regenerate.

14 years ago * configure.ac (build_lto_plugin): New shell variable.
Dave Korn [Thu, 7 Oct 2010 20:50:02 +0000 (20:50 +0000)]
* configure.ac (build_lto_plugin): New shell variable.
(--enable-lto): Turn on by default for all non-ELF platforms that
have had LTO support added so far.  Set build_lto_plugin appropriately
for both ELF and non-ELF.
(configdirs): Add lto-plugin or not based on build_lto_plugin.
* configure: Regenerate.

14 years agoAdd missing ChangeLog entry for toplevel configure from 2010-07-26.
Ralf Wildenhues [Thu, 7 Oct 2010 19:25:44 +0000 (19:25 +0000)]
Add missing ChangeLog entry for toplevel configure from 2010-07-26.

14 years ago * fhandler.h (fhandler_base::get_stat_access): Delete.
Corinna Vinschen [Thu, 7 Oct 2010 14:03:26 +0000 (14:03 +0000)]
* fhandler.h (fhandler_base::get_stat_access): Delete.
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Always check
executable suffix to get x-bits for .exe files also in notexec case.
Always reopen file when checking for file header.
* ntdll.h (wait_pending): Delete.
* path.cc (symlink_info::check_shortcut): Drop call to wait_pending
since file is always opened for sync IO.
(symlink_info::check_sysfile): Ditto.
(MIN_STAT_ACCESS): Remove.
(FULL_STAT_ACCESS): Remove.
(symlink_info::check): Drop access flag.  Revert to open file with
just read attributes access.  Reorder symlink check to check for
reparse points first.  Don't check reparse points for anything else,
even on remote drives.  Open file for GENERIC_READ when trying to
read shortcuts or system-bit symlinks. Accommodate dropped access
flag in call to path_conv_handle::set.
* path.h (class path_conv_handle): Drop access flag and accommodate
all related methods.

This page took 0.078084 seconds and 5 git commands to generate.