]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
22 years ago * cygpath.cc (doit): Empty file ignored using option -i.
Corinna Vinschen [Tue, 15 Jan 2002 14:07:42 +0000 (14:07 +0000)]
* cygpath.cc (doit): Empty file ignored using option -i.

22 years ago*** empty log message ***
Mark Salter [Tue, 15 Jan 2002 13:37:33 +0000 (13:37 +0000)]
*** empty log message ***

22 years agoRename stub app to eva_stub.elf and add it to install list.
Mark Salter [Tue, 15 Jan 2002 13:36:54 +0000 (13:36 +0000)]
Rename stub app to eva_stub.elf and add it to install list.

22 years ago * mkpasswd.c (print_win_error): Add a new function.
Corinna Vinschen [Tue, 15 Jan 2002 13:10:45 +0000 (13:10 +0000)]
* mkpasswd.c (print_win_error): Add a new function.
(enum_users): Use print_win_error.
(enum_local_groups): Ditto.
(main): Ditto.

22 years ago * include/winnt.h (FILE_ATTRIBUTE_ENCRYPTED): Correct constant.
Corinna Vinschen [Mon, 14 Jan 2002 23:30:14 +0000 (23:30 +0000)]
* include/winnt.h (FILE_ATTRIBUTE_ENCRYPTED): Correct constant.
(FILE_ATTRIBUTE_DEVICE): Add define.

22 years ago * dir.cc: Use INVALID_FILE_ATTRIBUTES instead of "(DWORD) -1"
Corinna Vinschen [Mon, 14 Jan 2002 20:39:59 +0000 (20:39 +0000)]
* dir.cc: Use INVALID_FILE_ATTRIBUTES instead of "(DWORD) -1"
for file attributes throughout.
* fhandler.cc: Ditto.
* fhandler_disk_file.cc: Ditto.
* path.cc: Ditto.
* path.h: Ditto.
* syscalls.cc: Ditto.
* times.cc (utimes): Use path_conv::isdir() instead of explicit
GetFileAttributes() call.

22 years ago * include/winnt.h: Add INVALID_FILE_ATTRIBUTES.
Corinna Vinschen [Mon, 14 Jan 2002 20:15:32 +0000 (20:15 +0000)]
* include/winnt.h: Add INVALID_FILE_ATTRIBUTES.

22 years agoAdd copyright stuff
Christopher Faylor [Sun, 13 Jan 2002 20:03:03 +0000 (20:03 +0000)]
Add copyright stuff

22 years ago* dcrt0.cc (multiple_cygwin_problem): Clarify logic and make CYGWIN_MISMATCH_OK
Christopher Faylor [Sun, 13 Jan 2002 16:55:32 +0000 (16:55 +0000)]
* dcrt0.cc (multiple_cygwin_problem): Clarify logic and make CYGWIN_MISMATCH_OK
more powerful.

22 years ago* overview.sgml: Fix Red Hat cygwin contract link.
Christopher Faylor [Sat, 12 Jan 2002 21:36:44 +0000 (21:36 +0000)]
* overview.sgml: Fix Red Hat cygwin contract link.
* what.texinfo: Ditto.

22 years ago2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 11 Jan 2002 22:06:09 +0000 (22:06 +0000)]
2002-01-11 Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
        reads blanks from the input file to break if EOF reached
        rather than end processing.

22 years ago2002-01-11 Ralf Habacker <Ralf.Habacker@freenet.de>
Robert Collins [Fri, 11 Jan 2002 10:23:20 +0000 (10:23 +0000)]
2002-01-11 Ralf Habacker  <Ralf.Habacker@freenet.de>

        * include/ntsecapi.h:  Fixed missing void parameter type in some prototypes.
        * include/objbase.h: Ditto.
        * include/rapi.h: Ditto.
        * include/rpc.h: Ditto.
        * include/rpcdce.h: Ditto.
        * include/rpcdcep.h: Ditto.
        * include/rpcndr.h: Ditto.
        * include/rpcnsip.h: Ditto.
        * include/rpcproxy.h: Ditto.
        * include/windef.h: Ditto.

22 years ago2001-12-30 Guido Serassio <serassio@libero.it>
Robert Collins [Fri, 11 Jan 2002 10:17:27 +0000 (10:17 +0000)]
2001-12-30  Guido Serassio <serassio@libero.it>

       * include/winsvc.h: Add EnumServiceStatusEx(),
       QueryServiceStatusEx()
       & RegisterServiceCtrlHandlerEx()

22 years agoAdd ia64-hpux target. LD and GDB are not currently supported.
Nick Clifton [Fri, 11 Jan 2002 09:29:18 +0000 (09:29 +0000)]
Add ia64-hpux target.  LD and GDB are not currently supported.

22 years ago* exceptions.cc (sig_handle): Accept a second argument indicating whether the
Christopher Faylor [Fri, 11 Jan 2002 02:24:06 +0000 (02:24 +0000)]
* exceptions.cc (sig_handle): Accept a second argument indicating whether the
signal came from this process or not.
* sigproc.h: Reflect sig_handle arg change.
* signal.cc (kill_pgrp): Add sigframe info.
(abort): New function.  Eliminates newlib function of same name.
* sigproc.cc (wait_sig): Pass "signal from this process" value as arg 2.

22 years ago * syscalls.cc (pathconf): Guard _PC_PATH_MAX branch against invalid
Corinna Vinschen [Thu, 10 Jan 2002 13:24:28 +0000 (13:24 +0000)]
* syscalls.cc (pathconf): Guard _PC_PATH_MAX branch against invalid
file parameter.

22 years ago* exceptions.cc (early_stuff_init): Rename from misnamed set_console_handler.
Christopher Faylor [Thu, 10 Jan 2002 03:21:27 +0000 (03:21 +0000)]
* exceptions.cc (early_stuff_init): Rename from misnamed set_console_handler.
(ctrl_c_handler): Attempt to work around potential signal duplication during
process startup.
(sig_handle): Ignore SIGINT when we're just an "exec stub".
* spawn.cc (spawn_guts): Store pid of spawned process in global for use by
ctrl_c_handler.
* dcrt0.cc (dll_crt0_1): Call renamed initialization function.
* winsup.h: Reflect function name change.

22 years ago * net.cc (cygwin_accept): Set sun_path for newly connected socket.
Corinna Vinschen [Wed, 9 Jan 2002 20:57:55 +0000 (20:57 +0000)]
* net.cc (cygwin_accept): Set sun_path for newly connected socket.

22 years agoinclude/elf:
Jason Thorpe [Wed, 9 Jan 2002 18:59:10 +0000 (18:59 +0000)]
include/elf:
* common.h: Update copyright years.
(NT_NETBSDCORE_PROCINFO): Define.
(NT_NETBSDCORE_FIRSTMACH): Define.

bfd:
* elf.c: Update copyright years.
(elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO
and NT_NETBSDCORE_FIRSTMACH.  Improve a comment.

bintuils:
* readelf.c (get_netbsd_elfcore_note_type): Use
NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.

22 years ago* Makefile.in: Add uninstall target.
Christopher Faylor [Tue, 8 Jan 2002 04:51:01 +0000 (04:51 +0000)]
* Makefile.in: Add uninstall target.

22 years ago* sigproc.cc (getsem): Clean up debugging output.
Christopher Faylor [Mon, 7 Jan 2002 22:18:36 +0000 (22:18 +0000)]
* sigproc.cc (getsem): Clean up debugging output.

22 years ago2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 7 Jan 2002 19:44:59 +0000 (19:44 +0000)]
2002-01-07  Jeff Johnston  <jjohnstn@redhat.com>

        * Change reference to Cygnus Solutions to be Red Hat.

22 years ago2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 7 Jan 2002 19:40:40 +0000 (19:40 +0000)]
2002-01-07  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update generic copyright date.

22 years ago2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 7 Jan 2002 19:37:42 +0000 (19:37 +0000)]
2002-01-07 Jeff Johnston  <jjohnstn@redhat.com>

        * MAINTAINERS: Change e-mail addresses to refer to redhat domain.

22 years ago2002-01-07 Alan Matsuoka <alanm@redhat.com>
Jeff Johnston [Mon, 7 Jan 2002 19:33:23 +0000 (19:33 +0000)]
2002-01-07 Alan Matsuoka <alanm@redhat.com>

        * libc/include/machine/ieeefp.h: Configure d10v doubles to
        be 32 bits if __DOUBLE__ == 32  otherwise doubles are 64 bits.
        libc/include/sys/config.h: Ditto.

22 years agoARM support added to libgloss
Mark Salter [Mon, 7 Jan 2002 18:14:04 +0000 (18:14 +0000)]
ARM support added to libgloss

22 years agoAdd ARM support
Mark Salter [Mon, 7 Jan 2002 18:12:32 +0000 (18:12 +0000)]
Add ARM support

22 years ago* sigproc.cc (getsem): Set errno when unable to create own semaphore.
Christopher Faylor [Mon, 7 Jan 2002 16:47:12 +0000 (16:47 +0000)]
* sigproc.cc (getsem): Set errno when unable to create own semaphore.
Reorganize to make clearer that error should only come from initial creation of
process semaphore.

22 years ago* dtable.cc (dtable::init_std_file_from_handle): Add some defensive code to
Christopher Faylor [Sun, 6 Jan 2002 17:29:41 +0000 (17:29 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Add some defensive code to
invalid handle case.

22 years ago * ia64.h (ELF_STRING_ia64_unwind_hdr): New Macro for HP-UX.
Alan Modra [Sun, 6 Jan 2002 11:12:39 +0000 (11:12 +0000)]
* ia64.h (ELF_STRING_ia64_unwind_hdr): New Macro for HP-UX.
(SHT_IA_64_HP_OPT_ANOT): Ditto
(PT_IA_64_HP_OPT_ANOT): Ditto
(PT_IA_64_HP_HSL_ANOT): Ditto
(PT_IA_64_HP_STACK): Ditto
(SHN_IA_64_ANSI_COMMON): Ditto

22 years ago * ioctl.cc (ioctl): Make third argument optional.
Corinna Vinschen [Sun, 6 Jan 2002 09:28:13 +0000 (09:28 +0000)]
* ioctl.cc (ioctl): Make third argument optional.
* include/sys/ioctl.h: Ditto in declaration.
* dtable.cc (dtable::init_std_file_from_handle): Revert previous
bogus patch.
* window.cc (WndProc): Raise SIGURG instead of SIGIO in case of FD_OOB
message.

22 years ago* dir.cc (opendir): Guarantee release of alloced fhandler structure on error.
Christopher Faylor [Sun, 6 Jan 2002 03:32:32 +0000 (03:32 +0000)]
* dir.cc (opendir): Guarantee release of alloced fhandler structure on error.

22 years ago exceptions.cc (sig_handle): Set default action for SIGURG to SIG_IGN.
Corinna Vinschen [Sat, 5 Jan 2002 22:25:34 +0000 (22:25 +0000)]
exceptions.cc (sig_handle): Set default action for SIGURG to SIG_IGN.

22 years ago * dtable.cc (dtable::init_std_file_from_handle): Don't treat NULL
Corinna Vinschen [Sat, 5 Jan 2002 18:42:52 +0000 (18:42 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Don't treat NULL
handle as errorneous.

22 years ago* cygmagic: Change logic for equality test.
Christopher Faylor [Fri, 4 Jan 2002 23:29:58 +0000 (23:29 +0000)]
* cygmagic: Change logic for equality test.

22 years ago* dir.cc (opendir): Don't attempt to call sub-opendir if ENOENT.
Christopher Faylor [Fri, 4 Jan 2002 19:06:01 +0000 (19:06 +0000)]
* dir.cc (opendir): Don't attempt to call sub-opendir if ENOENT.

22 years ago * net.cc: Replace usage of AF_UNIX by Posix compliant AF_LOCAL
Corinna Vinschen [Fri, 4 Jan 2002 16:56:53 +0000 (16:56 +0000)]
* net.cc: Replace usage of AF_UNIX by Posix compliant AF_LOCAL
throughout.
(socketpair): Explicitly allow SOCK_STREAM and SOCK_DGRAM socket types
in families AF_UNIX and AF_LOCAL.  Explicitly allow PF_UNSPEC, PF_LOCAL
and PF_INET protocols.  Return error otherwise.  Implement datagram
socketpairs.

22 years ago[gas/ChangeLog]
Matthew Green [Thu, 3 Jan 2002 02:07:19 +0000 (02:07 +0000)]
[gas/ChangeLog]
* config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.

[include/opcode/ChangeLog]
* ppc.h (PPC_OPCODE_BOOKE): BookE is not Motorola specific.
(PPC_OPCODE_BOOKE64): Likewise.

22 years ago * MAINTAINERS: Update URL for config.* scripts.
Ben Elliston [Wed, 2 Jan 2002 21:44:52 +0000 (21:44 +0000)]
* MAINTAINERS: Update URL for config.* scripts.

22 years ago* speclib: Remove temp files automatically.
Christopher Faylor [Wed, 2 Jan 2002 00:06:35 +0000 (00:06 +0000)]
* speclib: Remove temp files automatically.

22 years ago* Makefile.in: Duh. Actually use bzip2 to create the tarball. Don't just
Christopher Faylor [Tue, 1 Jan 2002 20:28:29 +0000 (20:28 +0000)]
* Makefile.in: Duh.  Actually use bzip2 to create the tarball.  Don't just
change the name.

22 years ago* Makefile.in: Make .bz2 tarball.
Christopher Faylor [Tue, 1 Jan 2002 17:10:13 +0000 (17:10 +0000)]
* Makefile.in: Make .bz2 tarball.

22 years agorestore missing entry
Christopher Faylor [Tue, 1 Jan 2002 16:49:52 +0000 (16:49 +0000)]
restore missing entry

22 years ago * fhandler.h (fhandler_socket::sun_path): New private member.
Corinna Vinschen [Tue, 1 Jan 2002 16:25:31 +0000 (16:25 +0000)]
* fhandler.h (fhandler_socket::sun_path): New private member.
(fhandler_socket::set_sun_path): New method.
(fhandler_socket::get_sun_path): Ditto.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize
sun_path to NULL.
(fhandler_socket::~fhandler_socket): Free sun_path if needed.
(fhandler_socket::set_sun_path): New method.
* net.cc (cygwin_bind): Set sun_path to path of local socket file.
(cygwin_getsockname): Add code to return correct sockaddr for unix
domain sockets.

22 years ago * hppa.h (call, ret): Move to end of table.
Jeff Law [Mon, 31 Dec 2001 23:43:03 +0000 (23:43 +0000)]
    * hppa.h (call, ret): Move to end of table.
        (addb, addib): PA2.0 variants should have been PA2.0W.
        (ldw, ldh, ldb, stw, sth, stb, stwa): Reorder to keep disassembler
        happy.
        (fldw, fldd, fstw, fstd, bb): Likewise.
        (short loads/stores): Tweak format specifier slightly to keep
        disassembler happy.
        (indexed loads/stores): Likewise.
        (absolute loads/stores): Likewise.

22 years agoNuke
Christopher Faylor [Mon, 31 Dec 2001 23:24:10 +0000 (23:24 +0000)]
Nuke

22 years agoStrip path when installing library.
Christopher Faylor [Mon, 31 Dec 2001 06:24:15 +0000 (06:24 +0000)]
Strip path when installing library.

22 years agoFix for xcoff <bigaf> big archive support.
Tom Rix [Mon, 31 Dec 2001 04:06:14 +0000 (04:06 +0000)]
Fix for xcoff <bigaf> big archive support.

22 years ago* include/getopt.h: Fix define.
Christopher Faylor [Mon, 31 Dec 2001 04:00:07 +0000 (04:00 +0000)]
* include/getopt.h: Fix define.

22 years ago* speclib: New file.
Christopher Faylor [Mon, 31 Dec 2001 03:19:29 +0000 (03:19 +0000)]
* speclib: New file.
* Makefile.in: Create library versions of automode.o, textmode.o, and binmode.o
for easier use on command line.  Create libpthread.a, libm.a, and libc.a with
subsets of exports found in libcygwin.a.

22 years ago* cygmagic: Eliminate unneeded use of 'tr' and 'bc'.
Christopher Faylor [Sun, 30 Dec 2001 18:52:19 +0000 (18:52 +0000)]
* cygmagic: Eliminate unneeded use of 'tr' and 'bc'.

22 years ago * security.cc (open_local_policy): Use POLICY_EXECUTE instead of
Corinna Vinschen [Sun, 30 Dec 2001 17:38:24 +0000 (17:38 +0000)]
* security.cc (open_local_policy): Use POLICY_EXECUTE instead of
enumerating user rights.

22 years ago * security.cc (open_local_policy): Initialize lsa handle to NULL.
Corinna Vinschen [Sat, 29 Dec 2001 22:03:32 +0000 (22:03 +0000)]
* security.cc (open_local_policy): Initialize lsa handle to NULL.
Request only needed access rights in call to LsaOpenPolicy().
(create_token): Check for NULL lsa pointer.

22 years ago * cygwin.din: Add symbols for endutent(), getutent(), getutid(),
Corinna Vinschen [Fri, 28 Dec 2001 15:53:27 +0000 (15:53 +0000)]
* cygwin.din: Add symbols for endutent(), getutent(), getutid(),
getutline(), setutent() and utmpname().
* syscalls.cc (setutent): New function.
(endutent): Ditto.
(utmpname): Ditto.
(getutent): Ditto.
(getutid): Ditto.
(getutline): Ditto.
* include/cygwin/version.h: Bump API minor version.

22 years ago * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
Corinna Vinschen [Fri, 28 Dec 2001 15:43:24 +0000 (15:43 +0000)]
* libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.

22 years ago* cygmagic: Add define name to warning.
Christopher Faylor [Wed, 26 Dec 2001 21:35:16 +0000 (21:35 +0000)]
* cygmagic: Add define name to warning.
* dcrt0.cc (_dll_crt0): Check for changes in child_info size.
(multiple_cygwin_problem): Avoid "proc" errors when testing.  Just assume new
cygwin proc.
* shared_info.h (mount_info): Add 'cb' element for sanity checks.
(shared_info): Ditto.
* child_info.h (child_info): Add fhandler_union_size element for sanity
checking.
* shared.cc (open_shared): Detect shared region size mismatch between parent
and child.
(shared_info::initialize): Detect shared region size mismatch with expectation.
(memory_Init): Ditto.
* sigproc.cc (init_child_info): Correctly set cb in passed structure.
* shared.cc (open_shared):

22 years ago* include/getopt.h: Protect a declaratin.
Christopher Faylor [Wed, 26 Dec 2001 17:48:44 +0000 (17:48 +0000)]
* include/getopt.h: Protect a declaratin.

22 years ago* cygpath.cc (doit): Detect and warn about an empty path. Detect and warn
Christopher Faylor [Wed, 26 Dec 2001 17:46:12 +0000 (17:46 +0000)]
* cygpath.cc (doit): Detect and warn about an empty path.  Detect and warn
about errors converting a path.
(main): Set prog_name correctly -- don't leave an extra slash or backslash at
the beginning of it.

22 years agoRemove accenidentally left >>> marker
Robert Collins [Wed, 26 Dec 2001 12:48:12 +0000 (12:48 +0000)]
Remove accenidentally left >>> marker

22 years ago2001-12-26 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Wed, 26 Dec 2001 12:46:26 +0000 (12:46 +0000)]
2001-12-26  Robert Collins  <rbtcollins@hotmail.com>

        * thread.cc (pthread_cond::Signal): Use a separate flag for signal detection
        and broadcast semantics.
        (__pthread_cond_dowait): Ditto.
        * thread.h (pthread_cond): New flag for testing when a waiter has woken.

22 years agocomment
Christopher Faylor [Wed, 26 Dec 2001 06:18:41 +0000 (06:18 +0000)]
comment

22 years ago* Makefile.in: Quote arguments to shell scripts.
Christopher Faylor [Wed, 26 Dec 2001 05:02:07 +0000 (05:02 +0000)]
* Makefile.in: Quote arguments to shell scripts.
(clean): Remove new *_magic.h autogenerated files.

22 years ago* Makefile.in: Autogenerate some header files which provide magic numbers.
Christopher Faylor [Wed, 26 Dec 2001 04:53:34 +0000 (04:53 +0000)]
* Makefile.in: Autogenerate some header files which provide magic numbers.
Force dependencies for files which depend on autogenerated headers to ensure
that they are always built.
* child_info.h (child_info): Add new fields to accommodate new magic number
header stuff.
* dcrt0.cc: Rely on "child_info_magic.h" to ensure that correct child_info
magic numbers are used.
(dll_crt0_1): Temporarily remove _cygwin_testing_magic test.
(_dll_crt0): Do more testing on magic numbers from fork_info structure.  Call
"multiple_cygwin_problem" where appropriate.
(multiple_cygwin_problem): Rename from multiple_cygwin_die.  Issue a warning or
die, as appropriate based on cygwin version/magic number mismatch.
* pinfo.cc (pinfo::exit): Don't attempt to dereference `this' if it doesn't
exist.  This can happen when a fatal error occurs early in process
initialization.
* shared.cc: Rely on "shared_info_magic.h" to accommodate that new magic number
header stuff.
(shared_info::initialize): Use new magic number stuff, for shared region.
(memory_init): Ditto, for mount table.
* shared_info.h: Accomodate new magic number stuff for shared region and mount
table.
* sigproc.cc: Rely on "child_info_magic.h" to accommodate new magic number
header stuff.
(init_child_info): Initialize new fields in child_info) to accomodate magic
numbers.
* winsup.h: Rename multiple_cygwin_die to multiple_cygwin_problem.
* include/cygwin/version.h: Define macros for manipulating version magic.
* cygmagic: New shell script for generating magic numbers.

22 years agoIn newlib/:
Geoffrey Keating [Sat, 22 Dec 2001 22:47:58 +0000 (22:47 +0000)]
In newlib/:
2001-12-22  Geoffrey Keating  <geoffk@redhat.com>
    Catherine Moore  <clm@redhat.com>
    Richard Henderson  <rth@redhat.com>
    Corinna Vinschen  <vinschen@redhat.com>

* configure.host: Add support for xstormy16.
* libc/include/machine/ieeefp.h: Add support for xstormy16.
* libc/include/machine/setjmp.h: Add support for xstormy16.
* libc/include/sys/config.h: Add support for xstormy16.
* libc/machine/xstormy16/Makefile.am: New file.
* libc/machine/xstormy16/Makefile.in: New file.
* libc/machine/xstormy16/aclocal.m4: New file.
* libc/machine/xstormy16/configure: New file.
* libc/machine/xstormy16/configure.in: New file.
* libc/machine/xstormy16/setjmp.S: New file.

In libgloss/:
2001-12-22  Geoffrey Keating  <geoffk@redhat.com>
    Mark Salter  <msalter@redhat.com>
    Catherine Moore  <clm@redhat.com>
    Richard Henderson  <rth@redhat.com>

* configure.in: Add xstormy16.
* libnosys/configure.in: Add xstormy16.
* configure: Regenerated.
* libnosys/configure: Regenerated.
* xstormy16/Makefile.in: New file.
* xstormy16/close.c: New file.
* xstormy16/configure: New file.
* xstormy16/configure.in: New file.
* xstormy16/crt0.s: New file.
* xstormy16/crt0_stub.s: New file.
* xstormy16/crti.s: New file.
* xstormy16/crtn.s: New file.
* xstormy16/eva_app.c: New file.
* xstormy16/eva_app.ld: New file.
* xstormy16/eva_stub.ld: New file.
* xstormy16/fstat.c: New file.
* xstormy16/getpid.c: New file.
* xstormy16/kill.c: New file.
* xstormy16/lseek.c: New file.
* xstormy16/open.c: New file.
* xstormy16/sbrk.c: New file.
* xstormy16/sim_high.ld: New file.
* xstormy16/stat.c: New file.
* xstormy16/syscalls.S: New file.
* xstormy16/syscalls.m4: New file.
* xstormy16/unlink.c: New file.
* xstormy16/xstormy16_stub.c: New file.

22 years ago2001-12-21 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Fri, 21 Dec 2001 06:53:56 +0000 (06:53 +0000)]
2001-12-21  Robert Collins  <rbtcollins@hotmail.com>

        * include/wingdi.h: Add GetRandomRgn and SYSRGN.

22 years ago* lib/Makefile.in: Revert inst_installdir definitions to working versions.
Christopher Faylor [Fri, 21 Dec 2001 04:42:05 +0000 (04:42 +0000)]
* lib/Makefile.in: Revert inst_installdir definitions to working versions.

22 years ago* include/cygwin/version.h: Bump API minor version for below changes.
Christopher Faylor [Thu, 20 Dec 2001 18:54:30 +0000 (18:54 +0000)]
* include/cygwin/version.h: Bump API minor version for below changes.

22 years agoRemove obsolete include.
Christopher Faylor [Thu, 20 Dec 2001 03:03:59 +0000 (03:03 +0000)]
Remove obsolete include.

22 years ago* Makefile.in (VPATH): Add regex directory.
Christopher Faylor [Thu, 20 Dec 2001 02:55:11 +0000 (02:55 +0000)]
* Makefile.in (VPATH): Add regex directory.
(NM): new variable.
(OBSOLETE_FUNCTIONS): Ditto.
(NEW_FUNCTIONS): Ditto.
(install-headers): Install regex.h.
(install-man): New target.
(install): Use new target.
(DLL_OFILES): Add v8_reg* stuff.
(new-cygwin1.dll): Eliminate stamp-cygwin-lib creation.
(libcygwin.a): Remove obsolete functions from import lib.  Add new functions.
* configure.in: Detect 'nm' tool.
* configure: Regenerate.
* cygwin.din: Export posix_reg* functions.  Eliminate export of v8 reg*
functions.  This is now handled in object files themselves.
* regex/*: New files.
* regexp/v8_*.c: New files, renamed from non v8_ equivalents.

22 years ago * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
Thomas Fitzsimmons [Wed, 19 Dec 2001 23:41:46 +0000 (23:41 +0000)]
* libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
* libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.

22 years agoFix up comments.
Christopher Faylor [Wed, 19 Dec 2001 20:10:03 +0000 (20:10 +0000)]
Fix up comments.

22 years ago * libm/machine/Makefile.am: Change rules to create correct lib.a.
Corinna Vinschen [Wed, 19 Dec 2001 09:22:35 +0000 (09:22 +0000)]
* libm/machine/Makefile.am: Change rules to create correct lib.a.
* libm/machine/Makefile.in: Regenerated through automake.

22 years ago* Makefile.in: Don't attempt to use zlib directory as a dependency if it
Christopher Faylor [Wed, 19 Dec 2001 03:35:36 +0000 (03:35 +0000)]
* Makefile.in: Don't attempt to use zlib directory as a dependency if it
doesn't exist.

22 years ago2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
Thomas Fitzsimmons [Wed, 19 Dec 2001 03:03:43 +0000 (03:03 +0000)]
2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>

* libc/machine/i386/f_*: Move to libm/machine/i386.

2001-12-18      Joel Sherrill <joel@OARcorp.com>

* libm/machine/Makefile.am: Add dummy doc stub so
"make info" works.

2001-12-17 Joel Sherrill <joel@OARcorp.com>

* libc/include/sys/types.h (ino_t): RTEMS uses long also.

22 years ago * Makefile.am (DOCDIR): Force to empty string when doc
Thomas Fitzsimmons [Tue, 18 Dec 2001 22:52:52 +0000 (22:52 +0000)]
* Makefile.am (DOCDIR): Force to empty string when doc
directory is not present.

22 years ago * config.sub: Import latest version.
Alan Modra [Tue, 18 Dec 2001 07:20:15 +0000 (07:20 +0000)]
* config.sub: Import latest version.
* config.guess: Likewise.

22 years ago * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
Thomas Fitzsimmons [Tue, 18 Dec 2001 02:22:55 +0000 (02:22 +0000)]
* libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
$(COMPILE) rather than $(CC).
* libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
(vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
$(LIB_COMPILE) change.
(vfiprintf.$(oext)): Likewise.

22 years agoMinimal handle .typchk and .except section.
Tom Rix [Tue, 18 Dec 2001 00:32:32 +0000 (00:32 +0000)]
Minimal handle .typchk and .except section.

22 years agoAdd except and typeck section strings. Fix xcoff_big_format_p macro.
Tom Rix [Mon, 17 Dec 2001 22:41:02 +0000 (22:41 +0000)]
Add except and typeck section strings.  Fix xcoff_big_format_p macro.

22 years ago * include/getopt.h: Don't define getopt_long() and friends when
Corinna Vinschen [Mon, 17 Dec 2001 21:34:59 +0000 (21:34 +0000)]
* include/getopt.h: Don't define getopt_long() and friends when
included through unistd.h.

22 years ago * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
Corinna Vinschen [Mon, 17 Dec 2001 21:32:25 +0000 (21:32 +0000)]
* libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
conditionalized including of getopt stuff.

22 years ago* dtable.cc (dtable::init_std_file_from_handle): Avoid initializing using an
Christopher Faylor [Mon, 17 Dec 2001 19:55:58 +0000 (19:55 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Avoid initializing using an
invalid handle.

22 years agoClean up formatting of xcoff.h
Tom Rix [Mon, 17 Dec 2001 13:13:33 +0000 (13:13 +0000)]
Clean up formatting of xcoff.h

22 years ago* include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX.
Christopher Faylor [Mon, 17 Dec 2001 01:41:07 +0000 (01:41 +0000)]
* include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX.

22 years ago Support for more than 64k ELF sections.
Alan Modra [Mon, 17 Dec 2001 00:52:34 +0000 (00:52 +0000)]
Support for more than 64k ELF sections.
include/elf/ChangeLog
* external.h (Elf_External_Sym_Shndx): Declare.
* internal.h (struct elf_internal_sym <st_shndx>): Make it an
unsigned int.
* common.h (SHN_BAD): Define.

bfd/ChangeLog
* configure.in: Bump bfd version.
* configure: Regenerate.
* elf-bfd.h (elf_size_info <swap_symbol_out>): Add shndx param.
(bfd_elf32_swap_symbol_in): Likewise.
(bfd_elf32_swap_symbol_out): Likewise.
(bfd_elf64_swap_symbol_in): Likewise.
(bfd_elf64_swap_symbol_out): Likewise.
(elf_reloc_cookie): Add locsym_shndx field.  Make locsyms a PTR.
(elf_obj_tdata): Add num_elf_sections, symtab_shndx_hdr and
symtab_shndx_section.
(elf_numsections): Define.
(elf_symtab_shndx): Define.
* elf.c (setup_group): Use elf_numsections rather than header e_shnum.
(bfd_elf_find_section): Likewise.
(bfd_section_from_elf_index): Likewise.
(bfd_section_from_shdr): Likewise.  Handle SHT_SYMTAB_SHNDX.
(bfd_section_from_r_symndx): Read symbol shndx extension, and
translate st_shndx for > SHN_HIRESERVE.
(assign_section_numbers): Skip reserved sections.  Assign
symtab_shndx_section and elf_numsections.  Exclude reserved
sections from e_shnum.  Set up symtab_shndx_hdr.
(_bfd_elf_compute_section_file_positions): Handle symtab_shndx_hdr.
(map_sections_to_segments): Don't map eh_frame_hdr unless required.
(assign_file_positions_except_relocs): Use elf_numsections rather
than header e_shnum.  Skip reserved sections and symtab_shndx_section.
(prep_headers): Set name for symtab_shndx_hdr.
(_bfd_elf_assign_file_positions_for_relocs): Use elf_numsections.
(_bfd_elf_write_object_contents): Likewise.  Skip reserved sections.
(_bfd_elf_section_from_bfd_section): Check bfd_{abs,com,und}_section
first.  Use elf_section_data if available.  Use elf_numsections.
Start scan at index 1.
(copy_private_bfd_data ): Comment fixes.
(MAP_ONESYMTAB): Define above SHN_HIOS.
(MAP_DYNSYMTAB): Likewise.
(MAP_STRTAB): Likewise.
(MAP_SHSTRTAB): Likewise.
(MAP_SYM_SHNDX): New define.
(_bfd_elf_copy_private_symbol_data): Handle symtab_shndx_section.
(swap_out_syms): Swap out SHT_SYMTAB_SHNDX section too.
* elfcode.h (elf_swap_symbol_in): Add shndx param, and handle shndx
extension.
(elf_swap_symbol_out): Likewise.
(elf_object_p): Set elf_numsections, and use instead of e_shnum.
Initialialise reserved elf_elfsections to point at shdr[0].  Remove
redundant bfd_release calls.
(elf_slurp_symbol_table): Read symbol shndx extension, and use with
elf_swap_symbol_in.  Translate st_shndx for > SHN_HIRESERVE too.
* elflink.h (elf_link_is_defined_archive_symbol): Read symbol shndx
extension, and use with elf_swap_symbol_in.
(elf_link_record_local_dynamic_symbol): Likewise.
(elf_link_add_object_symbols): Likewise.  Also translate st_shndx
for elf sections > SHN_HIRESERVE.
(NAME(bfd_elf,size_dynamic_sections)): Adjust elf_swap_symbol_out
call.
(struct elf_final_link_info): Add locsym_shndx and symshndxbuf.
(elf_bfd_final_link): Allocate the above, and tidy code allocating
other buffers.  Use elf_numsections instead of e_shnum.  Adjust
elf_swap_symbol_out calls.
(elf_link_output_sym): Swap out symbol shndx extension too.
(elf_link_flush_output_syms): And flush them to disk.
(elf_link_output_extsym): Use SHN_BAD.  Adjust elf_swap_symbol_out
calls.
(elf_gc_mark): Read symbol shndx extension, and use with
elf_swap_symbol_in.
(elf_link_input_bfd): Likewise,  Translate st_shndx for elf sections
> SHN_HIRESERVE too.  Use SHN_BAD.
(elf_reloc_symbol_deleted_p): Use symbol shndx extensions with
elf_swap_symbol_in.  Translate st_shndx > SHN_HIRESERVE too.
(elf_bfd_discard_info): Read symbol shndx extension.  Don't attempt
to continue after a bfd error.
* elf-m10200.c (mn10200_elf_relax_section): Only read local syms.
Stash them immediately to symtab_hdr->contents rather than later
in multiple places.  Clean up afterwards.  Read symbol shndx
extension, and use with swap_symbol_in.  Translate SHN_UNDEF,
SHN_ABS, SHN_COMMON and elf sections > SHN_HIRESERVE to bfd
sections too.  Remove dead code.
(mn10200_elf_relax_delete_bytes): Use symbol shndx extension
when swapping in symbols.  Tidy code adjusting global syms.
Don't swap in global syms.
(mn10200_elf_symbol_address_p): Likewise.  Remove extsyms param.
(mn10200_elf_get_relocated_section_contents): Read symbol shndx
extension, and use with swap_symbol_in.  Rename "size" -> "amt"
to maximize code in common with other files.  Translate st_shndx
for > SHN_HIRESERVE too.  Remove dead code.
* elf-m10300.c (mn10300_elf_relax_section): Only read local syms.
Stash them immediately to symtab_hdr->contents rather than later
in multiple places.  Clean up afterwards.  Read symbol shndx
extension, and use with swap_symbol_in.  Remove dead code.
(mn10300_elf_relax_delete_bytes): As for elf-m10200.c.
(mn10300_elf_symbol_address_p): Likewise.
(mn10300_elf_get_relocated_section_contents): Likewise.
* elf32-h8300.c (elf32_h8_relax_section): As for elf-m10300.c.
(elf32_h8_relax_delete_bytes): Likewise.
(elf32_h8_symbol_address_p): Likewise.
(elf32_h8_get_relocated_section_contents): Likewise.
* elf32-hppa.c (elf32_hppa_size_stubs): Read symbol shndx
extension, and use with swap_symbol_in.
* elf64-hppa.c (elf64_hppa_check_relocs): Likewise.
* elf32-i370.c (i370_elf_finish_dynamic_sections): Adjust call to
bfd_elf32_swap_symbol_out.
* elf32-m32r.c (m32r_elf_get_relocated_section_contents): Translate
elf sections > SHN_HIRESERVE too.
* elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Only read
local syms.  Read symbol shndx extension, and use with swap_symbol_in.
* elf32-mips.c (_bfd_mips_elf_final_write_processing): Use
elf_numsections rather than header e_shnum.
* elf32-sh.c (sh_elf_relax_section): As for elf-m10300.c.
(sh_elf_relax_delete_bytes): Likewise.
(sh_elf_get_relocated_section_contents): Likewise.  Only read local
symbols.
* elf32-v850.c (v850_elf_symbol_processing): Use an unsigned int to
hold section index.  Use elf_numsections rather than e_shnum.
Rename "index" -> "indx" to avoid shadowing warning.
(v850_elf_add_symbol_hook): Likewise.
* elf64-alpha.c (elf64_alpha_relax_section): Only read local syms.
Read symbol shndx extension, and use with swap_symbol_in.
* elf32-xstormy16.c (xstormy16_elf_relax_section): Likewise.
Translate SHN_COMMON and elf sections > SHN_HIRESERVE too.
* elfxx-ia64.c (elfNN_ia64_relax_section): Likewise.
(elfNN_ia64_aix_add_symbol_hook): Use elf_numsections.

* elf-m10300.c (mn10300_elf_gc_mark_hook): Remove unnecessary checks
before calling bfd_section_from_elf_index on local syms.
* elf32-arm.h (elf32_arm_gc_mark_hook): Likewise.
* elf32-avr.c (elf32_avr_gc_mark_hook): Likewise.
* elf32-cris.c (cris_elf_gc_mark_hook): Likewise.
* elf32-d10v.c (elf32_d10v_gc_mark_hook): Likewise.
* elf32-fr30.c (fr30_elf_gc_mark_hook): Likewise.
* elf32-hppa.c (elf32_hppa_gc_mark_hook): Likewise.
* elf32-i386.c (elf_i386_gc_mark_hook): Likewise.
* elf32-m32r.c (m32r_elf_gc_mark_hook): Likewise.
* elf32-m68k.c (elf_m68k_gc_mark_hook): Likewise.
* elf32-mcore.c (mcore_elf_gc_mark_hook): Likewise.
* elf32-mips.c (_bfd_mips_elf_gc_mark_hook): Likewise.
* elf32-openrisc.c (openrisc_elf_gc_mark_hook): Likewise.
* elf32-ppc.c (ppc_elf_gc_mark_hook): Likewise.
* elf32-s390.c (elf_s390_gc_mark_hook): Likewise.
* elf32-sh.c (sh_elf_gc_mark_hook): Likewise.
* elf32-sparc.c (elf32_sparc_gc_mark_hook): Likewise.
* elf32-v850.c (v850_elf_gc_mark_hook): Likewise.
* elf32-xstormy16.c (xstormy16_elf_gc_mark_hook): Likewise.
* elf64-mips.c (mips_elf64_gc_mark_hook): Likewise.
* elf64-mmix.c (mmix_elf_gc_mark_hook): Likewise.
* elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
* elf64-s390.c (elf_s390_gc_mark_hook): Likewise.
* elf64-x86-64.c (elf64_x86_64_gc_mark_hook): Likewise.

binutils/ChangeLog
* readelf.c (symtab_shndx_hdr): New global.
(SECTION_HEADER_INDEX): Define.
(SECTION_HEADER_NUM): Define.
(SECTION_HEADER): Define.
(GET_ELF_SYMBOLS): Pass two params rather than three.
(get_32bit_elf_symbols): Take file and section args.  Read and
use SHT_SYMTAB_SHNDX.
(get_64bit_elf_symbols): Likewise.
(dump_relocations): Use SECTION_HEADER to index "section_headers".
(process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
Remember symtab_shdx_hdr.
(process_program_headers): Scan from index 1 for segment map.
(slurp_ia64_unwind_table): Use SECTION_HEADER to index
"section_headers".
(process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
(process_unwind): Likewise.
(process_version_sections): Likewise.
(process_symbol_table): Likewise.
(display_debug_info): Likewise.
(process_dynamic_segment): Fake up a symtab section for changed
GET_ELF_SYMBOLS.
(get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
(process_program_headers): Kill signed/unsigned warning.
(load_debug_str): Likewise.
(display_debug_info): Likewise.

22 years ago2001-12-17 Guido Serassio <serassio@libero.it>
Robert Collins [Sun, 16 Dec 2001 21:57:36 +0000 (21:57 +0000)]
2001-12-17  Guido Serassio <serassio@libero.it>

        * include/winsvc.h: Add ChangeServiceConfig2() &
        QueryServiceConfig2() definition

22 years ago2001-12-17 Robret Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 16 Dec 2001 21:55:40 +0000 (21:55 +0000)]
2001-12-17  Robret Collins  <rbtcollins@hotmail.com>

        * include/commctrl.h: New typedefs for HDLAYOUT and LPHDLAYOUT based
on MSDN documentation for XP.

22 years agoInitialise the disassembler_options field (to NULL).
Nick Clifton [Fri, 14 Dec 2001 21:32:04 +0000 (21:32 +0000)]
Initialise the disassembler_options field (to NULL).

22 years ago * mkpasswd.c (enum_users): Change to unconditionally use
Corinna Vinschen [Fri, 14 Dec 2001 20:01:53 +0000 (20:01 +0000)]
* mkpasswd.c (enum_users): Change to unconditionally use
the --path-to-home option, if supplied by the user.  Use default
--path-to-home option value, if appropriate.
(usage): Change usage statement to reflect new semantics.
(main): Remove defaulting of the --path-to-home option.

22 years ago (vfiprintf.$(oext)): Likewise.
Thomas Fitzsimmons [Fri, 14 Dec 2001 19:27:46 +0000 (19:27 +0000)]
(vfiprintf.$(oext)): Likewise.

22 years ago * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
Thomas Fitzsimmons [Fri, 14 Dec 2001 19:14:27 +0000 (19:14 +0000)]
* libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
compile line.

22 years agoAdd missing ChangeLog.
Christopher Faylor [Fri, 14 Dec 2001 18:26:43 +0000 (18:26 +0000)]
Add missing ChangeLog.
* configure.in: Detect zlib subdirectory.
* configure: Regenerate

22 years ago* Makefile.in: Exit immediately if a sub-make fails.
Christopher Faylor [Fri, 14 Dec 2001 18:23:19 +0000 (18:23 +0000)]
* Makefile.in: Exit immediately if a sub-make fails.

22 years ago* mkpasswd.c (opts): Add indication that '-p' option requires an argument.
Christopher Faylor [Fri, 14 Dec 2001 17:15:37 +0000 (17:15 +0000)]
* mkpasswd.c (opts): Add indication that '-p' option requires an argument.

22 years ago * configure.in (FLAGS_FOR_TARGET): Remove -nostdinc and -isystem
Thomas Fitzsimmons [Thu, 13 Dec 2001 23:57:00 +0000 (23:57 +0000)]
* configure.in (FLAGS_FOR_TARGET): Remove -nostdinc and -isystem
options for i[3456]86-pc-linux* native builds.

22 years ago * Makefile.shared: New file.
Thomas Fitzsimmons [Thu, 13 Dec 2001 23:50:11 +0000 (23:50 +0000)]
* Makefile.shared: New file.
* libc/sys/linux/shared.ld: New file.
* libm/machine/*: New files.
* libm/machine/i386/*: New files.
* Makefile.am: Add libtool support.  Change math and mathfp
references to variables.
* configure.host: Add variables for libtool support.  Add
libm_machine_dir variable.
* configure.in: Add objectlist variables, for libtool
support.  Add CC_FOR_BUILD tests.
* libc/Makefile.am: Add libtool support.  Change crt0.o
reference to be a variable reference.
* libc/configure.in: Add libtool support.  Change sublib
names to be lib${subdir}.la when using libtool.
* libc/ctype/Makefile.am: Add libtool support.
* libc/errno/Makefile.am: Likewise.
* libc/locale/Makefile.am: Likewise.
* libc/machine/Makefile.am: Likewise.
* libc/machine/configure.in: Likewise.
* libc/machine/i386/Makefile.am: Likewise.
* libc/machine/i386/configure.in: Likewise.
* libc/misc/Makefile.am: Likewise.
* libc/posix/Makefile.am: Likewise.
* libc/reent/Makefile.am: Likewise.
* libc/signal/Makefile.am: Likewise.
* libc/stdio/Makefile.am: Likewise.
* libc/stdlib/Makefile.am: Likewise.
* libc/string/Makefile.am: Likewise.
* libc/sys/Makefile.am: Likewise.
* libc/sys/configure.in: Likewise.
* libc/sys/linux/Makefile.am: Add libtool support.  Change
awk reference to a variable reference.  Change signal.h
reference to a variable reference.
* libc/sys/linux/configure.in: Add libtool support.
* libc/syscalls/Makefile.am: Likewise.
* libc/time/Makefile.am: Likewise.
* libc/unix/Makefile.am: Likewise.
* libm/Makefile.am: Add libtool support.  Change math and
mathfp references to variables.
* libm/configure.in: Add libtool support.  Add
LIBM_MACHINE_LIB variable.
* libm/common/Makefile.am: Add libtool support.
* libm/math/Makefile.am: Likewise.
* libm/mathfp/Makefile.am: Likewise.
Regenerate all Makefile.in, aclocal.m4, and configure.

22 years ago2001-12-13 Anita Kulkarni <anitak@kpit.com>
Jeff Johnston [Thu, 13 Dec 2001 20:10:16 +0000 (20:10 +0000)]
2001-12-13 Anita Kulkarni <anitak@kpit.com>

        * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.

22 years ago * elf-bfd.h (enum elf_link_info_type): New.
Jakub Jelinek [Thu, 13 Dec 2001 11:09:33 +0000 (11:09 +0000)]
* elf-bfd.h (enum elf_link_info_type): New.
(struct bfd_elf_section_data): Remove stab_info and merge_info
fields, add sec_info and sec_info_type.
(struct elf_obj_tdata): Add eh_frame_hdr field.
(_bfd_elf_discard_section_eh_frame): New prototype.
(_bfd_elf_discard_section_eh_frame_hdr): Likewise.
(_bfd_elf_eh_frame_section_offset): Likewise.
(_bfd_elf_write_section_eh_frame): Likewise.
(_bfd_elf_write_section_eh_frame_hdr): Likewise.
* Makefile.am (BFD32_BACKENDS): Add elf-eh-frame.lo.
(BFD32_BACKENDS_CFILES): Add elf-eh-frame.c.
(elf-eh-frame.lo): New.
* Makefile.in: Rebuilt.
* configure.in (elf): Add elf-eh-frame.lo.
* configure: Rebuilt.
* elf.c (_bfd_elf_print_private_bfd_data): Support PT_GNU_EH_FRAME.
(map_sections_to_segments): Create PT_GNU_EH_FRAME if requested.
(get_program_header_size): Take into account PT_GNU_EH_FRAME
segment.
(_bfd_elf_rela_local_sym): Use sec_info_type and sec_info.
(_bfd_elf_rel_local_sym): Likewise.
(_bfd_elf_section_offset): Likewise.  Call
_bfd_elf_eh_frame_section_offset too.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Use sec_info_type and
sec_info.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf-eh-frame.c: New file.
* elflink.h (elf_link_add_object_symbols): Don't optimize SHF_MERGE
.stab sections.  Set sec_info_type, use sec_info instead
of merge_info and stab_info.
(elf_link_create_dynamic_sections): Create .eh_frame_hdr section
if --eh-frame-hdr.
(elf_bfd_final_link): Write .eh_frame_hdr section.
(elf_link_sec_merge_syms): Use sec_info_type and sec_info.
(elf_link_input_bfd): Likewise.
Call _bfd_elf_write_section_eh_frame to write .eh_frame sections.
(elf_bfd_discard_info): Add output_bfd argument.
Call _bfd_elf_discard_section_eh_frame and
_bfd_elf_discard_section_eh_frame_hdr.
(elf_section_ignore_discarded_relocs): Use sec_info_type, not section
names.
* bfd-in.h (bfd_elf32_discard_info, bfd_elf64_discard_info): Adjust
prototypes.
* bfd-in2.h (bfd_elf32_discard_info, bfd_elf64_discard_info): Likewise.

* elf/common.h (PT_GNU_EH_FRAME): Define.
* bfdlink.h (struct bfd_link_info): Add eh_frame_hdr field.

* emultempl/elf32.em (finish): Supply output_bfd
to bfd_elf*_discard_info.
(OPTION_EH_FRAME_HDR): Define.
(longopts): Add --eh-frame-hdr.
(parse_args): Handle it.
(list_options): Add --eh-frame-hdr to help.
* emultempl/hppaelf.em (finish): Supply output_bfd
to bfd_elf*_discard_info.
* scripttempl/elf.sc (.eh_frame_hdr): Add.

* readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.

22 years ago* Makefile.in: Add define to CXXFLAGS.
Christopher Faylor [Tue, 11 Dec 2001 22:51:01 +0000 (22:51 +0000)]
* Makefile.in: Add define to CXXFLAGS.

22 years ago* include/getopt.h: Add HAVE_DECL_GETOPT to save pain elsewhere.
Christopher Faylor [Tue, 11 Dec 2001 22:22:43 +0000 (22:22 +0000)]
* include/getopt.h: Add HAVE_DECL_GETOPT to save pain elsewhere.

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