OSDN Git Service
amodra [Wed, 11 May 2005 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 11 May 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
corinna [Tue, 10 May 2005 20:56:04 +0000 (20:56 +0000)]
* Makefile.in (DLL_OFILES): Add fhandler_mailslot.o.
* devices.h (FH_KMSG): Define new device.
* devices.in: Add "/dev/kmsg" entry.
* devices.cc: Regenerate.
* dtable.cc (build_fh_pc): Handle case FH_KMSG.
* fhandler.h (class fhandler_mailslot): New class.
(class select_stuff): Add device_specific_mailslot pointer.
* fhandler_mailslot.cc: New file.
* select.cc (peek_mailslot): New function.
(verify_mailslot): Ditto.
(struct mailslotinf): New stuct to handle select on mailslots.
(thread_mailslot): New function.
(start_thread_mailslot): Ditto.
(mailslot_cleanup): Ditto.
(fhandler_mailslot::select_read): New method.
* syslog.cc (klog_guard): New muto.
(dev_kmsg): Local mailslot for kernel message device.
(vklog): New function.
(klog): Ditto.
* winsup.h (vklog): Declare.
(klog): Ditto.
* include/sys/syslog.h: Define _PATH_KLOG.
cgf [Tue, 10 May 2005 16:08:38 +0000 (16:08 +0000)]
* dcrt0.cc (dll_crt0_1): Call cygwin_exit to ensure that destructors are
handled correctly.
brolley [Tue, 10 May 2005 15:56:25 +0000 (15:56 +0000)]
Regenerated.
brolley [Tue, 10 May 2005 15:51:08 +0000 (15:51 +0000)]
2005-05-10 Dave Brolley <brolley@redhat.com>
* commonCfg.cxx (~BlockingCacheCfg): New destructor.
(BlockingCacheCfg): New constructors.
* commonCfg.h (BlockingCacheCfg): New class.
brolley [Tue, 10 May 2005 15:48:22 +0000 (15:48 +0000)]
2005-05-10 Dave Brolley <brolley@redhat.com>
* sidcpuutil.h (read_insn_memory): Only call
record_insn_memory_read_latency if --trace-counter or
--final-insn-count are specified.
(write_insn_memory): Ditto.
(read_data_memory): Ditto.
(write_data_memory): Ditto.
2005-05-10 Dave Brolley <brolley@redhat.com>
* sidcpuutil.h (record_insn_memory_read_latency): New virtual method.
(record_insn_memory_write_latency): New virtual method.
(record_data_memory_read_latency): New virtual method.
(record_data_memory_write_latency): New virtual method.
(read_insn_memory): Call record_insn_memory_read_latency.
(write_insn_memory): Call record_insn_memory_write_latency.
(read_data_memory): Call record_data_memory_read_latency.
(write_data_memory): Call record_data_memory_write_latency.
* sidattrutil.h (fixed_attribute_map_with_logging_component::check_level):
now protected and returns bool.
* sidblockingutil.h: Rework ulog levels.
* sidbusutil.h (bus_arbitrator): Rework ulog levels. Return the result
of busy_status instead of bus::busy. New methods: busy_status and
access_latency.
(perform_read): Only call set_route_busy is status is bus::ok.
(perform_write): Only call set_route_busy is status is bus::ok.
2005-05-10 Dave Brolley <brolley@redhat.com>
* sidbusutil.h (bus_arbitrator::input_interface): New class.
(bus_arbitrator::reschedule): Reschedule after the given number of
cycles.
(bus_arbitrator::arbitrate_read): New method.
(bus_arbitrator::arbitrate_write): New method.
(bus_arbitrator::prioritize_request): New virtual method.
(bus_arbitrator::perform_read): Propogate the lock from the upstream
interface to the downstream interface.
(bus_arbitrator::perform_write): Ditto.
(bus_arbitrator::lock_downstream): New virtual method.
2005-05-10 Dave Brolley <brolley@redhat.com>
* sidblockingutil.h (blocking_component): Reimplement using mutexes
for synchronization.
2005-05-10 Dave Brolley <brolley@redhat.com>
* sidcpuutil.h (basic_cpu): Inherit virtually from all base classes.
(basic_cpu::step_pin_handler): Now virtual.
(basic_cpu::{read,write}_{insn,data}_memory): No longer const. Call
handle_{insn,data}_memory_{read,write}_error for bus errors.
(basic_big_endian_cpu::{read,write_{insn,data}_memory*): No longer
const.
(basic_little_endian_cpu): Ditto.
* sidcomp.h (bus::status_t): Add 'busy'.
* sidattrutil.h: Remove unused code.
* sidblockingutil.h: New header.
brolley [Tue, 10 May 2005 15:47:28 +0000 (15:47 +0000)]
2005-05-10 Dave Brolley <brolley@redhat.com>
* configure.in: Set 'comp_defs' with extra defines needed by Solaris.
* configure: Regenerated.
* Makefile.am (TOP_CXXFLAGS): Set to "$(CXX_FLAGS) @comp_defs@".
(AM_CXXFLAGS): Set to $(TOP_CXX_FLAGS).
(AM_MAKEFLAGS): Pass on TOP_CXXFLAGS.
* Makefile.in: Regenerated.
brolley [Tue, 10 May 2005 15:46:16 +0000 (15:46 +0000)]
2005-05-10 Dave Brolley <brolley@redhat.com>
* configure.in: Set 'comp_defs' with extra defines needed by Solaris.
* configure: Regenerated.
* Makefile.am (CXXFLAGS): Set it to @comp_defs@.
* Makefile.in: Regenerated.
2005-05-10 Dave Brolley <brolley@redhat.com>
* cgen-cpu.h ({GET,SET}[I]+MEM*): No longer const.
* configure.in: Check for pthread library.
* configure: Regenerated.
brolley [Tue, 10 May 2005 15:41:05 +0000 (15:41 +0000)]
2005-05-10 Dave Brolley <brolley@redhat.com>
* hw-cache.xml: Input to flush-set, invalidate-set and
* hw-cache.txt: Regenerated.
flush-and-invalidate-set is now an address.
* cacheutil.h (addr_to_tag): New method of cache.
* cacheutil.cxx (addr_to_tag): New method of cache.
* cache.cxx (cache_component::flush_set): Input argument is now an address.
(cache_component::flush_and_invalidate_set): Likewise.
(blocking_cache_component::flush_set): Likewise.
(blocking_cache_component::flush_and_invalidate_set): Likewise.
2005-05-10 Dave Brolley <brolley@redhat.com>
* cache.cxx (cache_component): Initialize data_width. Add "data-width"
attribute.
(read_line): Access the data 4 or 8 bytes at a time, depending on
data_width.
(write_line): Ditto.
(read_downstream, write_downstream): New methods of cache_component.
* cache.h (read_downstream, write_downstream): New methods of
cache_component.
(data_width): New member of cache_component.
2005-05-10 Dave Brolley <brolley@redhat.com>
* cache.cxx (cache_component): Add "operation-status" pin.
(cache_component::flush_all_lines): Accumulate latency and call
report_status.
(cache_component::flush_line): Ditto.
(cache_component::flush_set): Ditto.
(cache_component::flush_and_invalidate_set): Ditto.
(cache_component::invalidate_all_lines): Call report_status.
(cache_component::invalidate_line): Ditto.
(cache_component::flush_and_invalidate_line): Ditto.
(cache_component::invalidate_set): Ditto.
(cache_component::prefetch_line): Ditto.
(cache_component::lock_line): Ditto.
(cache_component::unlock_line): Ditto.
(blocking_cache_component::flush_all_lines): Call report_status if
child is blocked.
(blocking_cache_component::flush_line): Ditto.
(blocking_cache_component::flush_set): Ditto.
(blocking_cache_component::flush_and_invalidate_set): Ditto.
(blocking_cache_component::flush_and_invalidate_line): Ditto.
(blocking_cache_component::prefetch_line): Ditto.
* cache.h (report_status): New method of cache_component.
(operation_status_pin): New output pin.
2005-05-10 Dave Brolley <brolley@redhat.com>
* cache.h (flush_all_lines, flush_line, flush_set)
(flush_and_invalidate_set, flush_and_invalidate_line)
(prefetch_line): Now virtual. Also, new methods of
blocking_cache_component.
(setup_flush_all_transaction, setup_flush_line_transaction)
(setup_flush_set_transaction)
(setup_flush_and_invalidate_set_transaction)
(setup_flush_and_invalidate_line_transaction)
(perform_flush_all_transaction, perform_flush_line_transaction)
(perform_flush_set_transaction)
(perform_flush_and_invalidate_set_transaction)
(perform_flush_and_invalidate_line_transaction): New methods of
blocking_cache_component.
* cache.cxx (blocking_cache_component::write): Remove log message. Don't
need return code from continue_child_thread_and_wait.
blocking_cache_component::read): Ditto.
(flush_all_lines, flush_line, flush_set)
(flush_and_invalidate_set, flush_and_invalidate_line)
(prefetch_line): New methods of blocking_cache_component.
2005-05-10 Dave Brolley <brolley@redhat.com>
* cache.cxx (cache_component): Initialize total_latency_p. Add
"total-latency?" attribute.
(read_line): Return the total latency of all accesses if total_latency_p
is set.
(write_line): Ditto.
(handle_bus_error): Copy the status, s, to transaction_status.
(blocking_cache_component::read): Always return transaction_status.
(blocking_cache_component::write): Ditto.
* cache.h (total_latency_p): New member of cache_component.
2005-05-10 Dave Brolley <brolley@redhat.com>
* cache.h (cache_component::lock_downstream): New virtual method.
(cache_component::unlock_downstream): New virutal method.
(blocking_cache_component::lock_downstream): New virtual override.
(blocking_cache_component::unlock_downstream): New virtual override.
* cache.cxx (read_line): Return the maximum latency from the reads
performed if refill latency is not requested. Call lock_downstream
before the first read. Call unlock_downstream before the final read.
(write_line): Ditto.
(blocking_cache_component): Add downstream-lock pin.
2005-05-10 Dave Brolley <brolley@redhat.com>
* cache.cxx (blocking_cache_child_thread_root): Don't call
child->child_wait_for_resume.
(handle_bus_error): Ditto.
(DEFN_METHOD): SID_SIG_CHILD_BLOCKED is now ctl_child_blocked.
2005-05-10 Dave Brolley <brolley@redhat.com>
* Makefile.am (AM_XXXFLAGS): Set it to $(TOP_CXXFLAGS).
(AM_MAKEFLAGS): Pass along TOP_CXXFLAGS.
* Makefile.in: Regenerated.
2005-05-10 Dave Brolley <brolley@redhat.com>
* mep-cache.cxx (mep_cache): Inherit from blocking_cache_component.
* mep-cache.h (mep_cache): Inherit from blocking_cache_component.
* cache.h (sidblockingutil.h): #include it.
(namespace sid): Add "using" clause. Remove sid:: qualifier from
declarations.
(cache_component): Inhereit virtually from
fixed_attribute_map_component and fixed_pin_map_component.
(cache_component::write): Variants now virtual.
(cache_component::read): Ditto.
(cache_component::handle_read_error): New virtual method.
(cache_component::handle_write_error): New virtual method.
(cache_bus::write_any): Call cache.write.
(cache_bus::read_any): Call cache.read.
(blocking_cache_component): New class.
* cache.cxx (cache_component::write_any): Call handle_write_error to
handle bus errors.
(cache_component::write_line): Ditto.
(cache_component::read_any): Call handle_read_error as above.
(cache_component::read_line): Ditto.
(blocking_cache_child_thread_root): New function.
(blocking_cache_component): New constructor.
(handle_bus_error): New method.
(blocking_cache_component:write): New methods.
(blocking_cache_component::read): New methods.
(CacheListTypes): Add hw-blocking-cache-basic and
hw-blocking-cache-buffer-8, hw-blocking-cache-direct* and
hw-blocking-cache/*kb*.
(CacheCreate): Parse and construct the above.
nickc [Tue, 10 May 2005 15:33:30 +0000 (15:33 +0000)]
Update the address and phone number of the FSF organization.
matz [Tue, 10 May 2005 15:10:04 +0000 (15:10 +0000)]
gas/
* frags.c (frag_grow): Don't be too greedy in allocating memory.
* config/tc-hppa.c (pa_block): Check arguments to .block[z].
gas/testsuite/
* gas/hppa/parse/block1.s: Use official limit (0x3fffffff) for
.block.
uweigand [Tue, 10 May 2005 13:48:59 +0000 (13:48 +0000)]
* linux-s390-low.c (s390_breakpoint, s390_breakpoint_len): Define.
(s390_get_pc, s390_set_pc, s390_breakpoint_at): New functions.
(the_low_target): Add new members.
hp [Tue, 10 May 2005 12:32:22 +0000 (12:32 +0000)]
PR binutils/886
* config/tc-mmix.c (mmix_handle_mmixal): Rearrange slightly.
Handle label-without-colon before ordinary dot-pseudo as an
ordinary label. Don't leak memory for label-without-colon alone
on a line. Don't mmixal-munge operands for dot-pseudos.
hp [Tue, 10 May 2005 12:30:04 +0000 (12:30 +0000)]
* gas/mmix/relax2.s: Drop ":" off label definitions.
nickc [Tue, 10 May 2005 10:21:02 +0000 (10:21 +0000)]
Update the address and phone number of the FSF organization
corinna [Tue, 10 May 2005 09:08:16 +0000 (09:08 +0000)]
* path.cc (path_conv::check): Set correct file attributes for socket
files.
dannysmith [Tue, 10 May 2005 08:39:04 +0000 (08:39 +0000)]
* mingwex/math/nexttoward.c: New file.
* mingwex/math/nexttowardf.c: New file.
* mingwex/math/nextafterl.c: Add nexttowardl aliaa.
* mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
mexttowardf.c,
(MATH_OBJS): Add nexttoward.o, mexttowardf.o,
* include/math.h (nexttoward, nextowardf, nexttowardl): Add
prototypes.
jbeulich [Tue, 10 May 2005 07:48:23 +0000 (07:48 +0000)]
gas/
2005-05-10 Jan Beulich <jbeulich@novell.com>
* macro.c (get_any_string): Remove the two last parameters. Replace
references to the former expand parameter by using macro_alternate.
Simplify loop condition for checking for end-of-string.
(get_string): Remove redunant call to sb_skip_white.
(do_formals): Remove two last arguments to get_any_string.
(macro_expand): Likewise.
(expand_irp): Likewise.
jbeulich [Tue, 10 May 2005 07:45:10 +0000 (07:45 +0000)]
gas/
2005-05-10 Jan Beulich <jbeulich@novell.com>
* read.c (s_macro): Move local variable 'local' to smaller scope.
Call sb_kill on it when done.
amodra [Tue, 10 May 2005 02:27:38 +0000 (02:27 +0000)]
* scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete.
(DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value.
(GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END. Place after
DATA_SEGMENT_RELRO_END in script.
kcook [Tue, 10 May 2005 01:27:48 +0000 (01:27 +0000)]
2005-05-09 Kelley Cook <kcook@gcc.gnu.org>
* configure.in: Replace AC_COMPILE_CHECK_SIZEOF with AC_CHECK_SIZEOF.
* acinclude.m4: Don't sinclude accross.m4.
* config.in, configure, Makefile.in, doc/Makefile.in: Regenerate.
hjl [Tue, 10 May 2005 01:07:29 +0000 (01:07 +0000)]
2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
Don't use a removed section.
hjl [Tue, 10 May 2005 01:06:03 +0000 (01:06 +0000)]
2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
* ldmain.c (reloc_overflow): Use output_bfd if the symbol
is defined in the ABS section.
amodra [Tue, 10 May 2005 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 10 May 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Mon, 9 May 2005 21:20:22 +0000 (21:20 +0000)]
2005-05-09 Andrew Cagney <cagney@gnu.org>
Use gdb_byte in preference to bfd_byte.
* gdbarch.sh: Update.
* gdbarch.h, gdbarch.c: Re-generate.
* ada-lang.c, ada-lang.h, ada-valprint.c, arch-utils.c: Update.
* c-lang.c, c-lang.h, c-valprint.c, cp-valprint.c: Update.
* f-lang.c, f-lang.h, f-valprint.c, gdbcore.h, jv-lang.h: Update.
* jv-valprint.c, language.c, language.h, m2-lang.c: Update.
* m2-lang.h, m2-valprint.c, objc-lang.c, p-lang.c: Update.
* p-lang.h, p-valprint.c, regcache.c, scm-lang.c: Update.
* scm-lang.h, scm-valprint.c, target.c, target.h: Update.
* tramp-frame.c, valarith.c, valops.c, valprint.c: Update.
* valprint.h, value.c, value.h: Update.
drow [Mon, 9 May 2005 21:13:56 +0000 (21:13 +0000)]
* Makefile.am: Use a temporary file to build chew.
* Makefile.in: Regenerated.
mmitchel [Mon, 9 May 2005 21:07:02 +0000 (21:07 +0000)]
Fix typos in ChangeLog
kettenis [Mon, 9 May 2005 20:00:40 +0000 (20:00 +0000)]
* vaxbsd-nat.c (vaxbsd_supply_gregset, vaxbsd_collect_gregset):
Use `gdb_byte *' for regs.
* vax-tdep.c (vax_supply_gregset): Use `gdb_byte *' for regs;
(vax_store_arguments, vax_push_dummy_call, vax_return_value): Use
gdb_byte for buf.
(vax_breakpoint_from_pc): Change return type to `const gdb_byte
*'. Use gdb_byte for break_insn.
(vax_skip_prologue): Use gdb_byte for op.
kettenis [Mon, 9 May 2005 20:00:24 +0000 (20:00 +0000)]
* vaxbsd-nat.c (vaxbsd_supply_gregset, vaxbsd_collect_gregset):
Use `gdb_byte *' for regs.
* vax-tdep.c (vax_supply_gregset): Use `gdb_byte *' for regs;
(vax_store_arguments, vax_push_dummy_call, vax_return_value): Use
gdb_byte for buf.
(vax_breakpoint_from_pc): Change return type to `const gdb_byte
*'. Use gdb_byte for break_insn.
(vax_skip_prologue): Use gdb_byte for op.
kettenis [Mon, 9 May 2005 19:53:44 +0000 (19:53 +0000)]
* i387-tdep.c: Remove outdated comments.
kettenis [Mon, 9 May 2005 19:53:26 +0000 (19:53 +0000)]
* i387-tdep.c: Remove outdated comments.
mmitchel [Mon, 9 May 2005 19:42:02 +0000 (19:42 +0000)]
* readline/aclocal.m4: Use AC_TRY_LINK to check for mbstate_t.
* readline/complete.c (pwd.h): Guard with HAVE_PWD_H.
(getpwent): Guard with HAVE_GETPWENT.
(rl_username_completion_function): Guard use of getpwent.
(endpwent): Likewise.
* readline/config.h.in (HAVE_FCNTL): New macro.
(HAVE_GETPWENT): Likewise.
(HAVE_GETPWNAM): Likewise.
(HAVE_GETPWUID): Likewise.
(HAVE_KILL): Likewise.
(HAVE_PWD_H): Likewise.
* readline/configure: Regenerated.
* readline/configure.in: Handle MinGW when cross compiling. Check for
getpwnam, getpwent, getpwuid, kill, and pwd.h.
* readline/display.c (rl_clear_screen): Treat Windows like DOS.
(insert_some_chars): Likewise.
(delete_chars): Likewise.
* readline/shell.c (pwd.h): Guard with HAVE_PWD_H.
(getpwuid): Guard with HAVE_GETPWUID.
(sh_unset_nodelay_mode): Guard use of fnctl with HAVE_FNCTL_H.
* readline/signals.c (rl_signal_handler): Don't use SIGALRM or
SIGQUIT if not defined. Use "raise" if "kill" is not available.
(rl_set_signals): Don't set handlers for SIGQUIT or SIGALRM if
they are not defined.
(rl_clear_signals): Likewise.
* readline/tilde.c (pwd.h): Guard with HAVE_PWD_H.
(getpwuid): Guard declaration with HAVE_GETPWUID.
(getpwnam): Guard declaration with HAVE_GETPWNAM.
(tilde_expand_word): Guard use of getpwnam with HAVE_GETPWNAM.
kettenis [Mon, 9 May 2005 17:20:18 +0000 (17:20 +0000)]
* defs.h: Unconditionally include <sys/types.h>.
kettenis [Mon, 9 May 2005 17:19:58 +0000 (17:19 +0000)]
* defs.h: Unconditionally include <sys/types.h>.
jbeulich [Mon, 9 May 2005 15:41:44 +0000 (15:41 +0000)]
gas/
2005-05-09 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (optimize_disp): Discard displacement entirely when zero and
not required by encoding constraints.
gas/testsuite/
2005-05-09 Jan Beulich <jbeulich@novell.com>
* gas/i386/tlsd.[sd]: Adjust to not assume zero displacement will
actually be present in memory addressing.
* gas/i386/tlspic.[sd]: Likewise.
hjl [Mon, 9 May 2005 14:20:44 +0000 (14:20 +0000)]
2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
PR 936
* config/tc-sh64.c (sh64_fake_label): New.
* config/tc-sh64.h (TC_FAKE_LABEL): New.
* doc/internals.texi (TC_FAKE_LABEL): Document.
* write.c (TC_FAKE_LABEL): New.
(adjust_reloc_syms): Use it.
(write_object_file): Likewise.
amodra [Mon, 9 May 2005 10:30:35 +0000 (10:30 +0000)]
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add has_dotsym.
(ppc64_elf_add_symbol_hook): Set has_dotsym.
(ppc64_elf_check_directives): Only process syms when has_dotsym.
(func_desc_adjust): Hide fake function descriptors when function
code entry is defined.
(adjust_opd_syms): Adjust for deleted_section becoming union field.
dannysmith [Mon, 9 May 2005 09:36:05 +0000 (09:36 +0000)]
* mingwex/math/nextafterf.c (nextafterf): Correct
handling of -0.0.
* mingwex/math/nextafterl.c: New file.
* mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
(MATH_OBJS): Add nextafterl.o.
* include/math.h (nextafterl): Uncomment prototype.
nickc [Mon, 9 May 2005 06:55:22 +0000 (06:55 +0000)]
Update the address of the FSF
jbeulich [Mon, 9 May 2005 06:48:59 +0000 (06:48 +0000)]
gas/
2005-05-09 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (parse_insn): Disallow use of prefix separator
and comma in Intel mode.
include/opcode/
2005-05-09 Jan Beulich <jbeulich@novell.com>
* i386.h (i386_optab): Add ht and hnt.
jbeulich [Mon, 9 May 2005 06:44:49 +0000 (06:44 +0000)]
gas/
2005-05-09 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Correct 64-bit mode
names to match ABI. Add more registers for 32-bit and 64-bit modes.
Make name array static and const. Adjust lookup to account for NULL
entries (standing for unused register numbers).
jbeulich [Mon, 9 May 2005 06:38:44 +0000 (06:38 +0000)]
gas/
2005-05-09 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (parse_insn): Consider all matching instructions
when checking for string instruction after string-only prefix.
drow [Mon, 9 May 2005 03:36:08 +0000 (03:36 +0000)]
* mips-tdep.c (mips_stub_frame_sniffer): Handle .MIPS.stubs
section like .plt.
amodra [Mon, 9 May 2005 03:35:37 +0000 (03:35 +0000)]
* elfcode.h (elf_object_p): Add more sanity checks on elf header.
phumblet [Mon, 9 May 2005 02:39:31 +0000 (02:39 +0000)]
2005-05-09 Pierre Humblet <pierre.humblet@ieee.org>
* fhandler.h (class fhandler_netdrive): New class.
* fhandler_netdrive.cc (fhandler_netdrive::fhandler_netdrive): New constructor.
(fhandler_netdrive::exists): New method.
(fhandler_netdrive::fstat): Ditto.
(fhandler_netdrive::readdir): Ditto.
(fhandler_netdrive::open): Ditto.
* dtable.cc (build_fh_pc): Handle case FH_NETDRIVE.
* path.cc (isvirtual_dev): Add FH_NETDRIVE.
(mount_info::conv_to_win32_path): Detect netdrive device and bypass mount
search for network paths.
cgf [Mon, 9 May 2005 01:56:34 +0000 (01:56 +0000)]
* cygcheck.cc (nuke): New function.
(load_cygwin): New function.
(main): Use load_cygwin to load argv/envp from cygwin environment, if
appropriate.
cgf [Mon, 9 May 2005 01:21:43 +0000 (01:21 +0000)]
* strace.cc (attach_process): Don't call load_cygwin(). Assume that it's
already happened.
(dotoggle): Ditto.
(main): Set argv from cygwin environment, if it exists.
cgf [Mon, 9 May 2005 01:19:36 +0000 (01:19 +0000)]
* dcrt0.cc (get_cygwin_startup_info): New function pulled from dll_crt0_0.
(dll_crt0_0): Use get_cygwin_startup_info to retrieve cygwin-specific startup
pointer.
* external.cc (cygwin_internal): Implement CW_ARGV and CW_ENVP.
* include/sys/cygwin.h: Implement CW_ARGV and CW_ENVP.
amodra [Mon, 9 May 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 9 May 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
davek [Sun, 8 May 2005 23:48:37 +0000 (23:48 +0000)]
2005-05-08 Dave Korn <dave.korn@artimi.com>
* coff-tic80.c: Undefine _CONST after system headers to prevent
clash with tic80-specific definition in include/coff/tic80.h
kettenis [Sun, 8 May 2005 22:07:20 +0000 (22:07 +0000)]
* i386-linux-tdep.c (linux_sigtramp_code, linux_rt_sigtramp_code):
Change type to `static const gdb_byte'.
(i386_linux_sigtramp_start, i386_linux_rt_sigtramp_start)
(i386_linux_sigcontext_addr): Use gdb_byte for buf.
* amd64-linux-tdep.c (linux_sigtramp_code): Change type to `static
const gdb_byte'.
(amd64_linux_sigtramp_start, amd64_linux_sigcontext_addr): Use
gdb_byte for buf.
* amd64fbsd-tdep.c (amd64fbsd_supply_uthread)
(amd64fbsd_collect_uthread): Use gdb_byte for buf.
kettenis [Sun, 8 May 2005 19:50:36 +0000 (19:50 +0000)]
* config/ia64/nm-aix.h: Remove file.
joshuadfranklin [Sun, 8 May 2005 19:43:35 +0000 (19:43 +0000)]
* how-programming.texinfo: Replace MAKE_MODE entry with FAQ about execvp errors and cygexec.
kettenis [Sun, 8 May 2005 18:01:31 +0000 (18:01 +0000)]
Fix typo.
kettenis [Sun, 8 May 2005 18:00:01 +0000 (18:00 +0000)]
* amd64-tdep.c (amd64_return_value): Use `gdb_byte *' in casts.
(amd64_push_arguments): Use gdb_byte instead of bfd_byte. Use
gdb_byte for buf.
(amd64_push_dummy_call): Use gdb_byte for buf.
(amd64_analyze_prologue): Use gdb_byte for proto, buf and op.
(amd64_frame_cache, amd64_sigtramp_frame_cache)
(amd64_unwind_dummy_id): Use gdb_byte for buf.
(amd64_supply_fxsave, amd64_collect_fxsave): Use `gdb_byte *' for
regs.
* amd64obsd-tdep.c (amd64obsd_supply_regset): Use `gdb_byte *' in
casts.
(amd64obsd_sigtramp_p): Use gdb_byte for sigreturn and `gdb_byte
*' for buf,
kettenis [Sun, 8 May 2005 16:27:32 +0000 (16:27 +0000)]
* i386-tdep.c (i386_breakpoint_from_pc): Change return type to
`const gdb_byte *'. Use gdb_byte for break_insn.
(i386_follow_jump): Use gdb_byte for op.
(i386_analyze_struct_return): Use gdb_byte for proto1, proto2, buf
and op.
(i386_skip_probe): Use gdb_byte for buf and op.
(struct i386_insn): Use gdb_byte for insn and mask.
(i386_match_insn, i386_analyze_frame_setup)
(i386_analyze_register_saves): Use gdb_byte for op.
(i386_skip_prologue): Use gdb_byte for pic_pat and op;
(i386_unwind_pc, i386_frame_cache, i386_sigtramp_frame_cache)
(i386_unwind_dummy_id, i386_get_longjmp_target): Use gdb_byte for
buf.
(i386_extract_return_value, i386_store_return_value): Use
`bfd_byte *' instead of `void *' for valbuf argument. Remove now
redundant cast.
(i386_pseudo_register_read, i386_pseudo_register_write): Use
gdb_byte for mmx_buf.
(i386_register_to_value, i386_value_to_register): Use `gdb_byte *'
instead of `char *' for buf.
(i386_supply_gregset, i386_collect_gregset): Use `gdb_byte *'
instead of `char *' for regs.
(i386_svr4_sigcontext_addr): Use gdb_byte for buf.
* i386obsd-tdep.c (i386obsd_sigtramp_p): Use gdb_byte for
sigreturn and `gdb_byte *' for buf.
(i386obsd_aout_supply_regset): Use `const gdb_byte *' in cast.
(i386obsd_supply_uthread, i386obsd_collect_uthread): Use gdb_byte
for buf.
* i386bsd-tdep.c (i386bsd_sigcontext_addr): Use gdb_byte for buf.
kettenis [Sun, 8 May 2005 14:57:37 +0000 (14:57 +0000)]
* defs.h (gdb_byte): New typedef. Tweak comments.
kettenis [Sun, 8 May 2005 14:46:46 +0000 (14:46 +0000)]
* target.h (target_link): Remove prototype.
* target.c (target_link): Remove function.
* symfile.c: Remove comment about rombug.
nickc [Sun, 8 May 2005 14:17:37 +0000 (14:17 +0000)]
Update FSF address
hjl [Sun, 8 May 2005 13:43:45 +0000 (13:43 +0000)]
2005-05-08 H.J. Lu <hongjiu.lu@intel.com>
PR 939
* elflink.c (elf_link_output_extsym): Use output_bfd if
h->root.u.def.section is bfd_abs_section_ptr when reporting
error.
bobbybrasko [Sun, 8 May 2005 13:42:03 +0000 (13:42 +0000)]
Add the fullname_syntax testsuite variable. This allows GDB to make sure
that the MI fullname field is an absolute path, instead of just checking
for .* or /.*
dannysmith [Sun, 8 May 2005 08:07:17 +0000 (08:07 +0000)]
* mingwex/math/erfl.c: New file.
* mingwex/Makefile.i (MATH_DISTFILES): Add erfl.c.
(MATH_OBJS): Add erfl.o.
* include/math.h (erfl, erfcl): Uncomment prototypes.
gdbadmin [Sun, 8 May 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 8 May 2005 00:00:08 +0000 (00:00 +0000)]
daily update
hjl [Sat, 7 May 2005 22:19:35 +0000 (22:19 +0000)]
gas/
2005-05-07 H.J. Lu <hongjiu.lu@intel.com>
PR 940
* config/tc-ia64.c (start_unwind_section): Properly check
comdat group with SHF_GROUP.
gas/testsuite/
2005-05-07 H.J. Lu <hongjiu.lu@intel.com>
PR 940
* gas/ia64/group-2.d: New.
* gas/ia64/group-2.s: New.
* gas/ia64/ia64.exp: Add "group-2".
cgf [Sat, 7 May 2005 21:06:07 +0000 (21:06 +0000)]
* path.cc (normalize_posix_path): Don't treat '//' specially since newer
versions of bash now get this right.
cgf [Sat, 7 May 2005 20:20:49 +0000 (20:20 +0000)]
* devices.cc: Regenerate with correct name for dev_netdrive_storage.
hjl [Sat, 7 May 2005 13:29:57 +0000 (13:29 +0000)]
gas/testsuite/
2005-05-07 H.J. Lu <hongjiu.lu@intel.com>
PR 843
* gas/i386/i386.exp: Add x86-64-branch.
* gas/i386/x86-64-branch.d: New.
* gas/i386/x86-64-branch.s: New.
opcodes/
2005-05-07 H.J. Lu <hongjiu.lu@intel.com>
PR 843
* i386-dis.c (branch_v_mode): New.
(indirEv): Use branch_v_mode instead of v_mode.
(OP_E): Handle branch_v_mode.
hjl [Sat, 7 May 2005 13:26:27 +0000 (13:26 +0000)]
2005-05-07 H.J. Lu <hongjiu.lu@intel.com>
* d10v-dis.c (dis_2_short): Support 64bit host.
hjl [Sat, 7 May 2005 13:22:41 +0000 (13:22 +0000)]
2005-05-07 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (elf_backend_data): Update special_sections to
array of pointer to bfd_elf_special_section.
* elf.c (special_sections): Likewise.
* elf32-arm.c (elf32_arm_symbian_special_sections): Likewise.
* elf32-m32r.c (m32r_elf_special_sections): Likewise.
* elf32-m68hc11.c (elf32_m68hc11_special_sections): Likewise.
* elf32-m68hc12.c (elf32_m68hc12_special_sections): Likewise.
* elf32-mcore.c (mcore_elf_special_sections): Likewise.
* elf32-ppc.c (ppc_elf_special_sections): Likewise.
* elf32-sh64.c (sh64_elf_special_sections): Likewise.
* elf32-v850.c (v850_elf_special_sections): Likewise.
* elf32-xtensa.c (elf_xtensa_special_sections): Likewise.
* elf64-alpha.c (elf64_alpha_special_sections): Likewise.
* elf64-hppa.c (elf64_hppa_special_sections): Likewise.
* elf64-ppc.c (ppc64_elf_special_sections): Likewise.
* elf64-sh64.c (sh64_elf64_special_sections): Likewise.
* elfxx-ia64.c (elfNN_ia64_special_sections): Likewise.
* elfxx-mips.c (_bfd_mips_elf_special_sections): Likewise.
* elfxx-mips.h (_bfd_mips_elf_special_sections): Likewise.
* elf.c (get_special_section): Updated.
nickc [Sat, 7 May 2005 07:52:54 +0000 (07:52 +0000)]
Update Dutch translation
nickc [Sat, 7 May 2005 07:34:25 +0000 (07:34 +0000)]
Update the address and phone number of the FSF
nickc [Sat, 7 May 2005 07:06:59 +0000 (07:06 +0000)]
Move doc/ entries into doc/ChangeLog.
Remove duplicated ChangeLog entry.
jimb [Sat, 7 May 2005 04:39:29 +0000 (04:39 +0000)]
* cgen-engine.h (EXTRACT_MSB0_INT, EXTRACT_MSB0_UINT)
(EXTRACT_LSB0_INT, EXTRACT_LSB0_UINT): Doc fixes.
amodra [Sat, 7 May 2005 02:55:52 +0000 (02:55 +0000)]
bfd/
* elf-bfd.h (struct elf_backend_data): Remove got_symbol_offset.
* elfxx-target.h (elf_backend_got_symbol_offset): Delete.
* elflink.c (_bfd_elf_create_got_section): Use zero in place of
got_symbol_offset.
* elf-m10300.c (_bfd_mn10300_elf_create_got_section): Likewise.
* elf32-frv.c (_frv_create_got_section): Likewise.
* elf32-i370.c (i370_elf_finish_dynamic_sections): Delete ppc code.
(elf_backend_got_symbol_offset): Don't define.
* elf64-ppc.c (elf_backend_got_symbol_offset): Don't define.
* elf32-ppc.c (struct ppc_elf_link_hash_table): Add got_header_size
and got_gap.
(ppc_elf_create_got): Tidy.
(ppc_elf_create_dynamic_sections): Don't set SEC_IN_MEMORY for .plt.
(ppc_elf_check_relocs): Reduce string comparisons by using elf.hgot.
(ppc_elf_gc_sweep_hook): Likewise.
(ppc_elf_relocate_section): Likewise.
(ppc_elf_finish_dynamic_symbol): Likewise.
(allocate_got): New function.
(allocate_dynrelocs): Use allocate_got.
(ppc_elf_size_dynamic_sections): Likewise. Delay tlsld_got allocation
so that local got can refcount it. Set got_header_size.
(ppc_elf_relocate_section): Use value of elf.hgot rather than hard-
coded 4.
(ppc_elf_finish_dynamic_sections): Likewise.
(elf_backend_got_symbol_offset): Don't define.
(elf_backend_got_header_size): Ditto.
ld/testsuite/
* ld-powerpc/tlsexe32.d: Update for changed got layout.
* ld-powerpc/tlsexe32.g: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-powerpc/tlsso32.d: Likewise.
* ld-powerpc/tlsso32.g: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
hjl [Sat, 7 May 2005 02:14:19 +0000 (02:14 +0000)]
2005-05-06 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
Put back !link_info.relocatable.
dj [Sat, 7 May 2005 02:00:40 +0000 (02:00 +0000)]
merge from gcc
gdbadmin [Sat, 7 May 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 7 May 2005 00:00:07 +0000 (00:00 +0000)]
daily update
jimb [Fri, 6 May 2005 22:54:37 +0000 (22:54 +0000)]
* pprint.scm, cos-pprint.scm: Add documentation.
* pprint.scm (pprint): Don't wipe out elide-table after each call.
bwilson [Fri, 6 May 2005 22:24:48 +0000 (22:24 +0000)]
* doc/c-xtensa.texi (Literal Directive): Spelling correction.
jimb [Fri, 6 May 2005 21:43:40 +0000 (21:43 +0000)]
* pprint.scm, cos-pprint.scm: New files.
bwilson [Fri, 6 May 2005 21:27:46 +0000 (21:27 +0000)]
* config/tc-xtensa.c: Remove excess whitespace.
* config/tc-xtensa.h: Likewise.
* config/xtensa-istack.h: Likewise.
* config/xtensa-relax.c: Likewise.
* config/xtensa-relax.h: Likewise.
cgf [Fri, 6 May 2005 21:09:58 +0000 (21:09 +0000)]
move comment
cgf [Fri, 6 May 2005 21:09:35 +0000 (21:09 +0000)]
fix breakpoint example
drow [Fri, 6 May 2005 18:23:08 +0000 (18:23 +0000)]
Correct changelog snafu.
hjl [Fri, 6 May 2005 15:42:02 +0000 (15:42 +0000)]
Mention PR.
hjl [Fri, 6 May 2005 15:40:23 +0000 (15:40 +0000)]
2005-05-06 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
Just check link_info.executable.
nickc [Fri, 6 May 2005 08:49:26 +0000 (08:49 +0000)]
Fix formatting of comments.
nickc [Fri, 6 May 2005 08:26:54 +0000 (08:26 +0000)]
Update the address and phone number of the FSF organization in the GPL notices
nickc [Fri, 6 May 2005 08:20:01 +0000 (08:20 +0000)]
Move testsuite specific entries from gas/ChangeLog to gas/testsuite/ChangeLog
jbeulich [Fri, 6 May 2005 07:38:58 +0000 (07:38 +0000)]
gas/
2005-05-06 Jan Beulich <jbeulich@novell.com>
* sb.h (sb_add_buffer): Reintroduce.
* sb.c (sb_add_buffer): Likewise.
jbeulich [Fri, 6 May 2005 06:50:27 +0000 (06:50 +0000)]
gas/
2005-05-06 Jan Beulich <jbeulich@novell.com>
* macro.c (new_formal, del_formal): New.
(do_formals): Use new_formal. Check for and parse qualifier. Warn if
required argument has default value. Stop looking for more formal
when there was a vararg one.
(macro_expand_body): Use new_formal and del_formal.
(macro_expand): Likewise. Initialize local variable err. Don't
return immediately when encountering an error. Warn when keyword
argument already had a value assigned. Eliminate duplicate clearing
of argument value. When current positional argument matches parameter
of vararg type, assign to it all the remaining arguments. Issue error
when required parameter does not have value.
(free_macro): Use del_formal.
(expand_irp): Initialize formal type. Free buffers associated with
formal prior to returning.
* macro.h (struct formal_struct): Add new field 'type' with new
enumeration type 'formal_type'.
* doc/as.texinfo: Document macro parameter qualifiers.
* NEWS: Mention new functionality.
gas/testsuite/
2005-05-06 Jan Beulich <jbeulich@novell.com>
* gas/macros/badarg.s: Add check for bad qualifier specification.
* gas/macros/badarg.l: Adjust.
* gas/macros/vararg.[sd]: New.
* gas/macros/macros.exp: Run new test.
jbeulich [Fri, 6 May 2005 06:38:09 +0000 (06:38 +0000)]
gas/
2005-05-06 Jan Beulich <jbeulich@novell.com>
* cond.c (s_ifb): New.
* read.c (potable): Add s_ifb as handler for .ifb and .ifnb.
* read.h (s_ifb): Prototype.
* doc/as.texinfo: Document .ifb and .ifnb.
gas/testsuite/
2005-05-06 Jan Beulich <jbeulich@novell.com>
* gas/all/cond.s: Also test .ifb/.ifnb.
* gas/all/cond.d: Adjust.
jbeulich [Fri, 6 May 2005 06:32:42 +0000 (06:32 +0000)]
binutils/
2005-05-06 Jan Beulich <jbeulich@novell.com>
* objcopy.c (copy_file): Don't delete output upon error here.
(copy_main): Delete output upon error.
jbeulich [Fri, 6 May 2005 06:30:32 +0000 (06:30 +0000)]
gas/testsuite/
2005-05-06 Jan Beulich <jbeulich@novell.com>
* gas/macros/dot.s: Don't use pseudo-ops in first column.
* gas/macros/dot.l: Match broader range of possible outputs.
* gas/macros/purge.l: Likewise.
* gas/macros/purge.s: Start generated macro names with an underscore.
cgf [Fri, 6 May 2005 04:06:15 +0000 (04:06 +0000)]
* Makefile.in (DLL_O_FILES): Add fhandler_netdrive.o.
* fhandler_netdrive.cc: Placeholder file for future development.
* devices.h (FH_NETDRIVE): Define new virtual device type.
(netdrive_dev): Define.
* devices.in (dev_netdrive_storage): Define.
* devices.cc: Regenerate.