OSDN Git Service

pf3gnuchains/sourceware.git
20 years ago * path.cc (win32_device_name): Fix comment.
corinna [Fri, 24 Oct 2003 08:13:14 +0000 (08:13 +0000)]
* path.cc (win32_device_name): Fix comment.

20 years ago* fhandler_tty.cc (fhandler_tty_slave::ioctl): Properly set return value in
cgf [Fri, 24 Oct 2003 01:13:22 +0000 (01:13 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::ioctl): Properly set return value in
FIONBIO case.

20 years agodaily update
amodra [Fri, 24 Oct 2003 00:00:08 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Fri, 24 Oct 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2003-10-23 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 23 Oct 2003 22:36:13 +0000 (22:36 +0000)]
2003-10-23  Andrew Cagney  <cagney@redhat.com>

* Makefile.in (stack.o): Add $(regcache_h).
* stack.c: Include "regcache.h"
(return_command): Rewrite.  Use get_frame_id and
get_selected_frame.  Eliminate "deprecated_selected_frame".  Warn
about unhandled return-values.
* value.h (set_return_value): Delete declaration.
* values.c (set_return_value): Delete function.

20 years ago2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 23 Oct 2003 22:06:36 +0000 (22:06 +0000)]
2003-10-23  Jeff Johnston  <jjohnstn@redhat.com>

        * ia64-tdep.c: (ia64_frame_cache): Add new prev_cfm field.
        (pseudo_regs): Add comment regarding register stack registers.
        (ia64_alloc_frame_cache):  Initialize new prev_cfm field to 0.
        (floatformat_valid): New static routine.
        (floatformat_ia64_ext): Add name field and set up is_valid routine
        to floatformat_valid().
        (examine_prologue):  For the previous cfm, use
        frame_unwind_register()
        if the cfm is not stored in a register-stack register.  Save the
        previous cfm value in the prev_cfm field.  Add debug output.
        (ia64_frame_this_id): Use frame_id_build_special() to also register
        the bsp.  Add debug output.
        (ia64_sigtramp_frame_this_id): Ditto.
        (ia64_frame_prev_register):  Look at cache saved_regs for a few more
        registers and also add some checks for framelessness before accepting
        current register values for fields such as return address.  For cfm,
        use the cached prev_cfm field if available.  Add comment to explain
        PSR logic.  Add debug output.
        (ia64_sigtramp_frame_init_saved_regs): Save the bsp and sp addresses
        as part of initialization.
        (ia64_sigtramp_frame_cache): Hard-code stack size as it can't be
        calculated.  Cache the bsp and cfm values.
        (ia64_sigtramp_frame_prev_register): Add logic to this routine out
        instead of using ia64_frame_prev_register() which doesn't expect most
        registers to be saved.  The saved values for bsp and sp
        can be taken from the cache.  Add debug output.
        (ia64_push_dummy_call): Use frame_id_build_special() to also register
        the bsp.

20 years ago2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 23 Oct 2003 21:46:05 +0000 (21:46 +0000)]
2003-10-23  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.in: Use absolute newlib basedir when forming
        CC_FOR_NEWLIB include options.
        * configure: Regenerated.

20 years ago* osabi.c (gdbarch_init_osabi): A handler is okay if it's for an
jimb [Thu, 23 Oct 2003 21:15:49 +0000 (21:15 +0000)]
* osabi.c (gdbarch_init_osabi): A handler is okay if it's for an
architecture the current arch can run code for --- but not if it's
a superset.
(can_run_code_for): New function.

20 years ago2003-10-23 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 23 Oct 2003 18:27:41 +0000 (18:27 +0000)]
2003-10-23  Michael Snyder  <msnyder@redhat.com>

        * section.c (asection): Fix typo in comment.

20 years agoWed Oct 22 19:03:57 UTC 2003 Brendan Conoboy <blc@redhat.com>
blc [Thu, 23 Oct 2003 18:16:32 +0000 (18:16 +0000)]
Wed Oct 22 19:03:57 UTC 2003  Brendan Conoboy  <blc@redhat.com>

        * lcd-char-display.cxx: Prefix std:: to cout and endl.

20 years ago2003-10-23 Artem B. Bityuckiy <mail_lists@mail.ru>
jjohnstn [Thu, 23 Oct 2003 18:07:13 +0000 (18:07 +0000)]
2003-10-23  Artem B. Bityuckiy  <mail_lists@mail.ru>

        * libc/string/wcsnlen.c: New file.
        * libc/include/wchar.h: Add wcsnlen prototype.
        * libc/string/Makefile.am: Add wcsnlen support.
        * libc/string/Makefile.in: Regenerated.
        * libc/string/wcstrings.tex: Add wcsnlen documentation.

20 years ago2003-10-23 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 23 Oct 2003 17:52:00 +0000 (17:52 +0000)]
2003-10-23  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elfvers/vers.exp (test_ldfail): Add "-Wl," to pass the
linker option from gcc.

20 years ago * sh.h (EF_SH4A, EF_SH4AL_DSP, EF_SH4_NOFPU, EF_SH4A_NOFPU): New.
corinna [Thu, 23 Oct 2003 09:43:20 +0000 (09:43 +0000)]
* sh.h (EF_SH4A, EF_SH4AL_DSP, EF_SH4_NOFPU, EF_SH4A_NOFPU): New.
(EF_SH_MERGE_MACH): Combine them.

20 years ago * ld-powerpc/tlsexetoc.d: Correct.
amodra [Thu, 23 Oct 2003 09:03:01 +0000 (09:03 +0000)]
* ld-powerpc/tlsexetoc.d: Correct.
* ld-powerpc/tlstoc.d: Correct.

20 years ago * elf64-ppc.c (get_tls_mask): Add toc_symndx param, save toc
amodra [Thu, 23 Oct 2003 09:02:33 +0000 (09:02 +0000)]
* elf64-ppc.c (get_tls_mask): Add toc_symndx param, save toc
reloc symbol index to it.  Don't allow gd syms in shared libs
to be optimized.
(ppc64_elf_tls_optimize): Adjust get_tls_mask call.
(ppc64_elf_size_stubs): Likewise.
(ppc64_elf_relocate_section): Check that tls relocs are only used
with tls syms, and similarly for non-tls.  Correct symbol used
when optimizing toc tls code.

20 years ago * fhandler_proc.cc (format_proc_partitions): Use new device code
corinna [Thu, 23 Oct 2003 08:53:59 +0000 (08:53 +0000)]
* fhandler_proc.cc (format_proc_partitions): Use new device code
to get major and minor device numbers.  Fix size evaluation.

20 years agoAdd ColdFire test
nickc [Thu, 23 Oct 2003 08:26:19 +0000 (08:26 +0000)]
Add ColdFire test

20 years ago* MAINTAINERS: Move myself from paper trail section back to write
wilson [Thu, 23 Oct 2003 06:27:29 +0000 (06:27 +0000)]
* MAINTAINERS: Move myself from paper trail section back to write
after approval section.

20 years agogas/
hjl [Thu, 23 Oct 2003 06:12:16 +0000 (06:12 +0000)]
gas/

2003-10-22  Andreas Schwab  <schwab@suse.de>
    H.J. Lu  <hongjiu.lu@intel.com>
    Jim Wilson <wilson@specifixinc.com>

* config/tc-ia64.c (update_qp_mutex): New.
(note_register_values): Properly handle one of PRs in compare
is PR0. Don't add a mutex relation for .and.orcm/.or.andcm.
Clear mutex relation for .none/.unc. Don't clear mutex relation
on predicated compare.

testsuite/

2003-10-22  Andreas Schwab  <schwab@suse.de>
    H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/dv-mutex-err.s: Add more tests for compare.
* gas/ia64/dv-mutex.s: Likewise.

* gas/ia64/dv-mutex-err.l: Updated.
* gas/ia64/dv-mutex.d: Likewise.

20 years ago2003-10-22 Michael Chastain <mec@shout.net>
chastain [Thu, 23 Oct 2003 04:43:53 +0000 (04:43 +0000)]
2003-10-22  Michael Chastain  <mec@shout.net>

* gdb.threads/pthreads.c: Add copyright notice.

20 years ago2003-10-22 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 23 Oct 2003 03:01:54 +0000 (03:01 +0000)]
2003-10-22  Andrew Cagney  <cagney@redhat.com>

* exec.h: New file.
* win32-nat.c: Include "exec.h".
* solib.c: Include "exec.h".
* target.h (build_section_table): Delete declaration.
* somsolib.c: Include "exec.h".
(exec_ops): Delete extern declaration.
* rs6000-nat.c: Update copyright.  Include "exec.h".
(exec_ops): Delete extern declaration.
* pa64solib.c: Update copyright.  Include "exec.h".
(exec_ops): Delete extern declaration.
* exec.c: Update copyright.  Include "exec.h".
* corelow.c: Update dependencies.  Include "exec.h".
* Makefile.in (exec_h): Define.
(exec.o, somsolib.o): Update dependencies.
(pa64solib.o, corelow.o): Update dependencies.

20 years ago2003-10-22 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 23 Oct 2003 00:13:52 +0000 (00:13 +0000)]
2003-10-22  Andrew Cagney  <cagney@redhat.com>

* target.c: Include "gdb_assert.h" (target_read): Call
"target_read_partial", not "target_write_partial".
(default_read_partial, default_write_partial): New function.
(target_read_partial, target_write_partial): Simplify, assume that
there is always a read/write method.
(update_current_target, add_target): Always set "to_read_partial"
and "to_write_partial".
(target_write, target_read): Fail on a zero byte transfer.
* Makefile.in (target.o): Update dependencies.
* target.h: Update copyright date.
(target_object): Fix typo.

20 years ago2003-10-23 Kei Sakamoto <sakamoto.kei@renesas.com>
ksakamot [Thu, 23 Oct 2003 00:11:59 +0000 (00:11 +0000)]
2003-10-23  Kei Sakamoto  <sakamoto.kei@renesas.com>

* gdb.texinfo (Contributors to GDB): Replace "Renesas"
with "Hitachi" and "Mitsubishi".

20 years agomerge from gcc
dj [Thu, 23 Oct 2003 00:01:06 +0000 (00:01 +0000)]
merge from gcc

20 years agodaily update
amodra [Thu, 23 Oct 2003 00:00:21 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Thu, 23 Oct 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2003-10-22 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 22 Oct 2003 23:54:10 +0000 (23:54 +0000)]
2003-10-22  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (convert_from_func_ptr_addr): Convert to a pure
multi-arch method, add "targ" parameter.
(struct target_ops): Declare.
* gdbarch.h, gdbarch.c: Re-generate.
* Makefile.in (c-valprint.o): Update dependencies.
* arch-utils.h: Update copyright.
(convert_from_func_ptr_addr_identity): Declare.
* arch-utils.c (convert_from_func_ptr_addr_identity): New function.
* ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
* rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Upate.
* ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Update.
* infcall.c (find_function_addr, call_function_by_hand): Update.
* c-valprint.c: Include "target.h".
(print_function_pointer_address): Update.

20 years ago2003-10-22 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 22 Oct 2003 21:39:09 +0000 (21:39 +0000)]
2003-10-22  Andrew Cagney  <cagney@redhat.com>

* target.c (target_close): New function.
(debug_to_close): Use "target_close".
(push_target): Use "target_close".
(unpush_target): Use "target_close".
(pop_target): Use "target_close".
* target.h (struct target_ops): Add "to_xclose".
(target_open): Delete macro.  Move comment to "to_open".
(target_close): Replace macro with function that takes a target.
* top.c (quit_target): Pass "current_target" to "target_close".

20 years ago * external.cc (cygwin_internal): Add CW_GET_ERRNO_FROM_WINERROR
corinna [Wed, 22 Oct 2003 20:32:20 +0000 (20:32 +0000)]
* external.cc (cygwin_internal): Add CW_GET_ERRNO_FROM_WINERROR
handling.
* include/cygwin/version.h: Bump API minor number.
* include/sys/cygwin.h (cygwin_getinfo_types): Add
CW_GET_ERRNO_FROM_WINERROR.

20 years ago(coff_swap_scnhdr_in): Only remove padding when processing an executable.
nickc [Wed, 22 Oct 2003 15:12:58 +0000 (15:12 +0000)]
(coff_swap_scnhdr_in): Only remove padding when processing an executable.

20 years ago * Makefile.in: Add $(LIBSERVER) rule.
corinna [Wed, 22 Oct 2003 10:07:56 +0000 (10:07 +0000)]
* Makefile.in: Add $(LIBSERVER) rule.
* cygserver.h: Moved from include/cygwin to here.
* cygserver_ipc.h: Moved from ../cygserver to here.
* cygserver_shm.h: Ditto.
* cygwin.din: Add shmat, shmctl, shmdt and shmget.
* fhandler_tty.cc (fhandler_tty_slave::open): Don't warn about handle
dup'ing if not build with USE_SERVER.
* shm.cc: Include cygerrno.h unconditionally.
(shmat): Set errno to ENOSYS and return -1 if not build with
USE_SERVER.
(shmctl): Ditto.
(shmdt): Ditto.
(shmget): Ditto.
* woutsup.h: Remove.
* include/cygwin/cygserver_process.h: Moved to ../cygserver directory.
* include/cygwin/cygserver_transport.h: Ditto.
* include/cygwin/cygserver_transport_pipes.h: Ditto.
* include/cygwin/cygserver_transport_sockets.h: Ditto.
* include/cygwin/version.h: Bump API minor number.

20 years ago Accomodate moving cygserver header files from cygwin/include/cygwin
corinna [Wed, 22 Oct 2003 10:04:11 +0000 (10:04 +0000)]
Accomodate moving cygserver header files from cygwin/include/cygwin
to here and cygwin dir.
* Makefile.in (EXEEXT): Drop as unused.
(EXEEXT_FOR_BUILD): Ditto.
(all): Don't build libcygserver.a.
* cygserver_process.h: Moved from cygwin/include/cygwin to here.
* cygserver_transport.h: Ditto.
* cygserver_transport_pipes.h: Ditto.
* cygserver_transport_sockets.h: Ditto.
* ipc.h: Moved to ../cygwin and renamed to cygserver_ipc.h.
* shm.h: Moved to ../cygwin and renamed to cygserver_shm.h.

20 years ago * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
rsandifo [Wed, 22 Oct 2003 08:45:00 +0000 (08:45 +0000)]
* libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.

20 years agobfd/
jakub [Wed, 22 Oct 2003 06:58:15 +0000 (06:58 +0000)]
bfd/
* elflink.c (_bfd_elf_export_symbol): Adjust for globals and locals
field changes.
(_bfd_elf_link_assign_sym_version): Likewise.
* elflink.h (size_dynamic_sections): Likewise.
include/
* bfdlink.h (struct bfd_elf_version_expr): Remove match field.
Add wildcard and mask fields.
(BFD_ELF_VERSION_C_TYPE): Define.
(BFD_ELF_VERSION_CXX_TYPE): Likewise.
(BFD_ELF_VERSION_JAVA_TYPE): Likewise.
(struct bfd_elf_version_expr_head): New.
(struct bfd_elf_version_tree): Add match field.
Change type of globals and locals fields
to struct bfd_elf_version_expr_head.
ld/
* ldlang.c: Include hashtab.h.
(lang_vers_match_lang_c, lang_vers_match_lang_cplusplus,
lang_vers_match_lang_java): Remove.
(lang_vers_match): New function.
(lang_new_vers_pattern): Initialize wildcard and mask
fields, don't initialize match.
(lang_new_vers_node): Use xcalloc.  Adjust for globals and
locals field type changes.  Set match field.
(version_expr_head_hash, version_expr_head_eq): New functions.
(lang_finalize_version_expr_head): New function.
(lang_register_vers_node): Call lang_finalize_version_expr_head.
Search in hash table if not wildcard when looking for duplicates.
* emultempl/ppc64elf.em (new_vers_pattern): Don't bother with
duplicate checking.  Initialize all fields of dot_entry from entry
with the exception of pattern and next.

20 years agodaily update
amodra [Wed, 22 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Wed, 22 Oct 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2003-10-21 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 21 Oct 2003 22:56:38 +0000 (22:56 +0000)]
2003-10-21  Elena Zannoni  <ezannoni@redhat.com>

* minsyms.c (lookup_minimal_symbol_text): Remove unused parameter.
Remove SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code.
* symtab.h (lookup_minimal_symbol_text): Update.
  * breakpoint.c (create_overlay_event_breakpoint,
  create_longjmp_breakpoint): Update callers.
* ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Update caller.
* symtab.c (find_pc_sect_line): Ditto.

20 years ago2003-10-21 Dave Brolley <brolley@redhat.com>
brolley [Tue, 21 Oct 2003 21:39:04 +0000 (21:39 +0000)]
2003-10-21  Dave Brolley  <brolley@redhat.com>

        * mainDynamic.cxx (try_load_file): Call set_loader of
        session or board as appropriate.
        * commonCfg.h (loader): New member of SessionCfg.
        (set_loader): New method of SessionCfg.
        (loader): New member of SessionCfg.
        (set_loader): New method of BoardCfg.
        * commonCfg.cxx (SessionCfg): Initialize loader.
        (set_loader): New method of SessionCfg.
        (BoardCfg): Initialize loader.
        (set_loader): New method of SessionCfg.
        (set_loader): New method of BoardCfg.

20 years ago2003-10-07 Dave Brolley <brolley@redhat.com>
brolley [Tue, 21 Oct 2003 21:38:24 +0000 (21:38 +0000)]
2003-10-07  Dave Brolley  <brolley@redhat.com>

        * sidbusutil.h (passthrough_bus::target): Now 'protected'.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        For Stan Cox  <scox@redhat.com>
        * sidmiscutil.h (logger): New class.
        * sidattrutil.h (fixed_attribute_map_with_logging_component): Convert
        to use logger.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        * sidcpuutil.h (set_total_latency): New method of basic_cpu.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        * sidattrutil.h (SID_LOG_PERSISTENT_BUFFER): New macro.
        (SID_LOG_TRANSIENT_MALLOC_BUFFER): New macro.
        (buffer_output): New member of
        fixed_attribute_map_with_logging_component.
        (fixed_attribute_with_logging_component): Add buffer-output attribute.
        Use SID_LOG_PERSISTENT_BUFFER.
        (~fixed_attribute_with_logging_component): Use
        SID_LOG_PERSISTENT_BUFFER.
        (log): Buffer output based on buffer_output. Use
        SID_LOG_TRANSIENT_MALLOC_BUFFER.
        * sidcpuutil.h (get_total_latency): New method of basic_cpu.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        * sidattrutil.h (log): Don't use STDCTYPE for vsnprint or vasprintf.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        For Stan Cox  <scox@redhat.com>
        * sidmiscutil.h (bijection::find): Add typename.
        * sidbusutil.h (ro_value_control_register): New ValueType typedef.
        (control_register_bus::word_write, control_register_bus::word_read):
        Add typename

2003-10-07  Dave Brolley  <brolley@redhat.com>

        * sidattrutil.h (iostream): #include it.
        (log): Use std::cerr and std::endl.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        * sidattrutil.h (fixed_attribute_map_with_logging_component):
        Initialize saved_messages and saved_levels.
        (~fixed_attribute_map_with_logging_component): Output saved messages.
        Delete buffer if necessary.
        (log): Save message for later if output pin not connected. Otherwise
        output saved messages before the new message. Use vsnprintf or
        vasprintf if possible.
        (check_level): New member of fixed_attribute_map_with_logging_component.
        (output_saved_messages): Ditto.

20 years ago2003-10-07 Dave Brolley <brolley@redhat.com>
brolley [Tue, 21 Oct 2003 21:36:29 +0000 (21:36 +0000)]
2003-10-07  Dave Brolley  <brolley@redhat.com>

        For Graydon Hoare  <graydon@redhat.com>
        * sid-visual-sched.tk (toggle_subscription): Do not alter the
        enabled? flag of the scheduler when updating subscriptions.
        (set_sub): Alter the subscription in an order that respects
        whether time is zero or not.

20 years ago2003-10-07 Dave Brolley <brolley@redhat.com>
brolley [Tue, 21 Oct 2003 21:31:32 +0000 (21:31 +0000)]
2003-10-07  Dave Brolley  <brolley@redhat.com>

        * compLoader.cxx (loader_probe_bus): Now takes pin as an argument.
        Remove warn_write_to_code_p. Initialize write_to_code_address_pin.
        (SID_GB_WRITE): Drive write_to_code_address_pin instead of
        generating a message here.
        (write_to_code_address_pin): New member of generic_loader.
        (set_warn_write_to_code): Removed.
        (generic_loader): remove "warn-write-to-code?" attribute and pin.
        Add "write-to-code-address" pin.
        * sw-load-elf.xml: Remove reference to "warn-write-to-code?" pin
        and attribute. Document "write-to-code-address" pin.
        * sw-load-elf.txt: Regenerated.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        * compLoader.cxx: Use sidutil::fixed_bus_map_component.
        (loader_probe_bus): New class.
        (warn_write_to_code_pin): New member of generic_loader.
        (probe_upstream): Ditto.
        (probe_downstream): Ditto.
        (set_warn_write_to_code): New method of generic_loader.
        (generic_loader): Now inherits fixed_bus_map_component.
        Initialize new members.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        For Stan Cox  <scox@redhat.com>
        * elfload.c (textSegmentAddress): New function.
        * elfload.h (textSegmentAddress): Likewise.

20 years ago2003-10-07 Dave Brolley <brolley@redhat.com>
brolley [Tue, 21 Oct 2003 21:30:44 +0000 (21:30 +0000)]
2003-10-07  Dave Brolley  <brolley@redhat.com>

        * compLoader.cxx (loader_probe_bus): Now takes pin as an argument.
        Remove warn_write_to_code_p. Initialize write_to_code_address_pin.
        (SID_GB_WRITE): Drive write_to_code_address_pin instead of
        generating a message here.
        (write_to_code_address_pin): New member of generic_loader.
        (set_warn_write_to_code): Removed.
        (generic_loader): remove "warn-write-to-code?" attribute and pin.
        Add "write-to-code-address" pin.
        * sw-load-elf.xml: Remove reference to "warn-write-to-code?" pin
        and attribute. Document "write-to-code-address" pin.
        * sw-load-elf.txt: Regenerated.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        * compLoader.cxx: Use sidutil::fixed_bus_map_component.
        (loader_probe_bus): New class.
        (warn_write_to_code_pin): New member of generic_loader.
        (probe_upstream): Ditto.
        (probe_downstream): Ditto.
        (set_warn_write_to_code): New method of generic_loader.
        (generic_loader): Now inherits fixed_bus_map_component.
        Initialize new members.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        For Stan Cox  <scox@redhat.com>
        * elfload.c (textSegmentAddress): New function.
        * elfload.h (textSegmentAddress): Likewise.

20 years ago2003-10-21 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 21 Oct 2003 21:29:54 +0000 (21:29 +0000)]
2003-10-21  Andrew Cagney  <cagney@redhat.com>

* target.c (errno): Delete extern declaration.

20 years ago2003-10-07 Dave Brolley <brolley@redhat.com>
brolley [Tue, 21 Oct 2003 21:29:31 +0000 (21:29 +0000)]
2003-10-07  Dave Brolley  <brolley@redhat.com>

        * cgen-model.h (class cgen_model): step_cycles and step_latency
        now public.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        * cgen-model.h (sidtypes.h): #include it.
        (model_insn_before): Call step_latency. Initialize vliw_cycles.
        (model_insn_after): Call step_cycles. Update vliw_cycles.
        (step_cycles): New method.
        (step_latency): New method.
        (vliw_cycles): New member of cgen_model.
        * cgen-engine.h (enum sem_status): Add SEM_STATUS_STALLED.

20 years ago2003-10-07 Dave Brolley <brolley@redhat.com>
brolley [Tue, 21 Oct 2003 21:27:41 +0000 (21:27 +0000)]
2003-10-07  Dave Brolley  <brolley@redhat.com>

        For Graydon Hoare  <graydon@redhat.com>
        * configrun-sid.in: Add --tksched option for scheduler control panel.

20 years ago2003-10-21 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 21 Oct 2003 20:41:43 +0000 (20:41 +0000)]
2003-10-21  Andrew Cagney  <cagney@redhat.com>

* callback.c (os_truncate): Call "truncate", and not "stat".

20 years ago2003-10-21 Dave Brolley <brolley@redhat.com>
brolley [Tue, 21 Oct 2003 16:42:00 +0000 (16:42 +0000)]
2003-10-21  Dave Brolley  <brolley@redhat.com>

        * sid-model.scm (-gen-model-class-decls): Generate MAX_UNITS as
        a static const int.
        * decode.scm (-opcode-slots): Correct typo in logit call.

20 years ago * archures.c (bfd_mach_sh4a, bfd_mach_sh4al_dsp, bfd_mach_sh4_nofpu,
corinna [Tue, 21 Oct 2003 15:49:44 +0000 (15:49 +0000)]
* archures.c (bfd_mach_sh4a, bfd_mach_sh4al_dsp, bfd_mach_sh4_nofpu,
bfd_mach_sh4a_nofpu): New machine types.
* bfd-in2.h: Rebuilt.
* cpu-sh.c (compatible): Remove unused function.
(SH4A_NEXT, SH4AL_DSP_NEXT, SH4_NOFPU_NEXT, SH4A_NOFPU_NEXT): New.
(arch_info_struct): Add sh4a, sh4al_dsp, sh4-nofpu and sh4a-nofpu.
* elf32-sh.c (sh_elf_set_mach_from_flags): Handle them.

20 years agoAdd warning messages for the use of an undeclared memory region and the
nickc [Tue, 21 Oct 2003 15:33:46 +0000 (15:33 +0000)]
Add warning messages for the use of an undeclared memory region and the
redefintion of an already declared region.

20 years agoFix up error messages for Maverick.
nickc [Tue, 21 Oct 2003 14:20:38 +0000 (14:20 +0000)]
Fix up error messages for Maverick.

20 years agoSet the machine number as well as the architecture when converting from a
nickc [Tue, 21 Oct 2003 14:08:12 +0000 (14:08 +0000)]
Set the machine number as well as the architecture when converting from a
binary file to another file type.

20 years agoAdd ColfFire v4 support
nickc [Tue, 21 Oct 2003 13:28:57 +0000 (13:28 +0000)]
Add ColfFire v4 support

20 years ago * include/_mingw.h: Define __attribute__((x)) to nothing
dannysmith [Tue, 21 Oct 2003 09:50:47 +0000 (09:50 +0000)]
* include/_mingw.h: Define __attribute__((x)) to nothing
if not __GNUC__.

20 years ago Add ISO C99 complex support for doubles.
dannysmith [Tue, 21 Oct 2003 09:43:21 +0000 (09:43 +0000)]
Add ISO C99 complex support for doubles.

* include/complex.h: New file.
* mingwex/complex: New directory.
* mingwex/complex/cabs.c: New file.
* mingwex/complex/cacos.c: New file.
* mingwex/complex/cacosh.c: New file.
* mingwex/complex/casin.c: New file.
* mingwex/complex/casinh.c: New file.
* mingwex/complex/catan.c: New file.
* mingwex/complex/catanh.c: New file.
* mingwex/complex/ccos.c: New file.
* mingwex/complex/ccosh.c: New file.
* mingwex/complex/cexp.c: New file.
* mingwex/complex/cimag.c: New file.
* mingwex/complex/clog.c: New file.
* mingwex/complex/cpow.c: New file.
* mingwex/complex/cproj.c: New file.
* mingwex/complex/creal.c: New file.
* mingwex/complex/csin.c: New file.
* mingwex/complex/csinh.c: New file.
* mingwex/complex/csqrt.c: New file.
* mingwex/complex/ctan.c: New file.
* mingwex/complex/ctanh.c: New file.
* mingwex/Makefile.in (COMPLEX_DISTFILES): New list of
files.
(dist): Use it.
(COMPLEX_OBJS): New list of objects.
(LIB_OBJS): Include it in the library.

20 years ago * include/math.h (cabs): Remove non-ISO prototype.
dannysmith [Tue, 21 Oct 2003 09:14:44 +0000 (09:14 +0000)]
* include/math.h (cabs): Remove non-ISO prototype.

20 years ago * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
dannysmith [Tue, 21 Oct 2003 09:10:51 +0000 (09:10 +0000)]
* mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
Use GCC __builtin's if available.
(INFINITY, INFINITYF, INFINITYL): Likewise.

20 years ago * mingwex/math/s_erf.c (erf): Set errno to ERANGE if
dannysmith [Tue, 21 Oct 2003 09:05:24 +0000 (09:05 +0000)]
* mingwex/math/s_erf.c (erf): Set errno to ERANGE if
beyond approximation limit.
* mingwex/math/sf_erf.c (erff): Likewise.

20 years ago2003-10-20 Michael Chastain <mec@shout.net>
chastain [Tue, 21 Oct 2003 00:35:01 +0000 (00:35 +0000)]
2003-10-20  Michael Chastain  <mec@shout.net>

* gdb.base/gdb1056.exp: New test script.

20 years agomerge from gcc
dj [Tue, 21 Oct 2003 00:06:36 +0000 (00:06 +0000)]
merge from gcc

20 years agodaily update
amodra [Tue, 21 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Tue, 21 Oct 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * cplus-dem.c (demangle_template): Register a new Btype only
brobecke [Mon, 20 Oct 2003 23:50:37 +0000 (23:50 +0000)]
* cplus-dem.c (demangle_template): Register a new Btype only
when needed.
* testsuite/demangle-expected: Add a new test.

20 years ago* configure.in (*-*-vxworks): Add target-libiberty to noconfdirs.
dj [Mon, 20 Oct 2003 21:53:45 +0000 (21:53 +0000)]
* configure.in (*-*-vxworks):  Add target-libiberty to noconfdirs.
* configure:  Regenerate.

20 years ago2003-10-20 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 20 Oct 2003 20:38:06 +0000 (20:38 +0000)]
2003-10-20  Jeff Johnston  <jjohnstn@redhat.com>

        * ia64-tdep.c: Change all occurrences of
        DEPRECATED_REGISTER_RAW_SIZE to use register_size() instead.
        (ia64_frame_prev_register): Minor whitespace change.

20 years ago2003-10-20 Bob Wilson <bob.wilson@acm.org>
jjohnstn [Mon, 20 Oct 2003 18:46:36 +0000 (18:46 +0000)]
2003-10-20  Bob Wilson  <bob.wilson@acm.org>

* libc/locale/locale.c: Use double quotes in code.
* libc/locale/locale.tex: Likewise.
* libc/libc.texinfo: Hyphenate "floating-point".
* libc/machine/necv70/necv70.tex: Likewise.
* libc/stdio/sprintf.c: Likewise.
* libc/stdio/sscanf.c: Likewise.
* libc/stdlib/atof.c: Likewise.
* libc/stdlib/ldtoa.c: Fix comment typo.
* libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
* libc/stdlib/ldiv.c: Likewise.
* libm/common/s_expm1.c: Likewise.
* libm/common/s_ilogb.c: Hyphenate "floating-point".  Use "nonzero".
* libm/common/s_infinity: Hyphenate "double- and single-precision".
* libm/common/s_nan.c: Likewise.  Also correct the FUNCTION summary.
* libm/common/s_nextafter.c: Fix typo.  Hyphenate "double-precision"
and "floating-point".
* libm/common/s_scalbn.c: Correct the FUNCTION summary.
* libm/math/e_pow.c: Fix comment typo.
* libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
* libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
* libm/math/s_atan.c: Likewise.
* libm/math/s_frexp.c: Likewise.  Also use "nonzero".
* libm/math/s_isnan.c: Hyphenate "single-precision" and
"floating-point".  Use "nonzero".
* libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
* libm/math/w_acos.c: Likewise.
* libm/math/w_acosh.c: Likewise.
* libm/math/w_asin.c: Likewise.
* libm/math/w_atan2.c: Likewise.
* libm/math/w_atanh.c: Likewise.
* libm/math/w_cosh.c: Likewise.
* libm/math/w_exp.c: Likewise.
* libm/math/w_exp2.c: Likewise.  Add missing @end and missing @tex
version of 2^x in the description.
* libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
* libm/math/w_gamma.c: Likewise.
* libm/math/w_hypot.c: Likewise.
* libm/math/w_j0.c: Likewise.
* libm/math/w_sinh.c: Likewise.
* libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
* libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
"floating-point".
* libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
* libm/mathfp/e_atanh.c: Likewise.
* libm/mathfp/e_hypot.c: Likewise.
* libm/mathfp/er_lgamma.c: Likewise.
* libm/mathfp/s_acos.c: Likewise.
* libm/mathfp/s_asine.c: Likewise.
* libm/mathfp/s_asinh.c: Likewise.
* libm/mathfp/s_atan.c: Likewise.
* libm/mathfp/s_atan2.c: Likewise.
* libm/mathfp/s_atangent.c: Likewise.
* libm/mathfp/s_cosh.c: Likewise.
* libm/mathfp/s_exp.c: Likewise.
* libm/mathfp/s_fmod.c: Likewise.
* libm/mathfp/s_frexp.c: Likewise.  Also use "nonzero".
* libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
"floating-point".  Use "nonzero".
* libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
* libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
* libm/mathfp/s_sineh.c: Likewise.
* libm/mathfp/w_jn.c: Likewise.

20 years ago2003-10-20 Michael Chastain <mec@shout.net>
chastain [Mon, 20 Oct 2003 18:30:42 +0000 (18:30 +0000)]
2003-10-20  Michael Chastain  <mec@shout.net>

* config/djgpp/fnchange.lst: Add lines for:
sim/testsuite/sim/frv/interrupts/Ipipe-fr400.cgs,
sim/testsuite/sim/frv/interrupts/Ipipe-fr500.cgs,
sim/testsuite/sim/frv/interrupts/badalign-fr550.cgs,
sim/testsuite/sim/frv/interrupts/compound-fr550.cgs,
sim/testsuite/sim/frv/interrupts/data_store_error-fr550.cgs,
sim/testsuite/sim/frv/interrupts/fp_exception-fr550.cgs,
sim/testsuite/sim/frv/interrupts/insn_access_error-fr550.cgs.

20 years agoErr, fix a spacing problem in a ChangeLog entry that I made yesterday.
chastain [Mon, 20 Oct 2003 18:19:13 +0000 (18:19 +0000)]
Err, fix a spacing problem in a ChangeLog entry that I made yesterday.
I'm not making a ChangeLog entry for this!

20 years ago2003-10-20 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 20 Oct 2003 15:37:56 +0000 (15:37 +0000)]
2003-10-20  Andrew Cagney  <cagney@redhat.com>

* values.c (register_value_being_returned): Update comments.  Use
"gdbarch_return_value" when available.
(using_struct_return): Ditto.
(set_return_value): Ditto.  Use "gdbarch_return_value" when
available..  Print a warning, and not an error, when an unhandled
return type is encountered.
* infcmd.c: Include "gdb_assert.h".
(print_return_value): When gdbarch_return_value_p, and using
struct return, assume that the value is not available.
* defs.h (return_value_convention): Define.
* gdbarch.sh (gdbarch_return_value): New predicate method.
* gdbarch.h, gdbarch.c: Re-generate
* ppc-sysv-tdep.c (return_value_convention): Delete definition.

Index: doc/ChangeLog
2003-10-20  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Document
gdbarch_return_value.  Add cross references from
USE_STRUCT_CONVENTION, EXTRACT_RETURN_VALUE, and
STORE_RETURN_VALUE, and from/to EXTRACT_STRUCT_VALUE_ADDRESS.

20 years ago2003-10-19 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 20 Oct 2003 14:38:38 +0000 (14:38 +0000)]
2003-10-19  Andrew Cagney  <cagney@redhat.com>

* targets.c: Replace "struct sec" with "struct bfd_section"
* syms.c, sparclynx.c, section.c, opncls.c: Ditto.
* libcoff-in.h, libbfd-in.h, elfxx-target.h: Ditto.
* elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto.
* aout-tic30.c, aout-target.h:
* bfd-in2.h, libcoff.h, libbfd.h: Regenerate.

Index: binutils/ChangeLog
2003-10-19  Andrew Cagney  <cagney@redhat.com>

* coffgrok.h (coff_section): Replace 'struct sec" with "struct
bfd_section".

Index: gdb/ChangeLog
2003-10-19  Andrew Cagney  <cagney@redhat.com>

* symtab.c: Replace "struct sec" with "struct bfd_section".
* objfiles.c, linespec.c, blockframe.c, block.c: Ditto.

Index: ld/ChangeLog
2003-10-19  Andrew Cagney  <cagney@redhat.com>

* pe-dll.c: Replace "struct sec" with "struct bfd_section".

Index: sim/common/ChangeLog
2003-10-19  Andrew Cagney  <cagney@redhat.com>

* sim-base.h: Replace "struct sec" with "struct bfd_section".

20 years agodaily update
amodra [Mon, 20 Oct 2003 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Mon, 20 Oct 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * config/tc-mips.c (normalize_constant_expr): New function to fix sign
ths [Sun, 19 Oct 2003 21:50:43 +0000 (21:50 +0000)]
* config/tc-mips.c (normalize_constant_expr): New function to fix sign
extensions broken by gas' expression evaluation of constants.
(check_absolute_expr): Use it.
(mips_ip): Likewise.

20 years ago * Makefile.am: Remove old (before GCC 3.3) emulations for AVR
marekm [Sun, 19 Oct 2003 16:46:14 +0000 (16:46 +0000)]
* Makefile.am: Remove old (before GCC 3.3) emulations for AVR
target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103,
avrmega161, avrmega603.  Default to avr2.
* Makefile.in: Regenerate.
* configure.tgt: Likewise.
* emulparams/avr1200.sh: Remove.
* emulparams/avr23xx.sh: Remove.
* emulparams/avr4433.sh: Remove.
* emulparams/avr44x4.sh: Remove.
* emulparams/avr85xx.sh: Remove.
* emulparams/avrmega103.sh: Remove.
* emulparams/avrmega161.sh: Remove.
* emulparams/avrmega603.sh: Remove.
* scripttempl/elf32avr.sc: Remove.

20 years ago * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add
schwab [Sun, 19 Oct 2003 15:58:18 +0000 (15:58 +0000)]
* emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add
newline to message.

20 years ago * deffilep.y: Remove commas from %token lines.
schwab [Sun, 19 Oct 2003 15:21:31 +0000 (15:21 +0000)]
* deffilep.y: Remove commas from %token lines.

20 years ago2003-10-19 Michael Chastain <mec@shout.net>
chastain [Sun, 19 Oct 2003 14:40:14 +0000 (14:40 +0000)]
2003-10-19  Michael Chastain <mec@shout.net>

* config/djgpp/fnchange.lst: Add lines for:
gdb/amd64nbsd-nat.c, gdb/amd64nbsd-tdep.c,
gdb/i386fbsd-nat.c, gdb/i386fbsd-tdep.c,
gdb/sparc64fbsd-nat.c, gdb/sparc64bsd-tdep.c.

20 years ago* amd64fbsd-nat.c (fetch_inferior_registers,
kettenis [Sun, 19 Oct 2003 10:39:49 +0000 (10:39 +0000)]
* amd64fbsd-nat.c (fetch_inferior_registers,
store_inferior_registers): Remove functions.
* config/i386/fbsd64.mh (NATDEPFILES): Add amd64bsd-nat.o.

20 years ago * mmix.h (JMP_INSN_BYTE): Define.
hp [Sun, 19 Oct 2003 01:16:55 +0000 (01:16 +0000)]
* mmix.h (JMP_INSN_BYTE): Define.

20 years ago*** empty log message ***
gdbadmin [Sun, 19 Oct 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Sun, 19 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update

20 years agoAdd NetBSD/amd64 native configuration:
kettenis [Sat, 18 Oct 2003 18:41:21 +0000 (18:41 +0000)]
Add NetBSD/amd64 native configuration:
* x86-64-tdep.h (amd64nbsd_r_reg_offset): Add extern declarations.
* amd64nbsd-tdep.c: New file.
* amd64nbsd-nat.c: New file.
* amd64bsd-nat.c: New file.
* config/i386/nbsd64.mh: New file.
* config/i386/nbsd64.mt: New file.
* configure.host: Add x86_64-*-netbsd*.
* configure.tgt: Add x86_64-*-netbsd*.
* Makefile.in (amd64bsd-nat.o, amd64nbsd-nat.o, amd64nbsd-tdep.o):
New targets.
* NEWS (New native configurations): Mention NetBSD/amd64.

20 years ago * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d,
hp [Sat, 18 Oct 2003 16:05:02 +0000 (16:05 +0000)]
* ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d,
ld-mmix/pushja1f.d, ld-mmix/pushja7b.d, ld-mmix/pushja7f.d: Pass
--no-pushj-stubs to the assembler.
* ld-mmix/pushjs2b.d, ld-mmix/greg-14s.d, ld-mmix/pushjs1.d,
ld-mmix/greg-5s.d, ld-mmix/pushjs3b.d, ld-mmix/pushja1f-s.d,
ld-mmix/pushjs1m.d, ld-mmix/pushja7b-s.d, ld-mmix/pushja7f-s.d,
ld-mmix/pushja1b-s.d, ld-mmix/pushjs2.d, ld-mmix/pushjs3.d,
ld-mmix/pushjs4b.d, ld-mmix/pushjs4.d, ld-mmix/pushjs1bm.d,
ld-mmix/pushjs1b.d, ld-mmix/pushjs2m.d, ld-mmix/pushjs1r.d,
ld-mmix/pushjs3m.d, ld-mmix/pushjs2bm.d, ld-mmix/pushjs4m.d,
ld-mmix/pushjs3bm.d, ld-mmix/pushjs2r.d, ld-mmix/pushjs4bm.d,
ld-mmix/pushjs3r.d, ld-mmix/pushjs4r.d: New tests.

20 years ago * gas/mmix/op-0-1.d, gas/mmix/pushj-c.d, gas/mmix/weak1.d: Add
hp [Sat, 18 Oct 2003 16:00:21 +0000 (16:00 +0000)]
* gas/mmix/op-0-1.d, gas/mmix/pushj-c.d, gas/mmix/weak1.d: Add
--no-pushj-stubs option.
* gas/mmix/reloclab-r.d, gas/mmix/reloclab.d: Add --no-stubs
option.
* gas/mmix/reloclab.l: Adjust for PUSHJ stub.
* gas/mmix/pushj-cs.d, gas/mmix/reloclab-s.d, gas/mmix/relax2.s,
gas/mmix/relax2.d, gas/mmix/op-0-1s.d, gas/mmix/reloclab-rs.d,
gas/mmix/weak1-s.d: New tests.

20 years ago Generate BFD_RELOC_MMIX_PUSHJ_STUBBABLE for PUSHJ when possible.
hp [Sat, 18 Oct 2003 15:53:39 +0000 (15:53 +0000)]
Generate BFD_RELOC_MMIX_PUSHJ_STUBBABLE for PUSHJ when possible.
* doc/c-mmix.texi (MMIX-Opts): Document --no-pushj-stubs and
--no-stubs.
* config/tc-mmix.c: Include limits.h.  Expand on mmix_relax_table
comment.
(expand_op, mmix_next_semicolon_is_eoln): Fix head comment.
(pushj_stubs): New variable.
(OPTION_NOPUSHJSTUBS, STATE_PUSHJSTUB, PUSHJSTUB_MIN)
(PUSHJSTUB_MAX): New macros.
(md_longopts): New options "--no-pushj-stubs" and synonym
"--no-stubs".
(mmix_relax_table): Handle new entry for STATE_PUSHJSTUB.
(md_parse_option): Handle OPTION_NOPUSHJSTUBS.
(md_estimate_size_before_relax): Modify STATE_PUSHJ state for
PUSHJ stub relaxation.
(md_convert_frag): Handle STATE_PUSHJSTUB.
(md_apply_fix3): Handle BFD_RELOC_MMIX_PUSHJ_STUBBABLE.
(tc_gen_reloc): Ditto.
(mmix_md_relax_frag): Handle PUSHJ stub relaxation.
* config/tc-mmix.h (TC_SEGMENT_INFO_TYPE): Define.
(struct mmix_segment_info_type): New.

20 years ago * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker
hp [Sat, 18 Oct 2003 15:49:09 +0000 (15:49 +0000)]
* emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker
relaxation always; don't exclude relocatable linking.  Adjust for
_bfd_mmix_prepare_linker_allocated_gregs renamed to
_bfd_mmix_before_linker_allocation.
(mmix_after_allocation): Adjust for
_bfd_mmix_finalize_linker_allocated_gregs renamed to
_bfd_mmix_after_linker_allocation.
* scripttempl/mmo.sc: Use ADDR (.text), not . - SIZEOF (.text).

20 years ago * mmix.h (R_MMIX_PUSHJ_STUBBABLE): New reloc number.
hp [Sat, 18 Oct 2003 15:46:35 +0000 (15:46 +0000)]
* mmix.h (R_MMIX_PUSHJ_STUBBABLE): New reloc number.
(_bfd_mmix_before_linker_allocation): Rename from
_bfd_mmix_prepare_linker_allocated_gregs.
(_bfd_mmix_after_linker_allocation): Rename from
_bfd_mmix_finalize_linker_allocated_gregs.

20 years ago Support linker relaxation of new R_MMIX_PUSHJ_STUBBABLE relocs.
hp [Sat, 18 Oct 2003 15:42:39 +0000 (15:42 +0000)]
Support linker relaxation of new R_MMIX_PUSHJ_STUBBABLE relocs.
* elf64-mmix.c (MAX_PUSHJ_STUB_SIZE): New macro.
(struct _mmix_elf_section_data): New member pjs.
(mmix_set_relaxable_size, mmix_elf_get_section_contents): New
functions.
(elf_mmix_howto_table): New entry for R_MMIX_PUSHJ_STUBBABLE.
(mmix_reloc_map): Ditto.
(mmix_elf_relocate_section): Handle R_MMIX_PUSHJ_STUBBABLE.
(mmix_final_link_relocate, mmix_elf_check_common_relocs): Ditto.
(mmix_elf_perform_relocation): Ditto.  Don't mark parameter addr
unused.
(mmix_elf_check_relocs): Move early return to after
mmix_elf_check_common_relocs call.
(mmix_elf_symbol_processing): Fix cut-and-pasto in head comment.
(_bfd_mmix_before_linker_allocation): Rename from
_bfd_mmix_prepare_linker_allocated_gregs.  All referers changed.
Arrange to set the initial relaxable size of sections.
(_bfd_mmix_after_linker_allocation): Rename from
_bfd_mmix_finalize_linker_allocated_gregs.
(mmix_elf_relax_section): Relax a R_MMIX_PUSHJ_STUBBABLE reloc.
(bfd_elf64_get_section_contents): Define.
* reloc.c: Add ENUMX for BFD_RELOC_MMIX_PUSHJ_STUBBABLE.
* libbfd.h, bfd-in2.h: Regenerate.

20 years ago2003-10-17 Michael Chastain <mec@shout.net>
chastain [Sat, 18 Oct 2003 14:36:12 +0000 (14:36 +0000)]
2003-10-17  Michael Chastain  <mec@shout.net>

* config/djgpp/fnchange.lst: Remove dead lines for:
bfd/elf32-i386qnx.c, bfd/elf32-ppcqnx.c, bfd/elf32-shqnx.c,
bfd/elf32-sh-lin.c, bfd/elf32-sh-nbsd.c, bfd/elf32-sh64-nbsd.c,
bfd/elf64-alpha-fbsd.c, bfd/elf64-sh64-nbsd.c,
gdb/alphanbsd-nat.c, gdb/config/i386/tm-i386mk.h,
gdb/config/i386/tm-i386v42mp.h, gdb/config/i386/xm-i386mach.h,
gdb/config/i386/xm-i386mk.h, gdb/config/i386/xm-i386v32.h,
gdb/config/m68k/apollo68v.mh, gdb/config/m68k/nm-apollo68v.h,
gdb/config/m68k/xm-apollo68v.h, gdb/config/m88k/tm-delta88v4.h,
gdb/config/mips/tm-bigmips64.h, gdb/config/mips/tm-embed64.h,
gdb/config/mips/tm-embedl.h, gdb/config/mips/tm-embedl64.h,
gdb/config/mips/tm-vr4300el.h, gdb/config/mips/tm-vr4xxxel.h,
gdb/config/mips/tm-vr5000el.h, gdb/config/sparc/tm-sparclet.h,
gdb/config/sparc/tm-sparclite.h,
gdb/gdbtk/generic/ChangeLog-2001,
gdb/gdbtk/library/ChangeLog-2001, gdb/remote-adapt.c,
gdb/remote-eb.c, gdb/remote-mm.c, gdb/remote-nrom.c,
gdb/remote-udi.c, gdb/remote-vx29k.c, gdb/remote-vx960.c,
gdb/sparclet-rom.c, gdb/sparclet-stub.c,
gdb/testsuite/gdb.mi/mi0-var-block.exp,
gdb/testsuite/gdb.mi/mi0-var-child.exp,
gdb/testsuite/gdb.mi/mi0-var-cmd.exp,
gdb/testsuite/gdb.mi/mi0-var-display.exp,
itcl/iwidgets3.0.0/demos/extfileselectionbox,
itcl/iwidgets3.0.0/demos/extfileselectiondialog,
itcl/iwidgets3.0.0/demos/fileselectionbox,
itcl/iwidgets3.0.0/demos/fileselectiondialog,
itcl/iwidgets3.0.0/demos/html/buttonbox.n.html,
itcl/iwidgets3.0.0/demos/html/canvasprintbox.n.html,
itcl/iwidgets3.0.0/demos/html/canvasprintdialog.n.html,
itcl/iwidgets3.0.0/demos/html/combobox.n.html,
itcl/iwidgets3.0.0/demos/html/dialog.n.html,
itcl/iwidgets3.0.0/demos/html/dialogshell.n.html,
itcl/iwidgets3.0.0/demos/html/entryfield.n.html,
itcl/iwidgets3.0.0/demos/html/feedback.n.html,
itcl/iwidgets3.0.0/demos/html/fileselectionbox.n.html,
itcl/iwidgets3.0.0/demos/html/fileselectiondialog.n.html,
itcl/iwidgets3.0.0/demos/html/hyperhelp.n.html,
itcl/iwidgets3.0.0/demos/html/iwidgets2.2.0UserCmds.html,
itcl/iwidgets3.0.0/demos/html/labeledwidget.n.html,
itcl/iwidgets3.0.0/demos/html/menubar.n.html,
itcl/iwidgets3.0.0/demos/html/messagedialog.n.html,
itcl/iwidgets3.0.0/demos/html/notebook.n.html,
itcl/iwidgets3.0.0/demos/html/optionmenu.n.html,
itcl/iwidgets3.0.0/demos/html/panedwindow.n.html,
itcl/iwidgets3.0.0/demos/html/promptdialog.n.html,
itcl/iwidgets3.0.0/demos/html/pushbutton.n.html,
itcl/iwidgets3.0.0/demos/html/radiobox.n.html,
itcl/iwidgets3.0.0/demos/html/scrolledcanvas.n.html,
itcl/iwidgets3.0.0/demos/html/scrolledframe.n.html,
itcl/iwidgets3.0.0/demos/html/scrolledhtml.n.html,
itcl/iwidgets3.0.0/demos/html/scrolledlistbox.n.html,
itcl/iwidgets3.0.0/demos/html/scrolledtext.n.html,
itcl/iwidgets3.0.0/demos/html/selectionbox.n.html,
itcl/iwidgets3.0.0/demos/html/selectiondialog.n.html,
itcl/iwidgets3.0.0/demos/html/shell.n.html,
itcl/iwidgets3.0.0/demos/html/spindate.n.html,
itcl/iwidgets3.0.0/demos/html/spinint.n.html,
itcl/iwidgets3.0.0/demos/html/spinner.n.html,
itcl/iwidgets3.0.0/demos/html/spintime.n.html,
itcl/iwidgets3.0.0/demos/html/tabnotebook.n.html,
itcl/iwidgets3.0.0/demos/html/tabset.n.html,
itcl/iwidgets3.0.0/demos/html/toolbar.n.html,
itcl/iwidgets3.0.0/demos/scrolledcanvas,
itcl/iwidgets3.0.0/demos/scrolledframe,
itcl/iwidgets3.0.0/demos/scrolledhtml,
itcl/iwidgets3.0.0/demos/scrolledlistbox,
itcl/iwidgets3.0.0/demos/scrolledtext,
itcl/iwidgets3.0.0/demos/selectionbox,
itcl/iwidgets3.0.0/demos/selectiondialog,
itcl/iwidgets3.0.0/doc/canvasprintbox.n,
itcl/iwidgets3.0.0/doc/canvasprintdialog.n,
itcl/iwidgets3.0.0/doc/extfileselectionbox.n,
itcl/iwidgets3.0.0/doc/extfileselectiondialog.n,
itcl/iwidgets3.0.0/doc/fileselectionbox.n,
itcl/iwidgets3.0.0/doc/fileselectiondialog.n,
itcl/iwidgets3.0.0/doc/scopedobject.n.backup,
itcl/iwidgets3.0.0/doc/scrolledcanvas.n,
itcl/iwidgets3.0.0/doc/scrolledframe.n,
itcl/iwidgets3.0.0/doc/scrolledhtml.n,
itcl/iwidgets3.0.0/doc/scrolledlistbox.n,
itcl/iwidgets3.0.0/doc/scrolledtext.n,
itcl/iwidgets3.0.0/doc/selectionbox.n,
itcl/iwidgets3.0.0/doc/selectiondialog.n,
itcl/iwidgets3.0.0/generic/canvasprintbox.itk,
itcl/iwidgets3.0.0/generic/canvasprintdialog.itk,
itcl/iwidgets3.0.0/generic/extfileselectionbox.itk,
itcl/iwidgets3.0.0/generic/extfileselectiondialog.itk,
itcl/iwidgets3.0.0/generic/fileselectionbox.itk,
itcl/iwidgets3.0.0/generic/fileselectiondialog.itk,
itcl/iwidgets3.0.0/generic/scrolledcanvas.itk,
itcl/iwidgets3.0.0/generic/scrolledframe.itk,
itcl/iwidgets3.0.0/generic/scrolledhtml.itk,
itcl/iwidgets3.0.0/generic/scrolledlistbox.itk,
itcl/iwidgets3.0.0/generic/scrolledtext.itk,
itcl/iwidgets3.0.0/generic/scrolledwidget.itk,
itcl/iwidgets3.0.0/generic/selectionbox.itk,
itcl/iwidgets3.0.0/generic/selectiondialog.itk,
itcl/iwidgets3.0.0/tests/canvasprintbox.test,
itcl/iwidgets3.0.0/tests/canvasprintdialog.test,
itcl/iwidgets3.0.0/tests/extfileselectionbox.test,
itcl/iwidgets3.0.0/tests/extfileselectiondialog.test,
itcl/iwidgets3.0.0/tests/fileselectionbox.test,
itcl/iwidgets3.0.0/tests/fileselectiondialog.test,
itcl/iwidgets3.0.0/tests/scrolledcanvas.test,
itcl/iwidgets3.0.0/tests/scrolledframe.test,
itcl/iwidgets3.0.0/tests/scrolledhtml.test,
itcl/iwidgets3.0.0/tests/scrolledlistbox.test,
itcl/iwidgets3.0.0/tests/scrolledtext.test,
itcl/iwidgets3.0.0/tests/selectionbox.test,
itcl/iwidgets3.0.0/tests/selectiondialog.test,
itcl/iwidgets3.0.0/unix/iwidgets.tcl.in,
itcl/iwidgets3.0.0/unix/pkgIndex.tcl.in,
tix/docs/Release-4.1.0.html, tix/docs/Release-4.1.0.txt,
tix/docs/Release-4.1a2.html, tix/docs/Release-4.1a2.txt,
tix/docs/Release-4.1a3.html, tix/docs/Release-4.1a3.txt,
tix/docs/Release-4.1b1.html, tix/docs/Release-4.1b1.txt,
tix/docs/Release-4.1b2.html, tix/docs/Release-4.1b2.txt,
tix/tixConfig.sh.in, tix/unix/tk4.2/pkgIndex.tcl.in,
tix/unix/tk8.0/pkgIndex.tcl.in, tix/unix/tk8.0/pkgIndex.tcl.in,
tix/unix/tk8.1/pkgIndex.tcl.in, tix/win/tkConsole41.c,
tix/win/tkConsole42.c, tix/win/tkConsole80a1.c,
tix/win/tkConsole80b1.c, tix/win/tkConsole81.c, tk/doc/tk4.0.ps,
tk/mac/tkMacProjects.sit.hqx.

20 years ago* gdbint.texinfo (Target Architecture Definition): Document
kettenis [Sat, 18 Oct 2003 12:28:05 +0000 (12:28 +0000)]
* gdbint.texinfo (Target Architecture Definition): Document
regset_from_core_section.

20 years agodaily update
amodra [Sat, 18 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Sat, 18 Oct 2003 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * ldlang.c (lang_size_sections): Last, set _cooked_size for output
hp [Fri, 17 Oct 2003 23:05:50 +0000 (23:05 +0000)]
* ldlang.c (lang_size_sections): Last, set _cooked_size for output
sections.

20 years ago * reloc.c (bfd_generic_relax_section): Default-set
hp [Fri, 17 Oct 2003 23:03:43 +0000 (23:03 +0000)]
* reloc.c (bfd_generic_relax_section): Default-set
section->_cooked_size here.
(bfd_generic_get_relocated_section_contents): Don't set it here.
Explain why.

20 years ago * gas/arm/iwmmxt-bad.s: New file.
ian [Fri, 17 Oct 2003 22:45:28 +0000 (22:45 +0000)]
* gas/arm/iwmmxt-bad.s: New file.
* gas/arm/iwmmxt-bad.l: New file.
* gas/arm/arm.exp: Run new test.

20 years ago * include/stdio.h (_filbuf): Add prototype.
dannysmith [Fri, 17 Oct 2003 21:43:31 +0000 (21:43 +0000)]
* include/stdio.h (_filbuf): Add prototype.
(_flsbuf): Add prototype.
(getc): Add inline version.
(putc): Likewise.
(getchar): Likewise.
(putchar): Likewise.

20 years ago2003-10-17 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 17 Oct 2003 20:17:50 +0000 (20:17 +0000)]
2003-10-17  Andrew Cagney  <cagney@redhat.com>

* target.c (target_section_by_addr): New function.
(do_xfer_memory): Use "target_section_by_addr".
* target.h (target_section_by_addr): Declare.

20 years ago2003-10-17 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 17 Oct 2003 18:24:49 +0000 (18:24 +0000)]
2003-10-17  Andrew Cagney  <cagney@redhat.com>

* target.h (struct target_ops): Add "to_read_partial" and
"to_write_partial", delete "to_query".
(target_read_partial, target_write_partial): Declare.
(target_read, target_write): Declare.
(target_query): Delete macro.
* target.c (target_read_partial): New function.
(target_write_partial, target_read, target_write): New function.
(update_current_target): Delete inheritance of "to_query".  Add
comments about "to_read_partial" and "to_write_partial".
(debug_to_partial_read, debug_to_partial_write): New functions.
(debug_to_query): Delete function.
(setup_target_debug): Set "to_read_partial" and "to_write_partial"
instead of "to_query".
* remote.c (remote_read_partial): Replace "remote_query".
(init_remote_ops): Set "to_read_partial" instead of "to_query".
(init_remote_async_ops): Ditto.
* kod.c (gdb_kod_query): Make "bufsize" a LONGEST.  Use
"target_read_partial" instead of "target_query".
* avr-tdep.c (avr_io_reg_read_command): Make "bufsize" a LONGEST.
Use "target_read_partial" instead of "target_query".

20 years ago2003-10-17 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 17 Oct 2003 18:24:39 +0000 (18:24 +0000)]
2003-10-17  Andrew Cagney  <cagney@redhat.com>

* target.h (struct target_ops): Add "to_read_partial" and
"to_write_partial", delete "to_query".
(target_read_partial, target_write_partial): Declare.
(target_read, target_write): Declare.
(target_query): Delete macro.
* target.c (target_read_partial): New function.
(target_write_partial, target_read, target_write): New function.
(update_current_target): Delete inheritance of "to_query".  Add
comments about "to_read_partial" and "to_write_partial".
(debug_to_partial_read, debug_to_partial_write): New functions.
(debug_to_query): Delete function.
(setup_target_debug): Set "to_read_partial" and "to_write_partial"
instead of "to_query".
* remote.c (remote_read_partial): Replace "remote_query".
(init_remote_ops): Set "to_read_partial" instead of "to_query".
(init_remote_async_ops): Ditto.
* kod.c (gdb_kod_query): Make "bufsize" a LONGEST.  Use
"target_read_partial" instead of "target_query".
* avr-tdep.c (avr_io_reg_read_command): Make "bufsize" a LONGEST.
Use "target_read_partial" instead of "target_query".

20 years agorevert accidental checkin
cgf [Fri, 17 Oct 2003 17:20:06 +0000 (17:20 +0000)]
revert accidental checkin

20 years ago* cygcheck.cc (pretty_id): Don't exec if `id' program is not found.
cgf [Fri, 17 Oct 2003 17:19:31 +0000 (17:19 +0000)]
* cygcheck.cc (pretty_id): Don't exec if `id' program is not found.