OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
20 years ago * sh-tdep.c (sh3e_sh4_store_return_value): Correctly store
corinna [Thu, 3 Jun 2004 11:46:29 +0000 (11:46 +0000)]
* sh-tdep.c (sh3e_sh4_store_return_value): Correctly store
double values in little endian mode.

20 years ago* configure.in: Fix --enable-bootstrap breakage introduced in trees without
cgf [Thu, 3 Jun 2004 04:57:37 +0000 (04:57 +0000)]
* configure.in: Fix --enable-bootstrap breakage introduced in trees without
gcc.
* configure: Regenerate.

20 years ago*** empty log message ***
gdbadmin [Thu, 3 Jun 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agoadd missing changelog entry
cgf [Wed, 2 Jun 2004 21:25:57 +0000 (21:25 +0000)]
add missing changelog entry

20 years ago* spawn.cc (find_exec): Use has_slash to determine if path has a slash rather
cgf [Wed, 2 Jun 2004 21:20:53 +0000 (21:20 +0000)]
* spawn.cc (find_exec): Use has_slash to determine if path has a slash rather
than calculating this twice.

20 years ago2004-06-02 Albert Chin-A-Young <china@thewrittenword.com>
cagney [Wed, 2 Jun 2004 21:01:53 +0000 (21:01 +0000)]
2004-06-02  Albert Chin-A-Young  <china@thewrittenword.com>

Committed by Andrew Cagney.
* gdb/dictionary.c, gdb/gdbtypes.h: Remove trailing comma
after last enum constant to avoid error from IBM C
compiler.

20 years ago2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 2 Jun 2004 19:22:14 +0000 (19:22 +0000)]
2004-06-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
        reset digit flags appropriately after we have discovered "0x".
        * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.

20 years ago* ppc-linux-nat.c (store_register): Remove unused local 'offset'.
jimb [Wed, 2 Jun 2004 18:24:34 +0000 (18:24 +0000)]
* ppc-linux-nat.c (store_register): Remove unused local 'offset'.

20 years ago* ppc-linux-nat.c (store_register, fetch_register): Rename 'mess'
jimb [Wed, 2 Jun 2004 18:17:01 +0000 (18:17 +0000)]
* ppc-linux-nat.c (store_register, fetch_register): Rename 'mess'
to 'message', and make it local to the lone block that uses it.

20 years agoada-exp.y: Synchronize with current ACT sources.
hilfingr [Wed, 2 Jun 2004 09:55:33 +0000 (09:55 +0000)]
ada-exp.y: Synchronize with current ACT sources.
ada-lang.c: Ditto.
ada-lang.h: Ditto.
ada-lex.l: Ditto.
ada-tasks.c: Ditto.
ada-typeprint.c: Ditto.
ada-valprint.c: Ditto.

20 years ago* ppc-tdep.h: Delete unused 'regoff' member.
jimb [Wed, 2 Jun 2004 03:06:23 +0000 (03:06 +0000)]
* ppc-tdep.h: Delete unused 'regoff' member.
* rs6000-tdep.c (rs6000_gdbarch_init): Don't initialize it.

20 years ago* ppc-tdep.h: Delete unused 'regoff' member.
jimb [Wed, 2 Jun 2004 03:06:11 +0000 (03:06 +0000)]
* ppc-tdep.h: Delete unused 'regoff' member.
* rs6000-tdep.c (rs6000_gdbarch_init): Don't initialize it.

20 years ago*** empty log message ***
gdbadmin [Wed, 2 Jun 2004 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-06-01 Michael Chastain <mec.gnu@mindspring.com>
chastain [Tue, 1 Jun 2004 22:39:21 +0000 (22:39 +0000)]
2004-06-01  Michael Chastain  <mec.gnu@mindspring.com>

Fix PR symtab/1661.
* hpread.c (hpread_pxdb_needed): Call memset after alloca.
(hpread_read_struct_type): Likewise.

20 years ago2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
infidel [Tue, 1 Jun 2004 14:09:18 +0000 (14:09 +0000)]
2004-04-24  Luke Dunstan  <infidel@users.sourceforge.net>

* include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.

20 years ago * s390-opc.txt: Correct architecture mask for some opcodes.
sky [Tue, 1 Jun 2004 13:56:09 +0000 (13:56 +0000)]
    * s390-opc.txt: Correct architecture mask for some opcodes.
lrv, lrvh, strv, ml, dl, alc, slb rll and mvclu are available
in the esa mode as well.

20 years ago2004-06-01 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 1 Jun 2004 13:33:57 +0000 (13:33 +0000)]
2004-06-01  Andrew Cagney  <cagney@gnu.org>

* mi/mi-cmd-env.c (env_execute_cli_command): Use xstrprintf
instead of xasprintf.
* mi/mi-main.c (mi_error_last_message, mi_cmd_exec_interrupt)
(mi_cmd_thread_select, mi_cmd_thread_list_ids)
(mi_cmd_data_list_register_names)
(mi_cmd_data_list_changed_registers)
(mi_cmd_data_list_register_values)
(get_register, mi_cmd_data_write_register_values)
(mi_cmd_data_write_register_values)
(mi_cmd_data_assign, mi_cmd_data_evaluate_expression)
(mi_cmd_target_download, mi_cmd_target_select)
(mi_cmd_data_read_memory, mi_cmd_data_write_memory)
(mi_execute_cli_command, mi_execute_async_cli_command)
(mi_execute_async_cli_command): Ditto.
* mi/mi-interp.c (mi_cmd_interpreter_exec) Ditto.
* mi/mi-cmd-var.c (mi_cmd_var_create): Ditto.

20 years ago2004-06-01 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 1 Jun 2004 13:15:00 +0000 (13:15 +0000)]
2004-06-01  Andrew Cagney  <cagney@gnu.org>

* mi/mi-cmds.h (mi_error_last_message): Delete declaration.
* mi/mi-interp.c (mi_cmd_interpreter_exec): Call
error_last_message instead of mi_error_last_message.
* mi/mi-main.c (mi_error_last_message): Delete function.

20 years ago2004-06-01 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 1 Jun 2004 12:55:30 +0000 (12:55 +0000)]
2004-06-01  Andrew Cagney  <cagney@gnu.org>

* mi/mi-main.c (mi_cmd_data_read_memory): Add missing return for
"invalid number of columns" error.  Delete redundant "out of
memory" check.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 1 Jun 2004 08:11:37 +0000 (08:11 +0000)]
2004-06-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl: Fix typo.
* Makefile.in: Regenerate.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 1 Jun 2004 07:54:41 +0000 (07:54 +0000)]
2004-06-01  Paolo Bonzini <bonzini@gnu.org>

* configure.in: Remove new- prefix from toplevel
bootstrap targets.
* configure: Regenerate.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 1 Jun 2004 07:46:01 +0000 (07:46 +0000)]
2004-06-01  Paolo Bonzini <bonzini@gnu.org>

Merge this patch from the gcc tree:

2004-05-30  Andreas Jaeger  <aj@suse.de>
    Jim Wilson <wilson@specifixinc.com>

* config-ml.in: Pass FFLAGS and ADAFLAGS for multilibs, handle F77
like CC.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 1 Jun 2004 07:42:19 +0000 (07:42 +0000)]
2004-06-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all.normal): Rename to all.
(all): Replace with a rule to pick the default
target from configure.
(all-gcc, configure-gcc): Use conditionals to
do nothing when toplevel bootstrap is going on.
(GCC directory bootstrap) [gcc-bootstrap]: Disable.
(Toplevel bootstrap) [gcc-no-bootstrap]: Disable.
* configure.in: Support --enable-bootstrap.

* Makefile.def: Remove new- prefix from toplevel
bootstrap targets.
* Makefile.tpl: Likewise.

* Makefile.def: Add bootstrap_stage 4.  Add bootstrap2
target.

* Makefile.tpl (Toplevel bootstrap): Pass $(BASE_FLAGS_TO_PASS)
$(RECURSE_FLAGS) to recursive invocation of make.

* Makefile.in: Regenerate.
* configure: Regenerate.

20 years ago*** empty log message ***
gdbadmin [Tue, 1 Jun 2004 00:00:40 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Tue, 1 Jun 2004 00:00:11 +0000 (00:00 +0000)]
daily update

20 years ago2004-05-29 Filip Navara <xnavara@volny.cz>
infidel [Mon, 31 May 2004 14:10:19 +0000 (14:10 +0000)]
2004-05-29  Filip Navara  <xnavara@volny.cz>

* include/winnt.h (IMAGE_EXPORT_DIRECTORY): Fixed declaration.

20 years ago2004-05-25 Al Slater <al.slater@scluk.com>
infidel [Mon, 31 May 2004 13:57:29 +0000 (13:57 +0000)]
2004-05-25  Al Slater  <al.slater@scluk.com>

 * include/httpext.h (HSE_SEND_HEADER_EX_INFO,
 HSE_REQ_SEND_RESPONSE_HEADER_EX): Define.

20 years agomerge from gcc
dj [Mon, 31 May 2004 13:27:45 +0000 (13:27 +0000)]
merge from gcc

20 years ago* i386bsd-nat.c: Don't include <sys/procfs.h>.
kettenis [Mon, 31 May 2004 11:20:39 +0000 (11:20 +0000)]
* i386bsd-nat.c: Don't include <sys/procfs.h>.
(gregset_t, fpregset_t): Remove typedefs.
(CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Remove macros.
(REG_OFFSET): Rename argument.
(i386bsd_r_reg_offset): Rename from reg_offset.
(REG_ADDR): Remove macro.
(cannot_fetch_register, supply_gregset, fill_gregset): Remove
functions.
(i386bsd_supply_gregset, i386bsd_collect_gregset): New functions.
(fetch_inferior_registers): Use `struct reg' and `struct fpreg'
instead of gregset_t and fpregset_t.  Use i386bsd_supply_gregset
instead of supply_gregset.
(store_inferior_registers): Use `struct reg' and `struct fpreg'
instead of gregset_t and fpregset_t.  Use i386bsd_collect_gregset
instead of fill_gregset.
(register_u_addr): Use i386_r_reg_offset instead of REG_ADDR.

20 years ago* i386bsd-nat.c: Don't include "gregset.h".
kettenis [Mon, 31 May 2004 10:01:11 +0000 (10:01 +0000)]
* i386bsd-nat.c: Don't include "gregset.h".
(supply_gregset, fill_gregset): Make static.
(supply_fpregset, fill_fpregset): Remove.
* Makefile.in (i386bsd-nat.o): Update dependencies.

20 years ago2004-05-30 Pierre Humblet <pierre.humblet@ieee.org>
phumblet [Mon, 31 May 2004 02:20:39 +0000 (02:20 +0000)]
2004-05-30  Pierre Humblet <pierre.humblet@ieee.org>

* path.cc (mount_info::add_item): Make sure native path has drive
or UNC form. Call normalize_xxx_path instead of [back]slashify.
Remove test for double slashes. Reorganize to always debug_print.

20 years ago*** empty log message ***
gdbadmin [Mon, 31 May 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Mon, 31 May 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago* fbsd-proc.c: Include "regcache.h", "regset.h" and
kettenis [Sun, 30 May 2004 18:29:09 +0000 (18:29 +0000)]
* fbsd-proc.c: Include "regcache.h", "regset.h" and
"gdb_assert.h".  Con't include "gregset.h".
(fbsd_make_corefile_notes): Use regset-based core file support
instead off fill_gregset and fill_fpregset.
* Makefile.in (fbsd-proc.o): Update dependencies.

20 years ago* m88k-tdep.c (m88k_analyze_prologue): Fix handling of branch
kettenis [Sun, 30 May 2004 18:16:30 +0000 (18:16 +0000)]
* m88k-tdep.c (m88k_analyze_prologue): Fix handling of branch
instructions.
(m88k_frame_prev_register): Simplify code a bit.

20 years ago* amd64-tdep.c (amd64_supply_fpregset): Adjust comment.
kettenis [Sun, 30 May 2004 16:56:07 +0000 (16:56 +0000)]
* amd64-tdep.c (amd64_supply_fpregset): Adjust comment.
(amd64_collect_fpregset): New function.
(amd64_regset_from_core_section): Use amd64_collect_fpregset.

20 years ago* hppa-tdep.h (hppa_regnum): Add HPPA_R31_REGNUM.
kettenis [Sun, 30 May 2004 14:31:27 +0000 (14:31 +0000)]
* hppa-tdep.h (hppa_regnum): Add HPPA_R31_REGNUM.

20 years ago* i386-tdep.c (i386_supply_gregset): Adjust comment.
kettenis [Sun, 30 May 2004 14:13:48 +0000 (14:13 +0000)]
* i386-tdep.c (i386_supply_gregset): Adjust comment.
(i386_collect_gregset): New function.
(i386_supply_fpregset): Adjust comment.
(i386_collect_fpregset): New function.
(i386_regset_from_core_section): Use i386_collect_gregset and
i386_collect_fpregset.

20 years ago* hppa-tdep.c (hppa_frame_prev_register_helper): Reimplement to
kettenis [Sun, 30 May 2004 14:10:58 +0000 (14:10 +0000)]
* hppa-tdep.c (hppa_frame_prev_register_helper): Reimplement to
handle VALUEP being null.

20 years ago * pathnames.sgml: Remove /dev/kmem from the supported POSIX
joshuadfranklin [Sun, 30 May 2004 06:47:09 +0000 (06:47 +0000)]
* pathnames.sgml: Remove /dev/kmem from the supported POSIX
device list.

* cygwinenv.sgml: Fix typo in check_case description.

20 years ago2004-05-29 John Paul Wallington <jpw@gnu.org>
joshuadfranklin [Sun, 30 May 2004 06:33:02 +0000 (06:33 +0000)]
2004-05-29  John Paul Wallington  <jpw@gnu.org>

* ssp.c (usage): Add missing linefeed.

20 years agodaily update
amodra [Sun, 30 May 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Sun, 30 May 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* regset.h (collect_regset_ftype): Unconstify fourth argument.
kettenis [Sat, 29 May 2004 22:28:55 +0000 (22:28 +0000)]
* regset.h (collect_regset_ftype): Unconstify fourth argument.

20 years ago2004-05-29 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 29 May 2004 19:25:53 +0000 (19:25 +0000)]
2004-05-29  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relax_section): Undo the last
change.

20 years ago* MAINTAINERS: Undelete m88k. Add myself as maintainer.
kettenis [Sat, 29 May 2004 15:12:22 +0000 (15:12 +0000)]
* MAINTAINERS: Undelete m88k.  Add myself as maintainer.

20 years agoFix botched checkin.
kettenis [Sat, 29 May 2004 15:10:41 +0000 (15:10 +0000)]
Fix botched checkin.

20 years ago* amd64obsd-tdep.c (amd64obsd_sigtramp_p): Adjust for new
kettenis [Sat, 29 May 2004 15:09:18 +0000 (15:09 +0000)]
* amd64obsd-tdep.c (amd64obsd_sigtramp_p): Adjust for new
assembler in OpenBSD 3.5-current.
(amd64obsd_sigcontext_addr): Likewise.

20 years ago* amd64obsd-tdep.c (amd64obsd_sigtramp_p): Adjust for new
kettenis [Sat, 29 May 2004 12:38:24 +0000 (12:38 +0000)]
* amd64obsd-tdep.c (amd64obsd_sigtramp_p): Adjust for new
assembler in OpenBSD 3.5-current.
(amd64obsd_sigcontext_addr): Likewise.

* MAINTAINERS: Undelete m88k.  Add myself as maintainer.

20 years ago * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
amodra [Sat, 29 May 2004 04:30:40 +0000 (04:30 +0000)]
* ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
(lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.

20 years ago* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Only try to open the file
cgf [Sat, 29 May 2004 00:51:15 +0000 (00:51 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Only try to open the file
if it uses an acl.

20 years ago * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
ian [Sat, 29 May 2004 00:12:03 +0000 (00:12 +0000)]
* readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.

20 years ago*** empty log message ***
gdbadmin [Sat, 29 May 2004 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* rs6000-tdep.c: Use the modern gdbarch methods for handling the
jimb [Fri, 28 May 2004 21:59:36 +0000 (21:59 +0000)]
* rs6000-tdep.c: Use the modern gdbarch methods for handling the
register set, so our regcache isn't declared "legacy" and our E500
pseudoregister read and write functions aren't ignored.
(rs6000_register_byte, rs6000_register_raw_size,
rs6000_register_virtual_type, rs6000_register_convertible,
rs6000_register_convert_to_virtual,
rs6000_register_convert_to_raw): Deleted.
(rs6000_register_type, rs6000_convert_register_p,
rs6000_register_to_value, rs6000_value_to_register): New
functions.
(rs6000_gdbarch_init): Don't register
gdbarch_deprecated_register_size,
gdbarch_deprecated_register_bytes,
gdbarch_deprecated_register_byte,
gdbarch_deprecated_register_raw_size,
gdbarch_deprecated_register_virtual_type,
gdbarch_deprecated_register_convertible,
gdbarch_deprecated_register_convert_to_virtual, or
gdbarch_deprecated_register_convert_to_raw methods.  Instead,
register gdbarch_register_type, gdbarch_convert_register_p,
gdbarch_register_to_value, and gdbarch_value_to_register methods.

20 years ago* elf-m10300.c (mn10300_elf_relax_section): Preserve reloc addend
dj [Fri, 28 May 2004 21:33:34 +0000 (21:33 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Preserve reloc addend
for linking, but otherwise adjust reloc for merged sections.

20 years ago* config/tc-mn10300.h (tc_fix_adjustable): Define.
dj [Fri, 28 May 2004 21:33:06 +0000 (21:33 +0000)]
* config/tc-mn10300.h (tc_fix_adjustable): Define.
* config/tc-mn10300.c (mn10300_fix_adjustable): Don't adjust debug
or non-merged symbols.

20 years ago2004-05-28 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 28 May 2004 20:30:28 +0000 (20:30 +0000)]
2004-05-28  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relax_section): Properly call
_bfd_merged_section_offset for local symbols.

20 years ago* path.cc (chdir): Always use the normalized_path as posix_cwd, except if it
cgf [Fri, 28 May 2004 19:50:04 +0000 (19:50 +0000)]
* path.cc (chdir): Always use the normalized_path as posix_cwd, except if it
starts with a drive.

Also perform whitespace cleanup.

20 years ago2004-05-28 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 28 May 2004 19:26:31 +0000 (19:26 +0000)]
2004-05-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (remove_marked_resource): Save, clear and
restore the old slot when inserting srlz.i/srlz.d.

20 years ago* rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): Deleted.
jimb [Fri, 28 May 2004 18:56:36 +0000 (18:56 +0000)]
* rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): Deleted.
(rs6000_stab_reg_to_regnum, rs6000_dwarf2_reg_to_regnum): New
functions, updated to match the register numberings used in GCC.
(rs6000_gdbarch_init): Register rs6000_stab_reg_to_regnum and
rs6000_dwarf2_reg_to_regnum as register number conversions
functions for STABS and Dwarf2.

20 years ago2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
amylaar [Fri, 28 May 2004 12:31:59 +0000 (12:31 +0000)]
2004-05-28  Andrew Stubbs <andrew.stubbs@superh.com>

bfd:
* Makefile.am: Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh3_nommu .
* bfd-in2.h: Regenerate.
* cpu-sh.c: Add sh3-nommu architecture.
(bfd_to_arch_table): Create new table.
(sh_get_arch_from_bfd_mach): Create new function.
(sh_get_arch_up_from_bfd_mach): Create new function.
(sh_merge_bfd_arch): Create new function.
* elf32-sh.c (sh_ef_bfd_table): Add table.
(sh_elf_check_relocs): Replace switch statement with
use of sh_ef_bfd_table .
(sh_elf_get_flags_from_mach): Add new function.
(sh_find_elf_flags): Likewise.
(sh_elf_copy_private_data): Replace most of non-elf contents
with a call to sh_merge_bfd_arch() .

gas:
* Makefile.am: Regenerate dependecies.
* Makefile.in: Regenerate.
* config/tc-sh.c (valid_arch): Make unsigned.
(preset_target_arch): Likewise.
(md_begin): Use new architecture flags system.
(get_specific): Likewise.
(assemble_ppi): Likewise.
(md_assemble): Likewise. Also fix error check for bad opcodes.
(md_parse_option): Likewise. Also generate -isa values according
to the table in bfd/cpu-sh.c instead of just constants. Also
allow <arch>-up ISA variants.
(sh_elf_final_processing): Replace if-else chain with a call to
sh_find_elf_flags().
* testsuite/gas/sh/arch: New directory.
* testsuite/gas/sh/arch/arch.exp: New test script.
* testsuite/gas/sh/arch/arch_expected.txt: New file.
* testsuite/gas/sh/arch/sh.s: New file.
* testsuite/gas/sh/arch/sh2.s: New file.
* testsuite/gas/sh/arch/sh-dsp.s: New file.
* testsuite/gas/sh/arch/sh2e.s: New file.
* testsuite/gas/sh/arch/sh3-nommu.s: New file.
* testsuite/gas/sh/arch/sh3.s: New file.
* testsuite/gas/sh/arch/sh3-dsp.s: New file.
* testsuite/gas/sh/arch/sh3e.s: New file.
* testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4.s: New file.
* testsuite/gas/sh/arch/sh4a-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4al-dsp.s: New file.
* testsuite/gas/sh/arch/sh4a.s: New file.

include/elf:
* sh.h (EF_SH_HAS_DSP): Remove.
(EF_SH_HAS_FP): Remove.
(EF_SH_MERGE_MACH): Remove.
(EF_SH4_NOFPU): Convert to decimal.
(EF_SH4A_NOFPU): Likewise.
(EF_SH4_NOMMU_NOFPU): Likewise.
(EF_SH3_NOMMU): Add new macro.
(EF_SH_BFD_TABLE): Likewise.
(sh_find_elf_flags): Add prototype.
(sh_elf_get_flags_from_mach): Likewise.

opcodes:
* sh-dis.c (target_arch): Make unsigned.
(print_insn_sh): Replace (most of) switch with a call to
sh_get_arch_from_bfd_mach(). Also use new architecture flags system.
* sh-opc.h: Redefine architecture flags values.
Add sh3-nommu architecture.
Reorganise <arch>_up macros so they make more visual sense.
(SH_MERGE_ARCH_SET): Define new macro.
(SH_VALID_BASE_ARCH_SET): Likewise.
(SH_VALID_MMU_ARCH_SET): Likewise.
(SH_VALID_CO_ARCH_SET): Likewise.
(SH_VALID_ARCH_SET): Likewise.
(SH_MERGE_ARCH_SET_VALID): Likewise.
(SH_ARCH_SET_HAS_FPU): Likewise.
(SH_ARCH_SET_HAS_DSP): Likewise.
(SH_ARCH_UNKNOWN_ARCH): Likewise.
(sh_get_arch_from_bfd_mach): Add prototype.
(sh_get_arch_up_from_bfd_mach): Likewise.
(sh_get_bfd_mach_from_arch_set): Likewise.
(sh_merge_bfd_arc): Likewise.

ld:
* testsuite/ld-sh/arch/arch.exp: New test script.
* testsuite/ld-sh/arch/arch_expected.txt: New file.
* testsuite/ld-sh/arch/sh.s: New file.
* testsuite/ld-sh/arch/sh2.s: New file.
* testsuite/ld-sh/arch/sh-dsp.s: New file.
* testsuite/ld-sh/arch/sh2e.s: New file.
* testsuite/ld-sh/arch/sh3-nommu.s: New file.
* testsuite/ld-sh/arch/sh3.s: New file.
* testsuite/ld-sh/arch/sh3-dsp.s: New file.
* testsuite/ld-sh/arch/sh3e.s: New file.
* testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4.s: New file.
* testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4al-dsp.s: New file.
* testsuite/ld-sh/arch/sh4a.s: New file.

20 years ago * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
amodra [Fri, 28 May 2004 10:34:16 +0000 (10:34 +0000)]
* ldlang.c: Formatting.  Wrap long lines, expand bfd_get_section_flags
throughout file.
* lexsup.c: Formatting.  Wrap long lines.
* ldwrite.c: Update copyright date.

20 years agoConvert mode 5 addressing with zero offset into mode 2 addressing to save a
nickc [Fri, 28 May 2004 07:55:19 +0000 (07:55 +0000)]
Convert mode 5 addressing with zero offset into mode 2 addressing to save a
word.

20 years ago * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
amodra [Fri, 28 May 2004 05:42:28 +0000 (05:42 +0000)]
* ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
(output_section_callback): Nor SEC_KEEP here.
(gc_section_callback): Twiddle SEC_EXCLUDE here.
(lang_gc_wild): Delete.  Fold into..
(lang_gc_sections_1): ..here.  Only call bfd_gc_sections when garbage
collecting.
(lang_process): Always call lang_gc_sections.
(lang_place_orphans): Handle SEC_EXCLUDE sections.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
SEC_EXCLUDE code.

20 years agogas/
hjl [Fri, 28 May 2004 05:02:13 +0000 (05:02 +0000)]
gas/

2004-05-27  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (ar_is_in_integer_unit): Removed.
(ar_is_only_in_integer_unit): New.
(ar_is_only_in_memory_unit): New.
(generate_unwind_image): Silence gcc on 32bit host.
(md_assemble): Use ar_is_only_in_integer_unit instead of
ar_is_in_integer_unit. Check AR access.

gas/testsuite

2004-05-27  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/regs.d: Updated.

20 years agodaily update
amodra [Fri, 28 May 2004 00:00:09 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Fri, 28 May 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-05-27 Martin Hunt <hunt@redhat.com>
hunt [Thu, 27 May 2004 22:00:59 +0000 (22:00 +0000)]
2004-05-27  Martin Hunt  <hunt@redhat.com>

* library/tdump.tcl (build_win): Remove old nonworking
code to select scrolledtext mode.  Just use "dynamic".

20 years ago2004-05-27 Michael Chastain <mec.gnu@mindspring.com>
chastain [Thu, 27 May 2004 21:22:49 +0000 (21:22 +0000)]
2004-05-27  Michael Chastain  <mec.gnu@mindspring.com>

* Makefile.am (bfdver.h): Use explicit filename, not $< .
* Makefile.in: Regenerate.

20 years ago * configure.in: Fix sed invocation for GFORTRAN_FOR_TARGET.
drow [Thu, 27 May 2004 18:22:27 +0000 (18:22 +0000)]
* configure.in: Fix sed invocation for GFORTRAN_FOR_TARGET.
* configure: Regenerate.

20 years agoclarify last entry slightly.
cgf [Thu, 27 May 2004 15:58:29 +0000 (15:58 +0000)]
clarify last entry slightly.

20 years ago* kill.cc (listsig): NSIG includes Signal 0, so we need to avoid calling
cgf [Thu, 27 May 2004 15:15:51 +0000 (15:15 +0000)]
* kill.cc (listsig): NSIG includes Signal 0, so we need to avoid calling
strtosigno with NSIG - 1.

20 years ago2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 27 May 2004 14:56:51 +0000 (14:56 +0000)]
2004-05-27  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
        from here ...
        (_VFPRINTF_R): ... to here so all I/O printf routines
        are covered.

20 years agoSort m68k opcodes into alphabetical order
nickc [Thu, 27 May 2004 07:56:26 +0000 (07:56 +0000)]
Sort m68k opcodes into alphabetical order

20 years ago* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Avoid
aoliva [Thu, 27 May 2004 06:22:54 +0000 (06:22 +0000)]
* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Avoid
custom calling conventions for dynamic symbols.
(mn10300_elf_relax_section): Avoid relaxing a function as a local
symbol if it's an alias to a global one.

20 years agobfd/
hjl [Thu, 27 May 2004 05:53:34 +0000 (05:53 +0000)]
bfd/

2004-05-26  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (_bfd_elf_make_section_from_shdr): Undo the last
change.

ld/

2004-05-26  H.J. Lu  <hongjiu.lu@intel.com>

* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
* ldlang.c (lang_add_section): Likewise.

20 years ago* elf-m10300.c (mn10300_elf_relax_section): Don't test isym within
aoliva [Thu, 27 May 2004 04:07:39 +0000 (04:07 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Don't test isym within
loop over hashes.

20 years agodaily update
amodra [Thu, 27 May 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Thu, 27 May 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 26 May 2004 20:38:50 +0000 (20:38 +0000)]
2004-05-26  Jeff Johnston  <jjohnstn@redhat.com>

        * libnosys/sbrk.c: Add include of <_syslist.h> and "config.h".

20 years ago2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 26 May 2004 20:32:57 +0000 (20:32 +0000)]
2004-05-26  Jeff Johnston  <jjohnstn@redhat.com>

        * libnosys/sbrk.c: Add include of <_syslist.h>.

20 years ago2004-05-26 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 26 May 2004 19:40:53 +0000 (19:40 +0000)]
2004-05-26  Andrew Cagney  <cagney@gnu.org>

* corefile.c (core_create_line_syms): Per ISO C '90, move
vma_high's declaration to the function's start.

20 years ago2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 26 May 2004 17:57:09 +0000 (17:57 +0000)]
2004-05-26  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/search/hash_buf.c: Protect MAX and MIN macros from
        redefinition.
        * libc/search/hash.c: Ditto.

20 years ago2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 26 May 2004 17:48:59 +0000 (17:48 +0000)]
2004-05-26  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/ia64.exp: Run invalid-ar.

* gas/ia64/invalid-ar.l: New file. Test invalid AR access.
* gas/ia64/invalid-ar.s: Likewise.

20 years ago* gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
jimb [Wed, 26 May 2004 16:03:49 +0000 (16:03 +0000)]
* gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.

20 years ago2004-05-26 Randolph Chung <tausq@debian.org>
tausq [Wed, 26 May 2004 15:38:34 +0000 (15:38 +0000)]
2004-05-26  Randolph Chung  <tausq@debian.org>

* infttrace.h (target_waitkind): Forward declare type instead of pulling
in header file.

20 years agobfd/
amodra [Wed, 26 May 2004 10:23:45 +0000 (10:23 +0000)]
bfd/
* elf.c (_bfd_elf_make_section_from_shdr): Don't set SEC_EXCLUDE
for SHT_GROUP sections.
ld/
* ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
sections when doing a final link.  Clear SEC_EXCLUDE when doing
a relocable link, except for SEC_DEBUGGING sections.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
same condition here to drop SEC_EXCLUDE orphan sections.

20 years ago * NEWS: Document new "start" command.
brobecke [Wed, 26 May 2004 06:32:01 +0000 (06:32 +0000)]
    * NEWS: Document new "start" command.

20 years ago * gprof.c (main): Clean up some more.
bje [Wed, 26 May 2004 05:56:22 +0000 (05:56 +0000)]
* gprof.c (main): Clean up some more.

20 years ago2004-05-25 Randolph Chung <tausq@debian.org>
tausq [Wed, 26 May 2004 05:51:36 +0000 (05:51 +0000)]
2004-05-25  Randolph Chung  <tausq@debian.org>

* hppa-linux-tdep.c (hppa_linux_init_abi): sizeof(long double) == 8 on
hppa-linux.

20 years ago2004-05-25 Randolph Chung <tausq@debian.org>
tausq [Wed, 26 May 2004 05:31:39 +0000 (05:31 +0000)]
2004-05-25  Randolph Chung  <tausq@debian.org>

* hppa-hpux-tdep.c (offsetof): Define.
(hppa_hpux_pc_in_sigtramp, hppa32_hpux_frame_saved_pc_in_sigtramp)
(hppa32_hpux_frame_base_before_sigtramp)
(hppa32_hpux_frame_find_saved_regs_in_sigtramp)
(hppa64_hpux_frame_saved_pc_in_sigtramp)
(hppa64_hpux_frame_base_before_sigtramp)
(hppa64_hpux_frame_find_saved_regs_in_sigtramp): Remove unused
functions.
(struct hppa_hpux_sigtramp_unwind_cache, hppa_hpux_tramp_reg)
(hppa_hpux_sigtramp_frame_unwind_cache)
(hppa_hpux_sigtramp_frame_this_id)
(hppa_hpux_sigtramp_frame_prev_register)
(hppa_hpux_sigtramp_frame_unwind)
(hppa_hpux_sigtramp_unwind_sniffer): New signal trampoline unwinder.
(hppa_hpux_init_abi): Register sigtramp unwinder.
* Makefile.in (hppa-hpux-tdep.o): Update dependencies.

20 years ago * alpha.c, basic_blocks.c, basic_blocks.h, bb_exit_func.c,
bje [Wed, 26 May 2004 04:55:55 +0000 (04:55 +0000)]
* alpha.c, basic_blocks.c, basic_blocks.h, bb_exit_func.c,
call_graph.c, call_graph.h, cg_arcs.c, cg_arcs.h, cg_dfn.c,
cg_dfn.h, cg_print.c, cg_print.h, corefile.c, corefile.h,
gmon_io.c, gmon_io.h, gprof.c, gprof.h, hertz.h, hist.c, hist.h,
i386.c, mips.c, search_list.c, search_list.h, source.c, source.h,
sparc.c, sym_ids.c, sym_ids.h, symtab.c, symtab.h, tahoe.c,
utils.c, utils.h, vax.c, gen-c-prog.awk: Convert K&R C to ANSI C.

20 years ago * corefile.c (core_init): Use a separate local variable,
bje [Wed, 26 May 2004 04:06:26 +0000 (04:06 +0000)]
* corefile.c (core_init): Use a separate local variable,
core_sym_bytes, to make the units from bfd_get_symtab_upper_bound
more obvious.
(core_create_function_syms): Discard cbfd argument.  Eliminate
`offset' variable and calculate VMA directly. Update all users.
* corefile.h (core_create_function_syms): Update prototype.
(core_create_line_syms): Likewise.
* gprof.c (main): Remove #ifdef PROF_SUPPORT_IMPLEMENTED code.
Tidy.

20 years ago2004-05-25 Randolph Chung <tausq@debian.org>
tausq [Wed, 26 May 2004 04:02:24 +0000 (04:02 +0000)]
2004-05-25  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_fallback_frame_cache): Handle stack adjustment,
and multiple stack unwinds.
(hppa_stub_unwind_sniffer): Handle unwind from pc == 0.

20 years ago2004-05-25 Randolph Chung <tausq@debian.org>
tausq [Wed, 26 May 2004 04:02:14 +0000 (04:02 +0000)]
2004-05-25  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_fallback_frame_cache): Handle stack adjustment,
and multiple stack unwinds.
(hppa_stub_unwind_sniffer): Handle unwind from pc == 0.

20 years ago2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
jjohnstn [Wed, 26 May 2004 00:19:14 +0000 (00:19 +0000)]
2004-05-25  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * newlib.hin: (_WANT_IO_POS_ARGS): New define.
        (_WANT_IO_LONG_LONG): Ditto.
        (_WANT_IO_LONG_DOUBLE): Ditto.
        * configure.in: Add new configuration options
        --enable-newlib-io-long-long and --enable-newlib-io-long-double
        which tie to new defines in newlib.hin.
        * configure: Regenerated.
        * configure.host: Add checks for new configuration options.  Also
        fix up check for --enable-newlib-io-pos-args so configuration
        option will override any default for a given platform.
        Remove defining compiler flags for the _WANT_IO* options.
        * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
        instead of looking for old compiler flags.
        * libc/stdio/vfscanf.c: Ditto.
        * libc/stdio/vfieeefp.h: Ditto.
        * libc/machine/powerpc/vfprintf.c: Ditto.
        * libc/machine/powerpc/vfscanf.c: Ditto.

20 years ago*** empty log message ***
gdbadmin [Wed, 26 May 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Wed, 26 May 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago2004-05-25 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 25 May 2004 21:55:41 +0000 (21:55 +0000)]
2004-05-25  Andrew Cagney  <cagney@gnu.org>

* symfile.h (symbol_file_add_from_memory): Delete declaration.
* symfile-mem.h: Delete file.
* symfile-mem.c: Do not include "symfile-mem.h".
(symbol_file_add_from_memory): Make static. Use "struct bfd" and
"struct bfd_section".  When an error do not bother returning NULL.
(add_symbol_file_from_memory_command): Use "struct bfd" and
"struct bfd_section".
* Makefile.in (symfile_mem_h): Delete.
(symfile-mem.o): Update dependencies.

20 years ago2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 25 May 2004 20:52:21 +0000 (20:52 +0000)]
2004-05-25  Jeff Johnston  <jjohnstn@redhat.com>

        * testsuite/include/check.h: Add include of <stdio.h>.