external/binutils.git
24 years agoAdd some shell variables and shell code to elf32.em
Alan Modra [Fri, 28 Jul 2000 01:33:14 +0000 (01:33 +0000)]
Add some shell variables and shell code to elf32.em
to allow elf32.em to be used by ports that require
some minor variations or a few extra functions.
Implement for hppaelf and armelf.
Fix header file include order in m68kcoff.em

24 years agoMove functions around in preparation for next patch
Alan Modra [Fri, 28 Jul 2000 01:07:09 +0000 (01:07 +0000)]
Move functions around in preparation for next patch

24 years agoImplement -taso command line option.
Nick Clifton [Fri, 28 Jul 2000 00:57:45 +0000 (00:57 +0000)]
Implement -taso command line option.

24 years ago2000-07-27 H.J. Lu <hjl@gnu.org>
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 ().

24 years agoFix formatting
Nick Clifton [Fri, 28 Jul 2000 00:42:18 +0000 (00:42 +0000)]
Fix formatting

24 years agoZero the allocated contents of reloc sections.
Nick Clifton [Thu, 27 Jul 2000 22:35:08 +0000 (22:35 +0000)]
Zero the allocated contents of reloc sections.

24 years agoFix typo.
Jeff Law [Thu, 27 Jul 2000 18:50:48 +0000 (18:50 +0000)]
Fix typo.

24 years ago* Usability improvement
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.

24 years agoDon't clean *.igen.
Andrew Cagney [Thu, 27 Jul 2000 12:03:19 +0000 (12:03 +0000)]
Don't clean *.igen.

24 years ago2000-06-23 Doug Evans <dje@casey.transmeta.com>
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.

24 years ago2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
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).

24 years ago2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
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.

24 years ago2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
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'.

24 years agoAdd m68hc11 configry.
Andrew Cagney [Thu, 27 Jul 2000 11:29:14 +0000 (11:29 +0000)]
Add m68hc11 configry.

24 years agoNew simulator.
Andrew Cagney [Thu, 27 Jul 2000 11:23:39 +0000 (11:23 +0000)]
New simulator.

24 years agoFrom 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
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.

24 years ago* compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
Andrew Cagney [Thu, 27 Jul 2000 09:39:50 +0000 (09:39 +0000)]
* compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
correctly.

24 years agoFrom 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
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.

24 years agoClarify texinfo/
Andrew Cagney [Thu, 27 Jul 2000 07:12:00 +0000 (07:12 +0000)]
Clarify texinfo/

24 years agoKazu Hirata's formatting fixes.
Alan Modra [Thu, 27 Jul 2000 04:05:05 +0000 (04:05 +0000)]
Kazu Hirata's formatting fixes.

24 years agoMove GDB_MULTI_ARCH selection to configure*. Makes tm.h optional.
Andrew Cagney [Thu, 27 Jul 2000 04:01:24 +0000 (04:01 +0000)]
Move GDB_MULTI_ARCH selection to configure*.  Makes tm.h optional.

24 years ago * config/mh-openedition.h: Added -DLE370 definition.
Jeff Law [Thu, 27 Jul 2000 02:01:17 +0000 (02:01 +0000)]
    * config/mh-openedition.h: Added -DLE370 definition.

24 years ago * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
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.

24 years ago* nm.c (main): Ignore '-X32_64' as an option.
Geoffrey Keating [Thu, 27 Jul 2000 01:39:45 +0000 (01:39 +0000)]
* nm.c (main): Ignore '-X32_64' as an option.
* ar.c (main): Likewise.
* binutils.texi (nm): Document new option.
(ar): Likewise.

24 years ago2000-07-26 Jimmy Guo <guo@cup.hp.com>
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.

24 years ago * getcwd.c: Include string.h, stdlib.h for prototypes
Jeff Law [Wed, 26 Jul 2000 23:30:27 +0000 (23:30 +0000)]
    * getcwd.c: Include string.h, stdlib.h for prototypes

24 years ago * Makefile.in (rename.o, waitpid.o): Depend on config.h
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

24 years ago2000-07-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
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.

24 years ago2000-07-26 Dave Brolley <brolley@redhat.com>
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.

24 years ago2000-07-26 Dave Brolley <brolley@redhat.com>
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.

24 years agoWrong date on last entry.
Dave Brolley [Wed, 26 Jul 2000 22:40:39 +0000 (22:40 +0000)]
Wrong date on last entry.

24 years ago2000-07-26 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 26 Jul 2000 22:39:08 +0000 (22:39 +0000)]
2000-07-26  Dave Brolley  <brolley@redhat.com>

* cgen.c (queue_fixup): Declare opinfo.
(gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED.
(gas_cgen_md_operand): Ditto.
(gas_cgen_md_apply_fix3): Ditto.

24 years agoAdssign copyright to FSF
Nick Clifton [Wed, 26 Jul 2000 19:59:35 +0000 (19:59 +0000)]
Adssign copyright to FSF

24 years ago* configure.host (*-*-aix*): AIX has 'long long' always.
Geoffrey Keating [Tue, 25 Jul 2000 19:29:42 +0000 (19:29 +0000)]
* configure.host (*-*-aix*): AIX has 'long long' always.

24 years ago* coff-rs6000.c (xcoff_write_one_armap_big): New procedure.
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.

24 years agoFile not needed - it is provided at the top level
Nick Clifton [Mon, 24 Jul 2000 22:06:51 +0000 (22:06 +0000)]
File not needed - it is provided at the top level

24 years agoAdd GPL copyright notices to uncopyrighted files.
Nick Clifton [Mon, 24 Jul 2000 20:59:04 +0000 (20:59 +0000)]
Add GPL copyright notices to uncopyrighted files.
Add copy of GPL.

24 years ago2000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
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.

24 years agoDemangling fixes
Daniel Berlin [Mon, 24 Jul 2000 19:14:18 +0000 (19:14 +0000)]
Demangling fixes

24 years ago * printcmd.c (printf_command): Guard against 0-length string.
Michael Snyder [Mon, 24 Jul 2000 18:13:27 +0000 (18:13 +0000)]
    * printcmd.c (printf_command): Guard against 0-length string.

----------------------------------------------------------------------

24 years ago* config/obj-coff.c (obj_frob_symbol): Don't merge
DJ Delorie [Mon, 24 Jul 2000 17:50:35 +0000 (17:50 +0000)]
* config/obj-coff.c (obj_frob_symbol): Don't merge
labels. Don't merge if the symbol isn't constant. Return
immediately if a symbol is merged.

24 years agoRegenerate auto-generated files
Nick Clifton [Mon, 24 Jul 2000 17:22:17 +0000 (17:22 +0000)]
Regenerate auto-generated files

24 years ago*** empty log message ***
Jim Blandy [Mon, 24 Jul 2000 17:07:34 +0000 (17:07 +0000)]
*** empty log message ***

24 years ago* dwarf2read.c (read_structure_scope): Correct overzealous
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.

24 years ago2000-07-24 H.J. Lu (hjl@gnu.org)
H.J. Lu [Mon, 24 Jul 2000 15:40:20 +0000 (15:40 +0000)]
2000-07-24  H.J. Lu  (hjl@gnu.org)

* ld-elfvsb/elfvsb.exp: Add -g to $CC to get the location of
the undefined reference.

24 years agoUpdated TODO.
Anthony Green [Mon, 24 Jul 2000 14:49:05 +0000 (14:49 +0000)]
Updated TODO.

24 years ago * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
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.

24 years ago2000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
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.

24 years ago2000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 24 Jul 2000 14:29:23 +0000 (14:29 +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.

24 years ago * gdbarch.sh: Add NUM_PSEUDO_REGS to the gdbarch structure.
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.

24 years ago * gdbmi.texinfo: Change GDB -> @value{GDBN}, and
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>.

24 years ago * language.c: Include jv-lang.h.
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.

24 years ago* Makefile.in (configure-target-libf2c): Depend on $(ALL_GCC).
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.

24 years ago * configure: Rebuilt.
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.

24 years ago* configure.in: Use the same cache file for all target libs.
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.

24 years agoEliminate global address_size. Replace with function
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.

24 years ago2000-07-23 Ulf Carlsson <ulfc@engr.sgi.com>
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.

24 years ago * configure.in (AC_CHECK_HEADERS): Add time.h.
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>.

24 years ago * configure (topsrcdir): Don't use dirname.
Jeff Law [Sun, 23 Jul 2000 17:42:34 +0000 (17:42 +0000)]
* configure (topsrcdir): Don't use dirname.

24 years ago * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
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.

24 years ago * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
Jeff Law [Sun, 23 Jul 2000 15:58:11 +0000 (15:58 +0000)]
    * cp-demangle.c, mkstemps.c: #include <sys/types.h>.

24 years ago(external_coff_symbol_p): K&R-ise.
Alan Modra [Sun, 23 Jul 2000 08:19:25 +0000 (08:19 +0000)]
(external_coff_symbol_p): K&R-ise.

24 years agomerge with gcc
Jason Merrill [Sat, 22 Jul 2000 08:20:10 +0000 (08:20 +0000)]
merge with gcc

24 years agoCorrect absolute section alignment.
Alan Modra [Sat, 22 Jul 2000 04:23:48 +0000 (04:23 +0000)]
Correct absolute section alignment.

24 years ago2000-07-21 Michael Snyder <msnyder@cleaver.cygnus.com>
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.

24 years agooops - omitted from previous delta
Nick Clifton [Fri, 21 Jul 2000 23:40:12 +0000 (23:40 +0000)]
oops - omitted from previous delta

24 years agoApplied Michael's Sokolov's patch to implement --embedded-relocs for m68k coff.
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.

24 years ago2000-07-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
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.

24 years ago2000-07-21 Michael Snyder <msnyder@cleaver.cygnus.com>
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.

24 years ago2000-07-20 Michael Snyder <msnyder@cleaver.cygnus.com>
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.

24 years agoDetect and report corrupt relocs
Nick Clifton [Fri, 21 Jul 2000 19:56:19 +0000 (19:56 +0000)]
Detect and report corrupt relocs

24 years agomerge with gcc
Jason Merrill [Fri, 21 Jul 2000 05:45:22 +0000 (05:45 +0000)]
merge with gcc

24 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
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.

24 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
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.

24 years agoForgot to commit ChangeLog entry for CRIS gas tests. Oops.
Hans-Peter Nilsson [Fri, 21 Jul 2000 00:57:47 +0000 (00:57 +0000)]
Forgot to commit ChangeLog entry for CRIS gas tests.  Oops.

24 years ago * gas/cris/*: New tests for CRIS.
Hans-Peter Nilsson [Fri, 21 Jul 2000 00:48:55 +0000 (00:48 +0000)]
* gas/cris/*: New tests for CRIS.

24 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 21 Jul 2000 00:09:48 +0000 (00:09 +0000)]
2000-07-20  H.J. Lu  <hjl@gnu.org>

* binutils/binutils.texi: Put back "@end table" deleted by
accident.

24 years ago* config/obj-coff.c (obj_frob_symbol): revert previous change,
DJ Delorie [Thu, 20 Jul 2000 23:38:05 +0000 (23:38 +0000)]
* config/obj-coff.c (obj_frob_symbol): revert previous change,
it breaks linking against DLLs.

24 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 20 Jul 2000 21:59:40 +0000 (21:59 +0000)]
2000-07-20  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
and "disable-new-dtags" to stop getopt from treating -d/-e as
abbreviations for these options.

24 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
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.

24 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 20 Jul 2000 21:18:23 +0000 (21:18 +0000)]
2000-07-20  H.J. Lu  <hjl@gnu.org>

* ld.texinfo: Add documentation for --disable-new-dtags and
--enable-new-dtags.

* ldmain.c (main): Initialize link_info.new_dtags to false.

* emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
--disable-new-dtags and --enable-new-dtags.
(gld_${EMULATION_NAME}_list_options): Likewise.

24 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
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.

24 years ago * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
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.

24 years agoFix formatting.
Nick Clifton [Thu, 20 Jul 2000 20:07:09 +0000 (20:07 +0000)]
Fix formatting.

24 years agomerge with gcc
Jason Merrill [Thu, 20 Jul 2000 18:56:16 +0000 (18:56 +0000)]
merge with gcc

24 years ago * config.sub: Update to subversions version 2000-07-06.
Hans-Peter Nilsson [Thu, 20 Jul 2000 18:03:17 +0000 (18:03 +0000)]
* config.sub: Update to subversions version 2000-07-06.

24 years agoAdd optional style argument to --demangle switch.
Nick Clifton [Thu, 20 Jul 2000 18:02:56 +0000 (18:02 +0000)]
Add optional style argument to --demangle switch.

24 years ago * gas/all/gas.exp: Don't run floating-point tests on CRIS.
Hans-Peter Nilsson [Thu, 20 Jul 2000 17:53:38 +0000 (17:53 +0000)]
* gas/all/gas.exp: Don't run floating-point tests on CRIS.
* gas/ieee-fp/x930509a.exp: Ditto.
* gas/macros/macros.exp: Mark strings test xfail for CRIS.

24 years ago * configure.in: Add CRIS support.
Hans-Peter Nilsson [Thu, 20 Jul 2000 17:45:28 +0000 (17:45 +0000)]
* configure.in: Add CRIS support.
* configure: Regenerate.
* Makefile.am: (CPU_TYPES): Add cris.
(CPU_OBJ_VALID) [aout]: Add cris.
(MULTI_CPU_TYPES): Add cris.
(MULTI_CPU_OBJ_VALID) [aout]: Add cris.
  [coff]: Only i386 and mips are valid.
(TARGET_CPU_CFILES): Add config/tc-cris.c.
(TARGET_CPU_HFILES): Add config/tc-cris.h.
(MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* as.c: Declare crisaout, criself.
* config/tc-cris.h, config/tc-cris.c: New.
* config/e-criself.c, config/e-crisaout.c: New.
* po/POTFILES.in, po/gas.pot: Regenerate.

24 years ago * MAINTAINERS: Add self as CRIS port maintainer.
Hans-Peter Nilsson [Thu, 20 Jul 2000 17:28:56 +0000 (17:28 +0000)]
* MAINTAINERS: Add self as CRIS port maintainer.
* readelf.c: Include elf/cris.h.
(guess_is_rela): Handle EM_CRIS.
(dump_relocations): Ditto.
(get_machine_name): Ditto.
* Makefile.am: Rebuild dependencies.
* Makefile.in: Regenerate.
* po/binutils.pot: Regenerate.

24 years ago * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
Hans-Peter Nilsson [Thu, 20 Jul 2000 17:16:06 +0000 (17:16 +0000)]
* Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
ecrislinux.o.
(ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
Regenerate dependencies.
* Makefile.in: Rebuild.
* configure.tgt (cris-*-*): New target.
* emulparams/crisaout.sh, emulparams/criself.sh,
emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
* po/POTFILES.in, po/ld.pot: Regenerate.

24 years agoFix formatting.
Nick Clifton [Thu, 20 Jul 2000 17:12:25 +0000 (17:12 +0000)]
Fix formatting.

24 years agoRevert spurious unrelated changes from last commit. Oops.
Hans-Peter Nilsson [Thu, 20 Jul 2000 16:56:18 +0000 (16:56 +0000)]
Revert spurious unrelated changes from last commit.  Oops.

24 years ago * Makefile.am (CFILES): Add cris-dis.c and cris-opc.c.
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.

24 years agoFix typo in CRIS entry
Hans-Peter Nilsson [Thu, 20 Jul 2000 16:35:18 +0000 (16:35 +0000)]
Fix typo in CRIS entry

24 years ago * Makefile.am (ALL_MACHINES): Add cpu-cris.lo.
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.

24 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 20 Jul 2000 16:13:26 +0000 (16:13 +0000)]
2000-07-20  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
Print out ignored -z options.

24 years ago common.h (EM_CRIS): New machine number.
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.

24 years ago cris.h: New file.
Hans-Peter Nilsson [Thu, 20 Jul 2000 15:39:41 +0000 (15:39 +0000)]
cris.h: New file.

24 years ago * dis-asm.h (print_insn_cris): Declare.
Hans-Peter Nilsson [Thu, 20 Jul 2000 15:36:12 +0000 (15:36 +0000)]
* dis-asm.h (print_insn_cris): Declare.