OSDN Git Service
mmitchel [Mon, 25 Apr 2005 21:45:55 +0000 (21:45 +0000)]
* event-loop.c (gdb_assert.h): Include.
(<windows.h>): Include under Windows.
(<io.h>): Likeiwse.
(gdb_select): New function.
(gdb_wait_for_event): Use it.
* Makefile.in (event-loop.o): Depend on $(gdb_assert_h).
mmitchel [Mon, 25 Apr 2005 21:45:46 +0000 (21:45 +0000)]
* event-loop.c (gdb_assert.h): Include.
(<windows.h>): Include under Windows.
(<io.h>): Likeiwse.
(gdb_select): New function.
(gdb_wait_for_event): Use it.
* Makefile.in (event-loop.o): Depend on $(gdb_assert_h).
hjl [Mon, 25 Apr 2005 14:59:00 +0000 (14:59 +0000)]
bfd/
2005-04-25 H.J. Lu <hongjiu.lu@intel.com>
PR 858
* elflink.c (elf_link_input_bfd): Make non-debugging reference
to discarded section an error.
ld/testsuite/
2005-04-25 H.J. Lu <hongjiu.lu@intel.com>
* ld-discard/extern.d: Expect error.
* ld-discard/start.d: Likewise.
* ld-discard/static.d: Likewise.
cgf [Mon, 25 Apr 2005 14:40:53 +0000 (14:40 +0000)]
* mount.cc (mount_commands): Display "-X" option when appropriate.
nickc [Mon, 25 Apr 2005 14:26:59 +0000 (14:26 +0000)]
PR872
* objcopy.c (copy_archive): Initialise 'obfd' field of new name_list structure.
nickc [Mon, 25 Apr 2005 09:25:57 +0000 (09:25 +0000)]
Oops - forgot one place where -K is documented.
nickc [Mon, 25 Apr 2005 09:23:22 +0000 (09:23 +0000)]
* objcopy.c (copy_usage): Fix description of -K switch.
* doc/binutils.texi (strip, objcopy): Fix description of -K switch.
bje [Mon, 25 Apr 2005 07:52:25 +0000 (07:52 +0000)]
* corefile.h (core_num_syms): Remove unused extern declaration.
(core_syms): Likewise.
(min_insn_size): Likewise.
nickc [Mon, 25 Apr 2005 07:48:59 +0000 (07:48 +0000)]
* armemu.c (handle_v6_insn): New function - emulate a few of the v6 instructions - the ones now generated by GCC.
(ARMulEmulate32): Call handle_v6_insn when a possible v6 insn is found.
* armdefs.h (struct ARMul_State): Add new field: is_v6.#
(ARM_v6_Prop): Define.
* arminit.c (ARMul_NewState): Initialise the v6 flag.
(ARMul_SelectProcessor): Determine if the v6 flag should be set.
* wrapper.c (sim_create_inferior): For unknown architectures, default to allowing the v6 instructions.
dannysmith [Mon, 25 Apr 2005 07:08:21 +0000 (07:08 +0000)]
* include/vfw.h (capCreateCaptureWindow[AW]): Add prototypes.
(capGetDriverDescription[AW]): Likewise.
ChangeLog: Typo fixes.
jbeulich [Mon, 25 Apr 2005 06:43:44 +0000 (06:43 +0000)]
gas/
2005-04-25 Jan Beulich <jbeulich@novell.com>
* macro.c (macro_expand_body): Replace locals indicator parameters
with actual macro_entry. New local variables macro_line and err.
Don't return when encountering an error, just record the fact.
Detect local symbol name colliding with parameter. Track line number
inside of macro expansion.
(do_formals): Move local variable name to wider scope. Check
parameter of the same name doesn't already exist. In MRI mode, also
check it doesn't collide with the argument count pseudo-parameter).
(define_macro): Add file and line number parameters. Remove local
variable namestr. New local variable error. Initialize macro_entry
members file, line, and name. Don't return when encountering an
error, just record the fact. Use %s in some diagnostics for read.c
to insert the macro name. Free macro_entry on error.
(macro_expand): Pass macro_entry to macro_epand_body. Don't return
when encountering an error, just record the fact.
(expand_irp): Don't return when encountering an error, just record
the fact.
* macro.h (macro_struct): New members name, file, and line.
(define_macro): Add file and line number parameters.
* read.c (s_macro): Pass file and line to define_macro. Tag warning
regarding pseudo-op redefinition with the file/line that macro
definition started at.
gas/testsuite/
2005-04-25 Jan Beulich <jbeulich@novell.com>
* gas/macros/badarg.s: Add tests for collisions between/among macro
parameters and local symbols.
* gas/macros/badarg.l: Adjust.
joshuadfranklin [Mon, 25 Apr 2005 05:03:48 +0000 (05:03 +0000)]
* how-to-debug-cygwin.txt: Fix typo.
gdbadmin [Mon, 25 Apr 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
kettenis [Sun, 24 Apr 2005 20:26:37 +0000 (20:26 +0000)]
* configure.host: Add *-*-openbsd support.
dannysmith [Sun, 24 Apr 2005 11:30:27 +0000 (11:30 +0000)]
* mingwex/mbrtowc.c: New file.
* mingwex/wcrtomb.c: New file.
* mingwex/btowc.c: New file.
* mingwex/wctob.c: New file.
* mingwex/mb_wc_common.h: New file.
* mingwex/Makefile.in (DISTFILES): Add new files.
(Q8_OBJS): Add new objects.
* include/wchar.h: Adjust comment about mbrtowc() and related
funcions. Add __restrict__ to pointer params in prototypes.
(wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
arg names from protototypes.
dannysmith [Sun, 24 Apr 2005 11:29:01 +0000 (11:29 +0000)]
* mingwex/mbrtowc.c: New file.
* mingwex/wcrtomb.c: New file.
* mingwex/btowc.c: New file.
* mingwex/wctob.c: New file.
* mingwex/mb_wc_common.h: New file.
* mingwex/Makefile.in (DISTFILES): Add new files.
(Q8_OBJS): Add new objects.
* include/wchar.h: Adjust comment about mbrtowc() and related
funcions. Add __restrict__ to pointer params in prototypes.
(wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
arg names from protototypes.
dannysmith [Sun, 24 Apr 2005 10:26:36 +0000 (10:26 +0000)]
2005-04-23 Wu Yongwei <adah@sh163.net>
mingwex/dirent.c: Formatting changes.
mingwex/dirent.c (_topendir): Make the end-of-path slash check
MBCS-safe.
gdbadmin [Sun, 24 Apr 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
kettenis [Sat, 23 Apr 2005 20:20:16 +0000 (20:20 +0000)]
* sparc64-tdep.c: Include "dwarf2-frame.h".
(sparc64_dwarf2_frame_init_reg): New function.
* Makefile.in (sparc64-tdep.o): Update dependencies.
bje [Sat, 23 Apr 2005 17:13:31 +0000 (17:13 +0000)]
* corefile.c (core_num_syms): Make static.
(core_syms): Likewise.
(min_insn_size): Likewise.
* gprof.c (abfd): Remove unused variable.
* hist.c (hist_dimension): Make static.
(hist_dimension_abbrev): Likewise.
* sym_ids.c (id_list): Likewise.
(table_name): Likewise.
kettenis [Sat, 23 Apr 2005 15:40:54 +0000 (15:40 +0000)]
* sparc64-tdep.c: Include "dwarf2-frame.h".
(sparc64_dwarf2_frame_init_reg): New function.
* Makefile.in (sparc64-tdep.o): Update dependencies.
kettenis [Sat, 23 Apr 2005 15:40:41 +0000 (15:40 +0000)]
* sparc64-tdep.c: Include "dwarf2-frame.h".
(sparc64_dwarf2_frame_init_reg): New function.
* Makefile.in (sparc64-tdep.o): Update dependencies.
cgf [Sat, 23 Apr 2005 03:24:20 +0000 (03:24 +0000)]
* shared.cc (user_shared_initialize): Implement locking similar to shared_info
when initializing shared region.
gdbadmin [Sat, 23 Apr 2005 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
davem [Fri, 22 Apr 2005 23:08:06 +0000 (23:08 +0000)]
2005-04-22 David S. Miller <davem@davemloft.net>
* sparc64-linux-tdep.c (sparc64_linux_init_abi): Add call to
sparc64_init_abi().
davem [Fri, 22 Apr 2005 23:07:50 +0000 (23:07 +0000)]
2005-04-22 David S. Miller <davem@davemloft.net>
* sparc64-linux-tdep.c (sparc64_linux_init_abi): Add call to
sparc64_init_abi().
bwilson [Fri, 22 Apr 2005 21:37:30 +0000 (21:37 +0000)]
* config/tc-xtensa.c (LOOKAHEAD_ALIGNER): Delete macro.
(future_alignment_required): Remove ifdefs that use it.
kettenis [Fri, 22 Apr 2005 21:23:24 +0000 (21:23 +0000)]
* ser-base.c: Include "ser-base.h" instead of "ser-unix.h".
mmitchel [Fri, 22 Apr 2005 20:32:01 +0000 (20:32 +0000)]
* ser-base.c (<sys/time.h>): Include.
kettenis [Fri, 22 Apr 2005 20:29:14 +0000 (20:29 +0000)]
* ppcobsd-tdep.c (ppcobsd_init_abi): Set return_value.
kettenis [Fri, 22 Apr 2005 20:29:02 +0000 (20:29 +0000)]
* ppcobsd-tdep.c (ppcobsd_init_abi): Set return_value.
bwilson [Fri, 22 Apr 2005 20:21:54 +0000 (20:21 +0000)]
* config/tc-xtensa.c (xg_get_build_instr_size): Remove.
(xg_is_narrow_insn, xg_expand_narrow): Remove. Merge into...
(xg_is_single_relaxable_insn): ...here. Add "targ" and "narrow_only"
parameters.
(xg_assembly_relax, xg_find_narrowest_format, relaxation_requirements,
convert_frag_narrow): Use new version of xg_is_single_relaxable_insn.
kettenis [Fri, 22 Apr 2005 19:59:07 +0000 (19:59 +0000)]
* sparc-linux-tdep.c: Reorder includes. Tweak a few comments.
(LINUX32_SIGTRAMP_INSN0, LINUX32_SIGTRAMP_INSN1)
(LINUX32_RT_SIGTRAMP_INSN0, LINUX32_RT_SIGTRAMP_INSN1): Remove
macros.
(sparc32_linux_sigframe, sparc32_linux_rt_sigframe): Hardcode
instructions.
* sparc64-linux-tdep.c: Reorder includes. Tweak a few comments.
(LINUX64_RT_SIGTRAMP_INSN0, LINUX64_RT_SIGTRAMP_INSN1): Remove
macros.
(sparc64_linux_rt_sigframe): Hardcode instructions.
* Makefile.in (sparc-linux-tdep.o, sparc64-linux-tdep.o): Update
kettenis [Fri, 22 Apr 2005 19:52:17 +0000 (19:52 +0000)]
* sparc-linux-tdep.c: Reorder includes. Tweak a few comments.
(LINUX32_SIGTRAMP_INSN0, LINUX32_SIGTRAMP_INSN1)
(LINUX32_RT_SIGTRAMP_INSN0, LINUX32_RT_SIGTRAMP_INSN1): Remove
macros.
(sparc32_linux_sigframe, sparc32_linux_rt_sigframe): Hardcode
instructions.
* sparc64-linux-tdep.c: Reorder includes. Tweak a few comments.
(LINUX64_RT_SIGTRAMP_INSN0, LINUX64_RT_SIGTRAMP_INSN1): Remove
macros.
(sparc64_linux_rt_sigframe): Hardcode instructions.
* Makefile.in (sparc-linux-tdep.o, sparc64-linux-tdep.o): Update
dependencies.
kettenis [Fri, 22 Apr 2005 19:06:17 +0000 (19:06 +0000)]
* sparc-linux-tdep.c: Update copyright year.
(sparc32_linux_init_abi): Set skip_trampoline_code and
solib_svr4_fetch_link_map_offsets. Set TDEP->plt_entry_size.
Don't set software_single_step and don't call
sparc32_sol2_init_abi.
* sparc64-linux-tdep.c: Update copyright year.
(sparc64_linux_init_abi): Set skip_trampoline_code and
solib_svr4_fetch_link_map_offsets. Set TDEP->plt_entry_size.
Don't set software_single_step and don't call
sparc64_sol2_init_abi.
cgf [Fri, 22 Apr 2005 17:03:30 +0000 (17:03 +0000)]
* fhandler.h (dev_console::set_color): Define new function.
(dev_console::set_default_attr): Ditto, moved from fhandler_console.
(dev_console::fillin_info): Ditto. Accommodate this change throughout this
file.
(fhandler_console::get_win32_attr): Eliminate.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Properly set default
attributes on initialization.
(fhandler_console::open): Set current attributes rather than default color on
open.
(fhandler_console::get_win32_attr): Eliminate.
(dev_console::set_color): New function. Move get_win32_attr stuff here.
(dev_console::set_default_attr): New function, moved from fhandler_console.
(dev_console::fillin_info): Ditto.
(fhandler_console::char_command): Call set_color to set screen characteristics.
guitton [Fri, 22 Apr 2005 13:58:08 +0000 (13:58 +0000)]
* configure.in: Replace BFD_NEED_DECLARATION checks by the
corresponding AC_CHECK_DECLS.
* sysdep.h: Replace NEED_DECLARATION_* checks by the corresponding
HAVE_DECL_*.
* bfd.m4 (BFD_NEED_DECLARATION): Remove, obsolete.
* configure: Regenerate.
* config.in: Ditto.
cgf [Fri, 22 Apr 2005 13:58:05 +0000 (13:58 +0000)]
* fhandler.cc (fhandler_base::read): Remove unused signal state tweaks.
* fhandler.h (fhandler_pipe::create_selectable): Declare.
(fhandler_fifo::close_one_end): Declare.
* fhandler_fifo.cc (fhandler_fifo::close_one_end): Define.
(fhandler_fifo::open_not_mine): Use close_one_end to close appropriate end of
pipe.
* pinfo.cc (_pinfo::commune_recv): Ditto.
* pipe.cc (fhandler_pipe::create_selectable): Rename from
create_selectable_pipe. Reorganize.
(fhandler_pipe::create): Use create_selectable.
eliz [Fri, 22 Apr 2005 13:09:27 +0000 (13:09 +0000)]
* gdb.texinfo (Remote configuration): Document "set/show
get-thread-local-storage-address". Add cross-reference to the
description of the qGetTLSAddr packet.
(General Query Packets): Mention "set remote
get-thread-local-storage-address" and add a reference to its
description.
eliz [Fri, 22 Apr 2005 12:49:26 +0000 (12:49 +0000)]
* remote-st.c (_initialize_remote_st2000): Remove the extraneous
"<command>" string from the call to add_com.
* remote-sim.c (_initialize_remote_sim): Ditto.
* remote-utils.c (_initialize_sr_support): Ditto.
* remote-mips.c (_initialize_remote_mips): Ditto.
hjl [Fri, 22 Apr 2005 05:21:49 +0000 (05:21 +0000)]
2005-04-21 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (INCLUDES): New. Add -D_GNU_SOURCE.
(chew.o): Use it.
* Makefile.in: Regenerate.
gdbadmin [Fri, 22 Apr 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 22 Apr 2005 00:00:05 +0000 (00:00 +0000)]
daily update
cgf [Thu, 21 Apr 2005 23:53:46 +0000 (23:53 +0000)]
* shared.cc (shared_info::initialize): Test previous version of shared memory
magic rather than current version when determining if there has been a shared
memory mismatch.
davem [Thu, 21 Apr 2005 22:03:56 +0000 (22:03 +0000)]
* sparc-linux-tdep.c (sparc32_linux_sigframe_init): New function.
(sparc32_linux_sigframe, sparc32_linux_rt_sigframe): New tramp_frames.
(sparc_linux_sigtramp_start, sparc32_linux_sigtramp_start,
sparc32_linux_rt_sigtramp_start, sparc32_linux_sigtramp_p,
sparc32_linux_sigtramp_frame_cache,
sparc32_linux_sigtramp_frame_this_id,
sparc32_linux_sigtramp_frame_prev_register,
sparc32_linux_sigtramp_frame_unwind,
sparc32_linux_sigtramp_frame_sniffer): Delete.
(sparc32_linux_init_abi): Register new tramp unwinders. Kill
register of old sigtramp sniffer.
* sparc64-linux-tdep.c (sparc64_linux_sigframe_init): New
function.
(sparc64_linux_rt_sigframe): New tramp frame.
(sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p,
sparc64_linux_sigtramp_frame_cache,
sparc64_linux_sigtramp_frame_this_id,
sparc64_linux_sigtramp_frame_prev_register,
sparc64_linux_sigtramp_frame_unwind,
sparc64_linux_sigtramp_frame_sniffer): Delete.
(sparc64_linux_init_abi): Register new tramp unwinders. Kill
register of old sigtramp sniffer.
Makefile.in (sparc64-linux-tdep.o): Update dependencies.
(sparc-linux-tdep.o): Likewise.
kettenis [Thu, 21 Apr 2005 21:23:22 +0000 (21:23 +0000)]
* ser-base.c: Include "gdb_string.h".
* Makefile.in (ser-base.o): Update dependencies.
cpg [Thu, 21 Apr 2005 20:03:55 +0000 (20:03 +0000)]
* config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
array.
davem [Thu, 21 Apr 2005 19:38:14 +0000 (19:38 +0000)]
* sparc-linux-tdep.c (sparc32_linux_sigtramp_p): Fix
signal return stub symbol names, __restore and __restore_rt are
the i386 symbol names not the sparc ones.
(sparc32_linux_sigtramp_frame_cache): Document bits/sigcontext.h
as where the offsets were obtained from.
* sparc64-linux-tdep.c (LINUX64_RT_SIGTRAMP_INSN0,
LINUX64_RT_SIGTRAMP_INSN1): New defines.
(sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p,
sparc64_linux_sigtramp_frame_cache,
sparc64_linux_sigtramp_frame_this_id,
sparc64_linux_sigtramp_frame_prev_register,
sparc64_linux_sigtramp_frame_sniffer): New functions.
(sparc64_linux_sigtramp_frame_unwind): New frame unwinder.
(sparc64_linux_init_abi): Register sigtramp frame sniffer.
* Makefile.in (sparc64-linux-tdep.o): Update dependencies.
schwab [Thu, 21 Apr 2005 12:19:50 +0000 (12:19 +0000)]
* elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove
unsigned from type of dynamic_interpreter.
* elfxx-sparc.c (_bfd_sparc_elf_link_hash_table_create): Remove
casts again.
schwab [Thu, 21 Apr 2005 12:13:32 +0000 (12:13 +0000)]
* elf.c (assign_section_numbers): Fix comment.
guitton [Thu, 21 Apr 2005 10:47:49 +0000 (10:47 +0000)]
* som.c (som_bfd_print_private_bfd_data): Add explicit cast to long
for struct som_exec_auxhdr fields.
guitton [Thu, 21 Apr 2005 10:47:37 +0000 (10:47 +0000)]
* som.c (som_bfd_print_private_bfd_data): Add explicit cast to long
for struct som_exec_auxhdr fields.
nickc [Thu, 21 Apr 2005 07:45:29 +0000 (07:45 +0000)]
Update to ISO-C90 and fix formatting
mmitchel [Thu, 21 Apr 2005 05:34:28 +0000 (05:34 +0000)]
* configure.ac: On MinGW, define USE_WIN32API and link with
-lws2_32.
* ser-tcp.c (<winsock2.h>): Include, for Windows.
(ETIMEDOUT): Define, for Windows.
(ioctl): Likewise.
(closesocket): Define, for POSIX.
(net_open): Adjust for differences in socket functions between
Windows and UNIX.
(net_close): Likweise.
(net_read_prim): New function.
(net_write_prim): Likewise.
(_initialize_ser_tcp): Initialize winsock. Fill in read_prim and
write_prim.
* ser-unix.h (ser_unix_readcchar): Remove.
(ser_unix_read_prim): Declare.
(ser_unix_write_prim): Likewise.
* ser-unix.c (generic_readchar): Move to ser-base.c.
(ser_unix_wait_for): Likewise.
(do_unix_readchar): Likewise.
(ser_unix_readchar): Likewise.
(_initialize_ser_hardwire): Initialize read_prim and write_prim.
(ser_unix_read_prim): New function.
(ser_unix_write_prim): Likewise.
* ser-base.h (generic_readchar): Declare.
(ser_base_readchar): Likewise.
* ser-base.c (<winsock2.h>): Include, for windows.
(fd_event): Use the read primitive specified by the serial
interface.
(ser_base_wait_for): Moved from ser-unix.c
(do_ser_base_read_char): Likewise.
(generic_readchar): Likewise.
(ser_base_readchar): Likewise.
(ser_base_write): Use the write primitive specified by the serial
interface.
* ser-pipe.c (_initialize_ser_pipe): Use ser_base_readchar, not
ser_unix_readchar. Initialize read_prim and write_prim.
* serial.c (struct serial_ops): Add read_prim and write_prim.
* configure: Regenerate.
mmitchel [Thu, 21 Apr 2005 05:34:17 +0000 (05:34 +0000)]
* configure.ac: On MinGW, define USE_WIN32API and link with
-lws2_32.
* ser-tcp.c (<winsock2.h>): Include, for Windows.
(ETIMEDOUT): Define, for Windows.
(ioctl): Likewise.
(closesocket): Define, for POSIX.
(net_open): Adjust for differences in socket functions between
Windows and UNIX.
(net_close): Likweise.
(net_read_prim): New function.
(net_write_prim): Likewise.
(_initialize_ser_tcp): Initialize winsock. Fill in read_prim and
write_prim.
* ser-unix.h (ser_unix_readcchar): Remove.
(ser_unix_read_prim): Declare.
(ser_unix_write_prim): Likewise.
* ser-unix.c (generic_readchar): Move to ser-base.c.
(ser_unix_wait_for): Likewise.
(do_unix_readchar): Likewise.
(ser_unix_readchar): Likewise.
(_initialize_ser_hardwire): Initialize read_prim and write_prim.
(ser_unix_read_prim): New function.
(ser_unix_write_prim): Likewise.
* ser-base.h (generic_readchar): Declare.
(ser_base_readchar): Likewise.
* ser-base.c (<winsock2.h>): Include, for windows.
(fd_event): Use the read primitive specified by the serial
interface.
(ser_base_wait_for): Moved from ser-unix.c
(do_ser_base_read_char): Likewise.
(generic_readchar): Likewise.
(ser_base_readchar): Likewise.
(ser_base_write): Use the write primitive specified by the serial
interface.
* ser-pipe.c (_initialize_ser_pipe): Use ser_base_readchar, not
ser_unix_readchar. Initialize read_prim and write_prim.
* serial.c (struct serial_ops): Add read_prim and write_prim.
* configure: Regenerate.
amodra [Thu, 21 Apr 2005 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 21 Apr 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
manjo [Wed, 20 Apr 2005 22:33:08 +0000 (22:33 +0000)]
added missing header file #include "libiberty.h" to psim.c
2005-04-20 Manoj Iyer <manjo@austin.ibm.com>
* psim.c: Added libiberty.h header file.
manjo [Wed, 20 Apr 2005 22:30:30 +0000 (22:30 +0000)]
added missing header file libiberty.h to psim.c
manjo [Wed, 20 Apr 2005 22:28:52 +0000 (22:28 +0000)]
Insert a blank like after header
manjo [Wed, 20 Apr 2005 22:27:40 +0000 (22:27 +0000)]
Inserting a blank line to changelog
cgf [Wed, 20 Apr 2005 20:50:57 +0000 (20:50 +0000)]
revert erroneous checkin
cgf [Wed, 20 Apr 2005 20:43:36 +0000 (20:43 +0000)]
* sigproc.cc (proc_subproc): Fix handling of waiting for pids with zero value.
* strace.cc (strace::hello): Report parent pid of executing process.
drow [Wed, 20 Apr 2005 18:43:15 +0000 (18:43 +0000)]
* readelf.c (display_debug_frames): Use data factor for
DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
davem [Wed, 20 Apr 2005 18:39:23 +0000 (18:39 +0000)]
* elfxx-sparc.c (sparc_elf_r_symndx_64): Fix compiler warning.
(_bfd_sparc_elf_link_hash_table_create): Likewise.
(allocate_dynrelocs): Likewise.
cgf [Wed, 20 Apr 2005 18:25:12 +0000 (18:25 +0000)]
* path.cc (path_conv::check): Fix problem reading symlinks introduced in below
change by reverting the change and adding an additional test for nonexistent
files in /proc.
hjl [Wed, 20 Apr 2005 17:39:54 +0000 (17:39 +0000)]
2005-04-20 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-aout.h (S_IS_EXTERN): Removed.
* config/obj-bout.h (S_IS_EXTERN): Likewise.
* config/obj-coff.h (S_IS_EXTERN): Likewise.
* symbols.c (S_IS_EXTERN): Likewise.
* symbols.h (S_IS_EXTERN): Likewise.
* config/tc-alpha.c (tc_gen_reloc): Replace S_IS_EXTERN with
S_IS_EXTERNAL.
* config/tc-d10v.c (md_apply_fix3): Likewise.
* config/tc-ia64.c (ia64_fix_adjustable): Likewise.
* config/tc-iq2000.c (iq2000_fix_adjustable): Likewise.
* config/tc-m32r.c (m32r_fix_adjustable): Likewise.
* config/tc-mmix.c (mmix_adjust_symtab): Likewise.
* config/tc-sh64.c (shmedia_frob_file_before_adjust): Likewise.
(shmedia_md_convert_frag): Likewise.
* symbols.c (print_symbol_value_1): Likewise.
* write.c (write_object_file): Likewise.
nickc [Wed, 20 Apr 2005 15:26:59 +0000 (15:26 +0000)]
(get_aligned_diff): Change type of branch_align to offsetT so that its
signedness matches that of target_size.
manjo [Wed, 20 Apr 2005 15:21:36 +0000 (15:21 +0000)]
unsigned32 and unsigned64 is multiply defined in sim-types.h.
2005-04-20 Manoj Iyer <manjo@austin.ibm.com>
* sim-types.h: Changed unsigned32 and unsigned64 to signed32
and signed64 for __ALPHA__.
guitton [Wed, 20 Apr 2005 15:00:12 +0000 (15:00 +0000)]
* configure.in: Fix the check for basename declaration. Add check
for declarations of ftello, ftello64, fseeko, fseeko64.
* configure: Regenerate.
* config.in: Ditto.
* sysdep.h: If needed, declare ftello, ftello64, fseeko, fseeko64.
manjo [Wed, 20 Apr 2005 14:43:55 +0000 (14:43 +0000)]
Use HAVE_LONG_LONG to check if compiler supports long long instead of using __GNU__.
2005-04-18 Manoj Iyer <manjo@austin.ibm.com>
* configure.ac: Added check for long long.
* config.in: Regenerated.
* configure: Regenerated.
* words.h: Modified logic to check for HAVE_LONG_LONG instead of
__GNUC__, added config.h header file.
nickc [Wed, 20 Apr 2005 14:35:37 +0000 (14:35 +0000)]
(macro): Use sprintf_vma to convert a > 32 bit number into a readable string.
(load_register): Likewise.
schwab [Wed, 20 Apr 2005 13:29:41 +0000 (13:29 +0000)]
* config/tc-ia64.c (specify_resource): Initialize all of tmpl.
jbeulich [Wed, 20 Apr 2005 12:27:58 +0000 (12:27 +0000)]
gas/testsuite/
2005-04-20 Jan Beulich <jbeulich@novell.com>
* gas/elf/struct.s: Adjust to not get into alignment issues.
* gas/elf/struct.d: Adjust for the above and the test's name.
corinna [Wed, 20 Apr 2005 12:26:45 +0000 (12:26 +0000)]
* pathnames.sgml (mount-table): Indicate that user-specific
mounts override system-wide.
corinna [Wed, 20 Apr 2005 12:25:40 +0000 (12:25 +0000)]
* utils.sgml (mount): Clarify setting cygdrive prefix for user
and system-wide.
cgf [Wed, 20 Apr 2005 04:26:34 +0000 (04:26 +0000)]
* fhandler-tut.txt: Update description to cygwin 1.5.13
cgf [Wed, 20 Apr 2005 04:06:23 +0000 (04:06 +0000)]
* path.cc (path_conv::check): Punt when attempting to access a nonexistent
directory or file in /proc.
amodra [Wed, 20 Apr 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 20 Apr 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
hjl [Tue, 19 Apr 2005 21:29:46 +0000 (21:29 +0000)]
2005-04-19 H.J. Lu <hongjiu.lu@intel.com>
* objdump.c (dump_section_header): Skip linker created section.
davem [Tue, 19 Apr 2005 21:26:24 +0000 (21:26 +0000)]
* elfxx-sparc.c: New file.
* elfxx-sparc.h: New file.
* Makefile.in (BFD32_BACKENDS): Add elfxx-sparc.lo
(BFD32_BACKENDS_CFILES): Add elfxx-sparc.c
(elfxx-sparc.lo): New rule.
(elf32-sparc.lo): Add elfxx-sparc.h dependency.
(elf64-sparc.lo): Likewise.
* configure.in (bfd_elf32_sparc_vec): Add elfxx-sparc.lo
(bfd_elf64_sparc_vec): Likewise.
* configure: Regenerate.
* elf32-sparc.c: Remove common code now in elfxx-sparc.c
* elf64-sparc.c: Likewise, also use elf64_sparc_*() naming
which is more consistent with elf32-sparc.c
davem [Tue, 19 Apr 2005 19:45:09 +0000 (19:45 +0000)]
* config/tc-sparc.c (md_assemble): If sparc_ip gives us a
NULL insn, exit early. Remove now spurious NULL checks.
(sparc_ip): Use as_bad for unknown opcode errors, set *pinsn
to NULL and exit.
dj [Tue, 19 Apr 2005 19:09:29 +0000 (19:09 +0000)]
merge from gcc
drow [Tue, 19 Apr 2005 18:33:19 +0000 (18:33 +0000)]
* elfxx-mips.c (struct mips_elf_link_hash_entry): Update comment.
(mips_elf_create_local_got_entry): Check h->root.forced_local.
hjl [Tue, 19 Apr 2005 18:11:10 +0000 (18:11 +0000)]
2005-04-19 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/padlock.d: Updated.
echristo [Tue, 19 Apr 2005 18:03:18 +0000 (18:03 +0000)]
2005-04-19 Eric Christopher <echristo@redhat.com>
* mips/regs.S: Sign extend constants for mips64 and unify
address handling.
jbeulich [Tue, 19 Apr 2005 15:05:05 +0000 (15:05 +0000)]
gas/
2005-04-19 Jan Beulich <jbeulich@novell.com>
* symbols.h (symbol_find_base): Remove prototype.
* symbols.c (save_symbol_name): Remove code section conditional upon
STRIP_UNDERSCORE.
(symbol_find): Remove.
(symbol_find_base): Rename to symbol_find.
* subsegs.c (section_symbol): Replace use of symbol_find_base with
symbol_find.
* config/obj-coff.c (tag_insert): Remove code section conditional
upon STRIP_UNDERSCORE.
(obj_coff_def): Likewise.
(obj_coff_endef): Replace use of symbol_find_base with symbol_find.
(coff_frob_symbol): Likewise.
(yank_symbols): Likewise.
(c_section_symbol): Likewise.
* config/obj-coff.h (DO_NOT_STRIP): Remove.
* config/tc-arm.c (symbol_locate): Remove code section conditional
upon STRIP_UNDERSCORE.
* config/tc-h8300.h (DO_NOT_STRIP): Remove.
* config/tc-h8500.h (DO_NOT_STRIP): Remove.
* config/tc-sh.h (DO_NOT_STRIP): Remove.
* config/tc-w65.h (DO_NOT_STRIP): Remove.
* config/tc-z8k.h (DO_NOT_STRIP): Remove.
corinna [Tue, 19 Apr 2005 14:45:53 +0000 (14:45 +0000)]
* cygwinenv.sgml: Mention that check_case is deprecated.
schwab [Tue, 19 Apr 2005 14:44:06 +0000 (14:44 +0000)]
* config/tc-ia64.c (md_assemble): Fix error message for wrong
access to application registers.
testsuite/:
* gas/ia64/invalid-ar.l: Adapt to changed error message.
corinna [Tue, 19 Apr 2005 10:10:11 +0000 (10:10 +0000)]
* security.cc (alloc_sd): Remove DELETE bit from user's ACE if
allow_traverse is set.
corinna [Tue, 19 Apr 2005 08:32:49 +0000 (08:32 +0000)]
* cygwin.din (pselect): Export.
* select.cc (pselect): New function.
* include/cygwin/version.h: Bump API minor number.
* include/sys/select.h: Include signal.h. Declare pselect.
jbeulich [Tue, 19 Apr 2005 07:23:02 +0000 (07:23 +0000)]
gas/
2005-04-19 Jan Beulich <jbeulich@novell.com>
* config/te-sysv32.h: Remove.
* Makefile.am (TARG_ENV_HFILES): Remove reference to
config/te-sysv32.h.
* Makefile.in (TARG_ENV_HFILES): Likewise.
jbeulich [Tue, 19 Apr 2005 06:46:48 +0000 (06:46 +0000)]
gas/
2005-04-19 Jan Beulich <jbeulich@novell.com>
PR/847
* config/tc-ia64.c (ia64_canonicalize_symbol_name): Re-allow zero-
length symbols.
bje [Tue, 19 Apr 2005 05:58:19 +0000 (05:58 +0000)]
* c-lang.c (c_create_fundamental_type): Comment fix.
amodra [Tue, 19 Apr 2005 05:44:51 +0000 (05:44 +0000)]
bfd/
* elf32-ppc.c (ppc_elf_check_relocs): Don't bother with
dynamic relocs in non-SEC_ALLOC sections.
(ppc_elf_gc_sweep_hook): Likewise.
(ppc_elf_relax_section): Likewise.
(ppc_elf_relocate_section): Likewise.
ld/testsuite/
* ld-powerpc/reloc.d: Update to suit removal of non-alloc relocs.
amodra [Tue, 19 Apr 2005 04:50:36 +0000 (04:50 +0000)]
* ppc-opc.c (RTO): Define.
(powerpc_opcodes <tlbsx, tlbsx., tlbre>): Combine PPC403 and BOOKE
entries to suit PPC440.
amodra [Tue, 19 Apr 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 19 Apr 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
msnyder [Mon, 18 Apr 2005 23:37:51 +0000 (23:37 +0000)]
dos2unix