OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
19 years ago2005-03-24 Eric Christopher <echristo@redhat.com>
echristo [Thu, 24 Mar 2005 22:47:48 +0000 (22:47 +0000)]
2005-03-24  Eric Christopher  <echristo@redhat.com>

* elfxx-mips.c: Revert previous patch.

2005-03-24  Eric Christopher  <echristo@redhat.com>

* ld-mips-elf/rel32-n32.d: Revert changes.
* ld-mips-elf/rel32-o32.d: Ditto.
* ld-mips-elf/rel64.d: Ditto.

19 years ago * winduni.c (unicode_from_ascii): Don't declare variables
dannysmith [Thu, 24 Mar 2005 21:26:20 +0000 (21:26 +0000)]
* winduni.c (unicode_from_ascii): Don't declare variables
's' and 'w' if _WIN32.  Use MultiByteToWideChar to set the unicode
string len.

19 years agoUpdated French translation
nickc [Thu, 24 Mar 2005 21:13:02 +0000 (21:13 +0000)]
Updated French translation

19 years ago(_bfd_target_vector): Only include the bfd_elf32_ia64_hpux_big_vec vector
nickc [Thu, 24 Mar 2005 21:02:17 +0000 (21:02 +0000)]
(_bfd_target_vector): Only include the bfd_elf32_ia64_hpux_big_vec vector
when building a 64-bit BFD with all targets enabled.

19 years agoConvert unmaintained files over to ISO-C90 and fix formatting.
nickc [Thu, 24 Mar 2005 20:40:22 +0000 (20:40 +0000)]
Convert unmaintained files over to ISO-C90 and fix formatting.

19 years agoAdd Dmitry Diky to maintainers list as msp430 maintainer
diwil [Thu, 24 Mar 2005 18:04:38 +0000 (18:04 +0000)]
Add Dmitry Diky to maintainers list as msp430 maintainer

19 years ago * cygcheck.cc (init_paths): Use full path instead of "." for the
corinna [Thu, 24 Mar 2005 14:48:15 +0000 (14:48 +0000)]
* cygcheck.cc (init_paths): Use full path instead of "." for the
current directory.  Do not add "." if present in $PATH.
(dump_sysinfo): Skip placeholder first value of paths[].

19 years ago * fhandler.h (fhandler_socket::secret_event): Remove.
corinna [Thu, 24 Mar 2005 14:04:00 +0000 (14:04 +0000)]
* fhandler.h (fhandler_socket::secret_event): Remove.
(fhandler_socket::af_local_set_secret): New function combining former
set_connect_secret and get_connect_secret into one function.
(fhandler_socket::af_local_setblocking): Rename from eid_setblocking.
(fhandler_socket::af_local_unsetblocking): Rename from
eid_unsetblocking.
(fhandler_socket::af_local_set_cred): New method.
(fhandler_socket::af_local_copy): New method.
(fhandler_socket::af_local_recv_secret): New method.
(fhandler_socket::af_local_send_secret): New method.
(fhandler_socket::af_local_recv_cred): Rename from eid_recv.
(fhandler_socket::af_local_send_cred): Rename from eid_send.
(fhandler_socket::af_local_accept): New method.
(fhandler_socket::af_local_set_sockpair_cred): Rename from
set_socketpair_eids.
(fhandler_socket::eid_accept): Remove.
(fhandler_socket::eid_connect): Remove.
(fhandler_socket::set_connect_secret): Remove.
(fhandler_socket::get_connect_secret): Remove.
(fhandler_socket::create_secret_event): Remove.
(fhandler_socket::check_peer_secret_event): Remove.
(fhandler_socket::signal_secret_event): Remove.
(fhandler_socket::close_secret_event): Remove.
(fhandler_socket::sec_event_accept): Remove.
(fhandler_socket::sec_event_connect): Remove.
* fhandler_socket.cc (secret_event_name): Remove.
(fhandler_socket::af_local_set_sockpair_cred): Rename from
set_socketpair_eids.
(fhandler_socket::af_local_setblocking): Rename from eid_setblocking.
(fhandler_socket::af_local_unsetblocking): Rename from
eid_unsetblocking.
(fhandler_socket::af_local_recv_secret): New function to receive
AF_LOCAL connect secret over socket itself.
(fhandler_socket::af_local_send_secret): New function to send AF_LOCAL
connect secret over socket itself.
(fhandler_socket::af_local_recv_cred): Rename from eid_recv.
(fhandler_socket::af_local_send_cred): Rename from eid_send.
(fhandler_socket::eid_connect): Remove.
(fhandler_socket::af_local_connect): Take over connect side handling
of AF_LOCAL secret and credential handshake.
(fhandler_socket::eid_accept): Remove.
(fhandler_socket::af_local_accept): New method, take over accept side
handling of AF_LOCAL secret and credential handshake.
(fhandler_socket::af_local_set_cred): New method, set eid credentials
to start values.
(fhandler_socket::af_local_copy): New method, copy secret and
credentials to another socket.
(fhandler_socket::af_local_set_secret): New function combining former
set_connect_secret and get_connect_secret into one function.
(fhandler_socket::create_secret_event): Remove.
(fhandler_socket::signal_secret_event): Remove.
(fhandler_socket::close_secret_event): Remove.
(fhandler_socket::check_peer_secret_event): Remove.
(fhandler_socket::sec_event_connect): Remove.
(fhandler_socket::sec_event_accept): Remove.
(fhandler_socket::fixup_after_fork): Drop secret_event handling.
(fhandler_socket::bind): Call af_local_set_secret.
(fhandler_socket::connect): Call af_local_set_cred and af_local_connect.
(fhandler_socket::listen): Call af_local_set_cred.
(fhandler_socket::accept): Call af_local_copy and af_local_accept on
accepted socket.
(fhandler_socket::close): Don't call close_secret_event.
(fhandler_socket::set_close_on_exec): Don't set secret_event
inheritance.
* net.cc (cygwin_getsockopt): Add debug output.
(socketpair): Call af_local_set_sockpair_cred instead of
set_socketpair_eids.
* select.cc (set_bits): Drop AF_LOCAL special handling in case
of except bit set.

19 years ago(BFD32_BACKENDS): Delete elf32-ia64.lo.
nickc [Thu, 24 Mar 2005 09:26:25 +0000 (09:26 +0000)]
(BFD32_BACKENDS): Delete elf32-ia64.lo.
(BFD64_BACKENDS): Add elf32-ia64.lo.

19 years ago * cris/Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge to
hp [Thu, 24 Mar 2005 06:12:40 +0000 (06:12 +0000)]
* cris/Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge to
include cgen-ops.h in decodev10.c and decodev32.c.
* cris/sim-main.h: Don't include cgen-ops.h here.
* cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
cris/semcrisv32f-switch.c: Regenerate.

19 years ago * include/stdio.h (__mingw_fwrite): Change return value to
dannysmith [Thu, 24 Mar 2005 05:58:52 +0000 (05:58 +0000)]
* include/stdio.h (__mingw_fwrite): Change return value to
size_t.
* mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.

19 years ago * include/stdio.h (__mingw_fwrite): Change return value to
dannysmith [Thu, 24 Mar 2005 05:58:23 +0000 (05:58 +0000)]
* include/stdio.h (__mingw_fwrite): Change return value to
size_t.
* mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.

19 years agobfd/ChangeLog:
echristo [Thu, 24 Mar 2005 01:30:41 +0000 (01:30 +0000)]
bfd/ChangeLog:

2005-03-23  Eric Christopher  <echristo@redhat.com>

* elfxx-mips.c (MIPS_ELF_READONLY_SECTION): New.
(mips_elf_calculate_relocation): Use. Define DF_TEXTREL
after emitting relocation.
(_bfd_mips_elf_adjust_dynamic_symbol): Ditto.
(_bfd_mips_elf_check_relocs): Remove code to set DF_TEXTREL
and readonly_reloc.

ld/testsuite/ChangeLog:

2005-03-23  Eric Christopher  <echristo@redhat.com>

* ld-mips-elf/textrel-1.s, ld-mips-elf/textrel-1.d: New
test.
* ld-mips-elf/mips-elf.exp: Call it.
* ld-mips-elf/rel32-n32.d: Update for DF_TEXTREL removal.
* ld-mips-elf/rel32-o32.d: Ditto.
* ld-mips-elf/rel64.d: Ditto.

19 years ago * cris/traps.c (cris_break_13_handler) <case
hp [Thu, 24 Mar 2005 01:14:07 +0000 (01:14 +0000)]
* cris/traps.c (cris_break_13_handler) <case
TARGET_SYS_rt_sigaction>: Rename sa_handler, sa_flags,
sa_restorer, sa_mask_low, sa_mask_high to target_sa_handler etc.

19 years ago * gas/cris/range-err-1.s: Adjust expected messages for hosts with
hp [Thu, 24 Mar 2005 00:01:13 +0000 (00:01 +0000)]
* gas/cris/range-err-1.s: Adjust expected messages for hosts with
64-bit longs.

19 years ago*** empty log message ***
gdbadmin [Thu, 24 Mar 2005 00:01:07 +0000 (00:01 +0000)]
*** empty log message ***

19 years ago* include/ctype.h: Always define macros when inside cygwin.
cgf [Wed, 23 Mar 2005 21:03:59 +0000 (21:03 +0000)]
* include/ctype.h: Always define macros when inside cygwin.
(isblank): New macro.

19 years ago2005-03-23 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 23 Mar 2005 19:21:16 +0000 (19:21 +0000)]
2005-03-23  H.J. Lu  <hongjiu.lu@intel.com>

* cris-dis.c (print_with_operands): Use ~31L for long instead
of ~31.

19 years ago2005-03-23 Martin Hunt <hunt@redhat.com>
hunt [Wed, 23 Mar 2005 19:17:39 +0000 (19:17 +0000)]
2005-03-23  Martin Hunt  <hunt@redhat.com>

        * configure.ac: Remove -fwritable-strings from CFLAGS.
        * configure: Regenerate.

19 years ago2005-03-23 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 23 Mar 2005 19:04:32 +0000 (19:04 +0000)]
2005-03-23  H.J. Lu  <hongjiu.lu@intel.com>

* ld-cris/expdyn5.d: Updated for alignment change in elf.sc.
* ld-cris/expdyn6.d: Likewise.
* ld-cris/expdyn7.d: Likewise.
* ld-cris/gotplt1.d: Likewise.
* ld-cris/gotplt2.d: Likewise.
* ld-cris/gotplt3.d: Likewise.
* ld-cris/libdso-10.d: Likewise.
* ld-cris/libdso-11.d: Likewise.
* ld-cris/libdso-12.d: Likewise.
* ld-cris/libdso-14.d: Likewise.
* ld-cris/libdso-2.d: Likewise.
* ld-cris/locref1.d: Likewise.
* ld-cris/locref2.d: Likewise.
* ld-cris/nodyn5.d: Likewise.
* ld-cris/pv32-1.d: Likewise.
* ld-cris/weakref2.d: Likewise.

19 years agoFrom common/ChangeLog:
kettenis [Wed, 23 Mar 2005 18:55:13 +0000 (18:55 +0000)]
From common/ChangeLog:

* aclocal.m4 Include ../../gettext.m4.
(CY_WITH_NLS, CY_GNU_GETTEXT, AM_PATH_PROG_WITH_TEST)
(AM_LC_MESSAGES): Remove.
* configure: Regenerate.

Regenerate all other configures.

19 years agoFix whitespace with crx entry.
jjohnstn [Wed, 23 Mar 2005 18:09:57 +0000 (18:09 +0000)]
Fix whitespace with crx entry.

19 years ago2005-03-23 Martin Hunt <hunt@redhat.com>
hunt [Wed, 23 Mar 2005 17:53:14 +0000 (17:53 +0000)]
2005-03-23  Martin Hunt  <hunt@redhat.com>

* configure.ac: Remove -fwritable-strings from CFLAGS.
* configure: Regenerate.

19 years agocheckin previously missed file.
cgf [Wed, 23 Mar 2005 17:47:29 +0000 (17:47 +0000)]
checkin previously missed file.

19 years agofix comment
cgf [Wed, 23 Mar 2005 17:43:51 +0000 (17:43 +0000)]
fix comment

19 years ago * fhandler.h (fhandler_socket::eid_connect): Make private.
corinna [Wed, 23 Mar 2005 17:27:15 +0000 (17:27 +0000)]
* fhandler.h (fhandler_socket::eid_connect): Make private.
(fhandler_socket::set_connect_secret): Ditto.
(fhandler_socket::get_connect_secret): Ditto.
(fhandler_socket::create_secret_event): Ditto. Remove secret argument.
(fhandler_socket::check_peer_secret_event): Ditto.
(fhandler_socket::signal_secret_event): Make private.
(fhandler_socket::close_secret_event): Ditto.
(fhandler_socket::sec_event_accept): New private method.
(fhandler_socket::sec_event_connect): Ditto.
(fhandler_socket::af_local_connect): New public method.
* fhandler_socket.cc: Use 'struct sockaddr' and 'struct sockaddr_in'
rather than just 'sockaddr' and 'sockaddr_in' throughout.
(fhandler_socket::eid_connect): Drop AF_LOCAL/SOCK_STREAM test.
(fhandler_socket::create_secret_event): Remove secret argument.
Always use connect_secret instead.
(fhandler_socket::check_peer_secret_event): Ditto.
(fhandler_socket::sec_event_connect): New method, combining entire
secret event handshake on connect side.
(fhandler_socket::af_local_connect): New method, combining secret
event handshake and eid credential transaction on connect side, to
be called from select.
(fhandler_socket::sec_event_accept): New method, combining entire
secret event handshake on accept side.
(fhandler_socket::connect): Drop secret, use connect_secret instead.
Move entire secret event handshake to sec_event_connect.
(fhandler_socket::accept): Move entire secret event handshake to
sec_event_accept.
* select.cc (set_bits): Just call af_local_connect here.

19 years ago* include/cygwin/version.h: Change coment for most recent API version bump to
cgf [Wed, 23 Mar 2005 17:16:14 +0000 (17:16 +0000)]
* include/cygwin/version.h: Change coment for most recent API version bump to
reflect new additions to the DLL and to remove change obsoleted by the previous
checkin.

19 years ago* include/ctype.h: New file.
cgf [Wed, 23 Mar 2005 17:11:23 +0000 (17:11 +0000)]
* include/ctype.h: New file.
* ctype.cc: Ditto.
* Makefile.in: Add ctype.o to DLL_OFILES.
* cygwin.din: Remove _ctype_ptr (for now?).

19 years ago* configure.host: For cygwin, redefine CC with cygwin include directory first
cgf [Wed, 23 Mar 2005 17:09:28 +0000 (17:09 +0000)]
* configure.host: For cygwin, redefine CC with cygwin include directory first
to mimic the behavior of the top-level configury.  Move include directory out
of newlib_cflags.

19 years ago* config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding
jimb [Wed, 23 Mar 2005 15:48:57 +0000 (15:48 +0000)]
* config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding
attributes properly.

19 years agoAccept any C library to accompany a GNU Linux implementation, not just the GNU
nickc [Wed, 23 Mar 2005 15:35:35 +0000 (15:35 +0000)]
Accept any C library to accompany a GNU Linux implementation, not just the GNU
C library.

19 years agoUndo previous delta
nickc [Wed, 23 Mar 2005 14:49:44 +0000 (14:49 +0000)]
Undo previous delta

19 years ago(getopt): Allow full prototype when builind under FreeBSD.
nickc [Wed, 23 Mar 2005 14:46:12 +0000 (14:46 +0000)]
(getopt): Allow full prototype when builind under FreeBSD.

19 years agoConvert to ISO C90 formatting
nickc [Wed, 23 Mar 2005 11:18:07 +0000 (11:18 +0000)]
Convert to ISO C90 formatting

19 years agoUpdate French translation
nickc [Wed, 23 Mar 2005 09:44:05 +0000 (09:44 +0000)]
Update French translation

19 years agobfd/
hjl [Wed, 23 Mar 2005 04:14:38 +0000 (04:14 +0000)]
bfd/

2005-03-22  H.J. Lu  <hongjiu.lu@intel.com>

* bfd-in.h (_bfd_elf_provide_symbol): New.
* bfd-in2.h: Regenerated.

* elf32-ppc.c (set_linker_sym): Moved to elflink.c.
(ppc_elf_set_sdata_syms): Call _bfd_elf_provide_symbol instead
of set_linker_sym.

* elflink.c (_bfd_elf_provide_symbol): New. Moved and renamed
from elf32-ppc.c.

ld/

2005-03-22  H.J. Lu  <hongjiu.lu@intel.com>

* emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New
(gld${EMULATION_NAME}_finish): Call
gld${EMULATION_NAME}_provide_bound_symbols to provide
__preinit_array_start, __preinit_array_end, __init_array_start,
__init_array_end, __fini_array_start and __fini_array_end.

* scripttempl/elf.sc: Don't provide __preinit_array_start,
__preinit_array_end, __init_array_start, __init_array_end,
__fini_array_start nor __fini_array_end.

19 years ago* Makefile.common: Add -dD to options when creating preprocess files.
cgf [Wed, 23 Mar 2005 03:22:27 +0000 (03:22 +0000)]
* Makefile.common: Add -dD to options when creating preprocess files.

19 years agomerge from gcc
dj [Wed, 23 Mar 2005 00:01:17 +0000 (00:01 +0000)]
merge from gcc

19 years ago*** empty log message ***
gdbadmin [Wed, 23 Mar 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 22 Mar 2005 23:45:42 +0000 (23:45 +0000)]
2005-03-22  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
        * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
        than errno.

19 years agodaily update
amodra [Tue, 22 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * hash.c (strtab_hash_newfunc): Fix typo in allocated size.
hp [Tue, 22 Mar 2005 21:52:50 +0000 (21:52 +0000)]
* hash.c (strtab_hash_newfunc): Fix typo in allocated size.

19 years ago * dwarf.h: Merge with GCC's dwarf.h.
bje [Tue, 22 Mar 2005 19:51:30 +0000 (19:51 +0000)]
* dwarf.h: Merge with GCC's dwarf.h.

19 years agoinclude ChangeLog
bwilson [Tue, 22 Mar 2005 19:31:25 +0000 (19:31 +0000)]
include ChangeLog
* xtensa-isa.h: Update a comment and whitespace.
bfd ChangeLog
* xtensa-isa.c (xtensa_opcode_lookup, xtensa_state_lookup,
xtensa_sysreg_lookup_name, xtensa_interface_lookup,
xtensa_funcUnit_lookup): Skip bsearch call if count is zero.
(xtensa_opcode_decode): Rearrange code.

19 years ago* Makefile.in (DLL_OFILES): Add hookapi.o. Eliminate some cruft.
cgf [Tue, 22 Mar 2005 19:00:25 +0000 (19:00 +0000)]
* Makefile.in (DLL_OFILES): Add hookapi.o.  Eliminate some cruft.
* cygheap.h (cygheap_types): Add new enum: HEAP_1_HOOK.
(hook_chain): New struct.
(init_cygheap::hooks): Define new element.
* cygheap.cc (cygheap_fixup_in_child): Zero hook chain on exec.
* dcrt0.cc (dll_crt0_1): Call ld_preload just before calling main function.
* external.cc (cygwin_internal): Implement CW_HOOK.
* fork.cc (fork_child): Call fixup_hooks_after_fork.
* init.cc (cygwin_hmodule): Reinstate after a long absence.
* include/sys/cygwin.h: Define CW_HOOK.
* hookapi.cc: New file.
* select.cc (start_thread_socket): Add debugging output.
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): gcc 4.x accommodation.
* fhandler_socket.cc (fhandler_socket::connect): Make sure that err is
initialized.

19 years agoOops - fix typo in ISO-C90ifcation
nickc [Tue, 22 Mar 2005 18:43:09 +0000 (18:43 +0000)]
Oops - fix typo in ISO-C90ifcation

19 years ago* libc/include/machine/_types.h: Make trivial change to comment to avoid a
cgf [Tue, 22 Mar 2005 18:12:29 +0000 (18:12 +0000)]
* libc/include/machine/_types.h: Make trivial change to comment to avoid a
spurious warning from gcc.

19 years agoOops - fix typos and finish of ISO-C90'fication of ieee.c
nickc [Tue, 22 Mar 2005 18:03:26 +0000 (18:03 +0000)]
Oops - fix typos and finish of ISO-C90'fication of ieee.c

19 years agoConvert to ISO C90 formatting.
nickc [Tue, 22 Mar 2005 16:14:34 +0000 (16:14 +0000)]
Convert to ISO C90 formatting.

19 years ago * elf32-arm.c (elf32_arm_final_link_relocate): Don't fail for
drow [Tue, 22 Mar 2005 15:39:32 +0000 (15:39 +0000)]
* elf32-arm.c (elf32_arm_final_link_relocate): Don't fail for
unresolved symbols in R_ARM_NONE relocations.

19 years ago * elf32-arm.c (elf32_arm_final_link_relocate): Add
drow [Tue, 22 Mar 2005 15:39:08 +0000 (15:39 +0000)]
* elf32-arm.c (elf32_arm_final_link_relocate): Add
UNRESOLVED_RELOC_P argument.  Set it appropriately.
(elf32_arm_relocate_section): Update call to
elf32_arm_final_link_relocate.  Don't clobber RELOCATION; use
unresolved_reloc instead.

19 years agobfd/
amodra [Tue, 22 Mar 2005 14:49:10 +0000 (14:49 +0000)]
bfd/
* elflink.c (elf_link_add_object_symbols): Set SEC_EXCLUDE on
.gnu.warning.* sections.
ld/
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set
SEC_EXCLUDE on .gnu.warning sections.

19 years agogas/testsuite/
amodra [Tue, 22 Mar 2005 14:20:33 +0000 (14:20 +0000)]
gas/testsuite/
* gas/elf/section5.s: Don't start directives in first column.
ld/testsuite/
* ld-elf/tbss.s: Don't start directives in first column.
* ld-scripts/weak1.s: Likewise.
* ld-scripts/weak2.s: Likewise.
* ld-undefined/weak-undef.s: Likewise.
* ld-undefined/undefined.exp: Enable tests for hppa-elf.

19 years ago * elf32-ppc.c (elf_linker_section_pointers_t): Remove
amodra [Tue, 22 Mar 2005 13:32:53 +0000 (13:32 +0000)]
* elf32-ppc.c (elf_linker_section_pointers_t): Remove
written_address_p.
(ppc_elf_create_linker_section): Don't try to reuse existing section.
(elf_create_pointer_linker_section): Delete info parm.  Don't make
h dynamic.  Don't set written_address_p.
(ppc_elf_check_relocs): Adjust ppc_elf_create_linker_section calls.
(bfd_put_ptr): Delete.
(elf_finish_pointer_linker_section): Remove output_bfd and info parms.
Always write section contents.  Assert global sym is def_regular.
Use offset bottom bit as a written flag.
(ppc_elf_relocate_section): Adjust elf_finish_pointer_linker_section
calls.

19 years ago * cygwin.din (__ctype_ptr): Export.
corinna [Tue, 22 Mar 2005 11:37:48 +0000 (11:37 +0000)]
* cygwin.din (__ctype_ptr): Export.
* include/cygwin/version.h: Bump API minor version.

19 years agoAdd Daniel Jacobwitz to the blanket write privileges list.
nickc [Tue, 22 Mar 2005 07:49:41 +0000 (07:49 +0000)]
Add Daniel Jacobwitz to the blanket write privileges list.

19 years ago * elf32-ppc.c (ppc_elf_set_sdata_syms): New function, extracted from..
amodra [Tue, 22 Mar 2005 03:23:50 +0000 (03:23 +0000)]
* elf32-ppc.c (ppc_elf_set_sdata_syms): New function, extracted from..
(ppc_elf_set_sdata_syms): ..here.  Expand comment.  Set .sbss start
and end syms.

19 years agotop:
zack [Tue, 22 Mar 2005 00:49:09 +0000 (00:49 +0000)]
top:
* Makefile.def: Remove libstdcxx_incdir, libsubdir, gxx_include_dir,
gcc_version, and gcc_version_trigger from set of flags to pass.
* Makefile.tpl: Remove definitions of above variables.
(config.status): Remove dependency on $(gcc_version_trigger).
* Makefile.in: Regenerate.
* configure.in: Do not reference config/gcc-version.m4 nor
config/gxx-include-dir.m4.  Do not invoke TL_AC_GCC_VERSION nor
TL_AC_GXX_INCLUDE_DIR.  Do not set gcc_version_trigger.
* configure: Regenerate.
config:
* gxx-include-dir.m4: In all substitutions, leave $(gcc_version)
to be expanded by the Makefile.

19 years ago*** empty log message ***
gdbadmin [Tue, 22 Mar 2005 00:01:39 +0000 (00:01 +0000)]
*** empty log message ***

19 years ago2005-03-21 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 21 Mar 2005 23:23:30 +0000 (23:23 +0000)]
2005-03-21  Michael Snyder  <msnyder@redhat.com>

* mn10300-prologue.c (fix_frame_pointer): Delete.
(set_movm_offsets) Don't return just because movm_args is
zero -- still need to save pc and sp in saved_regs.
(mn10300_analyze_prologue): Don't return prematurely without
calling set_movm_offsets (for pc and sp at minimum).

19 years agodaily update
amodra [Mon, 21 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2005-03-21 Nicholas Wourms <nwourms@netscape.net>
jjohnstn [Mon, 21 Mar 2005 22:34:34 +0000 (22:34 +0000)]
2005-03-21  Nicholas Wourms  <nwourms@netscape.net>

        * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
        since _WANT_IO_POS_ARGS is now defined in there.  Remove duplicate
        reent.h include.

19 years ago* config/tc-mips.c (mips_frob_file): Sort BFD_RELOC_MIPS16_LO16
macro [Mon, 21 Mar 2005 21:59:32 +0000 (21:59 +0000)]
* config/tc-mips.c (mips_frob_file): Sort BFD_RELOC_MIPS16_LO16
relocations correctly as well.
(mips_fix_adjustable): Don't make BFD_RELOC_MIPS16_LO16
relocations in mergeable sections section-relative either.

19 years ago * configure.ac (stat.st_blksize): Check for it.
mmitchel [Mon, 21 Mar 2005 21:23:32 +0000 (21:23 +0000)]
* configure.ac (stat.st_blksize): Check for it.
(getuid): Likewise.
(getgid): Likewise.
* configure: Regenerated.
* config.in: Likewise.
* remote-fileio.c (remote_fileio_to_fio_stat): Check
HAVE_STRUCT_STAT_ST_BLKSIZE.

19 years ago* win32-nat.c (do_initial_child_stuff): Don't clear the thread list here.
cgf [Mon, 21 Mar 2005 19:54:15 +0000 (19:54 +0000)]
* win32-nat.c (do_initial_child_stuff): Don't clear the thread list here.
(do_initial_child_stuff): Move clearing of thread list to a place before a
thread ould be created.
(child_attach): Ditto.

19 years ago* win32-nat.c (do_initial_child_stuff): Don't clear the thread list here.
cgf [Mon, 21 Mar 2005 19:54:06 +0000 (19:54 +0000)]
* win32-nat.c (do_initial_child_stuff): Don't clear the thread list here.
(do_initial_child_stuff): Move clearing of thread list to a place before a
thread ould be created.
(child_attach): Ditto.

19 years ago * config/tc-xtensa.c (md_apply_fix3): Recognize XTENSA_PLT relocations.
bwilson [Mon, 21 Mar 2005 19:45:57 +0000 (19:45 +0000)]
* config/tc-xtensa.c (md_apply_fix3): Recognize XTENSA_PLT relocations.

19 years ago2005-03-21 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 21 Mar 2005 19:31:43 +0000 (19:31 +0000)]
2005-03-21  Michael Snyder  <msnyder@redhat.com>

* mn10300-tdep.c (mn10300_frame_unwind_cache): Use func addr
instead of pc addr for frame_id.  Otherwise "until" won't work.

19 years ago * fhandler.h (class cygthread): Remove forward declaration.
corinna [Mon, 21 Mar 2005 19:10:43 +0000 (19:10 +0000)]
* fhandler.h (class cygthread): Remove forward declaration.

19 years ago * fhandler.h (class cygthread): Forward declare.
corinna [Mon, 21 Mar 2005 18:56:47 +0000 (18:56 +0000)]
* fhandler.h (class cygthread): Forward declare.
(fhandler_socket::sec_pipe): Remove.
(fhandler_socket::eid_pipe_name): Remove.
(fhandler_socket::eid_setblocking): New private method.
(fhandler_socket::eid_unsetblocking): Ditto
(fhandler_socket::eid_recv): Ditto
(fhandler_socket::eid_send): Ditto
(fhandler_socket::eid_accept): Ditto
(fhandler_socket::eid_connect): New public method.
* fhandler_socket.cc (ASYNC_MASK): Move to beginning of file.
(fhandler_socket::eid_pipe_name): Remove.
(fhandler_socket::set_socketpair_eids): Move down to fhandler_socket
methods.
(fhandler_socket::fhandler_socket): Drop initializing sec_pipe.
(fhandler_socket::~fhandler_socket): Drop closing sec_pipe.
(fhandler_socket::eid_setblocking): New method.
(fhandler_socket::eid_unsetblocking): New method.
(fhandler_socket::eid_recv): New method.
(fhandler_socket::eid_send): New method.
(fhandler_socket::eid_connect): New method.
(fhandler_socket::eid_accept): New method.
(fhandler_socket::dup): Drop sec_pipe handling.
(fhandler_socket::connect): Fix WinSock error handling. Prepare
eid credential transaction. Call eid_connect on successful connect.
(fhandler_socket::listen): Drop creating sec_pipe.
(fhandler_socket::accept): Slightly simplify code. Call eid_accept
on accepted socket.
(fhandler_socket::getpeereid): Reshuffle code for readability. Fix
test for invalid pid.
* select.cc (set_bits): Call eid_connect on successfully connected
socket.

19 years ago * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
kevinb [Mon, 21 Mar 2005 18:09:47 +0000 (18:09 +0000)]
* frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
comment.

19 years ago * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
kevinb [Mon, 21 Mar 2005 18:09:28 +0000 (18:09 +0000)]
* frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
comment.

19 years ago(coff_link_hash_entry): Only define for non WINCE targets.
nickc [Mon, 21 Mar 2005 15:43:34 +0000 (15:43 +0000)]
(coff_link_hash_entry): Only define for non WINCE targets.
(t2a1_bx_pc_insn): Likewise.
(t2a2_noop_insn): Likewise.
(t2a3_b_insn): Likewise.
(t2a1_push_insn): Likewise.
(t2a2_ldr_insn): Likewise.
(t2a3_mov_insn): Likewise.
(t2a4_bx_insn): Likewise.
(t2a5_pop_insn): Likewise.
(t2a6_bx_insn): Likewise.
(coff_arm_relocate_section): Only declare the high_address variable for non
WINCE targets.

19 years ago(sh_elf_final_processing): Fix compile time warning by providing a prototype
nickc [Mon, 21 Mar 2005 15:35:24 +0000 (15:35 +0000)]
(sh_elf_final_processing): Fix compile time warning by providing a prototype
for sh_symbian_find_elf_flags.

19 years agoFix typo introduced byprevious delta.
nickc [Mon, 21 Mar 2005 15:31:32 +0000 (15:31 +0000)]
Fix typo introduced byprevious delta.

19 years agoUpdate instructions that use the "never" value in the conditional field to use
nickc [Mon, 21 Mar 2005 15:19:51 +0000 (15:19 +0000)]
Update instructions that use the "never" value in the conditional field to use
"le" instead.  This is so that the disassembler will disassemble them.

19 years agobfd/
amodra [Mon, 21 Mar 2005 13:56:39 +0000 (13:56 +0000)]
bfd/
* elf32-ppc.c (ppc_elf_add_symbol_hook): Make htab->sbss
SEC_LINKER_CREATED.  Attach to dynobj.
(ppc_elf_size_dynamic_sections): Strip htab->sbss if zero size.
ld/
* scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms.
ld/testsuite/
* ld-powerpc/tlsexe32.r: Update.
* ld-powerpc/tlsso32.d: Update.
* ld-powerpc/tlsso32.g: Update.
* ld-powerpc/tlsso32.r: Update.

19 years agobfd/
amodra [Mon, 21 Mar 2005 13:23:10 +0000 (13:23 +0000)]
bfd/
* elf32-ppc.c (struct elf_linker_section): Remove sym_hash and
sym_offset.  Add name, bss_name, sym_name, sym_val.
(struct ppc_elf_link_hash_table): Remove sdata and sdata2 pointers.
Add sdata array of elf_linker_section_t.
(ppc_elf_link_hash_table_create): Set name, sym_name, and bss_name.
(enum elf_linker_section_enum): Delete.
(ppc_elf_create_linker_section): Rewrite.  Don't create syms here.
(ppc_elf_check_relocs): Delay ppc_elf_create_linker_section until
the special sections are needed.  Adjust htab->sdata refs.
Ensure dynobj is set in sreloc code.
(ppc_elf_size_dynamic_sections): Strip sdata sections.
(ppc_elf_set_sdata_syms): New function.
(elf_finish_pointer_linker_section): Use 0x8000 for sym_offset.
(ppc_elf_relocate_section): Adjust references to htab->sdata.  Use
sym_val instead of sym_hash.
* elf32-ppc.h (ppc_elf_set_sdata_syms): Declare.
ld/
* emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New
function.
(LDEMUL_AFTER_ALLOCATION): Define.

19 years ago * elf32-ppc.c (is_ppc_elf_target): Move to linker part of file.
amodra [Mon, 21 Mar 2005 12:24:07 +0000 (12:24 +0000)]
* elf32-ppc.c (is_ppc_elf_target): Move to linker part of file.
(ppc_elf_merge_private_bfd_data): Likewise.

19 years ago * elf32-ppc.c (struct elf_linker_section): Remove rel_section.
amodra [Mon, 21 Mar 2005 12:09:13 +0000 (12:09 +0000)]
* elf32-ppc.c (struct elf_linker_section): Remove rel_section.
(ppc_elf_create_linker_section): Don't create rel_section.
(elf_create_pointer_linker_section): Don't size relocs.
(elf_finish_pointer_linker_section): Remove relative_reloc parm.
Don't generate relocs.
(ppc_elf_relocate_section): Adjust calls to
elf_finish_pointer_linker_section.

19 years ago * elf32-ppc.c (struct elf_linker_section): Remove rel_section.
amodra [Mon, 21 Mar 2005 12:09:02 +0000 (12:09 +0000)]
* elf32-ppc.c (struct elf_linker_section): Remove rel_section.
(ppc_elf_create_linker_section): Don't create rel_section.
(elf_create_pointer_linker_section): Don't size relocs.
(elf_finish_pointer_linker_section): Remove relative_reloc parm.
Don't generate relocs.
(ppc_elf_relocate_section): Adjust calls to
elf_finish_pointer_linker_section.

19 years ago * elf32-ppc.c (is_ppc_elf_target): New function.
amodra [Mon, 21 Mar 2005 11:22:20 +0000 (11:22 +0000)]
* elf32-ppc.c (is_ppc_elf_target): New function.
(ppc_elf_merge_private_bfd_data): Use it rather than just testing
for bfd_target_elf_flavour.  Do this test before endian check.
(ppc_elf_add_symbol_hook): Use is_pcc_elf_target.
(ppc_elf_size_dynamic_sections): Likewise.

19 years ago * configure.tgt: Handle setting of bfd_gas for fmt=multi targets
amodra [Mon, 21 Mar 2005 10:26:18 +0000 (10:26 +0000)]
* configure.tgt: Handle setting of bfd_gas for fmt=multi targets
along with other formats that set bfd_gas.  Remove unnecessary
setting of bfd_gas.  Delete strongarm cases in generic_target
switch.

19 years agold/
amodra [Mon, 21 Mar 2005 09:39:52 +0000 (09:39 +0000)]
ld/
* emultempl/ppc64elf.em (ppc_finish): Rename from
gld${EMULATION_NAME}_finish.  Call gld${EMULATION_NAME}_finish.
(LDEMUL_FINISH): Update.
* emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise.
* emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise.
ld/testsuite/
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.r: Update.

19 years ago PR gas/780
amodra [Mon, 21 Mar 2005 02:25:21 +0000 (02:25 +0000)]
PR gas/780
* config/tc-m68k.c (TRUNC, SEXT): Define.
(issbyte, isubyte, issword, isuword, isbyte, isword): Use the above.
(m68k_ip): Truncate or sign extend expressions as appropriate.
(get_num): Likewise.
(md_apply_fix3): Use SEXT.

19 years ago * Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c.
amodra [Mon, 21 Mar 2005 02:00:31 +0000 (02:00 +0000)]
* Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c.
(OBJ_FORMAT_HFILES): Prune config/obj-vms.h.
(obj-vms.o): Delete rule.
Run "make dep-am".
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* doc/Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

19 years ago*** empty log message ***
gdbadmin [Mon, 21 Mar 2005 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-03-20 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 20 Mar 2005 23:36:13 +0000 (23:36 +0000)]
2005-03-20  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (elf_backend_data): Add int to
elf_backend_section_from_shdr.
(bfd_elf_section_data): Update comment for this_idx.
(_bfd_elf_make_section_from_shdr): Add int.
* elfxx-mips.h (_bfd_mips_elf_section_from_shdr): Likewise.

* elf.c (_bfd_elf_make_section_from_shdr): Take section index
and use it to set this_idx in bfd_elf_section_data.
(bfd_section_from_shdr): Pass shindex to
_bfd_elf_make_section_from_shdr.
(_bfd_elf_section_from_bfd_section): Use this_idx in
bfd_elf_section_data to find section index.

* elf32-arm.c (elf32_arm_section_from_shdr): Take section
index and pass it to _bfd_elf_make_section_from_shdr.
* elf32-i370.c(i370_elf_section_from_shdr): Likewise.
* elf32-ppc.c (ppc_elf_section_from_shdr): Likewise.
* elf32-sh64.c (sh64_backend_section_from_shdr): Likewise.
* elf32-v850.c (v850_elf_section_from_shdr): Likewise.
* elf64-alpha.c (elf64_alpha_section_from_shdr): Likewise.
* elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise.
* elf64-x86-64.c (elf64_x86_64_section_from_shdr): Likewise.
* elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise.
* elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Likewise.

19 years agodaily update
amodra [Sun, 20 Mar 2005 23:00:04 +0000 (23:00 +0000)]
daily update

19 years ago* dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.
kettenis [Sun, 20 Mar 2005 20:30:30 +0000 (20:30 +0000)]
* dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.
* varobj.c (my_value_equal): Mark val2 as volatile.

19 years agoFix typo.
kettenis [Sun, 20 Mar 2005 20:15:56 +0000 (20:15 +0000)]
Fix typo.

19 years ago2005-03-20 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 20 Mar 2005 17:12:16 +0000 (17:12 +0000)]
2005-03-20  H.J. Lu  <hongjiu.lu@intel.com>

* mmix-opc.c (O): Revert the last change.
(Z): Likewise.

19 years ago2005-03-20 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 20 Mar 2005 17:00:13 +0000 (17:00 +0000)]
2005-03-20  H.J. Lu  <hongjiu.lu@intel.com>

* ld-mmix/bpo-1.d: Updated for empty section removal.
* ld-mmix/bpo-10.d: Likewise.
* ld-mmix/bpo-11.d: Likewise.
* ld-mmix/bpo-14.d: Likewise.
* ld-mmix/bpo-16.d: Likewise.
* ld-mmix/bpo-17.d: Likewise.
* ld-mmix/bpo-18.d: Likewise.
* ld-mmix/bpo-19.d: Likewise.
* ld-mmix/bpo-2.d: Likewise.
* ld-mmix/bpo-3.d: Likewise.
* ld-mmix/bpo-4.d: Likewise.
* ld-mmix/bpo-5.d: Likewise.
* ld-mmix/bpo-6.d: Likewise.
* ld-mmix/bpo-9.d: Likewise.
* ld-mmix/bspec1.d: Likewise.
* ld-mmix/bspec2.d: Likewise.
* ld-mmix/greg-1.d: Likewise.
* ld-mmix/greg-19.d: Likewise.
* ld-mmix/greg-2.d: Likewise.
* ld-mmix/greg-3.d: Likewise.
* ld-mmix/greg-4.d: Likewise.
* ld-mmix/greg-5.d: Likewise.
* ld-mmix/greg-5s.d: Likewise.
* ld-mmix/greg-6.d: Likewise.
* ld-mmix/greg-7.d: Likewise.
* ld-mmix/loc1.d: Likewise.
* ld-mmix/loc2.d: Likewise.
* ld-mmix/loc3.d: Likewise.
* ld-mmix/loc4.d: Likewise.
* ld-mmix/loc6.d: Likewise.
* ld-mmix/local1.d: Likewise.
* ld-mmix/local12.d: Likewise.
* ld-mmix/local3.d: Likewise.
* ld-mmix/local5.d: Likewise.
* ld-mmix/local7.d: Likewise.
* ld-mmix/locdo-1.d: Likewise.
* ld-mmix/loct-1.d: Likewise.
* ld-mmix/locto-1.d: Likewise.
* ld-mmix/start-1.d: Likewise.
* ld-mmix/undef-3.d: Likewise.

19 years ago* cp-names.y: Add prototype for yylex.
kettenis [Sun, 20 Mar 2005 16:26:44 +0000 (16:26 +0000)]
* cp-names.y: Add prototype for yylex.

19 years ago* cp-names.y: Add prototype for yylex.
kettenis [Sun, 20 Mar 2005 16:22:44 +0000 (16:22 +0000)]
* cp-names.y: Add prototype for yylex.

19 years ago*** empty log message ***
gdbadmin [Sun, 20 Mar 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* how-programming.texinfo: Remove incorrect libm.a note.
joshuadfranklin [Sat, 19 Mar 2005 23:33:04 +0000 (23:33 +0000)]
* how-programming.texinfo: Remove incorrect libm.a note.

19 years agodaily update
amodra [Sat, 19 Mar 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago* child_info.h (fork_info): Use different method to alias variable.
cgf [Sat, 19 Mar 2005 21:45:13 +0000 (21:45 +0000)]
* child_info.h (fork_info): Use different method to alias variable.
(spawn_info): Ditto.
* cxx.cc (__cxa_guard_acquire): New function (needed for gcc 4.x).
(__cxa_guard_release): Ditto.
* devices.in: Make sure stuff is correctly bracketed (for gcc 4.x).
* devices.cc: Regenerate.
* fhandler.h (fhandler_disk_file::fchmod): Avoid left coercion (for gcc 4.x).
* smallprint.c (__rn): Declare as __fastcall since gcc 4.x complains about use
of regparm, for some reason.
* sync.h (sync::init_lock): Remove.
* sync.cc (sync::init_lock): Ditto.

19 years ago * dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
drow [Sat, 19 Mar 2005 19:44:07 +0000 (19:44 +0000)]
* dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
* gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of
VALADDR.