OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
18 years ago * syscalls.cc (endusershell): Reset shell_fp to NULL to allow
corinna [Wed, 24 Aug 2005 15:50:10 +0000 (15:50 +0000)]
* syscalls.cc (endusershell): Reset shell_fp to NULL to allow
subsequent getusershell calls.

18 years ago* path.cc (path_conv::check): Fill in fileattr for /dev, defaulting to
cgf [Wed, 24 Aug 2005 14:17:53 +0000 (14:17 +0000)]
* path.cc (path_conv::check): Fill in fileattr for /dev, defaulting to
directory if /dev doesn't actually exist.
(win32_device_name): Don't consider FH_DEV to be a device since it's really a
directory which should go through mount processing.

18 years ago* cygheap.h (cygheap_types): Add HEAP_COMMUNE.
cgf [Wed, 24 Aug 2005 04:38:38 +0000 (04:38 +0000)]
* cygheap.h (cygheap_types): Add HEAP_COMMUNE.
* fhandler_proc.cc: Use cygheap rather than user heap for allocation of filebuf
throughout.
* fhandler_registry.cc: Ditto.
* fhandler_virtual.cc: Ditto.
* fhandler_process.cc: Ditto.
(get_mem_values): Use malloc/realloc/free rather than new.
* pinfo.cc (_pinfo::commune_send): Allocate on cygwin heap rather than user
heap.  Avoid calling ReadFile when correct number of characters have been read
or suffer buffer corruption.
(_pinfo::fd): Allocate on cygwin heap rather than user heap.
(_pinfo::fds): Ditto.
(_pinfo::root): Ditto.
(_pinfo::cwd): Ditto.
(_pinfo::cmdline): Ditto.
* devices.h (FH_DEV): New define.
* devices.in: Detect lone /dev.
* devices.cc: Regenerate.
* path.cc (path_conv::check): Treat FH_DEV as a special case.

18 years agoAdd support for am33 linux.
kevinb [Wed, 24 Aug 2005 01:14:35 +0000 (01:14 +0000)]
Add support for am33 linux.

18 years ago*** empty log message ***
gdbadmin [Wed, 24 Aug 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Wed, 24 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agoAdd "monitor" commands for enabling and disabling printing of diagnostic
kevinb [Tue, 23 Aug 2005 23:22:17 +0000 (23:22 +0000)]
Add "monitor" commands for enabling and disabling printing of diagnostic
messages.

18 years ago* sigproc.h (set_signal_mask): Remove default on second parameter and make pass
cgf [Tue, 23 Aug 2005 22:22:52 +0000 (22:22 +0000)]
* sigproc.h (set_signal_mask): Remove default on second parameter and make pass
by reference.
* signal.cc (abort): Accommodate change to set_signal_mask.
* select.cc (pselect): Ditto.
* exceptions.cc (handle_sigsuspend): Ditto.
(ctrl_c_handler): Ditto.
(sighold): Ditto.
(sigrelse): Ditto.
(set_process_mask_delta): Ditto.
(_cygtls::call_signal_handler): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Return ENMFILE if
__handle is not set.  Set __handle to NULL when out of files.
(fhandler_disk_file::rewinddir): Don't close handle if it's NULL.
(fhandler_disk_file::closedir): Ditto.

18 years ago2005-08-23 Dave Brolley <brolley@redhat.com>
brolley [Tue, 23 Aug 2005 21:09:48 +0000 (21:09 +0000)]
2005-08-23  Dave Brolley  <brolley@redhat.com>

        * mainDynamic.cxx (try_add_gprof): Initialize interval.
        * commonCfg.cxx (set_priority): New method of SchedCfg.
        (GprofCfg): Always call set_time, set_regular and set_priority.
        (BoardCfg::write_load): Don't connect init-seq to the dynamic
        configurator's step! pin. Call set_priority.
        * commonCfg.h (set_priority): New method of SchedCfg.
        (config_priority,gprof_priority,default_priority): New constants in
        SchedCfg.

18 years ago2005-08-23 Dave Brolley <brolley@redhat.com>
brolley [Tue, 23 Aug 2005 21:09:23 +0000 (21:09 +0000)]
2005-08-23  Dave Brolley  <brolley@redhat.com>

        * sidcpuutil.h (step_pin_handler): Don't call configure_gprof here.
        (unconfigure_gprof): Check gprof_configured_p.
        (configure_gprof): Check gprof_configured_p.
        (configure_gprof_p): Removed.
        (gprof_spec): Removed.
        (configure): Call configure_gprof here.

18 years ago2005-08-23 Dave Brolley <brolley@redhat.com>
brolley [Tue, 23 Aug 2005 21:08:53 +0000 (21:08 +0000)]
2005-08-23  Dave Brolley  <brolley@redhat.com>

        * compSched.cxx (scheduling_event): Constructors now take
        a 'priority' argument.
        (operator <): Consider priority of events.
        (yield): Likewise.
        (next_event): Likewise.
        (schedule_irregular): Now takes a 'priority' argument. Used when
        creating scheduling events.
        (schedule_regular): Likewise.
        (refill_regular_events_table): Consider priority of events.
        (operator <<): Stream priority.
        (operator >>): Destream priority.
        (class scheduler_client): Add 'priority' member.
        (set_time): Pass priority of the client to the scheduler.
        (client_num_update): Handle N-priority attribute.
        * sid-sched.xml: Describe the N-priority attribute.
        * sid-sched.txt: Regenerated.

18 years ago2005-08-23 Dave Brolley <brolley@redhat.com>
brolley [Tue, 23 Aug 2005 21:08:35 +0000 (21:08 +0000)]
2005-08-23  Dave Brolley  <brolley@redhat.com>

        * gprof.cxx (configure): Don't reset the N-regular attribute of the
        scheduler. Call accumulate when configuring for cycles=N.

18 years ago2005-08-23 Dave Brolley <brolley@redhat.com>
brolley [Tue, 23 Aug 2005 21:08:12 +0000 (21:08 +0000)]
2005-08-23  Dave Brolley  <brolley@redhat.com>

        * compConfig.cxx (reset): Drive step_control_pin.
        (get_current_config): Removed.
        * sid-control-dynamic-configurator.xml: Correct description of interface.
        * sid-control-dynamic-configurator.txt: Regenerated.

18 years agoSync from gcc sources:
rearnsha [Tue, 23 Aug 2005 18:13:01 +0000 (18:13 +0000)]
Sync from gcc sources:
        * Makefile.def (libssp): Add to lang_env_dependencies.
        * Makefile.in: Regenerate.

18 years ago* config/tc-mips.c (mips_cpu_info_table): Add 5kf to the table of
davidu [Tue, 23 Aug 2005 11:32:41 +0000 (11:32 +0000)]
* config/tc-mips.c (mips_cpu_info_table): Add 5kf to the table of
cpu names.

18 years ago* mips16-opc.c (mips16_opcodes): Add the MIPS16e jalrc/jrc
davidu [Tue, 23 Aug 2005 11:06:10 +0000 (11:06 +0000)]
* mips16-opc.c (mips16_opcodes): Add the MIPS16e jalrc/jrc
instructions to the table.

18 years ago PR 1036
amodra [Tue, 23 Aug 2005 06:18:44 +0000 (06:18 +0000)]
PR 1036
* config/tc-ppc.c (ppc_symbol_chars): Add '%' and '['.

18 years ago* dir.cc (readdir_worker): Make static. Only add '.' and '..' when readdir
cgf [Tue, 23 Aug 2005 03:58:04 +0000 (03:58 +0000)]
* dir.cc (readdir_worker): Make static.  Only add '.' and '..' when readdir
fails due to ENMFILE.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Only close handle on
error != ENMFILE.

18 years ago * configure.tgt (*-*-vxworks): Match vxworks* instead.
amodra [Tue, 23 Aug 2005 03:23:12 +0000 (03:23 +0000)]
* configure.tgt (*-*-vxworks):  Match vxworks* instead.

18 years agodaily update
amodra [Tue, 23 Aug 2005 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Tue, 23 Aug 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2005-08-22 Shaun Jackman <sjackman@gmail.com>
jjohnstn [Mon, 22 Aug 2005 21:13:34 +0000 (21:13 +0000)]
2005-08-22  Shaun Jackman  <sjackman@gmail.com>

        * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
        define _opendir as opendir, _readdir as readdir, and
        _closedir as closedir so that the implementations in
        libc/posix will be used.

18 years ago * mtinfo.h (mtinfo_drive::error): Fix argument bug in debug_printf call.
corinna [Mon, 22 Aug 2005 16:11:59 +0000 (16:11 +0000)]
* mtinfo.h (mtinfo_drive::error): Fix argument bug in debug_printf call.

18 years agogas/
jbeulich [Mon, 22 Aug 2005 12:37:29 +0000 (12:37 +0000)]
gas/
2005-08-22  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (object_64bit): New.
(i386_target_format): Initialize it.
(output_disp): Use object_64bit for relocation type determination.
(output_imm): Likewise.
(i386_validate_fix): Likewise.
(tc_gen_reloc): Likewise.
(lex_got): Likewise. Remove static mode_name. Change array size
of gotrel's rel field, and adjust its initializer. Adjust diagnostic.
(x86_cons): Use object_64bit for deciding whether quad fields can
have relocations.

gas/testsuite/
2005-08-22  Jan Beulich  <jbeulich@novell.com>

* gas/i386/mixed-mode-reloc.s, gas/i386/mixed-mode-reloc32.d,
gas/i386/mixed-mode-reloc64.d: New.
* gas/i386/i386.exp: Run new tests.

18 years ago*** empty log message ***
gdbadmin [Mon, 22 Aug 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Mon, 22 Aug 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago* doublest.c (floatformat_mantissa): Use xsnprintf instead of
kettenis [Sun, 21 Aug 2005 16:53:05 +0000 (16:53 +0000)]
* doublest.c (floatformat_mantissa): Use xsnprintf instead of
sprintf.

18 years ago* vaxobsd-tdep.c: New file.
kettenis [Sun, 21 Aug 2005 15:51:38 +0000 (15:51 +0000)]
* vaxobsd-tdep.c: New file.
* config/vax/obsd.mt (TDEPFILES): Add vaxobsd-tdep.o.
* Makefile.in (vaxobsd-tdep.o): New dependency.

18 years ago* ppcobsd-tdep.c: Include "frame.h" and "frame-unwind.h". Don't
kettenis [Sun, 21 Aug 2005 10:47:45 +0000 (10:47 +0000)]
* ppcobsd-tdep.c: Include "frame.h" and "frame-unwind.h".  Don't
include "tramp-frame.h".
(ppcobsd_sigtramp_cache_init): Remove function.
(ppcobsd_sigtramp): Remove variable.
(ppcobsd_page_size, ppcobsd_sigreturn_offset): New variables.
(ppcobsd_sigtramp_p): New function.
(ppcobsd_sigtramp_frame_cache, ppcobsd_sigtramp_frame_this_id)
(ppcobsd_sigtramp_frame_prev_register): New functions.
(ppcobsd_sigtramp_frame_unwind): New variable.
(ppcobsd_sigtramp_frame_sniffer): New function.
(ppcobsd_init_abi): Adjust to register new sigtramp sniffer
instead of the old one.
* Makefile.in (ppcobsd-tdep.o): Update dependencies.

18 years ago* infcall.c (call_function_by_hand): For
kettenis [Sun, 21 Aug 2005 09:34:19 +0000 (09:34 +0000)]
* infcall.c (call_function_by_hand): For
RETURN_VALUE_ABI_RETURNS_ADDRESS and
RETURN_VALUE_ABI_PRESERVES_ADDRESS, use gdbarch_return_value to
get return value.

18 years ago* valarith.c (value_equal, value_less): Avoid compiler bug on
kettenis [Sun, 21 Aug 2005 09:33:10 +0000 (09:33 +0000)]
* valarith.c (value_equal, value_less): Avoid compiler bug on
systems where `long double' values are returned in static storage.

18 years agodaily update
amodra [Sun, 21 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sun, 21 Aug 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years agoadd missing entry
cgf [Sat, 20 Aug 2005 06:21:20 +0000 (06:21 +0000)]
add missing entry

18 years ago* cygerrno.h (geterrno_from_win_error): Change declaration to default to using
cgf [Sat, 20 Aug 2005 06:19:53 +0000 (06:19 +0000)]
* cygerrno.h (geterrno_from_win_error): Change declaration to default to using
GetLastError and EACCESS.
* cygwin.din: Export readdir_r.
* include/cygwin/version.h: Bump API version number to 138.
* syscalls.cc (readdir_worker): New function, renamed from old readdir()
function.
(readdir): Use readdir_worker.
(readdir_r): New function.
* fhandler.h (fhandler_base::readdir): Accommodate second argument indicating
dirent buffer.
(fhandler_disk_file::readdir): Ditto.
(fhandler_cygdrive::readdir): Ditto.
(fhandler_proc::readdir): Ditto.
(fhandler_netdrive::readdir): Ditto.
(fhandler_registry::readdir): Ditto.
(fhandler_process::readdir): Ditto.
* fhandler.cc (fhandler_base::readdir): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Ditto.
* fhandler_cygdrive.cc (fhandler_cygdrive::readdir): Ditto.
* fhandler_proc.cc (fhandler_proc::readdir): Ditto.
* fhandler_netdrive.cc (fhandler_netdrive::readdir): Ditto.
* fhandler_registry.cc (fhandler_registry::readdir): Ditto.
* fhandler_process.cc (fhandler_process::readdir): Ditto.

18 years ago*** empty log message ***
gdbadmin [Sat, 20 Aug 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sat, 20 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago2005-08-19 Dave Brolley <brolley@redhat.com>
brolley [Fri, 19 Aug 2005 19:48:45 +0000 (19:48 +0000)]
2005-08-19  Dave Brolley  <brolley@redhat.com>
        (record_data_memory_write_latency): New virtual method.
        * Contribute the following changes:n_memory_read_latency.
        (write_insn_memory): Call record_insn_memory_write_latency.
        2005-07-13  Dave Brolley  <brolley@redhat.com>ad_latency.
        (write_data_memory): Call record_data_memory_write_latency.
        * mepCfg.cxx (set_dynamic_config): New method of MepMemCfg.::check_level
        (MepCacheCfg::set_dynamic_config): Don't use the new-config pin
        or the dynamic-configurator attribute. Instead, relate the cache
        to the dynamic configurator using its client relation.
        (MepBoardCfg::write_config): Likewise for the insn_buffer, dmac,result
        hw_engines and peripherals. Call set_dynamic_config for shared_main_mem.
        * mainDynamic.cxx (BoardConfig): New struct type.
        (main): Keep a vector of the boards in board_configs. Call:ok.
        set_start_config for each board after all the --wrap options have
        been seen. Call add_wrapped_component to identify each wrapped
        component to the session.y@redhat.com>
        * commonCfg.h (wrapped_components): New member of SessionCfg.
        (add_wrapped_component): New method of SessionCfg.New class.
        (wrap_config): Likewise.ule): Reschedule after the given number of
        * commonCfg.cxx (wrap_config): New method of SessionCfg.
        (profile_config): Use possible_wrap_name to obtain the component
        being wrapped so we can get its name.
        (GdbCfg::write_config): Don't connect the new-config pin or use the
        dynamic-configurator relation. Instead, use the dynamic configurator's
        client relation.
        (BoardCfg::write_config): Likewise. Relate the dynamic configurator
        to gloss.
        * baseCfg.cxx (wrap_component): Now returns AtomicCfg *.
        (possible_wrap_name): Likewise.
        (dynamic_config_for_wrapped_children): Don't connect the dynamic
        configurator's new-config pin to the components or relate the
        dynamic configurator to them. Rather, relate the components to the
        dynamic configurator using its 'client' relation.
        * baseCfg.h (wrap_component): Now returns AtomicCfg *.
        (possible_wrap_name): Likewise.

        2005-07-05  Dave Brolley  <brolley@redhat.com>

        * commonCfg.cxx (BoardCfg::write_load): Connect dynamic configurator's
        "reset" pin to output 2 of reset_net.
        (write_config): Set the "start-config" attribute of the dynamic
        configurator not gloss. Relate "main" to the dynamic configurator
        unconditionally. Connect the "config-error" pins of the dynamic
        configurator and gloss.

        2005-06-30  Dave Brolley  <brolley@redhat.com>

        * mainDynamic.cxx (try_add_gprof): Make sure an argument is specified
        after the comma.

        2005-06-06  Dave Brolley  <brolley@redhat.com>

        * mainDynamic.cxx (need_sess): Now takes 'verbose' argument. Use it
        to initialize sess->verbose. Update all callers.
        (main): Add " --model-busses" to board_start_config instead of
        " --model_busses" (typo).
        * commonCfg.h (need_core_probe): New member of SessionCfg.
        (BoardCfg::dynamic_configurator): Now public.
        * commonCfg.cxx (SessionCfg): Initialize need_core_probe.
        (profile_config): Set need_core_probe for --trace-core. Call
        use_tcl_bridge and possible_wrap_name for --wrap.
        (LoaderCfg): Don't set verbose? attribute here.
        (GlossCfg): Likewise.
        (GdbCfg::write_config): Connect the stub and the socket to the
        dynamic_configurator.
        (BoardCfg): Initialize core_probe and warmup_funcs. Connect the cpu's
        print-insn-summary pin to the shutdown sequence here.
        (BoardCfg::write_load): Connect the dynamic configurator's step! pin
        to the init-sequence's output 6. Set the core_probe's trace?
        attribute. Set the gloss and loader's verbose? attributes.
        (BoardCfg::write_config): Give the dynamic configurator its own
        subscription to sim-sched. Set the cpu's 'main' and core-probe
        relations. Connect gloss, core_probe, loader and all of the board's
        wrapped childred to the dynamic configurator. Check whether components
        are wrapped before connecting them to the dynamic configurator. Don't co
nnect
        the cpu's print-insn-summary pin to the shutdown sequence here.
        * baseCfg.cxx (AtomicCfg): Initialize my_possibly_wrapped.
        (wrap_component): Set my_possibly_wrapped.
        (possible_wrap_name): New static method of AtomicCfg.
        (AtomicCfg::write_construct): Check my_possibly_wrapped. Set
        victim-trace? to false if only possibly wrapped.
        (dynamic_config_for_wrapped_children): New method of AggregateCfg.
        * baseCfg.h (possible_wrap_name): New static method of AtomicCfg.
        (possibly_wrapped): New method of AtomicCfg.
        (my_possibly_wrapped): New member of AtomicCfg.
        (dynamic_config_for_wrapped_children): New method of AggregateCfg.

        2005-05-29  Dave Brolley  <brolley@redhat.com>

        * mainDynamic.cxx (usage): Document --profile-config,--profile-func,
        --warmup-func and --warmup.
        (Defs): Initialize warmup, profile_func and start_config.
        (warmup,profile_func,warmup_func,start_config): New members of Defs.
        (need_sess): Call profile_config with "sid-internal-warmup:".
        (opt_warmup,opt_warmup_func,opt_profile_func,opt_profile_config): New
        enumerators.
        (long_options): Add --profile-config,--profile-func,
        --warmup-func and --warmup.
        (main): Accumulate start_config with reconfigurable options which occur
        before the first --board. For each board call set_start_config with
        the value of start_config concatenated with the additional reconfigurabl
e
        options specified for that --board. Call set_warmup, add_warmup_func and
        add_profile_func for each board. Handle new option enums.
        * commonCfg.h (add_profile_config): New method of SessionCfg.
        (profile_config_error, profile_opt_value, profile_opt_int_value)
        (profile_opt_gprof_value, match_profile_opt, profile_config): New
        methods of SessionCfg.
        (GprofCfg): New constructor.
        (write_load): New virtual override in BoardCfg.
        (add_profile_func, add_warmup_func, set_warmup, set_start_config): New
        methods of BoardCfg.
        (need_gprof): New member of BoardCfg.
        (start_config,warmup_funcs,profile_funcs): New members of BoardCfg.
        * commonCfg.cxx (SessionCfg): Initialize need_gprof.
        (add_profile_config): New method of SessionCfg.
        (profile_config_error, profile_opt_value, profile_opt_int_value)
        (profile_opt_gprof_value, match_profile_opt, profile_config): New
        methods of SessionCfg.
        (GprofCfg): Always add a sunscription to sim_sched. Set the
        sim-sched-event attribute.
        (GprofCfg): New constructor.
        (BoardCfg): Initialize dynamic_configurator and start_config.
        (write_load): New virtual override in BoardCfg.
        (BoardCfg::write_config): Make connections and set attributes to allow
        for dynamic configuration.
        (add_profile_func, add_warmup_func, set_warmup, set_start_config): New
        methods of BoardCfg.

18 years ago2005-08-19 Dave Brolley <brolley@redhat.com>
brolley [Fri, 19 Aug 2005 19:47:43 +0000 (19:47 +0000)]
2005-08-19  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:

        2005-07-13  Dave Brolley  <brolley@redhat.com>

        * sidcpuutil.h (num_cycles): New member of basic_cpu.
        (step_pin_handler): Call configure_gprof.
        (cg_profile): Call last_caller and last_callee.
        (cg_profile_jump): Call last_caller and last_callee.
        (configure_gprof): New method of basic_cpu.
        (unconfigure_gprof): New method of basic_cpu.
        (gprof_configured_p,configure_gprof_p,last_caller,last_callee)
        (pprof_spec): New members of basic_cpu.
        (configure): Call configure_gprof.
        (basic_cpu): Initialize gprof_configured_p, configure_gprof_p,
        last_caller and last_callee.
        * sidattrutil.h (configurable_component): Moved here ...
        * sidcomputil.h (configurable_component): ... from here.
        * sidbusutil.h (bus_arbitrator): Inherit from no_relation_component.

        2005-06-24  Dave Brolley  <brolley@redhat.com>

        * sidattrutil.h (fixed_attribute_map_with_logging_component):
        Initialize buffer_output to false.

        2005-06-21  Dave Brolley  <brolley@redhat.com>

        * sidcpuutil.h (basic_cpu::configure): Call update_final_insn_count_p
        after processing "final-insn-count".

        2005-06-06  Dave Brolley  <brolley@redhat.com>

        * sidcpuutil.h (print_final_insn_count_p): New member of basic_cpu.
        (print_insn_summary): Check print_final_insn_count_p.
        (update_final_insn_count_p): New method of basic_cpu.
        (core_probe,main); New members of basic_cpu.
        (basic_cpu::configure): Handle insn-count, verbose, trace-core,
        trace-counter, trace-extract, trace-semantics and final-insn-count.
        (stream_state): Stream print_final_insn_count_p.
        (destream_state): Destream print_final_insn_count_p.
        (basic_cpu): Initialize core_probe and main. Initialize
        print_final_insn_count_p. Add final-insn-count? using
        add_attribute_notify. Add relations core-probe and main.
        * sidcomputil.h (configurable_component::configure_pin_handler): Now
        virtual.

        2005-05-29  Dave Brolley  <brolley@redhat.com>

        * sidcpuutil.h (basic_cpu): New inherits from configurable_component.
        (cg_jump_pin,cg_return_pin): New members of basic_cpu.
        (cg_profile_jump): New method of basic_cpu.
        (configure): New virtual override on basic_cpu.
        (basic_cpu): Initialize gprof. Add cg-return and cg-jump pins. Add
        gprof relation.
        * sidcomputil.h (configurable_component): New mix-in class for component
s.
        * sidattrutil.h (sidcomputil.h): #include it.
        (fixed_attribute_map_with_logging_component): Inherit from
        configurable_component.
        (configure): New virtual override in
        fixed_attribute_map_with_logging_component.

18 years ago2005-08-19 Dave Brolley <brolley@redhat.com>
brolley [Fri, 19 Aug 2005 19:46:38 +0000 (19:46 +0000)]
2005-08-19  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:

        2005-07-13  Dave Brolley  <brolley@redhat.com>

        * compTcl.cxx (set_attribute_value): Handle the configure! attribute.
        (find_pin): Don't handle the configure! pin.
        (relate): Don't handle the dynamic-configurator relation.
        (unrelate): Likewise.
        (configure_pin_handler): Removed.

        2005-06-06  Dave Brolley  <brolley@redhat.com>

        * sid-api-trace.tcl (attribute_value): Handle component-type and victim
        attributes.
        * compTcl.cxx (tcl_component): component and configurable_component
        inherited virtually.
        (victim_name): New member of tcl_component.
        (set_attrinute_value): Handle victim-name attribute.
        (find_pin): Handle the "configure" pin specially.
        (relate): Handle the dynamic-configurator relation specially.
        (unrelate): Likewise.
        (configure_pin_handler,configure): New virtual overrides in
        tcl_component.

18 years ago2005-08-19 Dave Brolley <brolley@redhat.com>
brolley [Fri, 19 Aug 2005 19:46:00 +0000 (19:46 +0000)]
2005-08-19  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:

        2005-07-13  Dave Brolley  <brolley@redhat.com>

        * gprof.cxx (gprof_component): Inherit virtually from
        fixed_attribute_map_component.

        2005-05-29  Dave Brolley  <brolley@redhat.com>

        * gprof.cxx: Keep a vector of statistics to allow switching from
        one output file to another dynamically.
        (sid::pin,sidutil::configurable_component)
        (sidutil::output_pin,sidutil::tokenize): Add using clauses.
        (profiling_components): Inherit virtually from fixed_pin_map_component
        and fixed_relation_map_component. Inherit from configurable_component.
        (statistics): New struct type.
        (stats,current_stats): New members of gprof_component.
        (set_nothing,value_min_get,value_max_get,value_count_get,limit_min_get)
        (limit_min_set,limit_max_get,limit_max_set,output_file_get)
        (output_file_set): New methods of gprof_component.
        (reset): Initialize stats vector.
        (store): Call store stats for each element of the stats vector.
        (configure): New virtual override in gprof_component.
        (gprof_component): Call reset. Add sim-sched-event attribute. Add
        sim-sched relation.

18 years ago2005-08-19 Dave Brolley <brolley@redhat.com>
brolley [Fri, 19 Aug 2005 19:45:22 +0000 (19:45 +0000)]
2005-08-19  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:

        2005-07-13  Dave Brolley  <brolley@redhat.com>

        * compLoader.cxx (generic_loader): Inherit virtually from
        fixed_attribute_map_component. Inherit from no_relation_component.

        2005-06-06  Dave Brolley  <brolley@redhat.com>

        * elfload.c (readElfFile): Return and empty symbol table if none found.

        * compLoader.cxx: Add using cleause for
        sidutil::configurable_component.
        (generic_loader): fixed_pin_map_component and configurable_component
        inherited virtually.
        (configure): New virtual override in generic_loader.
        (check_function_pin_handler): Return the empty string if no function
        is associated with the given address.
        * sw-load-elf.xml: Add description of new interfaces.
        * sw-load-elf.txt: Regenerated.

        2005-05-29  Dave Brolley  <brolley@redhat.com>

        * elfload.h (StringTable, Symbol): New struct types.
        (readElfFile): New takes symbol_table argument.
        (SHT_SYMTAB, SHT_STRTAB, ELF32_ST_TYPE, STT_FUNC): New macros.
        * elfload.c (stringTables,stringTableCount,stringTableNum): New
        static variables.
        (newStringTable): New static function.
        (symbolTable,symbolCount,symbolNum): New static variables.
        (newSymbol): New static function.
        (readElfFile): New takes symbol_table argument. Build string tables and
        symbol table while reading the input file.
        * compLoader.cxx (elf_loader): New constructor.
        (load_it): Obtain symmol_table from readElfFile.
        (check_function_pin,symbol_table,current_function): New members
        of elf_loader.
        (check_function_pin_handler): New method of elf_loader.

18 years ago2005-08-19 Dave Brolley <brolley@redhat.com>
brolley [Fri, 19 Aug 2005 19:44:46 +0000 (19:44 +0000)]
2005-08-19  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:

        2005-07-13  Dave Brolley  <brolley@redhat.com>

        * gloss.cxx (gloss32): Initialize dynamic_configurator. Add
        dynamic-configurator relation.
        * gloss.h (gloss32): Inherit virtually from
        fixed_attribute_map_component.
        (dynamic_configurator): New member of gloss32.

        2005-07-05  Dave Brolley  <brolley@redhat.com>

        * gloss.cxx (start_config): Removed from gloss32.
        (gloss32): Remove "start-config" attribute. Add "config-error"
        pin.
        (reset): Don't call sys_config_set.
        (sys_reconfig_set): Call set_error_result based on the value driven on
        config_error_pin.
        (sys_reconfig_reset): Likewise.
        * gloss.h (start_config): Removed from gloss32.
        (config_error_pin): New member of gloss32.

        2005-06-06  Dave Brolley  <brolley@redhat.com>

        * gloss.cxx (gloss32): Don't initialize dynamic_configurator.
        Don't add dynamic-configurator relation.
        (configure_pin): Renamed to sys_configure_pin.
        (configure): New virtual override in gloss32.
        (do_sys_reconfig): Print log messages to cerr and only when
        verbose_p.
        * gloss.h (gloss32): fixed_pin_map_component and configurable_component
        inherited virtually.
        (dynamic_configurator): Removed.
        (configure_pin): Renamed to sys_configure_pin.
        (configure): New virtual override in gloss32.

        2005-05-29  Dave Brolley  <brolley@redhat.com>

        * libgloss.h (SYS_reconfig): New enumerator.
        * gloss.h (main, dynamic_configurator): New members of gloss32.
        (configure_pin, config_result_pin, start_config): Likewise.
        (sys_reconfig_set): New method of gloss32.
        (sys_reconfig_reset, do_sys_reconfig): Likewise.
        * gloss.cxx (gloss32): Initialize main, dynamic_configurator and
        start_config. Add relations main, dynamic-configurator. Add
        configure pin. Add start-config addtribute. Add config-result
        pin.
        (reset): Call sys_reconfig_set with start_config if it's not
        empty.
        (syscall_trap): Handle SYS_reconfig.
        (sys_reconfig_set): New method of gloss32.
        (sys_reconfig_reset, do_sys_reconfig): Likewise.

18 years ago2005-08-19 Dave Brolley <brolley@redhat.com>
brolley [Fri, 19 Aug 2005 19:43:50 +0000 (19:43 +0000)]
2005-08-19  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:

        2005-07-13  Dave Brolley  <brolley@redhat.com>

        * gdb.h (configurable_component): Inherit virtually from
        fixed_attribute_map_component.

        2005-06-06  Dave Brolley  <brolley@redhat.com>

        * gdb.cxx (configure): New virtual override in gdb.
        * gdb.h (configure): Likewise.
        (gdb): fixed_pin_map_component, fixed_relation_map_component and
        configurable_component inherited virtually.
        * sw-debug-gdb.xml: Add description of new interfaces.
        * sw-debug-gdb.txt: Regenerated.

18 years ago2005-08-19 Dave Brolley <brolley@redhat.com>
brolley [Fri, 19 Aug 2005 19:43:09 +0000 (19:43 +0000)]
2005-08-19  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:

        2005-07-13  Dave Brolley  <brolley@redhat.com>

        * components.h (socketio): Inherit virtually from
        fixed_attribute_map_component. Inherit from no_relation_component.

        2005-06-06  Dave Brolley  <brolley@redhat.com>

        * components.h: Add using clause for sidutil::configurable_component.
        (socketio): fixed_pin_map_component and configurable_component inherited
        virtually. no_relation_component no longer inherited.
        (configure): New virtual override in socketio.
        * socketio.cxx (configure): Likewise.
        * sid-io-socket.xml: Add description of new interfaces.
        * sid-io-socket.txt: Regenerated.

18 years ago2005-08-19 Dave Brolley <brolley@redhat.com>
brolley [Fri, 19 Aug 2005 19:42:25 +0000 (19:42 +0000)]
2005-08-19  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:

        2005-07-13  Dave Brolley  <brolley@redhat.com>

        * cgen-cpu.h (notify_ret): Set last_caller and last_callee.

        2005-05-29  Dave Brolley  <brolley@redhat.com>

        * cgen-cpu.h (branch, done_insn, done_cti_insn, notify_ret):
        New virtual overrides.
        (was_return): New member of cgen_bi_endian_cpu.

18 years ago2005-08-19 Dave Brolley <brolley@redhat.com>
brolley [Fri, 19 Aug 2005 19:39:07 +0000 (19:39 +0000)]
2005-08-19  Dave Brolley  <brolley@redhat.com>

        * Contribute these changes:

        2005-07-13  Dave Brolley  <brolley@redhat.com>

        * compConfig.cxx (new_config_pin): Removed from
        dynamic_configurator_component.
        (clients): Added to dynamic_configurator_component.
        (dynamic_configurator_component): Remove new-config pin. Add
        clients as a multi relation.
        (step_pin_handler): Set the configure! attribute of each component
        related via the client relationship.
        (do_configure): Set config_names[0] and config_specs[0] if the
        handle is zero.
        * sid-control-dynamic-configurator.xml: Document the removal of the
        new-config pin and the addition of the clients relationship.
        * sid-control-dynamic-configurator.txt: Regenerated.

        2005-07-05  Dave Brolley  <brolley@redhat.com>

        * compConfig.cxx (reset_pin_handler): New method of
        dynamic_configurator_component.
        (set_start_config): Likewise.
        (reset): Likewise.
        (reset_pin): New member of dynamic_configurator_component.
        (config_error_pin): Likewise.
        (dynamic_configurator_component): Initialize current_config, prev_config
        and prev_user_config in the reset method. Add "start-config" attribute.
        Add "reset" and "config-error" pins.
        (configure): Check result of do_configure. Drive config_error_pin if not
        ok.
        (configure_pin_handler): Drive config_error_pin if the handle is not
        valid.
        * sid-control-dynamic-configurator.xml: Document the "config-error" and
"reset"
        pins
        * sid-control-dynamic-configurator.txt: Regenerated.

        2005-06-21  Dave Brolley  <brolley@redhat.com>

        * compConfig.cxx (step_pin_handler): Always drive new_config_pin.

        2005-06-06  Dave Brolley  <brolley@redhat.com>

        * Makefile.am (pkgdata_DATA): Add sid-control-dynamic-configurator.txt.
        * Makefile.in: Regenerated.
        * compConfig.cxx (cfgroot_component::configure): Renamed to
        configure_file.
        (restore_config,set_syscall_config,check_config_change): New methods of
        dynamic_configurator_component.
        (in_function): Likewise.
        (prev_user_config): New member of dynamic_configurator_component.
        (dynamic_configurator_component): Prime the config_stack with a dummy
        entry.
        (add_warmup_functions): Tokenize based on ",".
        (add_profile_functions): Move on to the next spec on parse error.
        (dynamic_configurator_component::configure): Drive config_result_pin wit
h
        prev_user_config. Call set_syscall_config and check_config_change.
        (do_configure): Don't drive the config_result_pin here. Don't drive the
        step_control_pin here. Duplicate the first stack entry for the first
        config in the dummy entry of the stack. Now takes a reference to a
        config handle.
        (configure_pin_handler): Drive the config_result_pin with prev_user_conf
ig.
        Call restore_config, sys_syscall_config and check_config_change.
        (function_callee_pin_handler): Always use sid-internal-warmup for _Sid_c
onfig.
        (function_return_pin_handler): Return if the loader can't identify the c
urrent
        function. Call restore_config and check_config_change.
        * sid-control-dynamic-configurator.txt: New file.
        * sid-control-dynamic-configurator.xml: New file.

        2005-05-29  Dave Brolley  <brolley@redhat.com>

        * compConfig.cxx (std::pair,sidutil::tokenize): Add using clause for the
se.
        (dynamic_config,lookup_dynamic_config): New methods of cfgroot_component
.
        (dynamic_configs,found_dynamic_config): New members of cfgroot_component
.
        (configure_line): Initialize num_invalid_chars.
        (cfgroot_component): Initialize dynamic_configs and found_dynamic_config
.
        Add virtual attributes dynamic-config! and lookup-dynamic-config!. Add
        attribute found-dynamic-config.
        (dynamic_configurator_component): New class.
        (compConfigListTypes): Push back sid-control-dynamic-configurator.
        (compConfigCreate): Handle sid-control-dynamic-configurator.
        (compConfigDelete): Delete dynamic_configurator_component.

18 years ago2005-08-19 Dave Brolley <brolley@redhat.com>
brolley [Fri, 19 Aug 2005 19:01:51 +0000 (19:01 +0000)]
2005-08-19  Dave Brolley  <brolley@redhat.com>

        * cgen-fpu.cxx: New file.
        * cgen-fpu.h: New file.
        * Makefile.am (libcgencpu_la_SOURCES): Add cgen-fpu.cxx.
        * Makefile.in: Regenerated.
        * Contribute the following enhancements to floating point
        support:

        2005-06-14  Dave Brolley  <brolley@redhat.com>

        * fp.h (do_round,do_normal_round,do_normal_underflow,do_normal_overflow)
:
        Now virtual.
        * fp.cxx (do_normal_overflow): Round up to infinity only if
        the result is positive.
        (operator-): Don't apply 'neg' to a nan.
        (neg): Return src if it is a qnan.

        2005-05-20  Dave Brolley  <brolley@redhat.com>

        * fp.cxx (pack_any): Ensure that nan results have a positive sign.
        (operator-): Simply call operator+ with the rhs negated.
        * fp.h (is_negative): New method of fp.

        2005-05-13  Dave Brolley  <brolley@redhat.com>

        * fp.h (fp): All arithmetic operator methods are now members
        of class fp.
        * fp.cxx (fp): Likewise.

        2005-04-27  Dave Brolley  <brolley@redhat.com>

        * fp.cxx (fp::unpack): Only perform sanity check for non-nans.

        2005-04-12  Dave Brolley  <brolley@redhat.com>

        * fp.h: Move static constants and functions to top of file for
        visibility within the file.
        (get_status): New method of fp.
        (get_class): Likewise.
        (qnan_fraction): Likewise.
        (snan_fraction): Likewise.
        (qnan_exponent): Likewise.
        (snan_exponent): Likewise.
        * fp.cxx (fp_to_int): throw fp::overflow for overflow.
        (pack_any): Use [sq]nan_{exponent,fraction} to construct nans.
        (unpack): Initialize status to 'ok'. Set class and status using
        is_qnan_fraction and is_qnan respectively.

        2005-03-18  Dave Brolley  <brolley@redhat.com>

        * fp.cxx: Move static items from here.
        * fp.h: To here. Make some methods virtual. Make private members
        protected.
        (is_inexact): New method.

18 years ago2005-08-19 Dave Brolley <brolley@redhat.com>
brolley [Fri, 19 Aug 2005 18:58:56 +0000 (18:58 +0000)]
2005-08-19  Dave Brolley  <brolley@redhat.com>

        * Makefile.am: Remove references to xstormy16-write.cxx.
        * xstormy16-cpu.h: Regenerate.
        * xstormy16-decode.cxx: Regenerate.
        * xstormy16-decode.h: Regenerate.
        * xstormy16-defs.h: Regenerate.
        * xstormy16-desc.h: Regenerate.
        * xstormy16-sem.cxx: Regenerate.
        * xstormy16-write.cxx: Removed.

18 years ago* fhandler.h (dirent_states): Add dirent_saw_proc.
cgf [Fri, 19 Aug 2005 16:29:42 +0000 (16:29 +0000)]
* fhandler.h (dirent_states): Add dirent_saw_proc.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Fill in "proc" if it is
the root dir and it is missing.

18 years ago* fhandler.h (dirent_states): Add dirent_isroot, dirent_saw_cygdrive,
cgf [Fri, 19 Aug 2005 16:18:41 +0000 (16:18 +0000)]
* fhandler.h (dirent_states): Add dirent_isroot, dirent_saw_cygdrive,
dirent_saw_dev.
* dir.cc (opendir): Don't zero __flags here.  Push that responsibility to
opendir methods.
(seekdir): Preserve dirent_isrrot in __flags.
(rewinddir): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Set dirent_isroot
appropriately.
(fhandler_disk_file::readdir): Fill in "cygdrive" and "dev" if it is the root
dir and they are missing.
* fhandler_process.cc (fhandler_process::opendir): Set __flags here.
* fhandler_virtual.cc (fhandler_virtual::opendir): Set __flags here.

18 years ago* m32c/Makefile.in (m16cmon.ld, m32cmon.ld): Fix output names.
dj [Fri, 19 Aug 2005 16:18:04 +0000 (16:18 +0000)]
* m32c/Makefile.in (m16cmon.ld, m32cmon.ld): Fix output names.
(*.o): Add dependencies.
* m32c/m32csys.h: Move syscall location to 0x400 as per Renesas
recommendations.

18 years ago* winsup.h (create_pipe): Declare new function.
cgf [Fri, 19 Aug 2005 14:56:47 +0000 (14:56 +0000)]
* winsup.h (create_pipe): Declare new function.
(CreatePipe): New define.
* miscfuncs.cc (create_pipe): Define new function.

18 years ago*** empty log message ***
gdbadmin [Fri, 19 Aug 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 19 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago * passwd.c (longopts): Add --logonserver option.
corinna [Thu, 18 Aug 2005 20:25:43 +0000 (20:25 +0000)]
* passwd.c (longopts): Add --logonserver option.
(opts): Add -d option.
(GetPW): Add server parameter which is given to Net functions.
(ChangePW): Ditto.
(PrintPW): Ditto.
(SetModals): Ditto.
(usage): Add description for -d/--logonserver option.
(main): Add option handling for -d/--logonserver.  Use LOGONSERVER
environment variable content for server to contact, unless
-d/--logonserver option is given.  If both is missing, use NULL.

18 years ago* fhandler.h (fhandler_tty_common::lseek): Declare new method.
cgf [Thu, 18 Aug 2005 20:17:08 +0000 (20:17 +0000)]
* fhandler.h (fhandler_tty_common::lseek): Declare new method.
(fhandler_tty_slave::lseek): Delete old method.
(fhandler_tty_master::lseek): Delete old method.
* fhandler_tty.cc (fhandler_tty_common::lseek): Define new method.

18 years ago* m32c/Makefile.in: Block out memory regions reserved for monitors
dj [Thu, 18 Aug 2005 18:43:41 +0000 (18:43 +0000)]
* m32c/Makefile.in: Block out memory regions reserved for monitors
and simulators.  Add monitor link scripts.

18 years ago * ld-mips-elf/multi-got-1.d: Adjust for new ld behavior.
daney [Thu, 18 Aug 2005 16:46:19 +0000 (16:46 +0000)]
* ld-mips-elf/multi-got-1.d: Adjust for new ld behavior.
* ld-mips-elf/multi-got-no-shared.d: Likewise.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/rel32-o32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.

18 years ago* stack.c: Reformat. Improve comments. Include "valprint.h".
kettenis [Thu, 18 Aug 2005 13:26:38 +0000 (13:26 +0000)]
* stack.c: Reformat.  Improve comments.  Include "valprint.h".
(args_info, locals_info, backtrace_command, backtrace_command_1)
(backtrace_full_command, frame_info, frame_command, down_command)
(down_silently_base, down_silently_command, up_command)
(up_silently_base, up_silently_command, parse_frame_specification)
(current_frame_command, print_frame_args_vars, catch_info)
(args_plus_locals_info), print_frame_label_vars)
(print_block_frame_labels, print_block_frame_locals)
(func_command): Remove prototypes.
(print_stack_frame, backtrace_command_stub, backtrace_command,
backtrace_full_command, print_frame_args, print_frame_arg_vars,
print_args_stub, func_command): Remove redundant casts.
(addressprint): Remove extern declaration.
(frame_command): Make static.
(struct print_stack_frame_args, struct print_args_args): Rename
`fi' member to `frame'.
(print_stack_frame, print_frame_nameless_args, print_frame_args)
(set_current_sal_from_frame, print_frame_info, print_frame)
(show_stack_frame, print_block_frame_locals)
(print_frame_local_vars, print_frame_label_vars)
(print_frame_arg_vars, select_and_print_frame): Rename `fi'
argument to `frame'.
(func_command): Rename `fp' variable to `frame'.
(get_language): Restructure.
* Makefile.in (stack.o): Update dependencies.

18 years ago* stack.c: Reformat. Improve comments. Include "valprint.h".
kettenis [Thu, 18 Aug 2005 13:26:21 +0000 (13:26 +0000)]
* stack.c: Reformat.  Improve comments.  Include "valprint.h".
(args_info, locals_info, backtrace_command, backtrace_command_1)
(backtrace_full_command, frame_info, frame_command, down_command)
(down_silently_base, down_silently_command, up_command)
(up_silently_base, up_silently_command, parse_frame_specification)
(current_frame_command, print_frame_args_vars, catch_info)
(args_plus_locals_info), print_frame_label_vars)
(print_block_frame_labels, print_block_frame_locals)
(func_command): Remove prototypes.
(print_stack_frame, backtrace_command_stub, backtrace_command,
backtrace_full_command, print_frame_args, print_frame_arg_vars,
print_args_stub, func_command): Remove redundant casts.
(addressprint): Remove extern declaration.
(frame_command): Make static.
(struct print_stack_frame_args, struct print_args_args): Rename
`fi' member to `frame'.
(print_stack_frame, print_frame_nameless_args, print_frame_args)
(set_current_sal_from_frame, print_frame_info, print_frame)
(show_stack_frame, print_block_frame_locals)
(print_frame_local_vars, print_frame_label_vars)
(print_frame_arg_vars, select_and_print_frame): Rename `fi'
argument to `frame'.
(func_command): Rename `fp' variable to `frame'.
(get_language): Restructure.
* Makefile.in (stack.o): Update dependencies.

18 years ago * fhandler_socket.cc (fhandler_socket::recvfrom): Always initialize
corinna [Thu, 18 Aug 2005 13:14:07 +0000 (13:14 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Always initialize
ret to 0.
(fhandler_socket::recvmsg): Ditto.

18 years ago2005-08-18 Christian Groessler <chris@groessler.org>
cpg [Thu, 18 Aug 2005 11:54:33 +0000 (11:54 +0000)]
2005-08-18  Christian Groessler  <chris@groessler.org>

* config/tc-h8300.h: Remove TC_RELOC_MANGLE/tc_reloc_mangle.
* config/tc-mcore.h: Likewise.
* config/tc-z8k.h: Likewise.
* config/tc-z8k.c: Likewise.
* config/tc-sh.h: Remove TC_RELOC_MANGLE and
sh_coff_reloc_mangle declaration.
* config/tc-sh.c: (md_apply_fix): Fix comment for case
BFD_RELOC_SH_USES.

18 years ago2005-08-18 Christian Groessler <chris@groessler.org>
cpg [Thu, 18 Aug 2005 11:54:24 +0000 (11:54 +0000)]
2005-08-18  Christian Groessler  <chris@groessler.org>

* config/tc-h8300.h: Remove TC_RELOC_MANGLE/tc_reloc_mangle.
* config/tc-mcore.h: Likewise.
* config/tc-z8k.h: Likewise.
* config/tc-z8k.c: Likewise.
* config/tc-sh.h: Remove TC_RELOC_MANGLE and
sh_coff_reloc_mangle declaration.
* config/tc-sh.c: (md_apply_fix): Fix comment for case
BFD_RELOC_SH_USES.

18 years ago * config/tc-sh64.c (sh64_target_format): Check preset_target_arch
kkojima [Thu, 18 Aug 2005 11:21:16 +0000 (11:21 +0000)]
* config/tc-sh64.c (sh64_target_format): Check preset_target_arch
to confirm that no ISA is specified.

18 years ago * config/tc-sh64.c (sh64_target_format): Check preset_target_arch
kkojima [Thu, 18 Aug 2005 11:21:05 +0000 (11:21 +0000)]
* config/tc-sh64.c (sh64_target_format): Check preset_target_arch
to confirm that no ISA is specified.

18 years ago * config.bfd: Add bfd_elf32_shnbsd_vec and bfd_elf32_shlnbsd_vec
kkojima [Thu, 18 Aug 2005 11:06:56 +0000 (11:06 +0000)]
* config.bfd: Add bfd_elf32_shnbsd_vec and bfd_elf32_shlnbsd_vec
to targ_selvecs for sh5*-*-netbsd* and sh64*-*-netbsd*.

18 years ago(relax_segment): Count the number of frags being processed and use this to
nickc [Thu, 18 Aug 2005 09:26:14 +0000 (09:26 +0000)]
(relax_segment): Count the number of frags being processed and use this to
compute a maximum limit on the number of iterations that will be allowed when
attempting to relax the segment.

18 years ago * errno.cc (strerror): Check errnum for underflow.
corinna [Thu, 18 Aug 2005 08:35:14 +0000 (08:35 +0000)]
* errno.cc (strerror): Check errnum for underflow.

18 years ago * ld-d10v/default_layout.d: Adjust for section removal.
amodra [Thu, 18 Aug 2005 07:51:04 +0000 (07:51 +0000)]
* ld-d10v/default_layout.d: Adjust for section removal.
* ld-elf/empty.s: Define "main".
* ld-elf/frame.exp: Don't run for hppa64 and v850.
* ld-elf/group1.d: xfail various targets.
* ld-elf/merge.d: Likewise.
* ld-elf/merge2.d: Likewise.
* ld-elf/warn1.d: Likewise.
* ld-scripts/defined2.d: Likewise.
* ld-scripts/defined3.d: Likewise.
* ld-scripts/empty-aligned.d: Likewise.
* ld-scripts/size-2.d: Likewise.
* ld-scripts/weak.exp: Likewise.
* ld-selective/sel-dump.exp: Likewise.
* ld-undefined/weak-undef.exp: Likewise.

18 years ago * scripttempl/elf.sc: Remove commented out defines.
amodra [Thu, 18 Aug 2005 07:15:16 +0000 (07:15 +0000)]
* scripttempl/elf.sc: Remove commented out defines.

18 years agoRemove a29k files.
amodra [Thu, 18 Aug 2005 03:59:21 +0000 (03:59 +0000)]
Remove a29k files.

18 years agoRemove a29k support.
amodra [Thu, 18 Aug 2005 03:51:51 +0000 (03:51 +0000)]
Remove a29k support.

18 years agoRemove a29k support.
amodra [Thu, 18 Aug 2005 03:51:19 +0000 (03:51 +0000)]
Remove a29k support.

18 years agoRemove a29k support.
amodra [Thu, 18 Aug 2005 03:50:42 +0000 (03:50 +0000)]
Remove a29k support.

18 years agoRemove a29k support.
amodra [Thu, 18 Aug 2005 03:49:39 +0000 (03:49 +0000)]
Remove a29k support.

18 years agoRemove a29k support.
amodra [Thu, 18 Aug 2005 03:49:00 +0000 (03:49 +0000)]
Remove a29k support.

18 years agoRemove a29k support.
amodra [Thu, 18 Aug 2005 03:48:23 +0000 (03:48 +0000)]
Remove a29k support.

18 years ago * elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Warn on
amodra [Thu, 18 Aug 2005 01:28:18 +0000 (01:28 +0000)]
* elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Warn on
zero size dynamic variables.
* elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise.
* elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise.
* elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise.
* elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise.
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise.
* elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise.
* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise.
* elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise.
* elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
* elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise.

18 years agodaily update
amodra [Thu, 18 Aug 2005 00:00:09 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Thu, 18 Aug 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * NEWS (ms1-elf): New target.
kevinb [Wed, 17 Aug 2005 23:02:00 +0000 (23:02 +0000)]
* NEWS (ms1-elf): New target.

18 years ago * NEWS (ms1-elf): New target.
kevinb [Wed, 17 Aug 2005 23:01:50 +0000 (23:01 +0000)]
* NEWS (ms1-elf): New target.

18 years ago* m68k-tdep.c (m68k_return_value): Properly return contents of
kettenis [Wed, 17 Aug 2005 18:34:14 +0000 (18:34 +0000)]
* m68k-tdep.c (m68k_return_value): Properly return contents of
structures passed in memory.

18 years ago* textbinary.sgml: Correct incorrect information about ability to specify text
cgf [Wed, 17 Aug 2005 18:23:39 +0000 (18:23 +0000)]
* textbinary.sgml: Correct incorrect information about ability to specify text
mode in fopen().

18 years agomerge from gcc
dj [Wed, 17 Aug 2005 18:03:42 +0000 (18:03 +0000)]
merge from gcc

18 years agomerge from gcc
dj [Wed, 17 Aug 2005 18:03:20 +0000 (18:03 +0000)]
merge from gcc

18 years ago* dcrt0.cc (dll_crt0_1): Tweak debugging stuff.
cgf [Wed, 17 Aug 2005 16:10:46 +0000 (16:10 +0000)]
* dcrt0.cc (dll_crt0_1): Tweak debugging stuff.
* fhandler_tty.cc (fhandler_tty_common::close): Rearrange the code so that the
master end of the input and output pipes is closed before signalling an EOF
event to the slave.
(fhandler_pty_master::close): Likewise.

18 years ago2005-08-17 Christian Groessler <chris@groessler.org>
cpg [Wed, 17 Aug 2005 15:52:27 +0000 (15:52 +0000)]
2005-08-17  Christian Groessler  <chris@groessler.org>

* Makefile.tpl: (USUAL_CC_FOR_TARGET): Add missing trailing slash.
* Makefile.in: Regenerate.

18 years ago* infcmd.c (print_return_value): Move CHECK_TYPEDEF up. Deal with
kettenis [Wed, 17 Aug 2005 15:08:29 +0000 (15:08 +0000)]
* infcmd.c (print_return_value): Move CHECK_TYPEDEF up.  Deal with
RETURN_VALUE_ABI_PRESERVED_ADDRESS.

18 years agobfd/
hjl [Wed, 17 Aug 2005 14:27:57 +0000 (14:27 +0000)]
bfd/

2005-08-17  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/1179
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Use section lma
instead of vma.
(_bfd_dwarf2_find_line): Likewise.

binutils/

2005-08-17  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/1179
* objdump.c (disassemble_bytes): Don't adjust
adjust_section_vma.
(adjust_addresses): Don't adjust vma for debugging section.
Adjust lma only for relocatable files.
(dump_bfd): Tell adjust_addresses if it is a relocatable file.

18 years ago * lib/ld-lib.exp (default_ld_compile): Append $cc arguments after
jakub [Wed, 17 Aug 2005 13:36:00 +0000 (13:36 +0000)]
* lib/ld-lib.exp (default_ld_compile): Append $cc arguments after
$CFLAGS instead of prepending them.

18 years ago * elf64-mmix.c (mmix_elf_add_symbol_hook): Mark reg section
amodra [Wed, 17 Aug 2005 13:29:52 +0000 (13:29 +0000)]
* elf64-mmix.c (mmix_elf_add_symbol_hook): Mark reg section
SEC_LINKER_CREATED.
(mmix_elf_final_link): Check that section hasn't already been
removed before removing.
* mmo.c (mmo_scan): Mark reg contents section SEC_LINKER_CREATED.
(mmo_canonicalize_symtab): Likewise for reg section.

18 years ago2005-08-17 Michael Jung <mjung@iss.tu-darmstadt.de>
dannysmith [Wed, 17 Aug 2005 10:57:16 +0000 (10:57 +0000)]
2005-08-17  Michael Jung  <mjung@iss.tu-darmstadt.de>

* lib/shell32.c (CLSID_RecycleBin, CLSID_ControlPanel,
CLSID_MyComputer,CLSID_Internet, CLSID_NetworkPlaces,
CLSID_MyDocuments, CLSID_FolderShortcut): Add GUIDs.

18 years ago * ldgram.y (vers_defns): Don't lose pattern list before
jakub [Wed, 17 Aug 2005 10:08:27 +0000 (10:08 +0000)]
* ldgram.y (vers_defns): Don't lose pattern list before
extern NAME {}.  Handle global, local and extern symbol names.
ld/testsuite/
* ld-elfvers/vers.exp: Add a new test, vers30.
* ld-elfvers/vers30.c: New file.
* ld-elfvers/vers30.map: New file.
* ld-elfvers/vers30.ver: New file.
* ld-elfvers/vers30.dsym: New file.

18 years agobfd/
amodra [Wed, 17 Aug 2005 10:04:24 +0000 (10:04 +0000)]
bfd/
* elf32-cris.c (elf_cris_adjust_gotplt_to_got): Move assert later.
* elfxx-mips.c (_bfd_mips_elf_hide_symbol): Cope with being called
without any got section.

ld/testsuite/
* ld-alpha/tlsbin.rd: Update.
* ld-alpha/tlsbinr.rd: Update.
* ld-cris/locref1.d: Update.
* ld-cris/locref2.d: Update.
* ld-i386/tlsbin.rd: Update.
* ld-ia64/tlsbin.rd: Update.
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexe32.r: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-s390/tlsbin.rd: Update.
* ld-s390/tlsbin_64.rd: Update.
* ld-sparc/tlssunbin32.rd: Update.
* ld-sparc/tlssunbin64.rd: Update.
* ld-x86-64/tlsbin.rd: Update.

18 years agogas
dannysmith [Wed, 17 Aug 2005 09:07:35 +0000 (09:07 +0000)]
gas
Add ChangeLog entry missed in last commit.

18 years agobfd
dannysmith [Wed, 17 Aug 2005 08:58:00 +0000 (08:58 +0000)]
bfd
* cofflink.c (_bfd_coff_generic_relocate_section): Correct
comment.

gas
* config/obj-coff.c (obj_coff_weak): Set auxiliary record
of NT weak externals to IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY.

18 years ago2005-08-17 Martin Fuchs <martin-fuchs@gmx.net>
dannysmith [Wed, 17 Aug 2005 08:29:08 +0000 (08:29 +0000)]
2005-08-17  Martin Fuchs <martin-fuchs@gmx.net>

* include/shlobj.h (IContextMenu3): Define.
* include/shlguid.h (IID_IContextMenu3): Declare.
* lib/shell32.c (IID_IContextMenu3): Define.

2005-08-17  Martin Fuchs <martin-fuchs@gmx.net>

* include/shlobj.h (SHFormatDrive): Declaration of function
and associated constants.

18 years ago* ppc-sysv-tdep.c (do_ppc_sysv_return_value): Fix the code that
kettenis [Wed, 17 Aug 2005 07:44:13 +0000 (07:44 +0000)]
* ppc-sysv-tdep.c (do_ppc_sysv_return_value): Fix the code that
deals with the broken GCC convention.