]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
17 years ago * include/stdio.h (vsnprintf): Remove inline definition.
Danny Smith [Mon, 18 Jun 2007 09:50:01 +0000 (09:50 +0000)]
* include/stdio.h (vsnprintf): Remove inline definition.
Add prototype.

17 years ago * CRTfmode.c: Nit-pick comment fix.
Danny Smith [Sun, 17 Jun 2007 02:12:47 +0000 (02:12 +0000)]
* CRTfmode.c: Nit-pick comment fix.

17 years ago* CRTfmode.c: Fix nested comment.
Christopher Faylor [Sun, 17 Jun 2007 00:41:13 +0000 (00:41 +0000)]
* CRTfmode.c: Fix nested comment.

17 years ago* include/string.h (strcasecmp): Fix typo in declaration prototype.
Christopher Faylor [Sun, 17 Jun 2007 00:37:00 +0000 (00:37 +0000)]
* include/string.h (strcasecmp): Fix typo in declaration prototype.

17 years ago* include/search.h: Reinstate node_t definition.
Christopher Faylor [Sun, 17 Jun 2007 00:31:27 +0000 (00:31 +0000)]
* include/search.h: Reinstate node_t definition.
* include/sys/cdefs.h: Remove in favor of newlib version.

17 years ago2007-06-15 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Fri, 15 Jun 2007 16:00:46 +0000 (16:00 +0000)]
2007-06-15  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
        from a dropped patch.
        * libc/machine/spu/Makefile.in: Regenerate.

17 years ago * autoload.cc (GetIpForwardTable): Define.
Corinna Vinschen [Thu, 14 Jun 2007 16:02:32 +0000 (16:02 +0000)]
* autoload.cc (GetIpForwardTable): Define.
* fhandler_socket.cc (fhandler_socket::ioctl): Handle SIOCGIFDSTADDR.
* net.cc (get_routedst): New static function to get destination
address of point-to-point interfaces.
(get_xp_ifconf): Handle SIOCGIFDSTADDR.
(get_2k_ifconf): Ditto.
(get_nt_ifconf): Ditto.
(get_ifconf): Ditto.
* include/asm/socket.h (SIOCGIFDSTADDR): Define.
* include/cygwin/if.h (struct ifreq): Add ifru_dstaddr member.
(ifr_dstaddr): Define.
* include/cygwin/in.h: Cast ipv4 addresses correctly to in_addr_t in
definitions.

17 years ago2007-06-14 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 14 Jun 2007 08:52:42 +0000 (08:52 +0000)]
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

        * Makefile.tpl (cleanstrap): Don't delete the toplevel Makefile.
        (distclean-stage[+id+]): Possibly delete stage_last.
        * Makefile.in: Regenerate.

17 years ago2007-06-14 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 14 Jun 2007 08:16:37 +0000 (08:16 +0000)]
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (ACX_CHECK_PROG_VER): Remove duplicate lines.

17 years ago * include/io.h (lseek64) : Add prototype.
Danny Smith [Thu, 14 Jun 2007 03:05:08 +0000 (03:05 +0000)]
* include/io.h (lseek64) : Add prototype.

17 years ago * include/string.h (strcasecmp): Add prototype.
Danny Smith [Thu, 14 Jun 2007 03:01:33 +0000 (03:01 +0000)]
* include/string.h (strcasecmp): Add prototype.
(strncasecmp): Add prototype.

17 years ago2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 13 Jun 2007 17:55:28 +0000 (17:55 +0000)]
2007-06-13  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
        it just calls open with appropriate arguments.
        * libc/machine/spu/Makefile.am: Add creat.c.
        * libc/machine/spu/Makefile.in: Regenerate.

17 years ago2007-06-13 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 13 Jun 2007 17:50:13 +0000 (17:50 +0000)]
2007-06-13  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
        I accidentally dropped.
        * libc/machine/spu/Makefile.in: Regenerated.

17 years ago2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 13 Jun 2007 17:44:24 +0000 (17:44 +0000)]
2007-06-13  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
        * libc/include/sys/unistd.h: Change usleep prototype to Posix
        form and move outside of OS flag checks.
        * libc/machine/spu/Makefile.am: Add sleep and usleep.
        * libc/machine/spu/Makefile.in: Regenerate.
        * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
        * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.

17 years ago2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 13 Jun 2007 17:40:27 +0000 (17:40 +0000)]
2007-06-13  Patrick Mansfield  <patmans@us.ibm.com>

        * spu/Makefile.in: Add nanosleep.c.
        * spu/jsre.h: Add JSRE_NANOSLEEP.
        * spu/nanosleep.c: New file, supply nanosleep via an assist call.

17 years ago * Makefile.in (CRT0S): Revert last change.
Danny Smith [Wed, 13 Jun 2007 08:26:13 +0000 (08:26 +0000)]
* Makefile.in (CRT0S): Revert last change.
* CRTfmode.c. Correct comment.

17 years ago * Makefile.in (CRT0S): Add back CRTfmode.o.
Danny Smith [Wed, 13 Jun 2007 07:50:18 +0000 (07:50 +0000)]
* Makefile.in (CRT0S): Add back CRTfmode.o.

17 years ago * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.
Danny Smith [Wed, 13 Jun 2007 07:43:58 +0000 (07:43 +0000)]
* include/stdlib.h: Don't include stdint.h.  Conditionally define intptr_t.
* include/io.h: Likewise.

17 years ago* signal.cc (usleep): Use useconds_t for the type as per POSIX.
Christopher Faylor [Tue, 12 Jun 2007 20:49:48 +0000 (20:49 +0000)]
* signal.cc (usleep): Use useconds_t for the type as per POSIX.

17 years ago * Makefile.in (DLL_OFILES): Add xsique.o.
Corinna Vinschen [Tue, 12 Jun 2007 15:24:46 +0000 (15:24 +0000)]
* Makefile.in (DLL_OFILES): Add xsique.o.
* cygwin.din (confstr): Make NOSIGFE.
(insque): Export.
(remque): Export.
* lsearch.cc: Remove superfluous _SEARCH_PRIVATE define.
* posix.sgml: Move insque to defined SUSv3 interfaces.  Remove
comment for remque.
* include/search.h: Remove _SEARCH_PRIVATE guarded definitions.
Add struct qelem definition.  Add insque and remque declarations.
* include/cygwin/version.h: Bump API minor number.
* include/sys/queue.h: Remove insque/remque definitions so as not
to collide with SUSv3 compatible declaration in search.h.
* libc/xsique.cc: New file implementing insque and remque.

17 years ago * fhandler.cc (fhandler_base::fstat): Set pipe permission bits more
Corinna Vinschen [Tue, 12 Jun 2007 08:28:44 +0000 (08:28 +0000)]
* fhandler.cc (fhandler_base::fstat): Set pipe permission bits more
correctly.

17 years ago * cygwin.din (confstr): Export.
Corinna Vinschen [Mon, 11 Jun 2007 17:38:27 +0000 (17:38 +0000)]
* cygwin.din (confstr): Export.
* posix.sgml (confstr): Move to list of implemented SUSv3 functions.
* sysconf.cc (confstr): Implement.
* include/cygwin/version.h: Bump API minor number.

17 years ago * libc/include/sys/unistd.h: Declare confstr for Cygwin.
Corinna Vinschen [Mon, 11 Jun 2007 17:33:43 +0000 (17:33 +0000)]
* libc/include/sys/unistd.h: Declare confstr for Cygwin.
Define confstr constants for Cygwin.  Add comment.

17 years agobfd/
Bob Wilson [Mon, 11 Jun 2007 16:53:08 +0000 (16:53 +0000)]
bfd/
        * elf32-xtensa.c (extend_ebb_bounds_forward): Use renamed
        XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
        (extend_ebb_bounds_backward, compute_text_actions): Likewise.
        (compute_ebb_proposed_actions, coalesce_shared_literal): Likewise.
        (xtensa_get_property_predef_flags): Likewise.
        (compute_removed_literals): Pass new arguments to is_removable_literal.
        (is_removable_literal): Add sec, prop_table and ptblsize arguments.
        Do not remove literal if the NO_TRANSFORM property flag is set.
gas/
        * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
        (XTENSA_PROP_NO_TRANSFORM): ...this.
        (frag_flags_struct): Move is_no_transform out of the insn sub-struct.
        (xtensa_mark_frags_for_org): New.
        (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org.
        (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org.
        (get_frag_property_flags): Adjust reference to is_no_transform flag.
        (xtensa_frag_flags_combinable): Likewise.
        (frag_flags_to_number): Likewise.  Use XTENSA_PROP_NO_TRANSFORM.
        * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG.
include/elf/
        * xtensa.h (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
        (XTENSA_PROP_NO_TRANSFORM): ...this.
ld/
        * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
        XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.

17 years ago * crt1.c (__mingw_CRTStartup): Add explicit call to libgcc's __main.
Danny Smith [Mon, 11 Jun 2007 08:38:16 +0000 (08:38 +0000)]
* crt1.c (__mingw_CRTStartup): Add explicit call to libgcc's __main.

17 years ago * libc/sys/mmixware/access.c (access): Do not try to use a magic
Hans-Peter Nilsson [Sun, 10 Jun 2007 12:54:35 +0000 (12:54 +0000)]
* libc/sys/mmixware/access.c (access): Do not try to use a magic
file-handle and a direct syscall, just use _open.
* libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
file-handle.

* libc/sys/mmixware/_exit.c (_exit): Update comment about
passing on the exit value.

17 years ago2007-06-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 8 Jun 2007 18:38:51 +0000 (18:38 +0000)]
2007-06-08  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/string/strcasestr.c: New file.
        * libc/include/string.h: Add strcasestr.
        * libc/string/strings.tex: Add strcasestr.
        * libc/string/Makefile.am: Ditto.
        * libc/string/Makefile.in: Regenerated.

17 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Wed, 6 Jun 2007 23:23:36 +0000 (23:23 +0000)]
* config.sub, config.guess: Update from upstream sources.

17 years ago * Makefile.tpl: Fix spelling error.
Ben Elliston [Wed, 6 Jun 2007 23:12:21 +0000 (23:12 +0000)]
* Makefile.tpl: Fix spelling error.
* Makefile.in: Regenerate.

17 years ago2007-06-06 Christian Groessler <chris@groessler.org>
Jeff Johnston [Wed, 6 Jun 2007 19:24:28 +0000 (19:24 +0000)]
2007-06-06  Christian Groessler  <chris@groessler.org>

        * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
        rnd is done after the last local variable declaration.

2007-06-06  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.

17 years agoFix entry to refer to function instead of variable.
Jeff Johnston [Tue, 5 Jun 2007 21:42:17 +0000 (21:42 +0000)]
Fix entry to refer to function instead of variable.

17 years ago2007-06-05 Christian Groessler <chris@groessler.org>
Jeff Johnston [Tue, 5 Jun 2007 21:40:48 +0000 (21:40 +0000)]
2007-06-05  Christian Groessler  <chris@groessler.org>

        * libc/argz/argz_insert.c (delta): Move variable declaration
        to top of function in keeping with C89 standard.

17 years ago2007-06-05 Patrick Mansfield <patman@us.ibm.com>
Jeff Johnston [Tue, 5 Jun 2007 19:01:30 +0000 (19:01 +0000)]
2007-06-05  Patrick Mansfield  <patman@us.ibm.com>

        * spu/jsre.h: Remove the assist call structs and defines that are
        specific to one assist call from here.
        * spu/access.c: Move struct syscall_access_t to here.
        * spu/fstat.c: Move struct syscall_fstat_t to here.
        * spu/ftruncate.c: Move struct syscall_ftruncate_t to here.
        * spu/gettimeofday.c: Move struct syscall_gettimeofday_t to here.
        * spu/lseek.c: Move struct syscall_lseek_t and JSRE_SEEK defines to
        here.
        * spu/open.c: Move struct syscall_open_t and JSRE_O_ defines to here.
        * spu/read.c: Move struct syscall_read_t to here, and actually use
        it (it is the same as syscall_write_t).
        * spu/stat.c: Move struct syscall_stat_t to here.
        * spu/write.c: Move struct syscall_write_t to here.
        * spu/close.c: Pass the address of the first and only argument to
        __send_to_ppe rather than using an automatic variable and a
        special struct.
        * spu/dup.c: Ditto.
        * spu/unlink.c: Ditto.

17 years ago * cygwin-api.in.sgml: Accommodate new "Compatibility" section layout.
Corinna Vinschen [Tue, 5 Jun 2007 10:11:55 +0000 (10:11 +0000)]
* cygwin-api.in.sgml: Accommodate new "Compatibility" section layout.

17 years ago * ansi.sgml: Delete.
Corinna Vinschen [Tue, 5 Jun 2007 10:10:16 +0000 (10:10 +0000)]
* ansi.sgml: Delete.
* misc-std.sgml: Delete.
* posix.sgml: Rework entirely.

17 years agoImplement funopen, fopencookie.
Eric Blake [Mon, 4 Jun 2007 18:10:17 +0000 (18:10 +0000)]
Implement funopen, fopencookie.
* libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
Switch to reentrant callbacks.
* libc/include/stdio.h (funopen): Fix declaration.
(fopencookie): Declare.
* libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
(__sseek64, __swrite64): Fix prototypes.
[__SCLE]: Pull in setmode declaration.
* libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
reentrancy.
* libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
(__sseek64, __swrite64): Fix reentrancy.
* libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
reentrancy.
* libc/stdio/ftell.c (_ftell_r): Likewise.
* libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
* libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
* libc/stdio/freopen.c (_freopen_r): Likewise.
* libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
* libc/stdio/refill.c (__srefill_r): Likewise.
* libc/stdio/siscanf.c (eofread): Likewise.
* libc/stdio/sscanf.c (eofread): Likewise.
* libc/stdio/vsiscanf.c (eofread1): Likewise.
* libc/stdio/vsscanf.c (eofread1): Likewise.
* libc/stdio64/freopen64.c (_freopen64_r): Likewise.
* libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
* libc/stdio64/ftello64.c (_ftello64_r): Likewise.
* libc/stdio/fflush.c (fflush): Improve reentrancy, although more
could be fixed.
* libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
* libc/stdio/funopen.c (_funopen_r, funopen): New file.
* libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
new files.
* libc/stdio/Makefile.in: Regenerate.

17 years ago2007-06-04 Olivier Hainque <hainque@adacore.com>
Paolo Bonzini [Mon, 4 Jun 2007 09:33:35 +0000 (09:33 +0000)]
2007-06-04  Olivier Hainque  <hainque@adacore.com>

* mh-ppc-aix: Add default ADAFLAGS to BOOT_ADAFLAGS.

17 years ago2007-06-04 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 4 Jun 2007 08:32:52 +0000 (08:32 +0000)]
2007-06-04  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:
2007-05-30  Jakub Jelinek  <jakub@redhat.com>

        PR bootstrap/29382
        * configure.ac: Don't use -fkeep-inline-functions for GCC < 3.3.1.
        * configure: Rebuilt.

17 years ago* cygcheck.cc (pathlike): New class.
Christopher Faylor [Mon, 4 Jun 2007 01:57:16 +0000 (01:57 +0000)]
* cygcheck.cc (pathlike): New class.
(paths): Redefine as type pathlike.
(display_error): Declare a few different ways to allow more flexible usage
throughout.
(display_error_fmt): New function for those cases where C++ just isn't enough.
(add_path): Rewrite to allocate pathlike paths.  Always tack on a trailing
slash since that's what everyone who uses it wants.  NULL terminate the path
list.  Register "it's a system path" field.
(init_path): Call add_path with info regarding whether path is a system path or
not.
(pathlike::check_existence): Move into pathlike class.  Accept file and
extension arguments to build up path on the fly.  Modify other arguments.
(find_on_path): Constify return value and appropriate arguments.  Eliminate
short-circuit for fully-qualified paths.  Simplify loop which iterates over
path.
(already_did): Constify argument.
(track_down): Ditto.  Regularize some error messages.
(find_app_on_path): Ditto.
(cygcheck): Constify argument.  Use 20th century string handling functions.
(dump_sysinfo): Remove odd inclusion of '\\bin' "Just in case".  Accommodate
change of paths to pathlike.
* path.cc (isslash): Rename from SLASH_P and use throughout.
(rel_vconcat): Front-end to vconcat which prepends cwd to path before passing
along for conversion to native windows.
(cygpath): Remove "./" test.  Call rel_vconcat if filename appears to be
relative.

17 years agoCorrect ChangeLog entry.
H.J. Lu [Fri, 1 Jun 2007 13:44:18 +0000 (13:44 +0000)]
Correct ChangeLog entry.

17 years ago2007-06-01 Steve Ellcey <sje@cup.hp.com>
Paolo Bonzini [Fri, 1 Jun 2007 11:33:01 +0000 (11:33 +0000)]
2007-06-01  Steve Ellcey  <sje@cup.hp.com>

* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): Try using getconf
to set lt_cv_sys_max_cmd_len.

17 years agoinclude/
Alan Modra [Thu, 31 May 2007 15:04:51 +0000 (15:04 +0000)]
include/
* bfdlink.h (struct bfd_link_info): Add input_bfds_tail.
bfd/
* simple.c (bfd_simple_get_relocated_section_content): Init
input_bfds_tail.
ld/
* ldlang.c (ldlang_add_file): Use input_bfds_tail.
* ldmain.c (main): Init input_bfds_tail.  Sort link_info
initialization.

17 years ago2007-05-31 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 31 May 2007 06:40:36 +0000 (06:40 +0000)]
2007-05-31  Paolo Bonzini  <bonzini@gnu.org>

* ltgcc.m4: Update from GCC.

17 years ago * m68k/cf-crt1.C, m68k/cf.sc, m68k/fido.sc, m68k/fido-crt0.S:
Kazu Hirata [Wed, 30 May 2007 18:33:56 +0000 (18:33 +0000)]
* m68k/cf-crt1.C, m68k/cf.sc, m68k/fido.sc, m68k/fido-crt0.S:
Replace __INIT_SECTION__ and __FINI_SECTION__ with _init and
_fini, respectively.

17 years agoAvoid more compiler warnings.
Eric Blake [Tue, 29 May 2007 21:26:59 +0000 (21:26 +0000)]
Avoid more compiler warnings.
* libc/stdlib/btowc.c: Add missing header.
* libc/stdlib/getopt.c (getopt_internal): Initialize variable.
* libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
* libc/stdlib/wctob.c: Add missing header.
* libc/string/strcpy.c (strcpy): Avoid warnings.
* libc/string/strrchr.c (strrchr): Likewise.

17 years ago * dtable.cc (dtable::set_file_pointers_for_exec): Call SetFilePointer
Corinna Vinschen [Tue, 29 May 2007 17:25:36 +0000 (17:25 +0000)]
* dtable.cc (dtable::set_file_pointers_for_exec): Call SetFilePointer
correctly for 64 bit file access.  Comment out functionality.
* fhandler.cc (fhandler_base::open): Don't set append_mode.
(fhandler_base::write): Check for O_APPEND instead of append_mode.
Call SetFilePointer correctly for 64 bit file access.  Handle
errors from SetFilePointer.
* fhandler.h (class fhandler_base): Drop append_mode status flag.
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Handle
seeking correctly for 64 bit file access.

17 years ago * dumper.cc (dumper::prepare_core_dump): Record a phdr for each section.
Corinna Vinschen [Tue, 29 May 2007 08:08:06 +0000 (08:08 +0000)]
* dumper.cc (dumper::prepare_core_dump): Record a phdr for each section.

17 years ago * cygpath.cc (do_options): Allow outputflag combined with other
Corinna Vinschen [Tue, 29 May 2007 07:54:45 +0000 (07:54 +0000)]
* cygpath.cc (do_options): Allow outputflag combined with other
basic flags.  Only check options_from_file_flag if reading options
from command line.
(main): Check for NULL argz vector.  Don't free argz vector prematurely.
Don't force flag combination in !options_from_file_flag case.

17 years ago * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
Corinna Vinschen [Tue, 29 May 2007 07:49:14 +0000 (07:49 +0000)]
* libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
argument.
* libc/argz/argz_append.c (argz_append): Handle empty buf argument.
* libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
on empty input strings.
* libc/argz/argz_extract.c (argz_extract): Check argz_len before
looping through argz.
* libc/argz/argz_stringify.c (argz_stringify): Ditto.

17 years ago2007-05-27 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 28 May 2007 06:35:11 +0000 (06:35 +0000)]
2007-05-27  Paolo Bonzini  <bonzini@gnu.org>

* confsubdir.m4: Move here from newlib.

17 years ago* libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
Eric Blake [Sun, 27 May 2007 14:19:15 +0000 (14:19 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
handling %p.

17 years ago2007-05-25 Andreas Tobler <a.tobler@schweiz.org>
Eric Christopher [Fri, 25 May 2007 19:56:24 +0000 (19:56 +0000)]
2007-05-25  Andreas Tobler  <a.tobler@schweiz.org>

        * ltmain.sh: Fix Darwin verstring, remove ${wl}.

17 years ago * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
Eric Blake [Fri, 25 May 2007 17:05:09 +0000 (17:05 +0000)]
* libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.

17 years ago * ltmain.sh: Update from GCC.
Steve Ellcey [Thu, 24 May 2007 17:33:42 +0000 (17:33 +0000)]
* ltmain.sh: Update from GCC.
* libtool.m4: Update from GCC.
* ltsugar.m4: New. Update from GCC.
* ltversion.m4: New. Update from GCC.
* ltoptions.m4: New. Update from GCC.
* ltconfig: Remove.
* ltcf-c.sh: Remove.
* ltcf-cxx.sh: Remove.
* ltcf-gcj.sh: Remove.
* src-release: Update with new libtool file list.
* newlib/*/configure.in: invoke _LD_DECL_SED.
* newlib/*/Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
* Regenerate subdirectories

17 years ago* libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
Eric Blake [Thu, 24 May 2007 04:25:18 +0000 (04:25 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
sizeof(void*) is 8 but sizeof(long) is 4.
* libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise.  Fix %i scanning
of "-0x".  Support "-nan" and "inf" for %e.  Audit usage of ungetc
to fix reentrancy and bug on encoding error in multibyte locales.
Always return EOF on read error.

17 years ago2007-05-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 24 May 2007 01:03:54 +0000 (01:03 +0000)]
2007-05-23  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/secur32.def (InitSecurityInterfaceA, InitSecurityInterfaceW): Define.

        Thanks to Jim Marshall (jim dot marshall at wbemsolutions dot com) for
        supplying the information.

17 years ago2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 23 May 2007 21:41:17 +0000 (21:41 +0000)]
2007-05-23 Patrick Mansfield <patmans@us.ibm.com>

* libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
prototype.
* libc/machine/spu/fclose.c: Use the __send_to_ppe return value
instead of the slot 0 value, remove any now unused variables, and
for some cases, now store the result in an int vs int*.
* libc/machine/spu/feof.c: Ditto.
* libc/machine/spu/ferror.c: Ditto.
* libc/machine/spu/fflush.c: Ditto.
* libc/machine/spu/fgetc.c: Ditto.
* libc/machine/spu/fgetpos.c: Ditto.
* libc/machine/spu/fgets.c: Ditto.
* libc/machine/spu/fileno.c: Ditto.
* libc/machine/spu/fopen.c: Ditto.
* libc/machine/spu/fprintf.c: Ditto.
* libc/machine/spu/fputc.c: Ditto.
* libc/machine/spu/fputs.c: Ditto.
* libc/machine/spu/fread.c: Ditto.
* libc/machine/spu/freopen.c: Ditto.
* libc/machine/spu/fscanf.c: Ditto.
* libc/machine/spu/fseek.c: Ditto.
* libc/machine/spu/fsetpos.c: Ditto.
* libc/machine/spu/ftell.c: Ditto.
* libc/machine/spu/fwrite.c: Ditto.
* libc/machine/spu/getc.c: Ditto.
* libc/machine/spu/getchar.c: Ditto.
* libc/machine/spu/gets.c: Ditto.
* libc/machine/spu/printf.c: Ditto.
* libc/machine/spu/putc.c: Ditto.
* libc/machine/spu/putchar.c: Ditto.
* libc/machine/spu/puts.c: Ditto.
* libc/machine/spu/remove.c: Ditto.
* libc/machine/spu/rename.c: Ditto.
* libc/machine/spu/scanf.c: Ditto.
* libc/machine/spu/setvbuf.c: Ditto.
* libc/machine/spu/snprintf.c: Ditto.
* libc/machine/spu/sprintf.c: Ditto.
* libc/machine/spu/sscanf.c: Ditto.
* libc/machine/spu/tmpfile.c: Ditto.
* libc/machine/spu/tmpnam.c: Ditto.
* libc/machine/spu/ungetc.c: Ditto.
* libc/machine/spu/vfprintf.c: Ditto.
* libc/machine/spu/vfscanf.c: Ditto.
* libc/machine/spu/vprintf.c: Ditto.
* libc/machine/spu/vscanf.c: Ditto.
* libc/machine/spu/vsnprintf.c: Ditto.
* libc/machine/spu/vsprintf.c: Ditto.
* libc/machine/spu/vsscanf.c: Ditto.

17 years ago2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 23 May 2007 21:39:54 +0000 (21:39 +0000)]
2007-05-23 Patrick Mansfield <patmans@us.ibm.com>

        * spu/syscalls.c: Change __send_to_ppe to return the result stored
        in stored in slot 0 of the data, rather than have each assisted
        call retrieve the value.
        * spu/jsre.h: Remove the now unused syscall_out_t.
        * spu/access.c: Use the __send_to_ppe result instead of the slot 0
        value, remove unused syscall_out_t variable.
        * spu/close.c: Ditto.
        * spu/dup.c: Ditto.
        * spu/fstat.c: Ditto.
        * spu/ftruncate.c: Ditto.
        * spu/gettimeofday.c: Ditto.
        * spu/lseek.c: Ditto.
        * spu/open.c: Ditto.
        * spu/read.c: Ditto.
        * spu/stat.c: Ditto.
        * spu/unlink.c: Ditto.
        * spu/write.c: Ditto.

17 years ago* libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
Eric Blake [Wed, 23 May 2007 20:36:28 +0000 (20:36 +0000)]
* libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
Avoid warning when !FLOATING_POINT.
* libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
slightly.

17 years ago * cygpath.cc: Include argz.h.
Corinna Vinschen [Wed, 23 May 2007 16:45:03 +0000 (16:45 +0000)]
* cygpath.cc: Include argz.h.
(options_from_file_flag): Move from main to global static variable.
(mode_flag): Ditto.
(do_sysfolders): Rename from dowin and accommodate throughout.
Don't exit from here.
(do_pathconv): Rename from doit and accommodate throughout.
(print_version): Change copyright.
(do_options): New function, centralizing option processing.
Rework checking options for correctness.
(action): New function, centralizing calling worker functions.
(main): Simplify.  Move option processing to do_options.  Move calling
worker functions to action.  Rework getting arguments from files.

17 years ago * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
Corinna Vinschen [Wed, 23 May 2007 16:36:23 +0000 (16:36 +0000)]
* libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
to zero.
* libc/include/argz.h: Guard against multiple inclusion.  Guard for
use with C++.

17 years ago * m68k/fido.sc (.data): Move .jcr to .text. Catch .got.plt
Kazu Hirata [Wed, 23 May 2007 16:22:27 +0000 (16:22 +0000)]
* m68k/fido.sc (.data): Move .jcr to .text.  Catch .got.plt
and .got.

17 years ago2007-05-23 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 23 May 2007 14:27:05 +0000 (14:27 +0000)]
2007-05-23  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/32009
* mh-ppc-darwin: Temporarily disable.

17 years ago * path.cc (cwdstuff::set): Revert useless acquire check.
Corinna Vinschen [Tue, 22 May 2007 13:03:43 +0000 (13:03 +0000)]
* path.cc (cwdstuff::set): Revert useless acquire check.

17 years ago * path.cc (cwdstuff::set): Avoid double aquiring of cwd_lock.
Corinna Vinschen [Tue, 22 May 2007 12:43:31 +0000 (12:43 +0000)]
* path.cc (cwdstuff::set): Avoid double aquiring of cwd_lock.
Open directory with inheriting enabled.

17 years ago * fhandler_floppy.cc (fhandler_dev_floppy::lseek): Don't invalidate
Corinna Vinschen [Tue, 22 May 2007 07:16:19 +0000 (07:16 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::lseek): Don't invalidate
devbuf if new position is within buffered range.

17 years agoMove entry for modification to dwarf2.h (for adding ability to report
Caroline Tice [Mon, 21 May 2007 16:35:11 +0000 (16:35 +0000)]
Move entry for modification to dwarf2.h (for adding ability to report
when a variable's value is uninitialized) to the correct ChangeLog file.

17 years agomoved to the attic to please handling of src-support module
Paolo Bonzini [Mon, 21 May 2007 16:07:45 +0000 (16:07 +0000)]
moved to the attic to please handling of src-support module

17 years agoadd this momentarily, will move them to the attic soon
Paolo Bonzini [Mon, 21 May 2007 16:05:57 +0000 (16:05 +0000)]
add this momentarily, will move them to the attic soon

17 years ago * include/search.h (hsearch_r): Provide declaration.
Corinna Vinschen [Mon, 21 May 2007 13:34:12 +0000 (13:34 +0000)]
* include/search.h (hsearch_r): Provide declaration.

17 years ago * fhandler_floppy.cc (fhandler_dev_floppy::lseek): Set buf size to
Corinna Vinschen [Mon, 21 May 2007 09:11:27 +0000 (09:11 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::lseek): Set buf size to
sector size.  Simplify non-sector aligned case.  Handle errors from
raw_read.

17 years ago2007-05-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 19 May 2007 23:52:44 +0000 (23:52 +0000)]
2007-05-19  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/shellapi.h (NIN_POPUPOPEN, NIN_POPUPCLOSE): Define.

17 years agoAdd ability to report when a variable's value is uninitialized,
Caroline Tice [Fri, 18 May 2007 19:42:42 +0000 (19:42 +0000)]
Add ability to report when a variable's value is uninitialized,
based on information provided by the compiler.  Also add new
DWARF OP, DW_OP_GNU_uninit, for this purpose.

17 years ago* libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
Eric Blake [Fri, 18 May 2007 14:33:30 +0000 (14:33 +0000)]
* libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
compilers.
* libc/stdio/vfscanf.c: Likewise.

17 years ago2007-05-17 Cary R. <cygcary <at> yahoo.com>
Jeff Johnston [Thu, 17 May 2007 21:52:11 +0000 (21:52 +0000)]
2007-05-17  Cary R.  <cygcary <at> yahoo.com>

        * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
        (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
        * libm/math/wf_atan2.c: Ditto.

17 years ago2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
Jeff Johnston [Thu, 17 May 2007 18:50:57 +0000 (18:50 +0000)]
2007-05-17  Yaakov Selkowitz  <yselkowitz <at> users.sourceforge.net>

        * libm/common/Makefile.am: Add support for exp10, exp10f,
        pow10, and pow10f functions.
        * libm/common/Makefile.in: Regenerated.
        * libm/common/s_pow10.c: New file.
        * libm/common/sf_pow10.c: Ditto.
        * libm/common/s_exp10.c: Ditto.
        * libm/common/sf_exp10.c: Ditto.
        * libc/include/math.h [!pow10]: New pow10 prototype.
        [!pow10f]: New pow10f prototype.
        [!exp10]: New exp10 prototype.
        [!exp10f]: New exp10f prototype.

17 years ago* stdio/tmpfile.c: Include <sys/stat.h>.
Eric Blake [Thu, 17 May 2007 12:10:29 +0000 (12:10 +0000)]
* stdio/tmpfile.c: Include <sys/stat.h>.
* stdio64/tmpfile64.c: Ditto.

17 years agoClose security hole in tmpfile.
Eric Blake [Wed, 16 May 2007 20:06:08 +0000 (20:06 +0000)]
Close security hole in tmpfile.
* libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
generation and opening the fd.
* libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.

17 years ago * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
Eric Blake [Wed, 16 May 2007 19:59:40 +0000 (19:59 +0000)]
* libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
(MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
required by POSIX.
* libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
avoid clash with <math.h>.

17 years ago* libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
Eric Blake [Wed, 16 May 2007 19:31:08 +0000 (19:31 +0000)]
* libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
* libc/search/hash.c (__hash_open): Likewise.

17 years ago2007-05-16 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 16 May 2007 09:03:22 +0000 (09:03 +0000)]
2007-05-16  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (bootstrap_stage): Replace stage_make_flags with
stage_cflags.
* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS, POSTSTAGE1_FLAGS_TO_PASS):
Remove CFLAGS/LIBCFLAGS.
(configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+]): Pass it from [+stage_cflags+].
* Makefile.in: Regenerate.

17 years ago * fhandler_socket.cc (adjust_socket_file_mode): New inline function.
Corinna Vinschen [Tue, 15 May 2007 16:33:20 +0000 (16:33 +0000)]
* fhandler_socket.cc (adjust_socket_file_mode): New inline function.
(fhandler_socket::fchmod): Squeeze mode through adjust_socket_file_mode
before using it.
(fhandler_socket::bind): Ditto.

17 years ago* path.cc (fs_info::update): Set and use is_cdrom.
Christopher Faylor [Tue, 15 May 2007 01:27:30 +0000 (01:27 +0000)]
* path.cc (fs_info::update): Set and use is_cdrom.
* path.cc (fillout_mntent): Set ret.mnt_type to something more Linux-like,
based on data from fs_info.  Move "system" and "user" strings from mnt_type to
mnt_opts.
* path.h (struct fs_info): Add is_cdrom field.
* path.h (fs_info::clear): Initialize is_cdrom.
* path.h (struct fs_info): Add IMPLEMENT_STATUS_FLAG(bool,is_cdrom).
* path.h (class path_conv): Add fs_is_cdrom method.  Add missing fs_is_netapp
method.

17 years ago* cygwin.din (asnprintf, dprint, _Exit, vasnprintf, vdprintf): Export.
Christopher Faylor [Tue, 15 May 2007 01:23:30 +0000 (01:23 +0000)]
* cygwin.din (asnprintf, dprint, _Exit, vasnprintf, vdprintf): Export.
* include/cygwin/version.h: Bump API minor number.

17 years agoReduce stack size of *printf.
Eric Blake [Mon, 14 May 2007 19:42:47 +0000 (19:42 +0000)]
Reduce stack size of *printf.
* libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
in %f.  Avoid malloc when possible for %S.
(BUF): Improve stack locality by using smaller size.
(MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
(exponent): Use smaller stack size.

17 years agoinclude/elf/
Alan Modra [Sat, 12 May 2007 06:45:32 +0000 (06:45 +0000)]
include/elf/
* spu.h (R_SPU_ADDR16X): Define.
(R_SPU_PPU32, R_SPU_PPU64): Renumber.
bfd/
* elf32-spu.c (elf_howto_table): Add howto for R_SPU_ADDR16X.

17 years agoMinimize printf/scanf size on platforms that don't need C99.
Eric Blake [Fri, 11 May 2007 20:09:00 +0000 (20:09 +0000)]
Minimize printf/scanf size on platforms that don't need C99.
* acconfig.h (_WANT_IO_C99_FORMATS): New macro.
* newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
* configure.in (newlib-io-c99-formats): New configure option.
(_WANT_IO_C99_FORMATS): Define appropriately.
* configure.host (*-linux*, cygwin): Default c99-formats to yes.
* libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
* libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
Likewise.
* configure: Regenerate.

17 years ago* libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
Eric Blake [Fri, 11 May 2007 13:09:44 +0000 (13:09 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
(get_arg): Support '%a' and '%A'.

17 years agoinclude/elf/
Alan Modra [Fri, 11 May 2007 03:10:10 +0000 (03:10 +0000)]
include/elf/
* spu.h (R_SPU_PPU32, R_SPU_PPU64): Define.
bfd/
* reloc.c (BFD_RELOC_SPU_PPU32, BFD_RELOC_SPU_PPU64): Define.
* elf-bfd.h (struct elf_backend_data): Change return type of
elf_backend_relocate_section to int.
* elf32-spu.c (elf_howto_table): Add howtos for R_SPU_PPU32 and
R_SPU_PPU64.
(spu_elf_bfd_to_reloc_type): Convert new relocs.
(spu_elf_count_relocs): New function.
(elf_backend_count_relocs): Define.
(spu_elf_relocate_section): Arrange to emit R_SPU_PPU32 and
R_SPU_PPU64 relocs.
* elflink.c (elf_link_input_bfd): Emit relocs if relocate_section
returns 2.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
gas/
* config/tc-spu.c (md_pseudo_table): Add int, long, quad.  Call
spu_cons for word.
(md_assemble): Tidy use of insn.flag.
(get_imm): Likewise.  Handle uppercase input too.
(spu_cons): New function.
* config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs.
(TC_FORCE_RELOCATION): Don't resolve them either.
binutils/
* embedspu.sh (find_prog): Prefer prog in same dir as embedspu
over one found on the users path.
(main): Generate .reloc for each R_SPU_PPU* reloc.

17 years agoAllow zero size with non-null buf in *asnprintf.
Eric Blake [Wed, 9 May 2007 19:27:30 +0000 (19:27 +0000)]
Allow zero size with non-null buf in *asnprintf.
* libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
user's buf.
* libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
* libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
* libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.

17 years ago* libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
Eric Blake [Tue, 8 May 2007 03:59:13 +0000 (03:59 +0000)]
* libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.

17 years ago * include/stdint.h (intptr_t): Fix typo.
Danny Smith [Tue, 8 May 2007 03:19:28 +0000 (03:19 +0000)]
* include/stdint.h (intptr_t): Fix typo.
Thanks to Charles Wilson for report.

17 years agomerge from gcc
DJ Delorie [Tue, 8 May 2007 01:29:28 +0000 (01:29 +0000)]
merge from gcc

17 years ago * include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
Danny Smith [Mon, 7 May 2007 23:42:27 +0000 (23:42 +0000)]
* include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
 Condition on _WIN64.
(uintptr_t): Protect with _UINTPTR_T_DEFINED.  Condition on _WIN64.
(INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Condition on _WIN64.
(PTRDIFF_MIN): Define as INTPTR_MIN.
(PTRDIFF_MAX): Define as INTPTR_MAX.
(SIG_ATOMIC_MIN): Define as INTPTR_MIN.
(SIG_ATOMIC_MAX): Define as INTPTR_MAX.

17 years ago2007-05-07 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Mon, 7 May 2007 22:22:05 +0000 (22:22 +0000)]
2007-05-07  Patrick Mansfield  <patmans@us.ibm.com>

        * spu/open.c: Unconditionally set the "mode" to fix a bug where
        mode was not properly set.

17 years ago Add support for asnprintf, and improve *printf documentation.
Eric Blake [Fri, 4 May 2007 02:55:16 +0000 (02:55 +0000)]
Add support for asnprintf, and improve *printf documentation.
* libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
(ELIX_2_SOURCES): ...to this.
(ELIX_4_SOURCES): Add new variable.  Build asnprintf.
(GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
(CHEWOUT_FILES): Include diprintf in documentation.
* libc/stdio/Makefile.in: Regenerate.
* libc/stdio/diprintf.c: Improve documentation.
* libc/stdio/dprintf.c: Likewise.
* libc/stdio/siprintf.c: Likewise.
* libc/stdio/sprintf.c: Likewise.
* libc/stdio/vfprintf.c: Likewise.
* libc/stdio/viprintf.c: Likewise.
* libc/stdio/vsniprintf.c: Consolidate documentation.
* libc/stdio/asiprintf.c: Refer to documentation.
* libc/stdio/asprintf.c: Likewise.
* libc/stdio/fiprintf.c: Likewise.
* libc/stdio/fprintf.c: Likewise.
* libc/stdio/iprintf.c: Likewise.
* libc/stdio/printf.c: Likewise.
* libc/stdio/sniprintf.c: Likewise.
* libc/stdio/vdiprintf.c: Likewise.
* libc/stdio/vdprintf.c: Likewise.
* libc/stdio/vsiprintf.c: Likewise.
* libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
* libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
* libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
* libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
file.
* libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
* libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
typical case.
* libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
* libc/include/stdio.h: Add prototypes for new functions; sort
existing functions.

17 years ago * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
Kazu Hirata [Thu, 3 May 2007 19:45:26 +0000 (19:45 +0000)]
* libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
and memset.S.
* libc/machine/m68k/Makefile.in: Regenerate.
* libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
* libc/machine/m68k/memset.S: Likewise.

17 years ago * m68k/fido-_exit.c (_exit): Use stop #0x700.
Kazu Hirata [Thu, 3 May 2007 01:19:45 +0000 (01:19 +0000)]
* m68k/fido-_exit.c (_exit): Use stop #0x700.

17 years agoinclude/elf/
Alan Modra [Wed, 2 May 2007 13:44:36 +0000 (13:44 +0000)]
include/elf/
* internal.h (ELF_IS_SECTION_IN_SEGMENT): Check both file offset
and vma for appropriate sections.
bfd/
* elf.c (assign_file_positions_for_load_sections): Set sh_offset
here.  Set sh_type to SHT_NOBITS if we won't be allocating
file space.  Don't bump p_memsz for non-alloc sections.  Adjust
section-in-segment check.
(assign_file_positions_for_non_load_sections): Don't set sh_offset
here for sections that have already been handled above.

17 years agogas/
Alan Modra [Wed, 2 May 2007 11:24:17 +0000 (11:24 +0000)]
gas/
PR 4448
* config/tc-ppc.c (ppc_insert_operand): Don't increase min for
PPC_OPERAND_PLUS1.
include/opcode/
* ppc.h (PPC_OPERAND_PLUS1): Update comment.

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