OSDN Git Service
Elena Zannoni [Mon, 31 Jul 2000 16:25:36 +0000 (16:25 +0000)]
2000-07-31 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* sh-tdep.c (sh_push_arguments): Make header match prototype.
* remote-e7000.c (e7000_start_remote): Use void *, not char * as
parameter to avoid compiler warning.
(fetch_regs_from_dump): Call get_hex() with the correct number of
parameters.
Eli Zaretskii [Mon, 31 Jul 2000 06:11:19 +0000 (06:11 +0000)]
* config/djgpp/fnchange.lst: Add file mappings as per last weekly
snapshot.
Kevin Buettner [Sun, 30 Jul 2000 01:48:28 +0000 (01:48 +0000)]
Protoization.
Nick Clifton [Sat, 29 Jul 2000 19:37:30 +0000 (19:37 +0000)]
Fix formatting
Add copyright notice
Ben Elliston [Sat, 29 Jul 2000 00:33:34 +0000 (00:33 +0000)]
2000-07-28 Ben Elliston <bje@redhat.com>
* Makefile.am (CGEN, CGENDEPS, CGENDIR, CGENFLAGS): New.
(run-cgen, stamp-m32r, stamp-fr30): New targets.
* Makefile.in: Regenerate.
* configure.in: Add --enable-cgen-maint option.
* configure: Regenerate.
Jason Eckhardt [Fri, 28 Jul 2000 23:49:35 +0000 (23:49 +0000)]
2000-07-22 Jason Eckhardt <jle@cygnus.com>
* Makefile.am (CFILES): Added i860-dis.c.
(ALL_MACHINES): Added i860-dis.lo.
(i860-dis.lo): New dependences.
Jason Eckhardt [Fri, 28 Jul 2000 21:17:40 +0000 (21:17 +0000)]
2000-07-22 Jason Eckhardt <jle@cygnus.com>
* i860-dis.c: New file.
(print_insn_i860): New function.
(print_br_address): New function.
(sign_extend): New function.
(BITWISE_OP): New macro.
(I860_REG_PREFIX): New macro.
(grnames, frnames, crnames): New structures.
* disassemble.c (ARCH_i860): Define.
(disassembler): Add check for bfd_arch_i860 to set disassemble
function to print_insn_i860.
* Makefile.in (CFILES): Added i860-dis.c.
(ALL_MACHINES): Added i860-dis.lo.
(i860-dis.lo): New dependences.
* configure.in: New bits for bfd_i860_arch.
* configure: Regenerated.
Jason Eckhardt [Fri, 28 Jul 2000 21:16:11 +0000 (21:16 +0000)]
2000-07-22 Jason Eckhardt <jle@cygnus.com>
* opcode/i860.h (btne, bte, bla): Changed these opcodes
to use sbroff ('r') instead of split16 ('s').
(J, K, L, M): New operand types for 16-bit aligned fields.
(ld.x, {p}fld.x, fst.x, pst.d): Changed these opcodes to
use I, J, K, L, M instead of just I.
(T, U): New operand types for split 16-bit aligned fields.
(st.x): Changed these opcodes to use S, T, U instead of just S.
(andh, andnoth, orh, xorh): Deleted 3-register forms as they do not
exist on the i860.
(pfgt.sd, pfle.sd): Deleted these as they do not exist on the i860.
(pfeq.ss, pfeq.dd): New opcodes.
(st.s): Fixed incorrect mask bits.
(fmlow): Fixed incorrect mask bits.
(fzchkl, pfzchkl): Fixed incorrect mask bits.
(faddz, pfaddz): Fixed incorrect mask bits.
(form, pform): Fixed incorrect mask bits.
(pfld.l): Fixed incorrect mask bits.
(fst.q): Fixed incorrect mask bits.
(all floating point opcodes): Fixed incorrect mask bits for
handling of dual bit.
* elf/i860.h: New file.
(elf_i860_reloc_type): Defined ELF32 i860 relocations.
* dis-asm.h (print_insn_i860): Add prototype.
Jason Eckhardt [Fri, 28 Jul 2000 21:15:04 +0000 (21:15 +0000)]
200007-22 Jason Eckhardt <jle@cygnus.com>
* cpu-i860.c: Added comments.
* elf32-i860.c (TARGET_LITTLE_SYM): Defined to
bfd_elf32_i860_little_vec.
(TARGET_LITTLE_NAME): Defined to "elf32-i860-little".
(ELF_MAXPAGESIZE): Changed to 4096.
* targets.c (bfd_elf32_i860_little_vec): Declaration of
new target.
(bfd_target_vector): Added bfd_elf32_i860_little_vec.
* config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added
config for little endian elf32 i860.
(targ_defvec): Define for the new config above
as "bfd_elf32_i860_little_vec".
(targ_selvecs): Define for the new config above
as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec"
* configure.in (bfd_elf32_i860_little_vec): Added recognition
of new target vec.
* configure: Regenerated.
Jason Eckhardt [Fri, 28 Jul 2000 21:10:20 +0000 (21:10 +0000)]
2000-07-22 Jason Eckhardt <jle@cygnus.com>
* include/opcode/i860.h (btne, bte, bla): Changed these opcodes
to use sbroff ('r') instead of split16 ('s').
(J, K, L, M): New operand types for 16-bit aligned fields.
(ld.x, {p}fld.x, fst.x, pst.d): Changed these opcodes to
use I, J, K, L, M instead of just I.
(T, U): New operand types for split 16-bit aligned fields.
(st.x): Changed these opcodes to use S, T, U instead of just S.
(andh, andnoth, orh, xorh): Deleted 3-register forms as they do not
exist on the i860.
(pfgt.sd, pfle.sd): Deleted these as they do not exist on the i860.
(pfeq.ss, pfeq.dd): New opcodes.
(st.s): Fixed incorrect mask bits.
(fmlow): Fixed incorrect mask bits.
(fzchkl, pfzchkl): Fixed incorrect mask bits.
(faddz, pfaddz): Fixed incorrect mask bits.
(form, pform): Fixed incorrect mask bits.
(pfld.l): Fixed incorrect mask bits.
(fst.q): Fixed incorrect mask bits.
(all floating point opcodes): Fixed incorrect mask bits for
handling of dual bit.
* include/elf/i860.h: New file.
(elf_i860_reloc_type): Defined ELF32 i860 relocations.
* bfd/cpu-i860.c: Added comments.
* bfd/elf32-i860.c (TARGET_LITTLE_SYM): Defined to
bfd_elf32_i860_little_vec.
(TARGET_LITTLE_NAME): Defined to "elf32-i860-little".
(ELF_MAXPAGESIZE): Changed to 4096.
* bfd/targets.c (bfd_elf32_i860_little_vec): Declaration of
new target.
(bfd_target_vector): Added bfd_elf32_i860_little_vec.
* bfd/config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added
config for little endian elf32 i860.
(targ_defvec): Define for the new config above
as "bfd_elf32_i860_little_vec".
(targ_selvecs): Define for the new config above
as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec"
* bfd/configure.in (bfd_elf32_i860_little_vec): Added recognition
of new target vec.
* bfd/configure: Regenerated.
* opcodes/i860-dis.c: New file.
(print_insn_i860): New function.
(print_br_address): New function.
(sign_extend): New function.
(BITWISE_OP): New macro.
(I860_REG_PREFIX): New macro.
(grnames, frnames, crnames): New structures.
* opcodes/disassemble.c (ARCH_i860): Define.
(disassembler): Add check for bfd_arch_i860 to set disassemble
function to print_insn_i860.
* include/dis-asm.h (print_insn_i860): Add prototype.
* opcodes/Makefile.in (CFILES): Added i860-dis.c.
(ALL_MACHINES): Added i860-dis.lo.
(i860-dis.lo): New dependences.
* opcodes/configure.in: New bits for bfd_i860_arch.
* opcodes/configure: Regenerated.
Scott Bambrough [Fri, 28 Jul 2000 20:17:28 +0000 (20:17 +0000)]
2000-07-26 Scott Bambrough <scottb@netwinder.org>
* gdb.base/recurse.exp: Run tests for all targets.
* gdb.base/so-impl-ld.exp: Added wildcard to handle the
gnu-oldld case on ARM.
* gdb.base/watchpoint.exp (test_stepping): Clear xfail
for ARM targets.
Elena Zannoni [Fri, 28 Jul 2000 15:16:16 +0000 (15:16 +0000)]
2000-07-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* sh-tdep.c (sh_gdbarch_init): For sh4 initialize
register_convert_to_raw, register_convert_to_virtual,
register_convertible.
(sh_sh4_register_convertible): New function.
(sh_sh4_register_convert_to_virtual): New function.
(sh_sh4_register_convert_to_raw): New function.
Include floatformat.h.
Frank Ch. Eigler [Fri, 28 Jul 2000 10:09:30 +0000 (10:09 +0000)]
* s/sourceware.cygnus.com/sources.redhat.com/ throughout
* added cgen/
Alexandre Oliva [Fri, 28 Jul 2000 02:10:36 +0000 (02:10 +0000)]
* Makefile.in (FLAGS_FOR_TARGET): New macro.
(GCC_FOR_TARGET): Use it.
(CC_FOR_TARGET, CXX_FOR_TARGET, CHILL_FOR_TARGET): Now defined...
* configure.in: ... here.
(FLAGS_FOR_TARGET): Define. Add ld build dir to -L path.
(libstdcxx_flags): Define and append to CXX_FOR_TARGET.
H.J. Lu [Fri, 28 Jul 2000 00:49:07 +0000 (00:49 +0000)]
2000-07-27 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_merge_symbol): Take one more argument,
dt_needed, to indicate if the symbol comes from a DT_NEEDED
entry. Don't overide the existing weak definition if dt_needed
is true.
(elf_link_add_object_symbols): Pass dt_needed to
elf_merge_symbol ().
Nick Clifton [Thu, 27 Jul 2000 22:35:08 +0000 (22:35 +0000)]
Zero the allocated contents of reloc sections.
Jeff Law [Thu, 27 Jul 2000 18:50:48 +0000 (18:50 +0000)]
Fix typo.
Frank Ch. Eigler [Thu, 27 Jul 2000 15:45:20 +0000 (15:45 +0000)]
* Usability improvement
2000-07-27 Frank Ch. Eigler <fche@redhat.com>
From Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* Makefile.in (install): Install run.1 man page.
Andrew Cagney [Thu, 27 Jul 2000 12:03:19 +0000 (12:03 +0000)]
Don't clean *.igen.
Andrew Cagney [Thu, 27 Jul 2000 11:56:34 +0000 (11:56 +0000)]
2000-06-23 Doug Evans <dje@casey.transmeta.com>
* Makefile.in (headers,nltvals.def): Merge.
Andrew Cagney [Thu, 27 Jul 2000 11:49:07 +0000 (11:49 +0000)]
2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* nrun.c (main): Print the simulator statistics only in
verbose mode.
* hw-properties.h (hw_find_integer_array_property): Fix
prototype (use signed_cell).
Andrew Cagney [Thu, 27 Jul 2000 11:37:34 +0000 (11:37 +0000)]
2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* sim-events.c (sim_events_remain_time): New function returning
the time that remains before the event is raised.
* hw-events.c (hw_event_remain_time): Likewise.
* sim-events.h (sim_events_remain_time): Declare.
* hw-events.h (hw_event_remain_time): Declare.
Andrew Cagney [Thu, 27 Jul 2000 11:34:30 +0000 (11:34 +0000)]
2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* sim-hw.c: Use <errno.h> instead of <sys/errno.h>
(OPTION_HW_LIST): New option --hw-list to list the devices.
(hw_option_handler): List the device tree with 'sim_hw_print'.
Andrew Cagney [Thu, 27 Jul 2000 11:29:14 +0000 (11:29 +0000)]
Add m68hc11 configry.
Andrew Cagney [Thu, 27 Jul 2000 11:23:39 +0000 (11:23 +0000)]
New simulator.
Andrew Cagney [Thu, 27 Jul 2000 11:07:01 +0000 (11:07 +0000)]
From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
* sim-bits.h (_MSB_16, _LSB_16): Define for 16-bit targets.
(MASK, LSBIT, MSBIT): Likewise and use _MSB_16 and _LSB_16.
(EXTENDED): Define for 16-bit word size.
* sim-bits.c (LSEXTRACTED, MSEXTRACTED, LSINSERTED,
MSINSERTED, LSSEXT, MSSEXT): Implement for 16-bit word size.
* sim-types.h: Added support for 16-bit targets.
Andrew Cagney [Thu, 27 Jul 2000 09:39:50 +0000 (09:39 +0000)]
* compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
correctly.
Andrew Cagney [Thu, 27 Jul 2000 07:18:32 +0000 (07:18 +0000)]
From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
* configure.tgt: Recognize the 68hc11.
* m68hc11-tdep.c: New file for 68hc11 target.
* config/m68hc11/m68hc11.mt: New file for 68hc11 port.
* configure.tgt: When 68hc11, set gdb_multi_arch.
Andrew Cagney [Thu, 27 Jul 2000 07:12:00 +0000 (07:12 +0000)]
Clarify texinfo/
Andrew Cagney [Thu, 27 Jul 2000 04:01:24 +0000 (04:01 +0000)]
Move GDB_MULTI_ARCH selection to configure*. Makes tm.h optional.
Jeff Law [Thu, 27 Jul 2000 02:01:17 +0000 (02:01 +0000)]
* config/mh-openedition.h: Added -DLE370 definition.
Jeff Law [Thu, 27 Jul 2000 01:49:21 +0000 (01:49 +0000)]
* pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
__DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
Cast program to 'char *' in errmsg_arg assignment.
(PWAIT_ERROR): Define.
(pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
to DJGPP's WIF* macros.
Michael Snyder [Thu, 27 Jul 2000 00:54:12 +0000 (00:54 +0000)]
2000-07-26 Jimmy Guo <guo@cup.hp.com>
* config/convex/tm-convex.h: Remove stray control characters.
* config/m68k/tm-altos.h: Ditto.
* config/tahoe/tm-tahoe.h: Ditto.
Jeff Law [Wed, 26 Jul 2000 23:30:27 +0000 (23:30 +0000)]
* getcwd.c: Include string.h, stdlib.h for prototypes
Jeff Law [Wed, 26 Jul 2000 23:24:05 +0000 (23:24 +0000)]
* Makefile.in (rename.o, waitpid.o): Depend on config.h
* rename.c: include config.h, unistd.h
* waitpid.c: include config.h, sys/wait.h
Elena Zannoni [Wed, 26 Jul 2000 23:04:44 +0000 (23:04 +0000)]
2000-07-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* sh-tdep.c (sh_sh4_register_name, sh_sh4_register_byte,
sh_sh4_register_raw_size, sh_sh4_register_virtual_type,
sh_fetch_pseudo_register, sh_store_pseudo_register,
sh_do_pseudo_register, sh_gdbarch_init): Fix names for pseudoregs,
they should be numbered as drx fvy where x and y are multiples of
2 and 4 respectively.
* config/sh/tm-sh.h: Fix names of pseudo regs.
Dave Brolley [Wed, 26 Jul 2000 22:45:49 +0000 (22:45 +0000)]
2000-07-26 Dave Brolley <brolley@redhat.com>
* cgen-opc.c (cgen_hw_lookup_by_name): 'i' is now unsigned.
(cgen_hw_lookup_by_num): Ditto.
(cgen_operand_lookup_by_name): Ditto.
(print_address): Ditto.
(print_keyword): Ditto.
* cgen-dis.c (hash_insn_array): Mark unused parameters with
ATTRIBUTE_UNUSED.
* cgen-asm.c (hash_insn_array): Mark unused parameters with
ATTRIBUTE_UNUSED.
(cgen_parse_keyword): Ditto.
Dave Brolley [Wed, 26 Jul 2000 22:44:42 +0000 (22:44 +0000)]
2000-07-26 Dave Brolley <brolley@redhat.com>
* cgen.h (cgen_hw_lookup_by_num): Second parameter is unsigned.
Elena Zannoni [Tue, 25 Jul 2000 20:41:07 +0000 (20:41 +0000)]
2000-07-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdbtk-cmds.c (map_arg_registers): Set numregs to include the
pseudo regs as well.
Geoffrey Keating [Tue, 25 Jul 2000 19:29:42 +0000 (19:29 +0000)]
* configure.host (*-*-aix*): AIX has 'long long' always.
Geoffrey Keating [Tue, 25 Jul 2000 19:25:40 +0000 (19:25 +0000)]
* coff-rs6000.c (xcoff_write_one_armap_big): New procedure.
(xcoff_write_armap_big): Write both 32-bit and 64-bit armaps.
(xcoff_write_archive_contents_big): Don't update the offset
of the symbol table, xcoff_write_armap will do it.
Elena Zannoni [Mon, 24 Jul 2000 20:39:21 +0000 (20:39 +0000)]
2000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* config/sh/tm-sh.h (struct gdbarch_tdep): Add sh4 specific
pseudo registers.
(DO_REGISTERS_INFO): Define.
* sh-tdep.c (sh_sh4_register_name): New function.
(sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update
signature.
(sh_show_regs_command): New function. Actual function called by
the 'regs' command.
(sh_register_byte): Rename to...
(sh_default_register_byte): ...New function.
(sh_sh4_register_byte): New function.
(sh_register_raw_size): Rename to...
(sh_default_register_raw_size): ...New function.
(sh_sh4_register_raw_size): New function.
(sh_sh4_register_virtual_type): New function.
(sh_sh4_build_float_register_type): New function.
(sh_fetch_pseudo_register, sh_store_pseudo_register): New
functions.
(fv_reg_base_num, dr_reg_base_num): New functions.
(do_fv_register_info, do_dr_register_info, sh_do_pseudo_register,
sh_do_fp_register, sh_do_register, sh_print_register,
sh_do_registers_info): New functions.
(sh_gdbarch_init): Initialize sh4 pseudo registers to -1. Update
architecture specific parts.
(_initialize_sh_tdep): Use sh_show_regs_command for 'regs' command.
Daniel Berlin [Mon, 24 Jul 2000 19:14:18 +0000 (19:14 +0000)]
Demangling fixes
Michael Snyder [Mon, 24 Jul 2000 18:13:27 +0000 (18:13 +0000)]
* printcmd.c (printf_command): Guard against 0-length string.
----------------------------------------------------------------------
Nick Clifton [Mon, 24 Jul 2000 17:22:17 +0000 (17:22 +0000)]
Regenerate auto-generated files
Jim Blandy [Mon, 24 Jul 2000 17:07:34 +0000 (17:07 +0000)]
*** empty log message ***
Jim Blandy [Mon, 24 Jul 2000 17:07:26 +0000 (17:07 +0000)]
* dwarf2read.c (read_structure_scope): Correct overzealous
addition of cu_header argument.
Anthony Green [Mon, 24 Jul 2000 14:49:05 +0000 (14:49 +0000)]
Updated TODO.
Anthony Green [Mon, 24 Jul 2000 14:44:16 +0000 (14:44 +0000)]
* gdb.java/configure.in (AC_INIT): Use jmisc.exp.
* gdb.java/configure: Rebuild.
Elena Zannoni [Mon, 24 Jul 2000 14:35:14 +0000 (14:35 +0000)]
2000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdbarch.sh: Add FETCH_PSEUDO_REGISTER and STORE_PSEUDO_REGISTER
to the gdbarch structure.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* inferior.h (FETCH_PSEUDO_REGISTER, STORE_PSEUDO_REGISTER):
Delete macros.
* regcache.c (write_register, read_register, write_register_bytes,
write_register_gen, read_register_bytes, read_register_gen):
Rename ARCH_FECTH_PSEUDO_REGISTERS to FETCH_PSEUDO_REGISTERS and
ARCH_STORE_PSEUDO_REGISTER to STORE_PSEUDO_REGISTER.
Elena Zannoni [Mon, 24 Jul 2000 14:25:22 +0000 (14:25 +0000)]
* gdbarch.sh: Add NUM_PSEUDO_REGS to the gdbarch structure.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* inferior.h (NUM_PSEUDO_REGS): Delete macro.
Eli Zaretskii [Mon, 24 Jul 2000 06:09:49 +0000 (06:09 +0000)]
* gdbmi.texinfo: Change GDB -> @value{GDBN}, and
(gdb) -> (@value{GDBP}). Fix a few typos and some markup. From
Dmitry S. Sivachenko <dima@Chg.RU>.
Anthony Green [Mon, 24 Jul 2000 05:04:19 +0000 (05:04 +0000)]
* language.c: Include jv-lang.h.
(lang_bool_type): Add case for java booleans.
And in testsuite...
* gdb.java/jv-exp.exp: New file.
Alexandre Oliva [Mon, 24 Jul 2000 04:34:56 +0000 (04:34 +0000)]
* Makefile.in (configure-target-libf2c): Depend on $(ALL_GCC).
(configure-target-libchill, configure-target-libobjc): Likewise.
Anthony Green [Mon, 24 Jul 2000 04:34:52 +0000 (04:34 +0000)]
* configure: Rebuilt.
* configure.in (configdirs): Add gdb.java.
* gdb.java/jmisc.java: New file.
* gdb.java/jmisc.exp: New file.
* gdb.java/Makefile.in: New file.
* gdb.java/configure: Rebuilt.
* gdb.java/configure.in: New file.
* lib/java.exp: New file.
Alexandre Oliva [Mon, 24 Jul 2000 04:34:08 +0000 (04:34 +0000)]
* configure.in: Use the same cache file for all target libs.
* config-ml.in: But different cache files per multilib variant.
Andrew Cagney [Mon, 24 Jul 2000 01:26:10 +0000 (01:26 +0000)]
Eliminate global address_size. Replace with function
read_comp_unit_head() and ``struct compu_unit_head'' parameter.
Include support for signed address case.
Fixes problem of global address size / sign being out-of-sync with
with current section.
Ulf Carlsson [Sun, 23 Jul 2000 20:51:35 +0000 (20:51 +0000)]
2000-07-23 Ulf Carlsson <ulfc@engr.sgi.com>
* elf32-mips.c (_bfd_mips_elf_check_relocs): Use abfd instead
of dynobj for SGI_COMPAT checks.
Jeff Law [Sun, 23 Jul 2000 19:20:18 +0000 (19:20 +0000)]
* configure.in (AC_CHECK_HEADERS): Add time.h.
(AC_HEADER_TIME): Add check.
* configure, config.in: Regenerate.
* getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
Jeff Law [Sun, 23 Jul 2000 17:42:34 +0000 (17:42 +0000)]
* configure (topsrcdir): Don't use dirname.
Jeff Law [Sun, 23 Jul 2000 16:05:33 +0000 (16:05 +0000)]
* aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
* configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
* configure, config.in: Regenerate.
* pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
Jeff Law [Sun, 23 Jul 2000 15:58:11 +0000 (15:58 +0000)]
* cp-demangle.c, mkstemps.c: #include <sys/types.h>.
Jason Merrill [Sat, 22 Jul 2000 08:20:10 +0000 (08:20 +0000)]
merge with gcc
Michael Snyder [Sat, 22 Jul 2000 00:15:30 +0000 (00:15 +0000)]
2000-07-21 Michael Snyder <msnyder@cleaver.cygnus.com>
* thread.c (thread_apply_all_command): Update thread list first.
Nick Clifton [Fri, 21 Jul 2000 23:40:12 +0000 (23:40 +0000)]
oops - omitted from previous delta
Nick Clifton [Fri, 21 Jul 2000 23:31:53 +0000 (23:31 +0000)]
Applied Michael's Sokolov's patch to implement --embedded-relocs for m68k coff.
Elena Zannoni [Fri, 21 Jul 2000 22:25:52 +0000 (22:25 +0000)]
2000-07-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* regcache.c (read_register, read_register_bytes): Fix typos.
Michael Snyder [Fri, 21 Jul 2000 20:52:27 +0000 (20:52 +0000)]
2000-07-21 Michael Snyder <msnyder@cleaver.cygnus.com>
* config/i386/tm-i386.h: treat PC and FP as unsigned.
(SAVED_PC_AFTER_CALL): Use read_memory_unsigned_integer.
(FRAME_SAVED_PC): Ditto.
(FRAME_CHAIN): Ditto.
Michael Snyder [Fri, 21 Jul 2000 20:03:08 +0000 (20:03 +0000)]
2000-07-20 Michael Snyder <msnyder@cleaver.cygnus.com>
* valarith.c (value_sub): Call check_typedef.
Nick Clifton [Fri, 21 Jul 2000 19:56:19 +0000 (19:56 +0000)]
Detect and report corrupt relocs
Jason Merrill [Fri, 21 Jul 2000 05:45:22 +0000 (05:45 +0000)]
merge with gcc
H.J. Lu [Fri, 21 Jul 2000 03:58:32 +0000 (03:58 +0000)]
2000-07-20 H.J. Lu <hjl@gnu.org>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't check
info->new_dtags when setting DT_FLAGS_1. It will only be set
by the new linker options. It shouldn't break anything.
H.J. Lu [Fri, 21 Jul 2000 02:16:31 +0000 (02:16 +0000)]
2000-07-20 H.J. Lu <hjl@gnu.org>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1
only if info->new_dtags is true.
H.J. Lu [Thu, 20 Jul 2000 21:19:33 +0000 (21:19 +0000)]
2000-07-20 H.J. Lu <hjl@gnu.org>
* bfdlink.h (bfd_link_info): Add new_dtags.
H.J. Lu [Thu, 20 Jul 2000 21:16:58 +0000 (21:16 +0000)]
2000-07-20 H.J. Lu <hjl@gnu.org>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set
DT_RUNPATH and DT_FLAGS only if info->new_dtags is true.
Jeff Law [Thu, 20 Jul 2000 20:22:28 +0000 (20:22 +0000)]
* cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
and print it with %u.
Jason Merrill [Thu, 20 Jul 2000 18:56:16 +0000 (18:56 +0000)]
merge with gcc
Hans-Peter Nilsson [Thu, 20 Jul 2000 18:03:17 +0000 (18:03 +0000)]
* config.sub: Update to subversions version 2000-07-06.
Hans-Peter Nilsson [Thu, 20 Jul 2000 16:56:18 +0000 (16:56 +0000)]
Revert spurious unrelated changes from last commit. Oops.
Hans-Peter Nilsson [Thu, 20 Jul 2000 16:46:28 +0000 (16:46 +0000)]
* Makefile.am (CFILES): Add cris-dis.c and cris-opc.c.
(ALL_MACHINES): Add cris-dis.lo and cris-opc.lo.
(cris-dis.lo, cris-opc.lo): New rules.
* Makefile.in: Rebuild.
* configure.in (bfd_cris_arch): New target.
* configure: Rebuild.
* disassemble.c (ARCH_cris): Define.
(disassembler): Support ARCH_cris.
* cris-dis.c, cris-opc.c: New files.
* po/POTFILES.in, po/opcodes.pot: Regenerate.
Hans-Peter Nilsson [Thu, 20 Jul 2000 16:35:18 +0000 (16:35 +0000)]
Fix typo in CRIS entry
Hans-Peter Nilsson [Thu, 20 Jul 2000 16:21:07 +0000 (16:21 +0000)]
* Makefile.am (ALL_MACHINES): Add cpu-cris.lo.
(ALL_MACHINES_CFILES): Add cpu-cris.c.
(BFD32_BACKENDS): Add aout-cris.lo and elf32-cris.lo.
(BFD32_BACKENDS_CFILES): Add aout-cris.c and elf32-cris.c.
(cpu-cris.lo, aout-cris.lo, elf32-cris.lo): New rules.
* Makefile.in: Rebuild.
* aclocal.m4: Rebuild.
* aoutx.h (NAME(aout,machine_type)): Add case for bfd_arch_cris.
* archures.c (enum bfd_architecture): Add bfd_arch_cris.
(bfd_cris_arch): Declare.
(bfd_archures_list): Add bfd_cris_arch.
* bfd-in2.h: Rebuild.
* config.bfd: (cris-*-*): New target.
* configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vectors.
* configure: Rebuild.
* elf.c (prep_headers): Add bfd_arch_cris.
* libbfd.h: Rebuild.
* libaout.h (enum machine_type): Add M_CRIS.
* reloc.c: Add CRIS relocations.
* targets.c (bfd_target bfd_elf32_cris_vec, cris_aout_vec):
Declare.
(bfd_target_vect): Add bfd_elf32_cris_vec and cris_aout_vec.
* cpu-cris.c, aout-cris.c, elf32-cris.c: New files.
* po/POTFILES.in, po/bfd.pot: Regenerate.
Hans-Peter Nilsson [Thu, 20 Jul 2000 15:44:56 +0000 (15:44 +0000)]
common.h (EM_CRIS): New machine number.
cris.h: New file.
Hans-Peter Nilsson [Thu, 20 Jul 2000 15:39:41 +0000 (15:39 +0000)]
cris.h: New file.
Hans-Peter Nilsson [Thu, 20 Jul 2000 15:36:12 +0000 (15:36 +0000)]
* dis-asm.h (print_insn_cris): Declare.
H.J. Lu [Thu, 20 Jul 2000 03:23:03 +0000 (03:23 +0000)]
2000-07-19 H.J. Lu (hjl@gnu.org)
* bfdlink.h (bfd_link_info): Add flags and flags_1.
H.J. Lu [Thu, 20 Jul 2000 03:21:59 +0000 (03:21 +0000)]
2000-07-19 H.J. Lu <hjl@gnu.org>
* elf32-arm.h (elf32_arm_size_dynamic_sections): Also set
DF_TEXTREL if DT_TEXTREL is set.
* elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
* elf32-i386.c (elf_i386_size_dynamic_sections): Likewise.
* elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
* elf32-mips.c (_bfd_mips_elf_size_dynamic_sections): Likewise.
* elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise.
* elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise.
* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise.
* elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
* elf64-ia64.c (elf64_ia64_size_dynamic_sections): Likewise.
* elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise.
* bfd/elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also
set DF_SYMBOLIC for symbolic link. Also set DT_RUNPATH if
DT_RPATH is set.
Set the DT_FLAGS and DT_FLAGS_1 entries if necessary.
H.J. Lu [Thu, 20 Jul 2000 03:16:18 +0000 (03:16 +0000)]
2000-07-19 H.J. Lu <hjl@gnu.org>
* bfd-in.h (bfd_elf_set_dt_needed_soname): New.
* bfd-in2.h: Rebuild.
* elf-bfd.h (elf_obj_tdata): Add dt_soname.
(elf_dt_soname): New.
* elf.c (bfd_elf_set_dt_needed_soname): New.
* elflink.h (elf_link_add_object_symbols): Add the DT_NEEDED
entry if the shared object loaded by DT_NEEDED is used to
resolve the reference in a regular object.
H.J. Lu [Thu, 20 Jul 2000 02:19:23 +0000 (02:19 +0000)]
2000-07-19 H.J. Lu <hjl@gnu.org>
* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_CONFIG,
DT_DEPAUDIT and DT_AUDIT as strings.
Nick Clifton [Thu, 20 Jul 2000 00:31:39 +0000 (00:31 +0000)]
Fix formatting
Andrew Cagney [Thu, 20 Jul 2000 00:02:22 +0000 (00:02 +0000)]
* m16.igen (break): Call SignalException not sim_engine_halt.
Nicholas Duffek [Wed, 19 Jul 2000 21:03:06 +0000 (21:03 +0000)]
* thread.c (free_thread): New function.
(init_thread_list): Always zero highest_thread_num. Call
free_thread() instead of free().
(delete_thread): Move thread cleanup code to free_thread().
H.J. Lu [Wed, 19 Jul 2000 18:43:35 +0000 (18:43 +0000)]
2000-07-19 H.J. Lu <hjl@gnu.org>
* common.h (DF_1_NODEFLIB): Renamed from DF_1_NODEPLIB.
H.J. Lu [Wed, 19 Jul 2000 18:26:38 +0000 (18:26 +0000)]
2000-07-19 H.J. Lu <hjl@gnu.org>
* elf.c (_bfd_elf_print_private_bfd_data): Fix DT_CHECKSUM.
H.J. Lu [Wed, 19 Jul 2000 18:22:41 +0000 (18:22 +0000)]
2000-07-19 H.J. Lu <hjl@gnu.org>
* common.h (DT_CHECKSUM): Set to 0x6ffffdf8.
(DTF_1_CONFEXP): It is 0x00000002 as suspected.
H.J. Lu [Wed, 19 Jul 2000 18:02:31 +0000 (18:02 +0000)]
2000-07-19 H.J. Lu <hjl@gnu.org>
* common.h (DT_FEATURE): Renamed from DT_FEATURE_1.
(DT_CONFIG): New. From Solaris 8.
(DT_DEPAUDIT): Likewise.
(DT_AUDIT): Likewise.
(DT_PLTPAD): Likewise.
(DT_MOVETAB): Likewise.
(DF_1_NODEPLIB): Likewise.
(DF_1_NODUMP): Likewise.
(DF_1_CONLFAT): Likewise.
(DT_CHECKSUM): Likewise. FIXME. Check the value on Solaris 8.
(DTF_1_CONFEXP): Likewise.
H.J. Lu [Wed, 19 Jul 2000 18:02:13 +0000 (18:02 +0000)]
2000-07-19 H.J. Lu <hjl@gnu.org>
* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_BIND_NOW,
DT_INIT_ARRAY, DT_FINI_ARRAY, DT_INIT_ARRAYSZ, DT_FINI_ARRAYSZ,
DT_RUNPATH, DT_FLAGS, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ,
DT_PLTPADSZ, DT_MOVEENT, DT_MOVESZ, DT_FEATURE, DT_POSFLAG_1,
DT_SYMINSZ, DT_SYMINENT, DT_CONFIG, DT_DEPAUDIT, DT_AUDIT,
DT_PLTPAD, DT_MOVETAB, DT_SYMINFO, DT_RELACOUNT, DT_RELCOUNT,
DT_FLAGS_1, DT_USED and DT_CHECKSUM.
Elena Zannoni [Wed, 19 Jul 2000 14:11:42 +0000 (14:11 +0000)]
2000-07-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Multiarch the sh target.
* sh-tdep.c:
(sh_generic_reg_names, sh_reg_names,sh3_reg_names, sh3e_reg_names,
sh_dsp_reg_names, sh3_dsp_reg_names, sh_processor_type_table):
Remove.
(XMALLOC): Define.
(struct frame_extra_info): Define.
(sh_register_raw_size, sh_register_virtual_size,
sh_register_virtual_type, sh_register_byte, sh_breakpoint_from_pc,
sh_frame_saved_pc, sh_skip_prologue,
sh_nofp_frame_init_saved_regs, sh_fp_frame_init_saved_regs,
sh_extract_struct_value_address, sh_use_struct_convention,
sh_store_struct_return, sh_push_arguments, sh_push_return_address,
sh_saved_pc_after_call, sh_generic_register_name,
sh_sh_register_name, sh_sh3_register_name, sh_sh3e_register_name,
sh_sh_dsp_register_name, sh_sh3_dsp_register_name,
sh_frame_args_address, sh_frame_locals_address,
sh_coerce_float_to_double, sh_default_store_return_value,
sh3e_sh4_store_return_value, sh_generic_show_regs,
sh3_show_regs,sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs,
sh_dsp_show_regs, sh_register_byte, sh_register_raw_size,
sh_register_virtual_size, sh_sh3e_register_virtual_type,
sh_default_register_virtual_type, sh_gdbarch_init): New functions.
(sh_target_architecture_hook, sh_frame_find_saved_regs,
sh_show_regs): Delete functions.
(sh_frame_chain, sh_find_callers_reg, sh_init_extra_frame_info,
sh_pop_frame, sh_extract_return_value): Update
* config/sh/tm-sh.h (GDB_MULTI_ARCH): Define to 1.
(struct gdbarch_tdep): Define.
Remove all unnecessary defines.
* remote-e7000.c ({PR,GBR,SR,MACL,VBR,MACH}_REGNUM): Define to -1,
for h8300 case.
(want_sh,want_nopc_sh,want_nopc_sh3): Make nomenclature
consistent.
(e7000_fetch_registers): Remove ifdef GDB_TARGET_IS_SH, use
runtime check instead.
(e7000_wait): Ditto.
* sh3-rom.c (sh3_supply_register): Use gdbarch_tdep to get the SSR
and SPC register numbers.
(sh3_regnames, sh3e_regnames): Don't specify a size.
* config/h8300/tm-h8300.h: Add comment.
Andrew Cagney [Wed, 19 Jul 2000 02:55:55 +0000 (02:55 +0000)]
* solib.c (elf_locate_base, info_sharedlibrary_command): Rename
bfd_elf_get_arch_size to bfd_get_arch_size.
Christopher Faylor [Wed, 19 Jul 2000 02:14:19 +0000 (02:14 +0000)]
Fix typo.