OSDN Git Service
mmitchel [Tue, 29 Mar 2005 01:12:11 +0000 (01:12 +0000)]
* libiberty.h (ffs): Declare, if necessary.
bwilson [Tue, 29 Mar 2005 00:25:57 +0000 (00:25 +0000)]
* config/tc-xtensa.c (do_align_targets): Update comment.
(xtensa_frob_label): Compute "freq" before possibly switching frags.
Insert a LOOP_END frag before every loop target, and do not overload
DESIRE_ALIGN_IF_TARGET frags with loop end information.
(xg_assemble_vliw_tokens): Use do_align_targets.
(xtensa_fix_target_frags): Remove code to convert a
DESIRE_ALIGN_IF_TARGET frag to a LOOP_END frag when there is a
negatable branch at the end of a loop.
(frag_can_negate_branch): Delete.
gdbadmin [Tue, 29 Mar 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 29 Mar 2005 00:00:05 +0000 (00:00 +0000)]
daily update
hjl [Mon, 28 Mar 2005 22:34:14 +0000 (22:34 +0000)]
gas/
2005-03-28 David Mosberger <davidm@hpl.hp.com>
H.J. Lu <hongjiu.lu@intel.com>
PR 803
NEWS: Mention "-mtune=[itanium1|itanium2]".
* config/tc-ia64.c (md): Add tune.
(md_parse_option): Accepted "-mtune=[itanium1|itanium2]".
(md_show_usage): Add "-mtune=[itanium1|itanium2]".
(extra_goodness): Prefer M- and I-unit NOPs for itanium2. F and
B unit NOPs are discouraged for McKinley-derived cores.
(md_begin): Don't hardcode the "extra_goodness()" function in
the comment...
(ia64_init): Set md.tune to itanium2.
* doc/as.texinfo: Add -mtune=[itanium1|itanium2]".
* doc/c-ia64.texi: Likewise.
gas/testsuite/
2005-03-28 H.J. Lu <hongjiu.lu@intel.com>
PR 803
* gas/ia64/dv-imply.d: Pass -mtune=itanium1 to as.
* gas/ia64/dv-mutex.d : Likewise.
* gas/ia64/dv-safe.d: Likewise.
* gas/ia64/dv-srlz.d.nop: Likewise.
* gas/ia64/ldxmov-1.d: Likewise.
* gas/ia64/opc-b.d: Likewise.
* gas/ia64/opc-f.d: Likewise.
* gas/ia64/opc-i.d: Likewise.
* gas/ia64/opc-m.d: Likewise.
* gas/ia64/operand-or.d: Likewise.
* gas/ia64/pcrel.d: Likewise.
* gas/ia64/pseudo.d: Likewise.
* gas/ia64/tls.d: Likewise.
ld/testsuite/
2005-03-28 H.J. Lu <hongjiu.lu@intel.com>
PR 803
* ld-ia64/ia64.exp: Pass -mtune=itanium1 to as.
brobecke [Mon, 28 Mar 2005 22:31:54 +0000 (22:31 +0000)]
* irix5-nat.c (supply_fpregset): Fix bug that caused the FSR
register value to be incorrectly written in the regcache.
(fill_fpregset): Fix bug that caused the FSR register value
to be incorrectly read from the regcache.
cgf [Mon, 28 Mar 2005 21:58:22 +0000 (21:58 +0000)]
* include/ctype.h: Accommodate building in newlib.
cgf [Mon, 28 Mar 2005 21:51:54 +0000 (21:51 +0000)]
* timer.cc (getitimer): Check that ovalue is a valid pointer, not just NULL.
cgf [Mon, 28 Mar 2005 19:55:51 +0000 (19:55 +0000)]
* timer.cc (timer_tracker::settime): Set times to zero when just cancelling a
timer.
drow [Mon, 28 Mar 2005 19:51:06 +0000 (19:51 +0000)]
* remote-rdi.c (arm_rdi_insert_breakpoint): Don't call
arm_pc_is_thumb_dummy.
cgf [Mon, 28 Mar 2005 19:31:19 +0000 (19:31 +0000)]
* cygthread.cc (cygthread::detach): Revert to just waiting for thred event
since waiting for anything else is racy.
* timer.cc (timer_tracker::hcancel): Rename from cancel.
(timer_tracker::cancel): New method.
(timer_tracker::th): Remove.
(timer_tracker::~timer_tracker): Call cancel method.
(timer_tracker::timer_tracker): Ditto.
(timer_tracker::timer_tracker): Always, clear cancel, even though it is
probably not strictly necessary for ttstart.
(timer_thread): Accommodate cancel -> hcancel rename.
(timer_tracker::settime): Ditto.
(timer_tracker::gettime): Ditto.
(timer_delete): Ditto.
* cygwin.din: Export _ctype_.
* include/ctype.h: Mark that _ctype_ is imported.
cgf [Mon, 28 Mar 2005 18:06:47 +0000 (18:06 +0000)]
* timer.cc (timer_tracker::timer_tracker): Eliminate simple constructor.
(ttstart): Fully initialize.
* errno.cc: Fix typo introduced in previous change.
dj [Mon, 28 Mar 2005 18:02:14 +0000 (18:02 +0000)]
merge from gcc
dj [Mon, 28 Mar 2005 17:14:24 +0000 (17:14 +0000)]
merge from gcc
cgf [Mon, 28 Mar 2005 16:57:09 +0000 (16:57 +0000)]
* errno.cc (FILENAME_EXCED_RANGE): Map to ENAMETOOLONG.
kettenis [Mon, 28 Mar 2005 15:29:37 +0000 (15:29 +0000)]
* sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Handle
StackGhost.
kettenis [Mon, 28 Mar 2005 15:29:27 +0000 (15:29 +0000)]
* sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Handle
StackGhost.
kettenis [Mon, 28 Mar 2005 14:18:54 +0000 (14:18 +0000)]
* netbsd-core.c: Convert to ISO C. Fix formatting.
kettenis [Mon, 28 Mar 2005 13:42:46 +0000 (13:42 +0000)]
* sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow):
Handle StackGhost in 64-bit code.
* sparc64-tdep.c (sparc64_frame_prev_register): Handle StackGhost.
aaronwl [Mon, 28 Mar 2005 12:28:16 +0000 (12:28 +0000)]
* objdump.c (disassemble_bytes): Remove cast.
dj [Mon, 28 Mar 2005 05:07:00 +0000 (05:07 +0000)]
merge from gcc
dj [Mon, 28 Mar 2005 02:08:59 +0000 (02:08 +0000)]
merge from gcc
dj [Mon, 28 Mar 2005 02:08:49 +0000 (02:08 +0000)]
merge from gcc
cgf [Mon, 28 Mar 2005 00:09:08 +0000 (00:09 +0000)]
update copyright
gdbadmin [Mon, 28 Mar 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Sun, 27 Mar 2005 23:38:28 +0000 (23:38 +0000)]
* signal.cc (nanosleep): Revert tv_sec < 0 check as it is fixed properly in the
below change to hires.h.
cgf [Sun, 27 Mar 2005 23:33:29 +0000 (23:33 +0000)]
* times.cc (hires_ms::usecs): Compare the difference.
* hires.h: Add parentheses to HIRES_DELAY_MAX.
hjl [Sun, 27 Mar 2005 18:57:08 +0000 (18:57 +0000)]
Update BFD_VERSION_DATE to
20050327 by hand.
ian [Sun, 27 Mar 2005 17:53:18 +0000 (17:53 +0000)]
* config/obj-coff.c (coff_frob_symbol): When crashing because of a
bad C_EFCN symbol, print its name.
dj [Sun, 27 Mar 2005 05:28:41 +0000 (05:28 +0000)]
merge from gcc
dj [Sun, 27 Mar 2005 05:28:28 +0000 (05:28 +0000)]
merge from gcc
cgf [Sun, 27 Mar 2005 05:21:07 +0000 (05:21 +0000)]
* win32-nat.c (handle_exception): Treat win32 routines which check for valid
addresses as "special" and don't stop when a SEGV is detected.
(get_child_debug_event): Properly flag exception as unhandled.
cgf [Sun, 27 Mar 2005 02:31:31 +0000 (02:31 +0000)]
* timer.cc (nanosleep): Treat tv_sec < 0 as invalid.
* include/search.h: Make declarations consistent with newlib.
cgf [Sun, 27 Mar 2005 01:57:36 +0000 (01:57 +0000)]
* wininfo.h (wininfo::timer_active): Delete.
(wininfo::itv): Ditto.
(wininfo::start_time): Ditto.
(wininfo::window_started): Ditto.
(wininfo::getitimer): Ditto.
(wininfo::setitimer): Ditto.
(wininfo::wininfo): Ditto.
(wininfo::lock): New method.
(wininfo::release): Ditto.
* window.cc: Use new lock/acquire wininfo methods throughout.
(wininfo::wininfo): Delete
(wininfo::getitimer): Ditto.
(wininfo::setitimer): Ditto.
(getitimer): Ditto.
(setitimer): Ditto.
(ualarm): Ditto.
(alarm): Ditto.
(wininfo::lock): Define new function.
(wininfo::release): Ditto.
(wininfo::process): Delete WM_TIMER handling.
* timer.cc (struct timetracker): Delete it, flags. Add it_interval,
interval_us, sleepto_us, running, init_muto(), syncthread, and gettime().
(ttstart): Make NO_COPY.
(lock_timer_tracker): New class.
(timer_tracker::timer_tracker): Distinguish ttstart case.
(timer_tracker::~timer_tracker): New destructor. Clean out events, and reset
magic.
(timer_tracker::init_muto): New method.
(to_us): Round up as per POSIX.
(timer_thread): Reorganize to match timer_tracker::settime and
timer_tracker::gettime. Call sig_send without wait. Call auto_release.
(timer_tracker::settime): Reorganize logic to avoid race. Call gettime to
recover old value.
(timer_tracker::gettime): New method.
(timer_create): Properly set errno on invalid timerid. Use new
lock_timer_tracker method.
(timer_delete): Ditto. Simplify code slightly.
(timer_gettime): New function.
(fixup_timers_after_fork): Reinit ttstart.
(getitimer): New implementation.
(setitimer): Ditto.
(ualarm): Ditto.
(alarm): Ditto.
* cygwin.din: Export timer_gettime.
* winsup.h: Remove has has_visible_window_station declaration.
* Makefile.in (DLL_OFILES): Add lsearch.o.
* cygthread.h (cygthread::notify_detached): New element.
(cygthread::cygthread): Take optional fourth argument signifying event to
signal on thread completion.
* cygthread.cc (cygthread::stub): Signal notify_detached event, if it exists.
(cygthread::cygthread): Initialize notify_detached from fourth argument.
(cygthread::detach): Wait for notify_detached field is present.
* lsearch.cc: New file.
* search.h: Ditto.
* include/cygwin/version.h: Bump API minor number to 126.
* cygwin.din: Export lsearch, lfind.
schwab [Sun, 27 Mar 2005 00:18:54 +0000 (00:18 +0000)]
* gdb.base/bigcore.c (main): Add missing mode argument in open
call.
gdbadmin [Sun, 27 Mar 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
drow [Sat, 26 Mar 2005 21:56:44 +0000 (21:56 +0000)]
* cp-support.c (cp_class_name_from_physname): Rewrite.
(unqualified_name_from_comp): New function, broken out from
method_name_from_physname. Correct handling for typed names
and templates.
(method_name_from_physname): Use unqualified_name_from_comp.
(cp_func_name, remove_params): Move earlier in the file. Add
better comments. Use the component tree to parse the name.
(_initialize_cp_support): Remove stray whitespace.
kettenis [Sat, 26 Mar 2005 16:50:42 +0000 (16:50 +0000)]
* exec.c (bfdsec_to_vmap): Use strcmp instead of DEPRECATED_STREQ.
kettenis [Sat, 26 Mar 2005 16:32:56 +0000 (16:32 +0000)]
* inflow.h: Update copyright year. Remove #ifdef SHORT_PGRP code.
Callapse HAVE_TERMIO and HAVE_SGTTY.
kettenis [Sat, 26 Mar 2005 15:20:39 +0000 (15:20 +0000)]
* dwarf2-frame.c (execute_cfa_program): Implement
DW_CFA_GNU_window_save.
joshuadfranklin [Sat, 26 Mar 2005 04:01:52 +0000 (04:01 +0000)]
Mention generic-build-script in packaging FAQ
bwilson [Sat, 26 Mar 2005 00:20:59 +0000 (00:20 +0000)]
* config/tc-xtensa.c (use_longcalls): Delete.
(xg_symbolic_immeds_fit): Check for direct calls and return TRUE if
the use_longcalls flag is set. Do this before checking the segment.
(xg_expand_assembly_insn): Rearrange to use new do_expand flag. Never
expand direct calls at this point.
(xtensa_set_frag_assembly_state): Set use_longcalls flag.
(xtensa_find_unmarked_state_frags): Likewise.
(md_assemble): Do not disable longcalls by setting is_specific_opcode.
(xg_assemble_vliw_tokens): Switch frags when use_longcalls changes.
(convert_frag_immed): Remove unnecessary check of is_specific_opcode.
* config/tc-xtensa.h (xtensa_frag_type): Add use_longcalls flag.
gdbadmin [Sat, 26 Mar 2005 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***
kettenis [Fri, 25 Mar 2005 22:28:51 +0000 (22:28 +0000)]
* config/sparc/nbsd64.mh (NAT_FILE): Remove.
kettenis [Fri, 25 Mar 2005 22:25:25 +0000 (22:25 +0000)]
* config/i386/obsd64.mt (TDEPFILES): Add obsd-uthread.o.
drow [Fri, 25 Mar 2005 21:28:02 +0000 (21:28 +0000)]
* arm-tdep.c (target_is_thumb, caller_is_thumb)
(arm_pc_is_thumb_dummy): Remove.
(arm_breakpoint_from_pc): Don't call arm_pc_is_thumb_dummy.
green [Fri, 25 Mar 2005 20:40:01 +0000 (20:40 +0000)]
Fix memset thinkos.
green [Fri, 25 Mar 2005 20:39:42 +0000 (20:39 +0000)]
Fix memset thinkos.
drow [Fri, 25 Mar 2005 20:38:54 +0000 (20:38 +0000)]
* lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
downloads.
* config/gdbserver.exp (gdb_load): Likewise.
mmitchel [Fri, 25 Mar 2005 20:06:34 +0000 (20:06 +0000)]
* ser-base.c (ser_unix_write): Rename to ...
(ser_base_write): ... this.
(ser_unix_nop_flush_output): Rename to ...
(ser_base_flush_output): ... this.
(ser_unix_flush_input): Rename to ...
(ser_base_flush_input): ... this.
(ser_unix_nop_send_break): Rename to ...
(ser_base_send_break): ... this.
(ser_unix_nop_drain_output): Rename to ...
(ser_base_drain_output): ... this.
(ser_unix_nop_raw): Rename to ...
(ser_base_raw): ... this.
(ser_unix_nop_get_tty_state): Rename to ...
(ser_base_set_tty_state): ... this.
(ser_unix_nop_noflush_set_tty_state): Rename to ...
(ser_base_noflush_set_tty_state): ... this.
(ser_unix_nop_print_tty_state): Rename to ...
(ser_base_print_tty_state): ... this.
(ser_unix_nop_setbaudrate): Rename to ...
(ser_base_setbaudrate): ... this.
(ser_unix_nop_setstopbits): Rename to ...
(ser_base_setstopbits): ... this.
(ser_unix_async): Rename to ...
(ser_base_async): ... this.
* ser-base.h (ser_unix_write): Rename to ...
(ser_base_write): ... this.
(ser_unix_nop_flush_output): Rename to ...
(ser_base_flush_output): ... this.
(ser_unix_flush_input): Rename to ...
(ser_base_flush_input): ... this.
(ser_unix_nop_send_break): Rename to ...
(ser_base_send_break): ... this.
(ser_unix_nop_drain_output): Rename to ...
(ser_base_drain_output): ... this.
(ser_unix_nop_raw): Rename to ...
(ser_base_raw): ... this.
(ser_unix_nop_get_tty_state): Rename to ...
(ser_base_set_tty_state): ... this.
(ser_unix_nop_noflush_set_tty_state): Rename to ...
(ser_base_noflush_set_tty_state): ... this.
(ser_unix_nop_print_tty_state): Rename to ...
(ser_base_print_tty_state): ... this.
(ser_unix_nop_setbaudrate): Rename to ...
(ser_base_setbaudrate): ... this.
(ser_unix_nop_setstopbits): Rename to ...
(ser_base_setstopbits): ... this.
(ser_unix_async): Rename to ...
(ser_base_async): ... this.
* ser-pipe.c (_initialize_ser_pipe): Update accordingly.
* ser-tcp.c (_initialize_ser_tcp): Likewise.
* ser-unix.c (hardwire_flush_input): Likewise.
(_initializer_ser_hardwire): Likewise.
mmitchel [Fri, 25 Mar 2005 19:47:14 +0000 (19:47 +0000)]
* Makefile.in (SFILES): Add ser-base.c.
(ser_base_h): New variable.
(ser-base.o): New target.
(ser-pipe.o): Depend on $(ser_base_h).
(ser-tcp.o): Likewise.
(ser-unix.o): Likewise. Do not depend on $(event_loop_h).
* configure.ac (SER_HARDWIRE): Include ser-base.o where
appropriate.
* ser-base.c: New file.
(push_event): Move from ser-unix.c.
(fd_event): Likewise.
(reschedule): Likewise.
(ser_unix_write): Likewise.
(ser_unix_nop_flush_output): Likewise.
(ser_unix_flush_input): Likewise.
(ser_unix_nop_send_break): Likewise.
(ser_unix_nop_drain_output): Likewise.
(ser_unix_nop_raw): Likewise.
(ser_unix_nop_get_tty_state): Likewise.
(ser_unix_nop_set_tty_state): Likewise.
(ser_unix_nop_noflush_set_tty_state): Likewise.
(ser_unix_nop_print_tty_state): Likewise.
(ser_unix_nop_setbaudrate): Likewise.
(ser_unix_nop_setstopbits): Likewise.
(ser_unix_async): Likewise.
* ser-base.h: New file.
* ser-pipe.c (ser-base.h): Include it.
* ser-tcp.c (ser-base.h): Likewise.
* ser-unix.h (ser_unix_nop_flush_output): Remove.
(ser_unix_flush_input): Likewise.
(ser_unix_nop_send_break): Likewise.
(ser_unix_nop_raw): Likewise.
(ser_unix_nop_get_tty_state): Likewise.
(ser_unix_nop_set_tty_state): Likewise.
(ser_unix_nop_print_tty_state): Likewise.
(ser_unix_nop_noflush_set_tty_state): Likewise.
(ser_unix_nop_setbaudrate): Likewise.
(ser_unix_nop_setstopbits): Likewise.
(ser_unix_nop_drain_output): Likewise.
(ser_unix_wait_for): Likewise.
(ser_unix_write): Likewise.
(ser_unix_async): Likewise.
* ser-unix.c (event-loop.h): Do not include it.
(push_event): Move to ser-base.c.
(fd_event): Likewise.
(reschedule): Likewise.
(ser_unix_write): Likewise.
(ser_unix_nop_flush_output): Likewise.
(ser_unix_flush_input): Likewise.
(ser_unix_nop_send_break): Likewise.
(ser_unix_nop_drain_output): Likewise.
(ser_unix_nop_raw): Likewise.
(ser_unix_nop_get_tty_state): Likewise.
(ser_unix_nop_set_tty_state): Likewise.
(ser_unix_nop_noflush_set_tty_state): Likewise.
(ser_unix_nop_print_tty_state): Likewise.
(ser_unix_nop_setbaudrate): Likewise.
(ser_unix_nop_setstopbits): Likewise.
(ser_unix_async): Likewise.
(ser_unix_wait_for): Make it static.
* configure: Regenerated.
kettenis [Fri, 25 Mar 2005 16:51:38 +0000 (16:51 +0000)]
* dwarf2-frame.h: Update copyrigh year.
(enum dwarf2_frame_reg_rule): Add DWARF2_FRAME_REG_RA_OFFSET.
* dwarf2-frame.c: Update copyright year.
(struct dwarf2_frame_cache): Add member `retaddr_reg'.
(dwarf2_frame_cache): Deal with DWARF2_FRAME_REG_RA_OFFSET.
(dwarf2_frame_prev_register): Handle DWARF2_FRAME_REG_RA_OFFSET.
ths [Fri, 25 Mar 2005 16:20:01 +0000 (16:20 +0000)]
Update mail address.
drow [Fri, 25 Mar 2005 15:42:29 +0000 (15:42 +0000)]
* BRANCHES: Add binutils-csl-arm-2005q1-branch and
binutils-2_16-branch.
kettenis [Fri, 25 Mar 2005 15:23:18 +0000 (15:23 +0000)]
* MAINTAINERS: Add myself as M88k maintainer.
hp [Fri, 25 Mar 2005 11:50:48 +0000 (11:50 +0000)]
* config/tc-mmix.c, config/tc-mmix.h: Convert to ISO C90.
bonzini [Fri, 25 Mar 2005 09:02:29 +0000 (09:02 +0000)]
2005-03-25 Paolo Bonzini <bonzini@gnu.org>
* configure.in (RPATH_ENVVAR): Set to DYLD_LIBRARY_PATH on Darwin.
* configure: Regenerate.
dj [Fri, 25 Mar 2005 04:57:00 +0000 (04:57 +0000)]
merge from gcc
dj [Fri, 25 Mar 2005 04:27:20 +0000 (04:27 +0000)]
merge from gcc
hp [Fri, 25 Mar 2005 04:10:51 +0000 (04:10 +0000)]
* config/tc-cris.h: Convert to ISO C90.
* config/tc-cris.c: Ditto.
(md_estimate_size_before_relax): Remove obsolete comment for
parameter "segment_type".
(md_begin): Document reason for cast of hash_insert argument.
(md_atof): Correct type of parameter "type".
gdbadmin [Fri, 25 Mar 2005 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***
mmitchel [Thu, 24 Mar 2005 23:36:02 +0000 (23:36 +0000)]
* config/default.exp: Do not load libpath.exp if it does not
exist.
(CC): Provide fallback definition.
(CFLAGS): Likewise.
(CXX): Likewise.
(CXXFLAGS): Likewise.
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.
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.
nickc [Thu, 24 Mar 2005 21:13:02 +0000 (21:13 +0000)]
Updated French translation
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.
nickc [Thu, 24 Mar 2005 20:40:22 +0000 (20:40 +0000)]
Convert unmaintained files over to ISO-C90 and fix formatting.
diwil [Thu, 24 Mar 2005 18:04:38 +0000 (18:04 +0000)]
Add Dmitry Diky to maintainers list as msp430 maintainer
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[].
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.
nickc [Thu, 24 Mar 2005 09:26:25 +0000 (09:26 +0000)]
(BFD32_BACKENDS): Delete elf32-ia64.lo.
(BFD64_BACKENDS): Add elf32-ia64.lo.
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.
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.
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.
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.
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.
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.
gdbadmin [Thu, 24 Mar 2005 00:01:07 +0000 (00:01 +0000)]
*** empty log message ***
cgf [Wed, 23 Mar 2005 21:03:59 +0000 (21:03 +0000)]
* include/ctype.h: Always define macros when inside cygwin.
(isblank): New macro.
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.
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.
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.
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.
jjohnstn [Wed, 23 Mar 2005 18:09:57 +0000 (18:09 +0000)]
Fix whitespace with crx entry.
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.
cgf [Wed, 23 Mar 2005 17:47:29 +0000 (17:47 +0000)]
checkin previously missed file.
cgf [Wed, 23 Mar 2005 17:43:51 +0000 (17:43 +0000)]
fix comment
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.
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.
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?).
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.
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.
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.
nickc [Wed, 23 Mar 2005 14:49:44 +0000 (14:49 +0000)]
Undo previous delta
nickc [Wed, 23 Mar 2005 14:46:12 +0000 (14:46 +0000)]
(getopt): Allow full prototype when builind under FreeBSD.
nickc [Wed, 23 Mar 2005 11:18:07 +0000 (11:18 +0000)]
Convert to ISO C90 formatting
nickc [Wed, 23 Mar 2005 09:44:05 +0000 (09:44 +0000)]
Update French translation
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.
cgf [Wed, 23 Mar 2005 03:22:27 +0000 (03:22 +0000)]
* Makefile.common: Add -dD to options when creating preprocess files.
dj [Wed, 23 Mar 2005 00:01:17 +0000 (00:01 +0000)]
merge from gcc