external/binutils.git
24 years ago* acinclude.m4: Include libtool and gettext macros from the
Alexandre Oliva [Thu, 31 Aug 2000 09:46:11 +0000 (09:46 +0000)]
* acinclude.m4: Include libtool and gettext macros from the
top level.
* aclocal.m4, configure: Rebuilt.

24 years ago* ltconfig, ltmain.sh: Updated from libtool multi-language branch.
Alexandre Oliva [Thu, 31 Aug 2000 09:25:11 +0000 (09:25 +0000)]
* ltconfig, ltmain.sh: Updated from libtool multi-language branch.
* libtool.m4, ltcf-c.sh: Copied from libtool multi-language branch.
* gettext.m4: New file, extracted from aclocal.m4.

24 years agoIn src/gas/ChangeLog:
Geoffrey Keating [Thu, 31 Aug 2000 06:48:49 +0000 (06:48 +0000)]
In src/gas/ChangeLog:
2000-08-30  Mark Hatle  <mhatle@mvista.com>

* config/tc-ppc.c (md_parse_option): Recognize -m405.

In src/opcodes/ChangeLog:
2000-08-30  Mark Hatle  <mhatle@mvista.com>

* ppc-opc.c Add XTLB macro for a few PPC 4xx extended mnemonics.
(powerpc_opcodes): Add table entries for PPC 405 instructions.
Changed rfci, icbt, mfdcr, dccci, mtdcr, iccci from PPC to PPC403
instructions.
Added extended mnemonic mftbl as defined in the 405GP manual
for all PPCs.

24 years ago2000-08-31 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 31 Aug 2000 06:11:03 +0000 (06:11 +0000)]
2000-08-31  Kazu Hirata  <kazu@hxi.com>

* listing.c: Fix formatting.

24 years agoProtoization.
Kevin Buettner [Thu, 31 Aug 2000 03:19:06 +0000 (03:19 +0000)]
Protoization.

24 years agoRename bfd_elf_get_arch_size to bfd_get_arch_size().
Kevin Buettner [Thu, 31 Aug 2000 00:39:10 +0000 (00:39 +0000)]
Rename bfd_elf_get_arch_size to bfd_get_arch_size().

24 years ago* resrc.c (close_input_stream): delete extraneous logic
DJ Delorie [Wed, 30 Aug 2000 23:06:03 +0000 (23:06 +0000)]
* resrc.c (close_input_stream): delete extraneous logic

24 years ago* ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf,
Alexandre Oliva [Wed, 30 Aug 2000 22:01:47 +0000 (22:01 +0000)]
* ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf,
sh-*-*): With dwarf-2, `undefined function' can't pass.

24 years agoApplied patch from David Edelsohn <dje@watson.ibm.com>.
Kevin Buettner [Wed, 30 Aug 2000 20:35:26 +0000 (20:35 +0000)]
Applied patch from David Edelsohn <dje@watson.ibm.com>.

24 years ago2000-08-30 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 30 Aug 2000 18:51:25 +0000 (18:51 +0000)]
2000-08-30  Kazu Hirata  <kazu@hxi.com>

* tic80-dis.c: Fix formatting.

24 years ago2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Wed, 30 Aug 2000 18:12:21 +0000 (18:12 +0000)]
2000-08-29  Michael Snyder  <msnyder@seadog.cygnus.com>

        * elf.c: Eliminate references to __sparcv9 macro; replace with
        autoconf variables HAVE_PSINFO32_T etc.
        * configure.in: Auto-configure HAVE_PSINFO_32_T, HAVE_PRPSINFO32_T,
        HAVE_PSTATUS32_T, HAVE_PRSTATUS32_T, HAVE_PRSTATUS32_T_PR_WHO.
        * config.in: Ditto.
        * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE) define _SYSCALL32 so it can
        detect the above typedefs.  (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Ditto.
        * aclocal.m4: Ditto.
        * configure: Regenerate.

24 years ago2000-08-29 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 30 Aug 2000 03:55:39 +0000 (03:55 +0000)]
2000-08-29  Kazu Hirata  <kazu@hxi.com>

* w65-dis.c: Fix formatting.

24 years ago2000-08-29 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 30 Aug 2000 03:51:46 +0000 (03:51 +0000)]
2000-08-29  Kazu Hirata  <kazu@hxi.com>

* app.c: Fix a comment typo.  Fix formatting.

24 years ago2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Wed, 30 Aug 2000 00:58:58 +0000 (00:58 +0000)]
2000-08-29  Michael Snyder  <msnyder@seadog.cygnus.com>

        * valops.c (value_cast): Indentation fix-up.
        * acconfig.h (HAVE_PRGREGSET32_T, HAVE_PRFPREGSET32_T,
        HAVE_STRUCT_LINK_MAP32): New configure macros.
        * config.in: Ditto.
        * configure.in: Test for the above new macros.
        * breakpoint.c: Update copyright date.
        * core-sol2.c: Include v9/sys/privregs.h directly to
        work around a bug in Sun's Solaris 8 header files.
        (fetch_core_registers): Use the above new configure macros to
        handle cross-debugging of 32-bit core files on a 64-bit host.
        * sol-thread.c (ps_pdmodel) New function.
        (rw_common): For debugging of 32-bit apps on a 64-bit host,
        truncate addresses to 32 bits.
        * solib.c (solib_extract_address): Functionize.  Make 32/64 aware.
        (LM_ADDR, LM_NEXT, LM_NAME): Ditto.
        (IGNORE_FIRST_LINK_MAP): Ditto.
        (first_link_map_member): Make 32/64 aware.
        (open_symbol_file_object): Ditto.
        (current_sos): Ditto.

24 years ago2000-08-29 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 29 Aug 2000 23:31:10 +0000 (23:31 +0000)]
2000-08-29  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * i386-linux-nat.c (i386_linux_skip_solib_resolver,
        skip_hurd_resolver, find_minsym_and_objfile): Move these
        solib functions into i386-linux-tdep.c for cross debugging.
        * i386-linux-tdep.c: Receive the above functions.

24 years agoFix stack offset correction for 68hc11
Stephane Carrez [Tue, 29 Aug 2000 19:12:27 +0000 (19:12 +0000)]
Fix stack offset correction for 68hc11

24 years agoFix some ia64 gas failures.
Timothy Wall [Tue, 29 Aug 2000 12:15:51 +0000 (12:15 +0000)]
Fix some ia64 gas failures.

24 years agoProtoization.
Kevin Buettner [Tue, 29 Aug 2000 01:56:59 +0000 (01:56 +0000)]
Protoization.

24 years agoFix segfault from last memory-leak fixing patch.
Jim Wilson [Mon, 28 Aug 2000 22:08:36 +0000 (22:08 +0000)]
Fix segfault from last memory-leak fixing patch.
* ia64-dis.c (print_insn_ia64): Add failed label after ia64_free_opcode
call.  Change last goto to use failed instead of done.

24 years ago* i386-linux-nat.c (fetch_inferior_registers): Move call to
Mark Kettenis [Mon, 28 Aug 2000 21:54:37 +0000 (21:54 +0000)]
* i386-linux-nat.c (fetch_inferior_registers): Move call to
dummy_sse_values ...
(supply_fpregset): ... here.

24 years ago2000-08-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 28 Aug 2000 18:20:30 +0000 (18:20 +0000)]
2000-08-28  Dave Brolley  <brolley@redhat.com>

* Makefile.in: Use of @true confuses VPATH. Remove it.
* cpu.h: Regenerated.
* cpux.h: Regenerated.
* decode.c: Regenerated.
* decodex.c: Regenerated.
* model.c: Regenerated.
* modelx.c: Regenerated.
* sem-switch.c: Regenerated.
* sem.c: Regenerated.
* semx-switch.c: Regenerated.

24 years ago2000-08-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 28 Aug 2000 18:19:41 +0000 (18:19 +0000)]
2000-08-28  Dave Brolley  <brolley@redhat.com>

* cpu.h: Regenerated.
* decode.c: Regenerated.

24 years ago2000-08-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 28 Aug 2000 18:18:49 +0000 (18:18 +0000)]
2000-08-28  Dave Brolley  <brolley@redhat.com>

* cgen-trace.c (sim_cgen_disassemble_insn): Make sure entire insn is
in insn_value if it will fit.

24 years ago2000-08-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 28 Aug 2000 18:17:54 +0000 (18:17 +0000)]
2000-08-28  Dave Brolley  <brolley@redhat.com>

* cgen-ibld.in (cgen_put_insn_int_value): New function.
(insert_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
(insert_insn_normal): Use cgen_put_insn_int_value with CGEN_INT_INSN_P.
(extract_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
* cgen-dis.in (read_insn): New static function.
(print_insn): Use read_insn to read the insn into the buffer and set
up for disassembly.
(print_insn): in CGEN_INT_INSN_P, make sure that the entire insn is
in the buffer.
* fr30-asm.c: Regenerated.
* fr30-desc.c: Regenerated.
* fr30-desc.h Regenerated.
* fr30-dis.c: Regenerated.
* fr30-ibld.c: Regenerated.
* fr30-opc.c: Regenerated.
* fr30-opc.h Regenerated.
* m32r-asm.c: Regenerated.
* m32r-desc.c: Regenerated.
* m32r-desc.h Regenerated.
* m32r-dis.c: Regenerated.
* m32r-ibld.c: Regenerated.
* m32r-opc.c: Regenerated.

24 years ago2000-08-28 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 28 Aug 2000 16:37:55 +0000 (16:37 +0000)]
2000-08-28  Kazu Hirata  <kazu@hxi.com>

* tic30-dis.c: Fix formatting.

24 years ago2000-08-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Sun, 27 Aug 2000 22:30:29 +0000 (22:30 +0000)]
2000-08-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* pa64solib.c (pa64_solib_load_symbols): Don't use ANOFFSET as an
  lvalue.
* xcoffread.c (xcoff_symfile_offsets): Ditto
* somsolib.c (som_solib_section_offsets): Ditto.
* somread.c (som_symfile_offsets): Ditto.
* rs6000-nat.c (vmap_symtab): Ditto.
* remote-vx.c (vx_add_symbols): Ditto.
* remote-os9k.c (rombug_wait): Ditto.

24 years ago* gregset.h: Protect against multiple inclusion. Remove some
Mark Kettenis [Sun, 27 Aug 2000 21:37:16 +0000 (21:37 +0000)]
* gregset.h: Protect against multiple inclusion.  Remove some
redundant spaces.

24 years agoReclaim reloc space for symbols that have been forced local.
Alan Modra [Sun, 27 Aug 2000 08:10:16 +0000 (08:10 +0000)]
Reclaim reloc space for symbols that have been forced local.

24 years ago* win32-nat.c (dll_symbol_command): Tack a .dll on the end of a supplied
Christopher Faylor [Sun, 27 Aug 2000 04:21:35 +0000 (04:21 +0000)]
* win32-nat.c (dll_symbol_command): Tack a .dll on the end of a supplied
argument if it is missing an extension.

* corelow.c: Define O_BINARY if it isn't defined.
(core_open): Open core file in binary mode.
* config/i386/tm-cygwin.h (child_clear_solibs): Rename from child_clear_solib.
* config/i386/cygwin.mh: Add dependency from corelow.o.
* win32-nat.c (register_loaded_dll): New function.  Add dll to the list of
currently loaded dlls.
(handle_load_dll): Use register_loaded_dll.
(child_solib_add): Distinguish between active process and core targets.
(solib_symbols_add): Load symbols from loaded dll.
(core_dll_symbols_add): New function.  Load symbols from dll referenced in
core.
(core_section_load_dll_symbols): New function.
(dll_code_sections_add): New function.
(map_single_dll_code_section): New function.
(fetch_elf_core_registers): New function.
(_initialize_core_win32): New function.

24 years ago2000-08-27 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Sat, 26 Aug 2000 18:50:14 +0000 (18:50 +0000)]
2000-08-27  Kazu Hirata  <kazu@hxi.com>

* sh-dis.c: Fix formatting.

24 years agoProtoization.
Kevin Buettner [Sat, 26 Aug 2000 17:29:53 +0000 (17:29 +0000)]
Protoization.

24 years agoMulti-arch support for 68hc11
Stephane Carrez [Sat, 26 Aug 2000 13:36:25 +0000 (13:36 +0000)]
Multi-arch support for 68hc11

24 years agoFri Aug 25 16:57:05 2000 David Taylor <taylor@texas.cygnus.com>
David Taylor [Fri, 25 Aug 2000 21:03:00 +0000 (21:03 +0000)]
Fri Aug 25 16:57:05 2000  David Taylor  <taylor@texas.cygnus.com>

* regcache.c (register_changed): New function.
* value.h: Declare it.

24 years agoFri Aug 25 12:11:21 2000 David Taylor <taylor@texas.cygnus.com>
David Taylor [Fri, 25 Aug 2000 20:51:19 +0000 (20:51 +0000)]
Fri Aug 25 12:11:21 2000  David Taylor  <taylor@texas.cygnus.com>

* symtab.c (search_symbols): Fix off by one error in index for
  initializing variables ourtype, ourtype2, ourtype3, and ourtype4.
(symtab_symbol_info): fix similar off by one error.

Fri Aug 25 12:03:15 2000  David Taylor  <taylor@texas.cygnus.com>

* gdbarch.sh (TARGET_ADDR_BIT): New macro for the number
of bits in gdb's representation of a target address.
* gdbarch.c, gdbarch.h: Regenerated.
* gdbtypes.c (build_gdbtypes): Use TARGET_ADDR_BIT instead of
  TARGET_PTR_BIT when initializing builtin_type_CORE_ADDR.
* printcmd.c (print_address_numeric): Use TARGET_ADDR_BIT instead
  of TARGET_PTR_BIT, because we're printing an address, not a pointer.

24 years agoWhen choosing the target for a particular endianness, do nothing if the target
Nick Clifton [Fri, 25 Aug 2000 20:44:09 +0000 (20:44 +0000)]
When choosing the target for a particular endianness, do nothing if the target
is not supported.

24 years ago2000-08-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 Aug 2000 20:24:11 +0000 (20:24 +0000)]
2000-08-24  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
check -rpath nor LD_RUN_PATH for cross link.
* ld.texinfo: Document the change.

24 years agoCorrectly calculate the pc relative offset of the target destination for jmp
Nick Clifton [Fri, 25 Aug 2000 18:40:16 +0000 (18:40 +0000)]
Correctly calculate the pc relative offset of the target destination for jmp
instructions.

24 years ago2000-08-24 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Fri, 25 Aug 2000 07:54:32 +0000 (07:54 +0000)]
2000-08-24  Pierre Muller  <muller@ics.u-strasbg.fr>
       * Makefile.in: add rules to compile and link pascal specific files.
       * config/djgpp/fnchange.lst: add substitution for p-exp.tab.c.

24 years ago2000-08-24 David Edelsohn <dje@watson.ibm.com>
Geoffrey Keating [Thu, 24 Aug 2000 21:42:36 +0000 (21:42 +0000)]
2000-08-24  David Edelsohn  <dje@watson.ibm.com>

* ppc-opc.c (powerpc_opcodes): Add rfid, mtsrd, mtsrdin, mtmsrd.

24 years ago * NEWS: Mention support for CRIS.
Hans-Peter Nilsson [Thu, 24 Aug 2000 17:42:52 +0000 (17:42 +0000)]
* NEWS: Mention support for CRIS.

24 years agoAllow common symbols to have an alignment of 1 if explicitly requested, and
Nick Clifton [Thu, 24 Aug 2000 17:41:40 +0000 (17:41 +0000)]
Allow common symbols to have an alignment of 1 if explicitly requested, and
not overridden by other definitions.

24 years ago2000-08-24 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 24 Aug 2000 17:20:18 +0000 (17:20 +0000)]
2000-08-24  Kazu Hirata  <kazu@hxi.com>

* z8k-dis.c: Fix formatting.

24 years ago * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
Denis Chertykov [Thu, 24 Aug 2000 16:54:03 +0000 (16:54 +0000)]
    * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
        Sets `.lcomm' alignment to zero.

24 years ago * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
Denis Chertykov [Thu, 24 Aug 2000 16:50:21 +0000 (16:50 +0000)]
* config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
Sets `.lcomm' alignment to zero.

24 years ago2000-08-20 Michael Chastain <chastain@redhat.com>
Andrew Cagney [Thu, 24 Aug 2000 10:48:22 +0000 (10:48 +0000)]
2000-08-20  Michael Chastain  <chastain@redhat.com>

      * remote.c (read_frame): Handle SERIAL_TIMEOUT while reading
      checksum.

24 years ago2000-08-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 23 Aug 2000 23:03:00 +0000 (23:03 +0000)]
2000-08-23  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
the current runpath list from bfd_elf_get_runpath_list ()
before search.

24 years ago* config/tc-i386.h <OBJ_MAYBE_ELF, OBJ_MAYBE_COFF>
Alexandre Oliva [Wed, 23 Aug 2000 21:12:48 +0000 (21:12 +0000)]
* config/tc-i386.h <OBJ_MAYBE_ELF, OBJ_MAYBE_COFF>
(TC_FIX_ADJUSTABLE): Define.

24 years agoFix unwind section bug found by linux kernel.
Jim Wilson [Wed, 23 Aug 2000 20:36:38 +0000 (20:36 +0000)]
Fix unwind section bug found by linux kernel.
* config/tc-ia64.c (output_unw_records): Set U & E flags only if
unwind.personality_routine is set.

24 years ago* write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.
Alexandre Oliva [Wed, 23 Aug 2000 18:20:44 +0000 (18:20 +0000)]
* write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.

24 years agoChange News to NEWS.
H.J. Lu [Wed, 23 Aug 2000 16:42:13 +0000 (16:42 +0000)]
Change News to NEWS.

24 years agoProtoize.
Kevin Buettner [Wed, 23 Aug 2000 16:37:23 +0000 (16:37 +0000)]
Protoize.

24 years ago* config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
Alexandre Oliva [Wed, 23 Aug 2000 11:19:20 +0000 (11:19 +0000)]
* config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
environment is pe.

24 years ago * gdbmi.texinfo: Change flathead -> @sc{gdb/mi}.
Eli Zaretskii [Wed, 23 Aug 2000 09:15:25 +0000 (09:15 +0000)]
* gdbmi.texinfo: Change flathead -> @sc{gdb/mi}.
Fix typos and markup mistakes (from Dmitry S.
Sivachenko <dima@Chg.RU>).

24 years agoFix bugs detecting w65 architecture.
Nick Clifton [Tue, 22 Aug 2000 20:11:36 +0000 (20:11 +0000)]
Fix bugs detecting w65 architecture.

24 years ago2000-08-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 22 Aug 2000 19:34:37 +0000 (19:34 +0000)]
2000-08-22  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
LD_LIBRARY_PATH for native linker. Display the needed DSO if
trace_file_tries is non-zero.
(gld${EMULATION_NAME}_try_needed): Report the needed DSO found
if trace_file_tries is non-zero.

* ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
* News: Mention it.

24 years ago2000-08-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 22 Aug 2000 19:33:16 +0000 (19:33 +0000)]
2000-08-22  H.J. Lu  <hjl@gnu.org>

* elf-bfd.h (elf_link_hash_table): Add runpath.

* bfd-in.h (bfd_elf_get_runpath_list): New prototype.
* bfd-in2.h: Rebuilt.

* elf.c (_bfd_elf_link_hash_table_init): Initialize the
"runpath" field to NULL.
(bfd_elf_get_runpath_list): New function.

* elflink.h (elf_link_add_object_symbols): Record DT_RPATH and
DT_RUNPATH entries.

24 years agoForgot to check this in with last commit!
Dave Brolley [Tue, 22 Aug 2000 19:27:32 +0000 (19:27 +0000)]
Forgot to check this in with last commit!

24 years ago2000-08-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 22 Aug 2000 19:14:32 +0000 (19:14 +0000)]
2000-08-22  H.J. Lu  <hjl@gnu.org>

* config.in (STRICTCOFF): New for strict COFF.

* configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*,
i386-*-go32* and i386-go32-rtems*.
* configure: Rebuilt.

* config/obj-coff.c (obj_coff_endef): Follow the historical
behavior if STRICTCOFF is not defined.

* doc/internals.texi: Document STRICTCOFF.

24 years ago2000-08-21 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 22 Aug 2000 19:11:55 +0000 (19:11 +0000)]
2000-08-21  H.J. Lu <hjl@gnu.org>

* gas/all/cofftag.d: Support the strict COFF.

24 years ago* config-ml.in (CC, CXX): Avoid trailing whitespace.
Alexandre Oliva [Tue, 22 Aug 2000 05:01:20 +0000 (05:01 +0000)]
* config-ml.in (CC, CXX): Avoid trailing whitespace.
(LD_LIBRARY_PATH, SHLIB_PATH): Adjust for multilibs and export to
sub-configures.

24 years ago* elf32-sh.c (sh_elf_relocate_section) [R_SH_IND12W,
Alexandre Oliva [Tue, 22 Aug 2000 04:58:25 +0000 (04:58 +0000)]
* elf32-sh.c (sh_elf_relocate_section) [R_SH_IND12W,
R_SH_DIR8WPN, R_SH_DIR8WPZ, R_SH_DIR8WPL]: Handle them
explicitly.  Improve validation of r_type.

24 years ago* write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
Alexandre Oliva [Tue, 22 Aug 2000 04:52:40 +0000 (04:52 +0000)]
* write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
(fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
* config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
<OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
* config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
<OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
* config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
Likewise.

24 years ago2000-08-22 Eric Christopher <echristo@cygnus.com>
Eric Christopher [Tue, 22 Aug 2000 01:20:41 +0000 (01:20 +0000)]
2000-08-22  Eric Christopher  <echristo@cygnus.com>

* config/tc-mn10300.c: (md_apply_fix): New function.
(mn10300_force_relocation): New function.
(mn10300_fix_adjustable): New function.

* config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
(TC_HANDLES_FX_DONE): Define.
(obj_fix_adjustable): Define.
(MD_APPLY_FIX3): Define.
(TC_LINKRELAX_FIXUP): Define.

* write.c: (TC_LINKRELAX_FIXUP):  Define if not
previously defined.
(fixup_segment): Use TC_LINKRELAX_FIXUP.

* doc/internals.texi: Document TC_LINKRELAX_FIXUP.

24 years agoZero out the dynamic allocated content space. Add a comment to remind us that
Nick Clifton [Mon, 21 Aug 2000 23:42:56 +0000 (23:42 +0000)]
Zero out the dynamic allocated content space.  Add a comment to remind us that
one day this ought to be fixed.

24 years ago2000-08-21 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Mon, 21 Aug 2000 23:26:19 +0000 (23:26 +0000)]
2000-08-21  Jason Eckhardt  <jle@cygnus.com>
bfd:
* elf32-i860.c (elf32_i860_relocate_pc16): Just write the immediate
field with the newly relocated value instead of adding it to the
existing immediate field.
(elf32_i860_relocate_splitn): Likewise.
(elf32_i860_relocate_highadj): Likewise.

gas:
* config/tc-i860.c (md_apply_fix3): Do not insert the immediate
if the fixup resulted in a relocation.

24 years agoChanged email address of Ulrich Lauther
Nick Clifton [Mon, 21 Aug 2000 20:30:04 +0000 (20:30 +0000)]
Changed email address of Ulrich Lauther

24 years agoProtoization.
Kevin Buettner [Mon, 21 Aug 2000 17:30:58 +0000 (17:30 +0000)]
Protoization.

24 years ago* Contribute CGEN simulator build support code.
Frank Ch. Eigler [Mon, 21 Aug 2000 15:52:39 +0000 (15:52 +0000)]
* Contribute CGEN simulator build support code.
* Patch was posted by bje@redhat.com.

24 years ago * Makefile.in (ALL_MODULES): Add all-cgen.
Doug Evans [Sun, 20 Aug 2000 22:56:17 +0000 (22:56 +0000)]
* Makefile.in (ALL_MODULES): Add all-cgen.
(CROSS_CHECK_MODULES,INSTALL_MODULES,CLEAN_MODULES): Similarily.
(all-cgen): New target.
(all-opcodes,all-sim): Depend on all-cgen.
* configure.in (host_tools): Add cgen.
Only configure cgen if --enable-cgen-maint.

24 years agoCheck arches->gdbarch and not current_gdbarch when looking for a match.
Andrew Cagney [Sat, 19 Aug 2000 05:32:23 +0000 (05:32 +0000)]
Check arches->gdbarch and not current_gdbarch when looking for a match.

24 years ago* MAINTAINERS: Add myself as dcache.c maintainer.
J.T. Conklin [Fri, 18 Aug 2000 22:52:23 +0000 (22:52 +0000)]
* MAINTAINERS: Add myself as dcache.c maintainer.

* remote-nindy.c (nindy_load): Invalidate dcache.

* dcache.c (dcache_invd): Renamed from dcache_flush.  The term
flush with respect to caches usually implies that data will be
written to memory.
(dcache_init, dcache_xfer_memory): Updated.
* monitor.c (flush_monitor_dcache, monitor_resume, monitor_load):
Updated.
* ocd.c (ocd_open, ocd_resume, bdm_reset_command): Updated.
* remote-bug.c (bug_load, bug_resume): Updated.
* remote-nindy.c (nindy_open, nindy_resume): Updated.
* remote-sds.c (sds_open, sds_resume): Updated.
* remote-utils.c (gr_open): Updated.
* remote.c (remote_open_1, remote_resume, remote_async_resume,
remote_cisco_open): Updated.
* wince.c (child_create_inferior, child_resume): Updated.

* monitor.c (monitor_open): Free dcache before creating a new one.
* dcache.c (dcache_free): New function.
* dcache.h (dcache_free): New prototype.
-------------------------------------------------------------------

24 years agoAdd dummy params where needed.
Andrew Cagney [Fri, 18 Aug 2000 22:02:43 +0000 (22:02 +0000)]
Add dummy params where needed.

24 years agoReplace as_tsktsk with as_warn.
Nick Clifton [Fri, 18 Aug 2000 19:27:30 +0000 (19:27 +0000)]
Replace as_tsktsk with as_warn.
Make reference to first element of shift_names explicit.

24 years ago* write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
Alexandre Oliva [Fri, 18 Aug 2000 18:45:05 +0000 (18:45 +0000)]
* write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
add a symbol's address.  Removed all target-specific #ifdefs that
used to accomplished the same.
* config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
* config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
* config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
* config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
* config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.

24 years ago2000-08-17 Christopher C. Chimelis <chris@debian.org>
H.J. Lu [Fri, 18 Aug 2000 01:58:12 +0000 (01:58 +0000)]
2000-08-17  Christopher C. Chimelis <chris@debian.org>

* objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").

24 years ago2000-08-17 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Fri, 18 Aug 2000 01:42:14 +0000 (01:42 +0000)]
2000-08-17  Kazu Hirata  <kazu@hxi.com>

* dwarf2dbg.c: Fix formatting.

24 years agoMinor formatting changes
Nick Clifton [Thu, 17 Aug 2000 23:57:52 +0000 (23:57 +0000)]
Minor formatting changes

24 years agoAllow illegal shifts by zero to be recorded as logical shift lefts by zero.
Nick Clifton [Thu, 17 Aug 2000 23:46:43 +0000 (23:46 +0000)]
Allow illegal shifts by zero to be recorded as logical shift lefts by zero.

24 years agoCatch and warn about attempts to display debug information for version 1 aranges.
Nick Clifton [Thu, 17 Aug 2000 23:00:38 +0000 (23:00 +0000)]
Catch and warn about attempts to display debug information for version 1 aranges.

24 years ago* config-ml.in (CC, CXX): Don't introduce a leading space.
Alexandre Oliva [Thu, 17 Aug 2000 15:18:39 +0000 (15:18 +0000)]
* config-ml.in (CC, CXX): Don't introduce a leading space.

24 years agoFix 3 DV bugs, and a few minor cleanups.
Jim Wilson [Wed, 16 Aug 2000 23:20:15 +0000 (23:20 +0000)]
Fix 3 DV bugs, and a few minor cleanups.
gas/
* config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
postincrement modified registers.  Handle IA64_OPND_R3_2 addl
source registers.
(note_register_values): Handle IA64_OPND_R3_2 operands.
gas/testsuite/
* gas/ia64/dv-raw-err.s: Add new tests for addl and postinc.
* gas/ia64/dv-raw-err.l: Likewise.
* gas/ia64/dv-waw-err.l: Update sed pattern.
* gas/ia64/opc-f.pl: Delete fpsub, and fpadd comment.
* gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate.
include/opcode/
* ia64.h (IA64_OPCODE_POSTINC): New.
opcodes/
* ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds.  Delete
break, mov-immediate, nop.
* ia64-opc-f.c: Delete fpsub instructions.
* ia64-opc-m.c: Add POSTINC to all instructions with postincrement
address operand.  Rewrite using macros to avoid long lines.
* ia64-opc.h (POSTINC): Define.
* ia64-asmtab.c: Regenerate.

24 years ago2000-08-16 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Wed, 16 Aug 2000 21:58:55 +0000 (21:58 +0000)]
2000-08-16  Jason Eckhardt  <jle@cygnus.com>

        * elf32-i860.c (elf32_i860_relocate_pc16): Implemented function (it
        was previously just a stub).

24 years ago2000-08-16 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Wed, 16 Aug 2000 21:34:45 +0000 (21:34 +0000)]
2000-08-16  Jason Eckhardt  <jle@cygnus.com>

        * config/tc-i860.c (md_operand): Silly typo fixed.

24 years agoTidy up decoding of shift based addressing modes.
Nick Clifton [Wed, 16 Aug 2000 19:02:00 +0000 (19:02 +0000)]
Tidy up decoding of shift based addressing modes.
Add extra tests for these addressing modes

24 years ago* configure.in (libstdcxx_flags): Use
Alexandre Oliva [Wed, 16 Aug 2000 18:37:42 +0000 (18:37 +0000)]
* configure.in (libstdcxx_flags): Use
libstdc++-v3/src/libstdc++.INC.

24 years ago* elflink.c (_bfd_elf_create_got_section): Don't abort().
Alexandre Oliva [Wed, 16 Aug 2000 18:02:16 +0000 (18:02 +0000)]
* elflink.c (_bfd_elf_create_got_section): Don't abort().
Formatting fixes.
(_bfd_elf_create_dynamic_sections): Likewise.

24 years ago * config/tc-sparc.c: Kill all warnings.
Jakub Jelinek [Wed, 16 Aug 2000 17:52:37 +0000 (17:52 +0000)]
* config/tc-sparc.c: Kill all warnings.
(md_parse_option): Set -32/-64 for -xarch=, allow all -A archs
in -xarch= as well.
(md_show_usage): Update usage text.

24 years agoWarn abouyt "bx pc" not being very useful.
Nick Clifton [Wed, 16 Aug 2000 17:48:50 +0000 (17:48 +0000)]
Warn abouyt "bx pc" not being very useful.

24 years ago * elf64-sparc.c (sparc64_elf_relocate_section): Set relocation address
Jakub Jelinek [Wed, 16 Aug 2000 17:42:21 +0000 (17:42 +0000)]
* elf64-sparc.c (sparc64_elf_relocate_section): Set relocation address
for undefined symbols to be the beginning of the section.

* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Don't allocate
four extra entries at the beginning of the .rela.plt section.
(sparc64_elf_finish_dynamic_symbol): Adjust the offset in the .rela.plt
section to account for the four reserved entries in the .plt section.

24 years ago2000-08-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 16 Aug 2000 17:29:23 +0000 (17:29 +0000)]
2000-08-15  H.J. Lu  <hjl@gnu.org>

* i386.h: Swap the Intel syntax "movsx"/"movzx" due to the
IgnoreSize change.

24 years ago * value.h (struct value) <lazy>: Add a comment about its use for
Eli Zaretskii [Wed, 16 Aug 2000 08:03:43 +0000 (08:03 +0000)]
* value.h (struct value) <lazy>: Add a comment about its use for
        watchpoints.

24 years ago* xcofflink.c (_bfd_ppc_xcoff_relocate_section): Add ori r0,r0,0
Geoffrey Keating [Wed, 16 Aug 2000 00:34:19 +0000 (00:34 +0000)]
* xcofflink.c (_bfd_ppc_xcoff_relocate_section): Add ori r0,r0,0
to the list of NOPs we recognize after a branch-and-link.
Use the ori NOP when one is needed.

* coff-rs6000.c (_bfd_xcoff_slurp_armap): Finish implementation
for large archives.

24 years ago * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
Jeff Law [Tue, 15 Aug 2000 20:47:19 +0000 (20:47 +0000)]
* config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
* config/tc-sh.c (md_assemble): Changed so debug_type
test performed for ppi_assemble
* config/tc-sh.c: Included dwarf2dbg.h.
(debug_line): Defined.
(md_assemble): Generates dwarf2 line info.
(sh_finalize): New function.  Finalize dwarf2 info.
(assemble_ppi): Returns size of code generated.
(build_Mytes): Returns size of code generated.
(md_pseudo_table): Added "file" and "loc" psuedo ops.
* config/tc-sh.h (md_end): Defined.
(sh_finalize): Declared.

24 years agoFix file corrupted before initial checkin.
Jim Wilson [Tue, 15 Aug 2000 19:42:44 +0000 (19:42 +0000)]
Fix file corrupted before initial checkin.
* ia64-ic.tbl: Add missing entries.

24 years ago2000-08-15 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 15 Aug 2000 18:49:50 +0000 (18:49 +0000)]
2000-08-15  Dave Brolley  <brolley@redhat.com>

* sim-profile.c (profile_print_speed): Print cpu frequency if not zero.

24 years ago2000-08-15 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 15 Aug 2000 18:39:02 +0000 (18:39 +0000)]
2000-08-15  Dave Brolley  <brolley@redhat.com>

* sim-profile.h (PROFILE_DATA): Add cpu_freq.
(PROFILE_CPU_FREQ): New macro.
* sim-profile.c (OPTION_PROFILE_CPU_FREQUENCY): New enumerator.
(profile-options): Add profile-cpu-frequency.
(parse_frequency): New function.
(profile_option_handler): Handle OPTION_PROFILE_CPU_FREQUENCY.
(profile_print_speed): Print cpu frequency and simulated execution time.
Re-indent other items to match.

24 years ago* config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
Alexandre Oliva [Tue, 15 Aug 2000 16:04:37 +0000 (16:04 +0000)]
* config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
md_number_to_chars.

24 years ago* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.
Alexandre Oliva [Tue, 15 Aug 2000 08:01:29 +0000 (08:01 +0000)]
* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.

24 years agoCompute write back value for post increment loads before
Nick Clifton [Tue, 15 Aug 2000 00:10:52 +0000 (00:10 +0000)]
Compute write back value for post increment loads before
performing the load in case the offset register is overwritten.

24 years agoAllow "bx pc" in ARM mode.
Nick Clifton [Mon, 14 Aug 2000 21:20:03 +0000 (21:20 +0000)]
Allow "bx pc" in ARM mode.