]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
11 years ago2013-06-12 Sandra Loosemore <sandra@codesourcery.com>
Sandra Loosemore [Wed, 12 Jun 2013 23:03:20 +0000 (23:03 +0000)]
2013-06-12  Sandra Loosemore  <sandra@codesourcery.com>

include/opcode/
* nios2.h (OP_MATCH_ERET): Correct eret encoding.

gas/testsuite/
* gas/nios2/tret.d: Correct eret encoding.

11 years ago * path.cc (normalize_posix_path): Fix long-standing problem which
Corinna Vinschen [Wed, 12 Jun 2013 17:45:42 +0000 (17:45 +0000)]
* path.cc (normalize_posix_path): Fix long-standing problem which
allows to access files via ".." using an invalid POSIX path.

11 years ago * winver.rc (FileDescription): Remove (R).
Corinna Vinschen [Tue, 11 Jun 2013 07:46:40 +0000 (07:46 +0000)]
* winver.rc (FileDescription): Remove (R).

11 years ago * sec_auth.cc (get_user_groups): Don't handle ERROR_ACCESS_DENIED as
Corinna Vinschen [Mon, 10 Jun 2013 15:33:12 +0000 (15:33 +0000)]
* sec_auth.cc (get_user_groups): Don't handle ERROR_ACCESS_DENIED as
error.  Explain why.

11 years ago * libc/stdlib/gdtoa-gethex.c (__hexdig): Constify.
Corinna Vinschen [Mon, 10 Jun 2013 15:27:43 +0000 (15:27 +0000)]
* libc/stdlib/gdtoa-gethex.c (__hexdig): Constify.
(hexdig_init): Remove.
(__hexdig_fun): New function.
hexdig_init, added __hexdig_fun
(gethex): Call __get_hexdig macro rather than hexdig.
* libc/stdlib/gdtoa-hexnan.c (hexnan): Constify fpi argument.
Call __get_hexdig macro rather than hexdig.
* libc/stdlib/ldtoa.c: Throughout constify functions arguments where
required by constifying the following arrays.
(ezero): Constify.
(eone): Constify.
(ermsg): Constify.
(etens): Constify.
(emtens): Constify.
(nan113): Constify.
(nan64): Constify.
(nan53): Constify.
(nan24): Constify.
* libc/stdlib/mprec.h (__get_hexdig): Define.
(gethex): Constify args in declaration where appropriate.
(hexnan): Ditto.
(hexdig_init): Remove declaration.
(__hexdig_fun): Declare.
* libc/stdlib/strtod.c (fpi): Constify.
(fpinan): Constify.

11 years agoclarify entry
Christopher Faylor [Sat, 8 Jun 2013 16:55:29 +0000 (16:55 +0000)]
clarify entry

11 years ago* exceptions.cc (try_to_debug): Don't use yield() when waiting for another
Christopher Faylor [Sat, 8 Jun 2013 16:54:41 +0000 (16:54 +0000)]
* exceptions.cc (try_to_debug): Don't use yield() when waiting for another
process.
(sigpacket::setup_handler): Fix long-standing problem where loop could exit
with lock held.

11 years ago* miscfuncs.cc (yield): Revert (after researching) to calling SleepEx with 0.
Christopher Faylor [Sat, 8 Jun 2013 16:39:52 +0000 (16:39 +0000)]
* miscfuncs.cc (yield): Revert (after researching) to calling SleepEx with 0.
We don't want to actually sleep when calling this function.

11 years agorevert accidentally checked in files
Christopher Faylor [Sat, 8 Jun 2013 14:42:44 +0000 (14:42 +0000)]
revert accidentally checked in files

11 years ago* cygwait.cc (cygwait): Remove lock around sig retrieval since this code is
Christopher Faylor [Sat, 8 Jun 2013 14:38:20 +0000 (14:38 +0000)]
* cygwait.cc (cygwait): Remove lock around sig retrieval since this code is
essentially guarded by thread-specific signal_arrived.
* exceptions.cc (_cygtls::handle_SIGCONT): Simplify.  Eliminate lock/unlock
since code is guarded by signal_arrived.

11 years agogas/
Richard Sandiford [Sat, 8 Jun 2013 10:22:55 +0000 (10:22 +0000)]
gas/
2013-06-08  Catherine Moore  <clm@codesourcery.com>

* config/tc-mips.c (is_opcode_valid):  Build ASE mask.
(is_opcode_valid_16): Pass ase value to opcode_is_member.
(append_insn): Change INSN_xxxx to ASE_xxxx.

include/
2013-06-08  Catherine Moore  <clm@codesourcery.com>

* opcode/mips.h (mips_opcode): Add ase field.
(INSN_ASE_MASK): Delete.
(INSN_DSP): Rename to ASE_DSP.  Provide new value.
(INSN_DSPR2): Rename to ASE_DSPR2.  Provide new value.
(INSN_MCU): Rename to ASE_MCU.  Provide new value.
(INSN_MDMX): Rename to ASE_MDMX.  Provide new value.
(INSN_MIPS3d): Rename to ASE_MIPS3D.  Provide new value.
(INSN_MT): Rename to ASE_MT.  Provide new value.
(INSN_SMARTMIPS): Rename to ASE_SMARTMIPS.  Provide new value.
(INSN_VIRT): Rename to ASE_VIRT.  Provide new value.
(INSN_VIRT64): Rename to ASE_VIRT64.  Provide new value.
(opcode_is_member): Add ase argument.  Check ase.

opcodes/
2013-06-08  Catherine Moore  <clm@codesourcery.com>
    Richard Sandiford  <rdsandiford@googlemail.com>

* micromips-opc.c (D32, D33, MC): Update definitions.
  (micromips_opcodes):  Initialize ase field.
* mips-dis.c (mips_arch_choice): Add ase field.
(mips_arch_choices): Initialize ase field.
(set_default_mips_dis_options): Declare and setup mips_ase.
* mips-opc.c (M3D, SMT, MX, IVIRT, IVIRT64, D32, D33, D64,
MT32, MC): Update definitions.
(mips_builtin_opcodes): Initialize ase field.

11 years ago * winver.rc (LegalCopyright): Belatedly bump to 2013.
Corinna Vinschen [Fri, 7 Jun 2013 19:07:05 +0000 (19:07 +0000)]
* winver.rc (LegalCopyright): Belatedly bump to 2013.

11 years agoaarch64: Add support for GNU indirect functions.
Will Newton [Fri, 7 Jun 2013 18:57:00 +0000 (18:57 +0000)]
aarch64: Add support for GNU indirect functions.

Add support for STT_GNU_IFUNC symbols to the AArch64 bfd backend. The tests
are ported from the ld-ifunc tests but are enabled for cross builds so can
be run easily without hardware or a simulator.

bfd/ChangeLog:

2013-06-07  Will Newton  <will.newton@linaro.org>

* configure: Regenerate.
* configure.in: Build elf-ifunc.o for AArch64.
* elf64-aarch64.c: Include objalloc.h.
(elf64_aarch64_howto_dynrelocs): Add R_AARCH64_IRELATIVE howto.
(struct elf64_aarch64_link_hash_table): Add members for handling
R_AARCH64_IRELATIVE relocations.
(elf_aarch64_local_htab_hash): New function.
(elf_aarch64_local_htab_eq): New function.
(elf_aarch64_get_local_sym_hash): New function.
(elf64_aarch64_link_hash_table_create): Initialize local STT_GNU_IFUNC
symbol hash.
(elf64_aarch64_hash_table_free): Free local STT_GNU_IFUNC symbol hash.
(elf64_aarch64_final_link_relocate): Add sym argument.  Add support
for handling STT_GNU_IFUNC symbols.
(elf64_aarch64_gc_sweep_hook): Add support for garbage collecting
references to STT_GNU_IFUNC symbols.
(elf64_aarch64_adjust_dynamic_symbol): Add support for handling
STT_GNU_IFUNC symbols.
(elf64_aarch64_check_relocs): Add support for handling STT_GNU_IFUNC
symbols.  Ensure we don't increase plt.refcount from -1 to 0.
(elf64_aarch64_post_process_headers): Call _bfd_elf_set_osabi.
(elf64_aarch64_is_function_type): Remove function.
(elf64_aarch64_allocate_dynrelocs): Call
_bfd_elf_allocate_ifunc_dyn_relocs for STT_GNU_IFUNC symbols.
(elf_aarch64_allocate_local_dynrelocs): New function.
(elf64_aarch64_size_dynamic_sections): Call
elf_aarch64_allocate_local_dynrelocs.  Initialize next_irelative_index.
(elf64_aarch64_create_small_pltn_entry): Add info argument.
Add support for creating .iplt entries for STT_GNU_IFUNC symbols.
(elf64_aarch64_finish_dynamic_symbol): Add support for handling
STT_GNU_IFUNC symbols and .iplt.
(elf_aarch64_finish_local_dynamic_symbol): New function.
(elf64_aarch64_finish_dynamic_sections): Call
elf_aarch64_finish_local_dynamic_symbol.
(elf64_aarch64_add_symbol_hook): New function.

include/elf/ChangeLog:

2013-06-07  Will Newton  <will.newton@linaro.org>

* aarch64.h: Add R_AARCH64_IRELATIVE reloc.

ld/ChangeLog:

2013-06-07  Will Newton  <will.newton@linaro.org>

* emulparams/aarch64elf.sh: Add IREL_IN_PLT.

ld/testsuite/ChangeLog:

2013-06-07  Will Newton  <will.newton@linaro.org>

* ld-ifunc/ifunc.exp: Enable ifunc tests for AArch64.
* ld-aarch64/aarch64-elf.exp: Add ifunc tests.
* ld-aarch64/ifunc-1-local.d: New file.
* ld-aarch64/ifunc-1-local.s: Likewise.
* ld-aarch64/ifunc-1.d: Likewise.
* ld-aarch64/ifunc-1.s: Likewise.
* ld-aarch64/ifunc-10.d: Likewise.
* ld-aarch64/ifunc-10.s: Likewise.
* ld-aarch64/ifunc-11.d: Likewise.
* ld-aarch64/ifunc-11.s: Likewise.
* ld-aarch64/ifunc-12.d: Likewise.
* ld-aarch64/ifunc-12.s: Likewise.
* ld-aarch64/ifunc-13.d: Likewise.
* ld-aarch64/ifunc-13a.s: Likewise.
* ld-aarch64/ifunc-13b.s: Likewise.
* ld-aarch64/ifunc-14a.d: Likewise.
* ld-aarch64/ifunc-14a.s: Likewise.
* ld-aarch64/ifunc-14b.d: Likewise.
* ld-aarch64/ifunc-14b.s: Likewise.
* ld-aarch64/ifunc-14c.d: Likewise.
* ld-aarch64/ifunc-14c.s: Likewise.
* ld-aarch64/ifunc-14d.d: Likewise.
* ld-aarch64/ifunc-14e.d: Likewise.
* ld-aarch64/ifunc-14f.d: Likewise.
* ld-aarch64/ifunc-15.d: Likewise.
* ld-aarch64/ifunc-15.s: Likewise.
* ld-aarch64/ifunc-16.d: Likewise.
* ld-aarch64/ifunc-16.s: Likewise.
* ld-aarch64/ifunc-17a.d: Likewise.
* ld-aarch64/ifunc-17a.s: Likewise.
* ld-aarch64/ifunc-17b.d: Likewise.
* ld-aarch64/ifunc-17b.s: Likewise.
* ld-aarch64/ifunc-18a.d: Likewise.
* ld-aarch64/ifunc-18a.s: Likewise.
* ld-aarch64/ifunc-18b.d: Likewise.
* ld-aarch64/ifunc-18b.s: Likewise.
* ld-aarch64/ifunc-19a.d: Likewise.
* ld-aarch64/ifunc-19a.s: Likewise.
* ld-aarch64/ifunc-19b.d: Likewise.
* ld-aarch64/ifunc-19b.s: Likewise.
* ld-aarch64/ifunc-2-local.d: Likewise.
* ld-aarch64/ifunc-2-local.s: Likewise.
* ld-aarch64/ifunc-2.d: Likewise.
* ld-aarch64/ifunc-2.s: Likewise.
* ld-aarch64/ifunc-20.d: Likewise.
* ld-aarch64/ifunc-20.s: Likewise.
* ld-aarch64/ifunc-3.s: Likewise.
* ld-aarch64/ifunc-3a.d: Likewise.
* ld-aarch64/ifunc-3b.d: Likewise.
* ld-aarch64/ifunc-4.d: Likewise.
* ld-aarch64/ifunc-4.s: Likewise.
* ld-aarch64/ifunc-4a.d: Likewise.
* ld-aarch64/ifunc-5-local.s: Likewise.
* ld-aarch64/ifunc-5.s: Likewise.
* ld-aarch64/ifunc-5a-local.d: Likewise.
* ld-aarch64/ifunc-5a.d: Likewise.
* ld-aarch64/ifunc-5b-local.d: Likewise.
* ld-aarch64/ifunc-5b.d: Likewise.
* ld-aarch64/ifunc-5r-local.d: Likewise.
* ld-aarch64/ifunc-6.s: Likewise.
* ld-aarch64/ifunc-6a.d: Likewise.
* ld-aarch64/ifunc-6b.d: Likewise.
* ld-aarch64/ifunc-7.s: Likewise.
* ld-aarch64/ifunc-7a.d: Likewise.
* ld-aarch64/ifunc-7b.d: Likewise.
* ld-aarch64/ifunc-8.d: Likewise.
* ld-aarch64/ifunc-8a.s: Likewise.
* ld-aarch64/ifunc-8b.s: Likewise.
* ld-aarch64/ifunc-9.d: Likewise.
* ld-aarch64/ifunc-9.s: Likewise.

11 years ago* exceptions.cc (_cygtls::handle_SIGCONT): Reinstate previous behavior but make
Christopher Faylor [Fri, 7 Jun 2013 17:09:56 +0000 (17:09 +0000)]
* exceptions.cc (_cygtls::handle_SIGCONT): Reinstate previous behavior but make
sure that yield() isn't called when signal stack is locked.

11 years ago* exceptions.cc (exception::handle): Add comment explaining si_addr behavior.
Christopher Faylor [Fri, 7 Jun 2013 16:05:12 +0000 (16:05 +0000)]
* exceptions.cc (exception::handle): Add comment explaining si_addr behavior.

11 years ago* DevNotes: Add entry cgf-000023.
Christopher Faylor [Fri, 7 Jun 2013 15:37:11 +0000 (15:37 +0000)]
* DevNotes: Add entry cgf-000023.
* sigproc.cc (exit_thread): Remove now-unneeded sleep code.

11 years agoFix typos
Corinna Vinschen [Fri, 7 Jun 2013 14:21:53 +0000 (14:21 +0000)]
Fix typos

11 years ago * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 21.
Corinna Vinschen [Fri, 7 Jun 2013 09:21:53 +0000 (09:21 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 21.

11 years ago * libc/include/cdefs.h (__has_extension): New define.
Corinna Vinschen [Fri, 7 Jun 2013 09:14:39 +0000 (09:14 +0000)]
* libc/include/cdefs.h (__has_extension): New define.
(__has_feature): Likewise.
(__has_include): Likewise.
(__has_builtin): Likewise.
* libc/include/stdatomic.h: New.

11 years ago * posix.sgml (std-notes): Fix typo.
Corinna Vinschen [Fri, 7 Jun 2013 08:43:01 +0000 (08:43 +0000)]
* posix.sgml (std-notes): Fix typo.

11 years ago * fhandler_disk_file.cc (fhandler_disk_file::pread): Skip to non-atomic
Corinna Vinschen [Fri, 7 Jun 2013 08:28:25 +0000 (08:28 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::pread): Skip to non-atomic
code if mandatory locking is used on this descriptor.  Explain why.
(fhandler_disk_file::pwrite): Ditto.
* posix.sgml (std-notes): Extend description of file locking.

11 years ago * mips.h (ELF_ST_SET_MIPS_PIC): Clear any STO_MIPS16 setting.
Maciej W. Rozycki [Thu, 6 Jun 2013 22:09:07 +0000 (22:09 +0000)]
* mips.h (ELF_ST_SET_MIPS_PIC): Clear any STO_MIPS16 setting.

11 years ago*** empty log message ***
Corinna Vinschen [Thu, 6 Jun 2013 15:31:15 +0000 (15:31 +0000)]
*** empty log message ***

11 years ago * exceptions.cc (_cygtls::handle_SIGCONT): Simplify loop waiting for
Corinna Vinschen [Thu, 6 Jun 2013 15:29:41 +0000 (15:29 +0000)]
* exceptions.cc (_cygtls::handle_SIGCONT): Simplify loop waiting for
sig_handle_tty_stop to wake up.  Make sure to unlock before calling
yield to avoid starvation of sig_handle_tty_stop.  Add comments.
* miscfuncs.cc (yield): Explain why yield should never be called under
_cygtls::lock conditions.  Call SleepEx with 1ms timeout.  Explain why.

11 years ago * libc/machine/arm/strcmp.S: Use local labels.
Corinna Vinschen [Wed, 5 Jun 2013 09:41:21 +0000 (09:41 +0000)]
* libc/machine/arm/strcmp.S: Use local labels.

11 years ago * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 20.
Corinna Vinschen [Wed, 5 Jun 2013 09:37:53 +0000 (09:37 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 20.

11 years ago * faq-copyright.xml: Fix link to license.
Corinna Vinschen [Wed, 5 Jun 2013 09:36:58 +0000 (09:36 +0000)]
* faq-copyright.xml: Fix link to license.
* faq-using.xml: Ditto.
* faq-what.xml: Ditto.

11 years ago * faq-programming.xml: Convert url to refer to new flat faq.html file.
Corinna Vinschen [Wed, 5 Jun 2013 07:57:39 +0000 (07:57 +0000)]
* faq-programming.xml: Convert url to refer to new flat faq.html file.
* faq-setup.xml: Ditto.
* faq-using.xml: Ditto.
* highlights.xml: Ditto.

11 years ago * new-features.xml (ov-new1.7.19): Revert mandatory locking support to
Corinna Vinschen [Wed, 5 Jun 2013 07:23:07 +0000 (07:23 +0000)]
* new-features.xml (ov-new1.7.19): Revert mandatory locking support to
"preliminary".

11 years ago*** empty log message ***
Corinna Vinschen [Wed, 5 Jun 2013 07:21:56 +0000 (07:21 +0000)]
*** empty log message ***

11 years ago * Makefile.in: Add rule to rebuild Makefile if Makefile.in changes.
Corinna Vinschen [Tue, 4 Jun 2013 11:50:41 +0000 (11:50 +0000)]
* Makefile.in: Add rule to rebuild Makefile if Makefile.in changes.
Include Makefile.dep last.
(Makefile.dep): Run xidepend within source dir.  Temporarily drop
faq.xml from dependencies.
* xidepend: Fix creating base filename to accommodate VPATH.

11 years ago * new-features.xml (ov-new1.7.19): Align mandatory locking text to
Corinna Vinschen [Tue, 4 Jun 2013 11:14:34 +0000 (11:14 +0000)]
* new-features.xml (ov-new1.7.19): Align mandatory locking text to
today's changes.

11 years ago * fhandler.cc (fhandler_base::lock): Move to flock.cc.
Corinna Vinschen [Tue, 4 Jun 2013 10:24:43 +0000 (10:24 +0000)]
* fhandler.cc (fhandler_base::lock): Move to flock.cc.
(fhandler_base::fixup_after_exec): Reset mandatory_locking.
* fhandler.h (class fhandler_base): Add mandatory_locking status flag.
Add mandatory_locking accessor methods.  Accommodate change throughout.
(fhandler_base::mand_lock): Declare.
(class fhandler_disk_file): Drop in favor of new status flag.
* (fhandler_disk_file::fcntl): Call need_fork_fixup if mandatory_locking
flag gets set.
* flock.cc (fhandler_base::lock): Define here.
(flock): Handle mandatory_locking.
(lockf): Ditto.
(fhandler_base::mand_lock): Define.

11 years ago2013-06-03 Joey Ye <joey.ye@arm.com>
Richard Earnshaw [Mon, 3 Jun 2013 14:02:10 +0000 (14:02 +0000)]
2013-06-03  Joey Ye  <joey.ye@arm.com>

* libc/machine/arm/Makefile.am (MEMCPY_DEP): New define.
($(lpfx)memcpy.o, $(lpfx)memcpy.obj): Depend on MEMCPY_DEP.
* libc/machine/arm/Makefile.in: Regenerated.
* newlib/libc/machine/arm/memcpy-stub.c: Exclude armv7-m/armv7e-m.
* newlib/libc/machine/arm/memcpy-armv7m.S: New.
* newlib/libc/machine/arm/memcpy.S: Replace with wrapper code.  Old
code moved to ...
* newlib/libc/machine/arm/memcpy-armv7a.S: ... here.  Remove
redundant architecture check.

11 years ago*** empty log message ***
Corinna Vinschen [Mon, 3 Jun 2013 10:40:41 +0000 (10:40 +0000)]
*** empty log message ***

11 years ago * sigproc.cc (exit_thread): Allow to exit the thread while running
Corinna Vinschen [Mon, 3 Jun 2013 09:48:54 +0000 (09:48 +0000)]
* sigproc.cc (exit_thread): Allow to exit the thread while running
global dtors.  Explain why.

11 years agoFix typo
Corinna Vinschen [Sun, 2 Jun 2013 10:50:57 +0000 (10:50 +0000)]
Fix typo

11 years ago * new-features.xml (ov-new1.7.19): Add mandatory locking.
Corinna Vinschen [Sun, 2 Jun 2013 10:22:56 +0000 (10:22 +0000)]
* new-features.xml (ov-new1.7.19): Add mandatory locking.

11 years ago * autoload.cc (CancelSynchronousIo): Define.
Corinna Vinschen [Sun, 2 Jun 2013 10:22:14 +0000 (10:22 +0000)]
* autoload.cc (CancelSynchronousIo): Define.
* fcntl.cc (fcntl64): Drop handling of locking commands.
* fhandler.h (class fhandler_disk_file): Add mandatory_locking.
(fhandler_disk_file::fcntl): Declare.
(fhandler_disk_file::mand_lock): Declare.
* fhandler_disk_file.cc (fhandler_disk_file::fhandler_disk_file):
Initialize mandatory_locking.
(fhandler_disk_file::fcntl): New method.  Handle F_LCK_MANDATORY and
locking commands.
(fhandler_disk_file::dup): Duplicate mandatory_locking.  Fix a bug
when duplicating prw_handle failed.
(fhandler_disk_file::fixup_after_fork): Reset mandatory_locking.
* flock.cc (fhandler_disk_file::lock): Add comment.
(struct lock_parms): New struct to pass parameters to blocking_lock_thr
thread function.
(blocking_lock_thr): New thread function.
(fhandler_disk_file::mand_lock): New methof implementing mandatory
locking with Windows semantics.
* ntdll.h (NtLockFile): Declare.
(NtUnlockFile): Declare.
* include/fcntl.h: Fix a comment.
(F_LCK_MANDATORY): Define.  Add lengthy comment to explain.

11 years ago * exceptions.cc (exception::handle): Resurrect accidentally lost
Corinna Vinschen [Sun, 2 Jun 2013 09:11:09 +0000 (09:11 +0000)]
*  exceptions.cc (exception::handle): Resurrect accidentally lost
patch from 2009-07-22: Set si_addr according to POSIX for SIGSEGV.

11 years ago * gas/config/tc-avr.c: Change ISA for devices with USB support to
Denis Chertykov [Sat, 1 Jun 2013 07:14:44 +0000 (07:14 +0000)]
* gas/config/tc-avr.c: Change ISA for devices with USB support to
AVR_ISA_XMEGAU

* include/opcode/avr.h: Rename AVR_ISA_XCH to AVR_ISA_RMW. Remove
from AVR_ISA_XMEGA and add new AVR_ISA_XMEGAU

11 years ago * include/sys/socket.h: Move SHUT_xx definitoins from here...
Corinna Vinschen [Fri, 31 May 2013 18:08:25 +0000 (18:08 +0000)]
* include/sys/socket.h: Move SHUT_xx definitoins from here...
* include/cygwin/socket.h: ...to here.

11 years ago*** empty log message ***
Corinna Vinschen [Fri, 31 May 2013 08:41:39 +0000 (08:41 +0000)]
*** empty log message ***

11 years ago * include/cygwin/if.h: Include cygwin/socket.h rather than sys/socket.h
Corinna Vinschen [Fri, 31 May 2013 08:40:35 +0000 (08:40 +0000)]
* include/cygwin/if.h: Include cygwin/socket.h rather than sys/socket.h
to avoid circular dependency resulting in bogus compile time warnings.

11 years ago2013-05-30 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 30 May 2013 22:44:41 +0000 (22:44 +0000)]
2013-05-30  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/powerpc/times.c: Moved to libgloss/rs6000.
        * libc/machine/powerpc/Makefile.am: Remove times.c.
        * libc/machine/powerpc/Makefile.in: Regenerated.

11 years ago2013-05-30 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 30 May 2013 22:44:04 +0000 (22:44 +0000)]
2013-05-30  Jeff Johnston  <jjohnstn@redhat.com>

        * rs6000/Makefile.in: Add sim-times support.  This file has been
        moved from newlib/libc/machine/powerpc and renamed.
        * rs6000/sim-times.c: New file.

11 years ago2013-05-30 Paul Brook <paul@codesourcery.com>
Catherine Moore [Thu, 30 May 2013 20:27:21 +0000 (20:27 +0000)]
2013-05-30  Paul Brook  <paul@codesourcery.com>

bfd/
* bfd-in2.h: Regenerate.
* elf32-mips.c (elf_mips_eh_howto): New.
(bfd_elf32_bfd_reloc_type_lookup ): Support BFD_RELOC_MIPS_EH.
(bfd_elf32_bfd_reloc_name_lookup): Likewise.
(mips_elf32_rtype_to_howto): Support R_MIPS_EH.
* elf64-mips.c (elf_mips_eh_howto): New.
(bfd_elf64_bfd_reloc_type_lookup): Support BFD_RELOC_MIPS_EH.
(bfd_elf64_bfd_reloc_name_lookup): Likewise.
(mips_elf64_rtype_to_howto): Support R_MIPS_EH.
* libbfd.h: Regenerate.
* reloc.c (BFD_RELOC_MIPS_EH): New.

gas/
* config/tc-mips.c (md_apply_fix): Support BFD_RELOC_MIPS_EH.

include/elf
* mips.h (R_MIPS_EH): New.

11 years ago * configure.in (--enable-newlib-nano-malloc): New option.
Corinna Vinschen [Wed, 29 May 2013 12:37:59 +0000 (12:37 +0000)]
* configure.in (--enable-newlib-nano-malloc): New option.
* configure: Regenerated.
* libc/configure.in (--enable-newlib-nano-malloc): New option.
* libc/configure: Regenerated.
* libc/stdlib/Makefile.am (NEWLIB_NANO_MALLOC): Use.
* libc/stdlib/Makefile.in: Regenerated.
* libc/stdlib/nano-mallocr.c: New file, implementing nano
version malloc family functions.

11 years agoCorrect the relocation names for R_AARCH64_TLSDESC_LD_PREL19 and R_AARCH64_TLSDESC_AD...
Yufeng Zhang [Tue, 28 May 2013 16:39:51 +0000 (16:39 +0000)]
Correct the relocation names for R_AARCH64_TLSDESC_LD_PREL19 and R_AARCH64_TLSDESC_ADR_PAGE21.

11 years ago * fhandler_procsys.cc (fhandler_procsys::read): Just call
Corinna Vinschen [Tue, 28 May 2013 15:07:01 +0000 (15:07 +0000)]
* fhandler_procsys.cc (fhandler_procsys::read): Just call
fhandler_base::raw_read from here.  Drop comment.
(fhandler_procsys::write): Drop comment.

11 years ago* libc/macine/arm/strcpy.S: Explicitly set build attributes when
Richard Earnshaw [Tue, 28 May 2013 12:43:48 +0000 (12:43 +0000)]
* libc/macine/arm/strcpy.S: Explicitly set build attributes when
building for thumb1 targets.

11 years ago*** empty log message ***
Corinna Vinschen [Mon, 27 May 2013 19:41:54 +0000 (19:41 +0000)]
*** empty log message ***

11 years ago * dll_init.cc (dll_list::topsort): Fix early-return condition to
Corinna Vinschen [Mon, 27 May 2013 19:31:04 +0000 (19:31 +0000)]
* dll_init.cc (dll_list::topsort): Fix early-return condition to
accommodate process with all runtime loaded DLLs already dlclosed
at fork time.
* gendef (_sigfe_maybe): Fix code handling early return if we don't
have a tls, broken on 2013-05-21.

11 years ago*** empty log message ***
Corinna Vinschen [Sat, 25 May 2013 09:00:43 +0000 (09:00 +0000)]
*** empty log message ***

11 years ago * Makefile.in (DEFS): Unused, remove.
Corinna Vinschen [Fri, 24 May 2013 21:12:16 +0000 (21:12 +0000)]
* Makefile.in (DEFS): Unused, remove.
(COMPILE.cc): Move -mno-use-libstdc-wrappers flag from here...
($(TEST_DLL_NAME)): ...to here since it's a link time flag.

11 years ago * pinfo.cc (pinfo::status_exit): Enhance comment.
Corinna Vinschen [Fri, 24 May 2013 13:43:26 +0000 (13:43 +0000)]
* pinfo.cc (pinfo::status_exit): Enhance comment.

11 years ago * environ.cc (win_env::add_cache): Set the Windows environment variable
Corinna Vinschen [Fri, 24 May 2013 13:32:10 +0000 (13:32 +0000)]
* environ.cc (win_env::add_cache): Set the Windows environment variable
using wide chars to make sure native chars don't get scrambled.
* environ.h (build_env): Fix formatting in declaration.
* pinfo.cc (pinfo::status_exit): Handle STATUS_NO_MEMORY.  Explain why.

11 years ago * fork.cc (frok::parent): Always set CREATE_UNICODE_ENVIRONMENT flag.
Corinna Vinschen [Fri, 24 May 2013 08:43:43 +0000 (08:43 +0000)]
* fork.cc (frok::parent): Always set CREATE_UNICODE_ENVIRONMENT flag.
Explain why.

11 years ago * fork.cc (frok::parent): Call CreateProcessW with command line set
Corinna Vinschen [Thu, 23 May 2013 20:47:45 +0000 (20:47 +0000)]
* fork.cc (frok::parent): Call CreateProcessW with command line set
to the parent command line.  Change comment to explain why.

11 years ago * dcrt0.cc (child_info_fork::alloc_stack_hard_way): Fix datatype of
Corinna Vinschen [Thu, 23 May 2013 20:10:35 +0000 (20:10 +0000)]
* dcrt0.cc (child_info_fork::alloc_stack_hard_way): Fix datatype of
stacksize to SIZE_T.  Cast to SIZE_T in pointer arithmetic.  Slightly
enhance output in case of a fatal error.
* fork.cc (frok::parent): Always set ch.stackaddr to DeallocationStack
value of current thread to help stack reservation in
child_info_fork::alloc_stack_hard_way along.  Simplify subsequent code
storing stack values in ch.  Print guardsize in hex, too.

11 years ago.
Warren Young [Thu, 23 May 2013 19:03:19 +0000 (19:03 +0000)]
.

11 years agoCreated xidepend mechanism
Warren Young [Thu, 23 May 2013 19:02:46 +0000 (19:02 +0000)]
Created xidepend mechanism

11 years ago * libc/ctype/isalnum.c: Correct domain of definition to SUSv4 wording.
Corinna Vinschen [Thu, 23 May 2013 14:46:51 +0000 (14:46 +0000)]
* libc/ctype/isalnum.c: Correct domain of definition to SUSv4 wording.
* libc/ctype/isalpha.c: Ditto.
* libc/ctype/isblank.c: Ditto.
* libc/ctype/iscntrl.c: Ditto.
* libc/ctype/isdigit.c: Ditto.
* libc/ctype/islower.c: Ditto.
* libc/ctype/isprint.c: Ditto.
* libc/ctype/ispunct.c: Ditto.
* libc/ctype/isxdigit.c: Ditto.

11 years ago * cygwinenv.xml (cygwinenv-implemented-options): Explain new
Corinna Vinschen [Thu, 23 May 2013 14:26:53 +0000 (14:26 +0000)]
* cygwinenv.xml (cygwinenv-implemented-options): Explain new
winsymliks:nativestrict option.  Strip out description of symlink types
and refer to new pathnames-symlinks section.
* highlights.xml (ov-hi-files): Rip out most of symlink description and
refer to new pathnames-symlinks section instead.
* new-features.xml (ov-new1.7.19): Add CYGWIN=winsymlinks:nativestrict.
* pathnames.xml (pathnames-symlinks): New section describing symbolic
link handling.

11 years ago * environ.cc (set_winsymlinks): Handle "winsymlinks:nativestrict"
Corinna Vinschen [Thu, 23 May 2013 14:23:01 +0000 (14:23 +0000)]
* environ.cc (set_winsymlinks): Handle "winsymlinks:nativestrict"
option.  On pre-Vista warn the user if the "winsymlinks:native*" option
is set.
* globals.cc (enum winsym_t): Add WSYM_nativestrict.
* path.cc (symlink_native): Don't create native symlink if target
does not exist.  Explain why.  Improve comments.
(symlink_worker): Change AFS symlink handling to WSYM_nativestrict.
Handle WSYM_nativestrict throughout.  Change condition for bail out
to wsym_type == WSYM_nativestrict.  Add comment.  Fix formatting.
* shared_info.h (CURR_USER_MAGIC): Change to reflect change in
class user_info.
(class user_info): Add member warned_nonativesyms.

11 years agoinclude/opcode/
Richard Sandiford [Wed, 22 May 2013 18:08:25 +0000 (18:08 +0000)]
include/opcode/
2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>

* mips.h (M_LQC2_AB, M_SQC2_AB): New macros.

opcodes/
2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>

* mips-opc.c (mips_builtin_opcodes): Add R5900 VU0 instructions.

gas/
2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>

* config/tc-mips.c (macro): Handle M_LQC2_AB and M_SQC2_AB.

gas/testsuite/
2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>

* gas/mips/r5900-full.s, gas/mips/r5900-full.d: Add tests for LQ
and SQ macros.
* gas/mips/r5900-vu0.s, gas/mips/r5900-vu0.d: New test.
* gas/mips/mips.exp: Run it.

11 years ago * libc/include/sys/cdefs.h (_Static_assert): Accommodate gcc >= 4.6.
Corinna Vinschen [Wed, 22 May 2013 17:53:07 +0000 (17:53 +0000)]
* libc/include/sys/cdefs.h (_Static_assert): Accommodate gcc >= 4.6.

11 years agoAdd EM_INTEL205 to EM_INTEL209
H.J. Lu [Wed, 22 May 2013 17:02:35 +0000 (17:02 +0000)]
Add EM_INTEL205 to EM_INTEL209

* common.h (EM_INTEL205): New.
(EM_INTEL206): Likewise.
(EM_INTEL207): Likewise.
(EM_INTEL208): Likewise.
(EM_INTEL209): Likewise.

11 years ago * spinlock.h (ULONG): Replace LONG operator with ULONG to accommodate
Corinna Vinschen [Wed, 22 May 2013 16:55:55 +0000 (16:55 +0000)]
* spinlock.h (ULONG): Replace LONG operator with ULONG to accommodate
the fact that CURR_SHARED_MAGIC and USER_SHARED_MAGIC are unsigned
values.
* shared.cc (shared_info::initialize): Drop explicit cast here.

11 years ago * new-features.sgml (ov-new1.7.19): Add arc4random,
Corinna Vinschen [Tue, 21 May 2013 19:10:06 +0000 (19:10 +0000)]
* new-features.sgml (ov-new1.7.19): Add arc4random,
arc4random_addrandom, arc4random_buf, arc4random_stir and
arc4random_uniform.

11 years ago Add missing ChangeLog entry for former checkin.
Corinna Vinschen [Tue, 21 May 2013 19:07:52 +0000 (19:07 +0000)]
Add missing ChangeLog entry for former checkin.

11 years ago * Makefile.in (DLL_OFILES): Add arc4random.o.
Corinna Vinschen [Tue, 21 May 2013 19:04:49 +0000 (19:04 +0000)]
* Makefile.in (DLL_OFILES): Add arc4random.o.
* common.din: Export arc4random, arc4random_addrandom, arc4random_buf,
arc4random_stir and arc4random_uniform.
* mktemp.cc (arc4random): Remove static replacement function.
* posix.sgml (std-bsd): Add arc4random functions.
* include/cygwin/stdlib.h: Declare arc4random functions.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* libc/arc4random.cc: New file implementing arc4random functions taken
from FreeBSD.

11 years ago * globals.cc (__isthreaded): New global variable. Explain what it's
Corinna Vinschen [Tue, 21 May 2013 18:53:23 +0000 (18:53 +0000)]
* globals.cc (__isthreaded): New global variable.  Explain what it's
used for.
* miscfuncs.cc (thread_wrapper): Set __isthreaded to 1 here.

11 years ago * fhandler.h (class fhandler_dev_random): Change type of pseudo to
Corinna Vinschen [Tue, 21 May 2013 18:51:36 +0000 (18:51 +0000)]
* fhandler.h (class fhandler_dev_random): Change type of pseudo to
uint32_t to make sure it's 32 bit on all supported platforms.

11 years ago x86_64 only:
Corinna Vinschen [Tue, 21 May 2013 18:26:48 +0000 (18:26 +0000)]
x86_64 only:
* gendef (_sigfe_maybe): Drop pushing %r12, use %r10 instead since we
don't call yield anymore.
(_sigfe): Ditto.
(_sigbe): Ditto.

11 years ago * new-features.sgml (ov-new1.7.19): Add __b64_ntop and __b64_pton.
Corinna Vinschen [Tue, 21 May 2013 10:11:15 +0000 (10:11 +0000)]
* new-features.sgml (ov-new1.7.19): Add __b64_ntop and __b64_pton.

11 years ago * libc/base64.c: New file.
Corinna Vinschen [Tue, 21 May 2013 10:07:55 +0000 (10:07 +0000)]
* libc/base64.c: New file.
* Makefile.in (DLL_OFILES): Add base64.o.
* common.din: Export __b64_ntop and __b64_pton.
* posix.sgml (std-bsd): Add __b64_ntop and __b64_pton.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

11 years ago * syscalls.cc (open): Only return ENOTDIR if file exists.
Corinna Vinschen [Tue, 21 May 2013 10:04:45 +0000 (10:04 +0000)]
* syscalls.cc (open): Only return ENOTDIR if file exists.

11 years ago Reinstantiate accidentally removed patch from 2009-05-16:
Corinna Vinschen [Tue, 21 May 2013 09:32:12 +0000 (09:32 +0000)]
Reinstantiate accidentally removed patch from 2009-05-16:
* Makefile.in (cygpath.exe): Link against cygwin.a before linking
against ntdll.dll to avoid linking symbols defined in both DLLs
from ntdll.
(ps.exe): Ditto.

11 years ago * libc/reent/reent.c (_wrapup_reent): Remove.
Corinna Vinschen [Thu, 16 May 2013 12:29:28 +0000 (12:29 +0000)]
* libc/reent/reent.c (_wrapup_reent): Remove.

11 years ago* sigproc.cc (sig_hold): Delete.
Christopher Faylor [Thu, 16 May 2013 05:36:15 +0000 (05:36 +0000)]
* sigproc.cc (sig_hold): Delete.
(sigheld): Delete.
(sig_send): Eliminate special-case __SIGHOLD handling.
(wait_sig): Just flag when signals are on hold and add them to the queue rather
than stalling the wait_sig loop.  Clear the flag when __SIGNOHOLD is specified.

11 years ago * Makefile.in (devices_CFLAGS): Drop -Os.
Corinna Vinschen [Tue, 14 May 2013 17:28:45 +0000 (17:28 +0000)]
* Makefile.in (devices_CFLAGS): Drop -Os.

11 years ago * Makefile.in (localtime_CFLAGS): Define as -fwrapv since localtime
Corinna Vinschen [Tue, 14 May 2013 13:34:05 +0000 (13:34 +0000)]
* Makefile.in (localtime_CFLAGS): Define as -fwrapv since localtime
code requires int overflows to be fully defined.
* localtime.cc: Align a bit more to upstream code.

11 years ago * grp.cc (get_groups): Convert to void function.
Corinna Vinschen [Tue, 14 May 2013 09:07:30 +0000 (09:07 +0000)]
* grp.cc (get_groups): Convert to void function.
(initgroups32): Accommodate the aforementioned change.
(getgrouplist): Ditto.

11 years ago * grp.cc (get_groups): Never return error. Always create a group list,
Corinna Vinschen [Tue, 14 May 2013 08:50:37 +0000 (08:50 +0000)]
* grp.cc (get_groups): Never return error.  Always create a group list,
even if it's empty.

11 years agoAdded Wishlist file, based on my FURTHER WORK proposal to the -patches
Warren Young [Mon, 13 May 2013 22:00:44 +0000 (22:00 +0000)]
Added Wishlist file, based on my FURTHER WORK proposal to the -patches
list on April 29.

11 years agoMissed MAINTAINERS entry from previous commit.
DJ Delorie [Mon, 13 May 2013 21:40:50 +0000 (21:40 +0000)]
Missed MAINTAINERS entry from previous commit.

11 years ago[newlib]
DJ Delorie [Mon, 13 May 2013 21:39:51 +0000 (21:39 +0000)]
[newlib]
* configure.host (msp430): Add.
* libc/include/machine/ieeefp.h: Add MSP430 support.
* libc/include/machine/setjmp.h: Likewise.
* libc/include/sys/config.h: Likewise.
* libc/machine/configure.in (msp430): Add.
* libc/machine/configure: Regenerate.
* libc/machine/msp430: New directory.

[libgloss]
* configure.in (msp430*-*-elf): Add.
* configure: Regenerate.
* msp430: New directory.

11 years agoRemoved setup.xml and cygwin-ug.xml: they were not inputs to any of the
Warren Young [Mon, 13 May 2013 21:17:22 +0000 (21:17 +0000)]
Removed setup.xml and cygwin-ug.xml: they were not inputs to any of the
documentation outputs.  Apparently they were the predecessors of
setup-net.xml and cygwin-ug-net.xml.  I don't know if for a time there
were parallel versions of the manuals and one fork died, or if the cutover
was clean and the old versions were just never removed.  Either way,
they're dead junk now.

11 years ago* include/cygwin/version.h: Bump api minor number to reflect previous change.
Christopher Faylor [Mon, 13 May 2013 19:27:34 +0000 (19:27 +0000)]
* include/cygwin/version.h: Bump api minor number to reflect previous change.

11 years ago* i686.din: Remove _strtold.
Christopher Faylor [Mon, 13 May 2013 19:25:35 +0000 (19:25 +0000)]
* i686.din: Remove _strtold.
* x86_64.din: Move strtold definition...
* common.din: ...to here.

11 years ago2013-05-10 Freddie Chopin <freddie_chopin@op.pl>
Jeff Johnston [Fri, 10 May 2013 20:14:33 +0000 (20:14 +0000)]
2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>

        * configure.in: Fix help text for disable-newlib-atexit-dynamic-alloc option.
        * configure: Regenerated.

11 years ago- Added <?xml> and <!DOCTYPE> tags to the top of utils.xml and pretty-
Warren Young [Fri, 10 May 2013 15:58:48 +0000 (15:58 +0000)]
- Added <?xml> and <!DOCTYPE> tags to the top of utils.xml and pretty-
  printed it.
- Removed obsolete utils.sgml
- Added a ChangeLog entry for this replacement, which partially took
  place days ago.  This checkin formalizes the switch from SGML to
  DocBook XML for this file.

11 years agobinutils/ChangeLog:
Andrew Pinski [Fri, 10 May 2013 01:08:48 +0000 (01:08 +0000)]
binutils/ChangeLog:
* doc/binutils.texi: Document -Mvirt disassembler option.

gas/ChangeLog:
* config/tc-mips.c (struct mips_set_options): New ase_virt field.
(mips_opts): Update for the new field.
(file_ase_virt): New variable.
(ISA_SUPPORTS_VIRT_ASE): New macro.
(ISA_SUPPORTS_VIRT64_ASE): New macro.
(MIPS_CPU_ASE_VIRT): New define.
(is_opcode_valid): Handle ase_virt.
(macro_build): Handle "+J".
(validate_mips_insn): Likewise.
(mips_ip): Likewise.
(enum options): Add OPTION_VIRT and OPTION_NO_VIRT.
(md_longopts): Add mvirt and mnovirt
(md_parse_option): Handle OPTION_VIRT and OPTION_NO_VIRT.
(mips_after_parse_args): Handle ase_virt field.
(s_mipsset): Handle "virt" and "novirt".
(mips_elf_final_processing): Add a comment about virt ASE might need a new flag.
(md_show_usage): Print out the usage of -mvirt and mno-virt options.
* doc/c-mips.texi: Document -mvirt and -mno-virt.
Document ".set virt" and ".set novirt".

gas/testsuite/ChangeLog:
* gas/mips/mips.exp: Run virt and virt64 testcases.
* gas/mips/virt.d: New file.
* gas/mips/virt.s: New file.
* gas/mips/virt64.d: New file.
* gas/mips/virt64.s: New file.

include/opcode/ChangeLog:
* mips.h (OP_MASK_CODE10): Correct definition.
(OP_SH_CODE10): Likewise.
Add a comment that "+J" is used now for OP_*CODE10.
(INSN_ASE_MASK): Update.
(INSN_VIRT): New macro.
(INSN_VIRT64): New macro

opcodes/ChangeLog:
* mips-dis.c (mips_arch_choices): Add INSN_VIRT to mips32r2 .
Add INSN_VIRT and INSN_VIRT64 to mips64r2.
(parse_mips_dis_option): Handle the virt option.
(print_insn_args): Handle "+J".
(print_mips_disassembler_options): Print out message about virt64.
* mips-opc.c (IVIRT): New define.
(IVIRT64): New define.
(mips_builtin_opcodes): Add dmfgc0, dmtgc0, hypcall, mfgc0, mtgc0,
tlbgr, tlbgwi, tlbginv, tlbginvf, tlbgwr, tlbgp VIRT instructions.
Move rfe to the bottom as it conflicts with tlbgp.

11 years ago2013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
Jeff Johnston [Wed, 8 May 2013 23:13:51 +0000 (23:13 +0000)]
2013-05-07  Sebastian Huber <sebastian.huber@embedded-brains.de>

        * libc/include/sys/config.h (_REENT_GLOBAL_ATEXIT): Define for
        RTEMS.
        * libc/include/sys/reent.h (_reent): Use _REENT_GLOBAL_ATEXIT.
        (_global_atexit): Declare if _REENT_GLOBAL_ATEXIT is defined.
        * libc/reent/reent.c (_reclaim_reent): Remove atexit cleanup if
        _REENT_GLOBAL_ATEXIT is defined.
        (_wrapup_reent): Remove atexit handling if _REENT_GLOBAL_ATEXIT
        is defined.
        * libc/stdlib/__atexit.c (_global_atexit0): Define if
        _REENT_GLOBAL_ATEXIT is defined.
        * libc/stdlib/__call_atexit.c (_global_atexit): Define if
        _REENT_GLOBAL_ATEXIT is defined.

11 years agochange wording
Christopher Faylor [Wed, 8 May 2013 00:10:35 +0000 (00:10 +0000)]
change wording

11 years ago* fhandler_tty.cc (fhandler_pty_common::__acquire_output_mutex): Never wait an
Christopher Faylor [Wed, 8 May 2013 00:10:08 +0000 (00:10 +0000)]
* fhandler_tty.cc (fhandler_pty_common::__acquire_output_mutex): Never wait an
INFINITE amount of time.  Instead default to 1/10 second.
(fhandler_pty_slave::open): Just default to INFINITE wait rather than
(now) waiting longer than previously.

11 years ago2013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
Jeff Johnston [Tue, 7 May 2013 21:40:10 +0000 (21:40 +0000)]
2013-05-07  Sebastian Huber <sebastian.huber@embedded-brains.de>

* libc/include/sys/reent.h (_ATEXIT_INIT): Define.
(_ATEXIT_INIT_PTR): Likewise.
(_REENT_INIT_ATEXIT): Likewise.
(_REENT_INIT_ATEXIT_PTR): Likewise.
(_GLOBAL_ATEXIT): Likewise.
* libc/stdlib/__atexit.c (_GLOBAL_ATEXIT0): Define.
(__register_exitproc): Use _GLOBAL_ATEXIT and _GLOBAL_ATEXIT0.
* libc/stdlib/__call_atexit.c (__call_exitprocs): Likewise.
-

11 years ago2013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
Jeff Johnston [Tue, 7 May 2013 18:24:14 +0000 (18:24 +0000)]
2013-05-07  Sebastian Huber <sebastian.huber@embedded-brains.de>

        * libc/stdlib/__atexit.c (__atexit_lock): Declare.
        * libc/stdlib/__call_atexit.c (__atexit_lock): Define.

11 years agofix typo
Christopher Faylor [Mon, 6 May 2013 23:32:38 +0000 (23:32 +0000)]
fix typo

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