external/binutils.git
25 years agoUse signed values for signed relocaitons.
Nick Clifton [Mon, 7 Dec 1998 13:23:17 +0000 (13:23 +0000)]
Use signed values for signed relocaitons.

25 years ago * configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after
Ian Lance Taylor [Mon, 7 Dec 1998 03:41:40 +0000 (03:41 +0000)]
* configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after
checking the target type.
(mips-dec-bsd*): Set endian to little.
* configure: Rebuild.

25 years ago * mipsbsd.c (MY(set_arch_mach)): Make static.
Ian Lance Taylor [Mon, 7 Dec 1998 03:39:20 +0000 (03:39 +0000)]
* mipsbsd.c (MY(set_arch_mach)): Make static.
* aoutx.h (NAME(aout,machine_type)): For bfd_arch_mips, use
bfd_mach_mips* macros rather than simple numbers.

25 years ago * gprof.texi (Symspecs): Mention that you have to add any
Ian Lance Taylor [Mon, 7 Dec 1998 02:58:45 +0000 (02:58 +0000)]
* gprof.texi (Symspecs): Mention that you have to add any
underscore yourself when naming a symbol.

25 years ago COFF weak symbol support, based on patches from Mark Elbrecht
Ian Lance Taylor [Mon, 7 Dec 1998 02:47:22 +0000 (02:47 +0000)]
COFF weak symbol support, based on patches from Mark Elbrecht
<snowball3@usa.net>:
* coffcode.h (coff_slurp_symbol_table): Handle C_WEAKEXT.
* coffgen.c (coff_renumber_symbols): Handle weak symbols.
(coff_write_alien_symbol): Likewise.
* cofflink.c (coff_link_check_ar_symbols): Likewise.
(coff_link_add_symbols): Likewise.
(_bfd_coff_link_input_bfd): Likewise.
(_bfd_coff_write_global_sym): Likewise.

25 years ago COFF weak symbol support, based on patches from Mark Elbrecht
Ian Lance Taylor [Mon, 7 Dec 1998 02:46:56 +0000 (02:46 +0000)]
COFF weak symbol support, based on patches from Mark Elbrecht
<snowball3@usa.net>:
* config/obj-coff.h (S_IS_WEAK): Define if not BFD_ASSEMBLER.
* config/obj-coff.c (obj_coff_weak): New static function.
(obj_coff_endef) [both versions]: Handle weak symbols.
(coff_frob_symbol): Likewise.
(yank_symbols): Likewise.
(obj_pseudo_table): Add "weak".

25 years ago * objdump.c (SFILE): Add size field.
Ian Lance Taylor [Mon, 7 Dec 1998 01:07:02 +0000 (01:07 +0000)]
* objdump.c (SFILE): Add size field.
(objdump_sprintf): Merge both versions into one.  Increase buffer
size as needed to avoid overflow.
(disassemble_bytes): Change buf from 1000 bytes to 50.  Change
initialization and use of sfile to match changes to
objdump_sprintf.

25 years ago * elf.c (copy_private_bfd_data): Always initialize the
Ian Lance Taylor [Mon, 7 Dec 1998 00:33:13 +0000 (00:33 +0000)]
* elf.c (copy_private_bfd_data): Always initialize the
includes_phdrs field.

25 years ago * mips-opc.c (mips_builtin_opcodes): Add dmfc2 and dmtc2.
Ian Lance Taylor [Mon, 7 Dec 1998 00:01:16 +0000 (00:01 +0000)]
* mips-opc.c (mips_builtin_opcodes): Add dmfc2 and dmtc2.

25 years ago * elflink.h (elf_fix_symbol_flags): Check for case where a non-ELF
Ian Lance Taylor [Sun, 6 Dec 1998 23:02:41 +0000 (23:02 +0000)]
* elflink.h (elf_fix_symbol_flags): Check for case where a non-ELF
file defines a symbol first mentioned in an ELF file.

25 years ago * bfd-in.h: Always define BFD_HOST_64_BIT and BFD_HOST_U_64_BIT if
Ian Lance Taylor [Sun, 6 Dec 1998 22:14:30 +0000 (22:14 +0000)]
* bfd-in.h: Always define BFD_HOST_64_BIT and BFD_HOST_U_64_BIT if
possible, rather than only if BFD64.
* elflink.h (compute_bucket_count): Just check BFD_HOST_U_64_BIT,
not __GNUC__.
* bfd-in2.h: Rebuild.

25 years ago * srec.c (srec_set_section_contents): Correct test to avoid
Ian Lance Taylor [Sun, 6 Dec 1998 21:56:13 +0000 (21:56 +0000)]
* srec.c (srec_set_section_contents): Correct test to avoid
switching to 4 byte addresses after seeing a second section which
requires 3 byte addresses.  From Joel Schantz
<joel.schantz@argosys.boeing.com>.

25 years ago * configure.in (m68k-*-gnu*): New target. From Aymeric Vincent
Ian Lance Taylor [Sun, 6 Dec 1998 21:48:34 +0000 (21:48 +0000)]
* configure.in (m68k-*-gnu*): New target.  From Aymeric Vincent
<aymeric.vincent@emi.u-bordeaux.fr>.
* aclocal.m4: Rebuild with current tools.
* configure: Rebuild.

25 years agorebuild correctly
Ian Lance Taylor [Sun, 6 Dec 1998 21:37:41 +0000 (21:37 +0000)]
rebuild correctly

25 years ago * configure.tgt (m68*-*-gnu*): New target. From Aymeric Vincent
Ian Lance Taylor [Sun, 6 Dec 1998 21:34:37 +0000 (21:34 +0000)]
* configure.tgt (m68*-*-gnu*): New target.  From Aymeric Vincent
<aymeric.vincent@emi.u-bordeaux.fr>.

25 years ago * config.bfd (m68*-*-gnu*): New target. From Aymeric Vincent
Ian Lance Taylor [Sun, 6 Dec 1998 21:31:24 +0000 (21:31 +0000)]
* config.bfd (m68*-*-gnu*): New target.  From Aymeric Vincent
<aymeric.vincent@emi.u-bordeaux.fr>.

25 years ago * config/tc-alpha.c (emit_ldgp): Give an error message rather than
Ian Lance Taylor [Sun, 6 Dec 1998 20:10:52 +0000 (20:10 +0000)]
* config/tc-alpha.c (emit_ldgp): Give an error message rather than
an assertion failure for a case we can't handle when OBJ_ECOFF.

25 years ago * ppc-opc.c (powerpc_opcodes): Add PowerPC403 GC[X] instructions.
Ian Lance Taylor [Sun, 6 Dec 1998 19:09:24 +0000 (19:09 +0000)]
* ppc-opc.c (powerpc_opcodes): Add PowerPC403 GC[X] instructions.
From Saitoh Masanobu <msaitoh@spa.is.uec.ac.jp>.

25 years ago * strip.1: Fix typo (-V to -v). From Issei Hirayama
Ian Lance Taylor [Sun, 6 Dec 1998 18:28:53 +0000 (18:28 +0000)]
* strip.1: Fix typo (-V to -v).  From Issei Hirayama
<iss@mail.wbs.or.jp>.

25 years ago * i386.h (i386_optab): Permit w suffix on processor control and
Ian Lance Taylor [Sun, 6 Dec 1998 18:22:55 +0000 (18:22 +0000)]
* i386.h (i386_optab): Permit w suffix on processor control and
  status word instructions.

25 years agoSun Dec 6 12:59:37 1998 H.J. Lu <hjl@gnu.org>
Ian Lance Taylor [Sun, 6 Dec 1998 18:01:41 +0000 (18:01 +0000)]
Sun Dec  6 12:59:37 1998  H.J. Lu  <hjl@gnu.org>

* ld-elfvers/vers1.c: Add missing return types and values.
* ld-elfvers/vers2.c: Likewise.
* ld-elfvers/vers3.c: Likewise.
* ld-elfvers/vers4.c: Likewise.
* ld-elfvers/vers5.c: Likewise.
* ld-elfvers/vers6.c: Likewise.
* ld-elfvers/vers7.c: Likewise.
* ld-elfvers/vers9.c: Likewise.
* ld-elfvers/vers15.c: Likewise.

25 years ago * expr.c (operator): And with 0xff to avoid problems with signed
Ian Lance Taylor [Sun, 6 Dec 1998 17:52:58 +0000 (17:52 +0000)]
* expr.c (operator): And with 0xff to avoid problems with signed
char.

25 years ago* gxtool silence tweak
Frank Ch. Eigler [Sat, 5 Dec 1998 11:46:32 +0000 (11:46 +0000)]
* gxtool silence tweak

25 years ago* gx prototype: simulator I/O bug fix
Frank Ch. Eigler [Sat, 5 Dec 1998 10:32:12 +0000 (10:32 +0000)]
* gx prototype: simulator I/O bug fix
1998-12-05  Frank Ch. Eigler  <fche@elastic.org>
* gx-translate.c (m32r_emit_short_insn): Correct ABI result
handling for TRAP insn.

25 years ago(profile_print_addr_range): Pretty up output a little.
Doug Evans [Sat, 5 Dec 1998 08:47:32 +0000 (08:47 +0000)]
(profile_print_addr_range): Pretty up output a little.

25 years ago * configure.in: Call SIM_AC_OPTION_INLINE.
Doug Evans [Sat, 5 Dec 1998 08:09:18 +0000 (08:09 +0000)]
* configure.in: Call SIM_AC_OPTION_INLINE.
* configure: Regenerate.
* sim-main.h: Protect against multiple inclusion.
Don't include cgen-scache.h,cgen-cpu.h,cgen-trace.h,cpuall.h.
Done by cgen-sim.h now.
* tconfig.in (SIM_HAVE_MODEL): Delete, moved to cgen-types.h.
* cpuall.h: Regenerate.
* cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
* mloop.in (extract16): Make static inline again.
Simplify with call to @cpu@_fill_argbuf,@cpu@_fill_argbuf_tp.
(extract32): Ditto.
Simplify with call to @cpu@_fill_argbuf,@cpu@_fill_argbuf_tp.
(execute): Test ARGBUF_PROFILE_P before profiling.
Update calls to TRACE_INSN_INIT,TRACE_INSN_FINI.
* cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate.
* mloopx.in: Rewrite.

25 years ago * cgen-defs.h: New file, old cgen-sim.h.
Doug Evans [Sat, 5 Dec 1998 07:56:13 +0000 (07:56 +0000)]
* cgen-defs.h: New file, old cgen-sim.h.
* cgen-sim.h: Simple header that includes others.
* sim-arange.c: New file.
* sim-arange.h: New file.
* sim-basics.h: Include it.
* Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-arange.o.
(sim-arange.o): Add rule for.
* sim-cpu.h (sim_cpu_msg_prefix): Add prototype.
(sim_io_eprintf_cpu): Add prototype.
* sim-inline.h (HAVE_INLINE): Define if GNUC.
(INLINE2): New macro.
(EXTERN_INLINE): New macro.
* sim-module.c (sim_post_argv_init): Initialize cpu backlink
before calling module init fns.
* sim-profile.h (OPTION_PROFILE_*): Move into enum.
(profile_init): New function.
(profile_options): New option --profile-range.
(profile_option_handler): Handle --profile-range.
(profile_print_insn): Qualify address range specific section titles.
(profile_print_addr_ranges): New function.
(profile_info): Print address ranges if specified.
(profile_install): Set profile_init init fn.
* sim-profile.h (PROFILE_DATA): New member `range'.
* sim-trace.c (trace_init): New function.
(trace_options): New option --trace-range.
(trace_option_handler): Handle --trace-range.
(trace_install): Set trace_init init fn.
* sim-trace.h (TRACE_DATA): New member `range'.
* sim-utils.c (sim_cpu_msg_prefix): New function.
(sim_io_eprintf_cpu): New function.
* cgen-engine.h (PC_IN_TRACE_RANGE_P): New macro.
(PC_IN_PROFILE_RANGE_P): New macro.
* cgen-trace.c (trace_insn_init): Set current_insn to NULL.
(trace_insn_fini): New arg abuf.  All callers updated.
Exit early if trace_insn not called.  Check ARGBUF_PROFILE_P before
printing cycle counts.
* cgen-trace.h (trace_insn_fini): Update prototype.
(TRACE_RESULT_P): New macro.
(TRACE_INSN_INIT,TRACE_INSN_FINI): New arg abuf.  All callers updated.
(TRACE_INSN): Check ARGBUF_TRACE_P.
(TRACE_EXTRACT,TRACE_RESULT): New arg abuf.  All callers updated.
* cgen-types.h (SIM_INLINE): Delete.
(SIM_HAVE_MODEL,SIM_HAVE_ADDR_RANGE): Define.
* cgen-utils.c: Don't include cgen-engine.h
* genmloop.sh (@cpu@_fill_argbuf): New function.
(@cpu@_fill_argbuf_tp): New function.
(@cpu@_emit_before,@cpu@_emit_after): New functions.
(@cpu@_pbb_begin): Prefix cti_sc,insn_count with '_'.
(SET_CTI_VPC,SET_INSN_COUNT): Update.
(@cpu@_pbb_before): Check ARGBUF_PROFILE_P before calling
doing profiling.  Update call to TRACE_INSN_INIT,TRACE_INSN_FINI.
(@cpu@_pbb_after): Check ARGBUF_PROFILE_P before calling
doing profiling. Update call to TRACE_INSN_FINI.

25 years ago* sim-memopt.c (sim_memory_uninstall): Result type is `void'.
Doug Evans [Sat, 5 Dec 1998 02:33:31 +0000 (02:33 +0000)]
* sim-memopt.c (sim_memory_uninstall): Result type is `void'.

25 years agoaddress range support
Doug Evans [Sat, 5 Dec 1998 02:19:39 +0000 (02:19 +0000)]
address range support

25 years ago * fr30-opc.c: Regenerate.
Doug Evans [Sat, 5 Dec 1998 01:46:33 +0000 (01:46 +0000)]
* fr30-opc.c: Regenerate.

25 years ago*** empty log message ***
Jim Blandy [Fri, 4 Dec 1998 23:24:21 +0000 (23:24 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Blandy [Fri, 4 Dec 1998 23:17:38 +0000 (23:17 +0000)]
*** empty log message ***

25 years agoFri Dec 4 17:08:08 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Fri, 4 Dec 1998 22:08:56 +0000 (22:08 +0000)]
Fri Dec  4 17:08:08 1998  Dave Brolley  <brolley@cygnus.com>

* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.

25 years agoChange default start address to 0x10000 so that it fits in 20 bits
Nick Clifton [Fri, 4 Dec 1998 10:14:35 +0000 (10:14 +0000)]
Change default start address to 0x10000 so that it fits in 20 bits

25 years ago * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
Doug Evans [Fri, 4 Dec 1998 08:22:27 +0000 (08:22 +0000)]
* cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
* cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate.

25 years ago1998-12-03 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Fri, 4 Dec 1998 04:46:18 +0000 (04:46 +0000)]
1998-12-03  Jason Molenda  (jsm@bugshack.cygnus.com)

        * monitor.c (monitor_read_memory): Zero out pattern buffers
        before calling re_search.
        (parse_register_dump): Ditto.

PR 18049.  This bug had existed erratically since I upgraded to
the new gnu-regex.c this last summer.  The problem is mostly in
parse_register_dump; the allocated structure has some random values
in it and there is a flag set in the register_pattern structure by the
gnu-regex library which indicates that the values in the re_registers
should be trusted.

If those arbitrary contents aren't zero, gnu-regex tries to run realloc
on them and we get a core dump on some hosts for some targets when the
moon is just right.

25 years ago* gen-engine.c (print_run_body): Prefix instruction_address.
Andrew Cagney [Fri, 4 Dec 1998 04:45:05 +0000 (04:45 +0000)]
* gen-engine.c (print_run_body): Prefix instruction_address.

25 years ago* Test case for PR 18364, over from d30v branch.
Frank Ch. Eigler [Fri, 4 Dec 1998 04:17:08 +0000 (04:17 +0000)]
* Test case for PR 18364, over from d30v branch.
1998-12-04  Frank Ch. Eigler  <fche@cygnus.com>
* do-shifts.S: Update an older test case.

25 years ago * remote.texi: Changed wording that implied that the GDB remote
Stan Shebs [Thu, 3 Dec 1998 23:29:54 +0000 (23:29 +0000)]
* remote.texi: Changed wording that implied that the GDB remote
protocol caches register values instead of GDB itself.

25 years agoThu Dec 3 14:20:03 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 3 Dec 1998 22:38:13 +0000 (22:38 +0000)]
Thu Dec  3 14:20:03 1998  Dave Brolley  <brolley@cygnus.com>

* sim/fr30/ld.cgs: Implement more loads.
* sim/fr30/call.cgs: New testcase.
* sim/fr30/testutils.inc (testr_h_dr): New macro.
(set_s_user,set_s_system): New macros.

25 years agoThu Dec 3 14:26:20 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 3 Dec 1998 19:27:35 +0000 (19:27 +0000)]
Thu Dec  3 14:26:20 1998  Dave Brolley  <brolley@cygnus.com>

* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.

25 years agoThu Dec 3 14:20:03 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 3 Dec 1998 19:22:56 +0000 (19:22 +0000)]
Thu Dec  3 14:20:03 1998  Dave Brolley  <brolley@cygnus.com>

* sim/fr30: New Directory.

25 years agoFix typo in orevious delta
Nick Clifton [Thu, 3 Dec 1998 17:03:56 +0000 (17:03 +0000)]
Fix typo in orevious delta

25 years agochange BFD_RELOC_FR30_32 to BFD_RELOC_FR30_48
Nick Clifton [Thu, 3 Dec 1998 17:02:49 +0000 (17:02 +0000)]
change BFD_RELOC_FR30_32 to BFD_RELOC_FR30_48

25 years agoAdd support for R_FR30_48 reloc.
Nick Clifton [Thu, 3 Dec 1998 16:53:03 +0000 (16:53 +0000)]
Add support for R_FR30_48 reloc.

25 years agoFR30 updates/checkpoint.
Zdenek Radouch [Thu, 3 Dec 1998 15:40:00 +0000 (15:40 +0000)]
FR30 updates/checkpoint.

25 years agofr30 update.
Zdenek Radouch [Thu, 3 Dec 1998 15:37:08 +0000 (15:37 +0000)]
fr30 update.

25 years agoStill some bogus code; checkpoint.
Zdenek Radouch [Thu, 3 Dec 1998 15:36:26 +0000 (15:36 +0000)]
Still some bogus code; checkpoint.

25 years agoStill a lot of bogus code; just a checkpoint.
Zdenek Radouch [Thu, 3 Dec 1998 15:35:40 +0000 (15:35 +0000)]
Still a lot of bogus code; just a checkpoint.

25 years agoUpdated to match latest assembler output.
Nick Clifton [Thu, 3 Dec 1998 13:19:21 +0000 (13:19 +0000)]
Updated to match latest assembler output.

25 years ago * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerate.
Doug Evans [Thu, 3 Dec 1998 08:14:46 +0000 (08:14 +0000)]
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerate.

25 years agoClean up function return types. Functions not returning values,
Andrew Cagney [Thu, 3 Dec 1998 05:34:25 +0000 (05:34 +0000)]
Clean up function return types.  Functions not returning values,
functions unnecessarily returning values.

25 years ago From Brendan Kehoe:
Stan Shebs [Thu, 3 Dec 1998 04:08:14 +0000 (04:08 +0000)]
From Brendan Kehoe:
* gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
int return types.

25 years agoUpdate.
Ulrich Drepper [Thu, 3 Dec 1998 02:00:20 +0000 (02:00 +0000)]
Update.

25 years ago(process_mips_specific): Print .conflict section content.
Ulrich Drepper [Thu, 3 Dec 1998 01:59:23 +0000 (01:59 +0000)]
(process_mips_specific): Print .conflict section content.

25 years agoWed Dec 2 15:11:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Thu, 3 Dec 1998 00:50:54 +0000 (00:50 +0000)]
Wed Dec  2 15:11:38 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * m32r-tdep.c (decode_prologue): If no branch or push fp is found,
        but there's a stack adjust, then use that as the end of prologue.
        (m32r_skip_prologue): don't skip past the first line if there is
        line info.  (m32r_virtual_frame_pointer): new function.
        (m32r_fix_call_dummy): no return value needed.

25 years agoUpdate.
Ulrich Drepper [Wed, 2 Dec 1998 23:38:04 +0000 (23:38 +0000)]
Update.

25 years ago(process_mips_specific): Print l_flags in liblist in textual form.
Ulrich Drepper [Wed, 2 Dec 1998 23:37:54 +0000 (23:37 +0000)]
(process_mips_specific): Print l_flags in liblist in textual form.

25 years agoAdd more LL_* options from Irix 6.5.
Ulrich Drepper [Wed, 2 Dec 1998 23:36:56 +0000 (23:36 +0000)]
Add more LL_* options from Irix 6.5.

25 years agospelling correction.
Michael Snyder [Wed, 2 Dec 1998 23:27:40 +0000 (23:27 +0000)]
spelling correction.

25 years agoWed Dec 2 15:11:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Wed, 2 Dec 1998 23:22:58 +0000 (23:22 +0000)]
Wed Dec  2 15:11:38 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * tracepoint.c: Move default definition of
        TARGET_VIRTUAL_FRAME_POINTER from here to target.h.
        * target.h: Add default definition of TARGET_VIRTUAL_FRAME_POINTER.
        * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address):
        use TARGET_VIRTUAL_FRAME_POINTER to determine frame pointer.
        (gen_trace_for_expr): new argument, address of tracepoint,
        gets passed to new_agent_expr and added to struct agent_expr.
        (is_nontrivial_conversion): call to new_agent_expr now requires
        a dummy argument.  (agent_command): use get_current_frame() to
        get current PC scope; pass it to gen_trace_for_expr.
        * ax-general.c (new_agent_expr): new argument, address of
        tracepoint; store it in new field of struct agent_expr.
        * ax.h (struct agent_expr): add new field for tracepoint address.
        * ax-gdb.h: change prototypes to match above changes.

25 years agoUpdate.
Ulrich Drepper [Wed, 2 Dec 1998 21:47:13 +0000 (21:47 +0000)]
Update.

25 years agoAdd R_MIPS_JALR and adjust R_MIPS_max appropriately.
Ulrich Drepper [Wed, 2 Dec 1998 21:46:19 +0000 (21:46 +0000)]
Add R_MIPS_JALR and adjust R_MIPS_max appropriately.

25 years agoadd docs for r5900 arg characters
Doug Evans [Wed, 2 Dec 1998 20:44:29 +0000 (20:44 +0000)]
add docs for r5900 arg characters

25 years agoEnable relocs for ldi:20 insn
Nick Clifton [Wed, 2 Dec 1998 15:53:48 +0000 (15:53 +0000)]
Enable relocs for ldi:20 insn

25 years ago * elflink.h (elf_adjust_dynamic_symbol): Warn on an attempt to
Ian Lance Taylor [Wed, 2 Dec 1998 05:59:07 +0000 (05:59 +0000)]
* elflink.h (elf_adjust_dynamic_symbol): Warn on an attempt to
link against a dynamic symbol with no type or size.

25 years ago * gdbint.texinfo: Add some info about symbol readers.
Stan Shebs [Wed, 2 Dec 1998 01:55:32 +0000 (01:55 +0000)]
* gdbint.texinfo: Add some info about symbol readers.
(CHILL_PRODUCER, etc): Comment out descriptions, not useful.
(IN_SOLIB_CALL_TRAMPOLINE): Rename info from IN_SOLIB_TRAMPOLINE.
(IN_SOLIB_RETURN_TRAMPOLINE): Describe.
(KERNEL_DEBUGGING, MIPSEL): No info about these, remove.

25 years agoUpdate.
Ulrich Drepper [Tue, 1 Dec 1998 20:50:27 +0000 (20:50 +0000)]
Update.

25 years agopatch for PR 18243.
Jim Wilson [Tue, 1 Dec 1998 20:17:18 +0000 (20:17 +0000)]
patch for PR 18243.
* coff-h8300.c (h8300_bfd_link_add_symbols): Make reloc_size,
reloc_count and i long instead of unsigned long.  Handle error
return from bfd_canonicalize_reloc.

25 years ago* A few more improvements to gx jit prototype.
Frank Ch. Eigler [Tue, 1 Dec 1998 13:28:53 +0000 (13:28 +0000)]
* A few more improvements to gx jit prototype.
[common/ChangeLog]
1998-12-01  Frank Ch. Eigler  <fche@elastic.org>
* sim-gx-run.c (sim_engine_run): Use new tgx_info struct to
collect run-time arguments to gx block.
* sim-gx.h (sim_gx_function): Corresponding signature change.
* sim-gx.c (sim_gx_compiled_block_f): Remove nonfunctional code to
again compile a gx block source file.
(sim_gx_compiled_block_dispose): Uninstall obsoleted gx block
shared libraries.
(sim_gx_block_translate): Always emit new "gx_label_NNNN" labels,
for basic block entry points, even if !__GNUC__.
[m32r-gx/ChangeLog]
1998-12-01  Frank Ch. Eigler  <fche@elastic.org>
* Makefile.in (SIM_OBJS): Don't build sim-core.o.
* configure.in: Added --enable-sim-inline support.
Look for "getenv()" function.
* configure: Rebuilt.
* config.in: Rebuilt.
* gx-translate.c: Include "sim-inline.c" for sim-core inlining.
(m32r_gx_{load,store}*): Update signature.
(tgx_emit_pre_function): Emit new "tgx_info" struct, update
callback function signatures.
(m32r_emit_*_insn): Use new callback signatures.  For all short
branches in optimized mode, emit direct "goto gx_label_NNNN".
(tgx_optimize_test): If the GX_OPTIMIZE environment variable is
set, allow its integer value to override the optimization heuristic.
* m32r-sim.h: New empty placeholder file.
* sim-main.c: New empty placeholder file.
* sim-if.c (sim_create_inferior): Use NULL instead of &abort
for unimplemented register fondling functions.
* sim-main.h: Add multiple inclusion guard.  Update callback
function signatures.
(tgx_info): New struct for collecting gx block invocation
arguments.

25 years agoDetect the absence of a symbol hash table.
Nick Clifton [Tue, 1 Dec 1998 09:58:28 +0000 (09:58 +0000)]
Detect the absence of a symbol hash table.

25 years agoCleanup open comments.
Andrew Cagney [Tue, 1 Dec 1998 01:18:18 +0000 (01:18 +0000)]
Cleanup open comments.

25 years ago * config/fr30/tm-fr30.h (INNER_THAN): Add parameters.
Doug Evans [Tue, 1 Dec 1998 00:05:18 +0000 (00:05 +0000)]
* config/fr30/tm-fr30.h (INNER_THAN): Add parameters.

25 years ago* cgen-utils.c (cgen_virtual_opcode_table): Update.
Doug Evans [Mon, 30 Nov 1998 23:43:58 +0000 (23:43 +0000)]
* cgen-utils.c (cgen_virtual_opcode_table): Update.

25 years ago * cgen-dis.c (hash_insn_array): CGEN_INSN_VALUE ->
Doug Evans [Mon, 30 Nov 1998 23:41:55 +0000 (23:41 +0000)]
* cgen-dis.c (hash_insn_array): CGEN_INSN_VALUE ->
CGEN_INSN_BASE_VALUE.
* cgen-asm.in (insert_normal): Change start,length to unsigned int.
New args word_offset, word_length.  Rewrite.
(FLD): Define.
(insert_1): Fix lsb0 case.
* cgen-dis.in (extract_normal): Change start,length to unsigned int.
New args word_offset, word_length.  Rewrite.
(FLD): Define.
(extract_1): Fix lsb0 case.
* cgen-opc.in (FLD): Define.
* m32r-opc.c,m32r-opc.h,m32r-asm.c,m32r-dis.c: Regenerate.
* fr30-opc.c,fr30-opc.h,fr30-asm.c,fr30-dis.c: Regenerate.

25 years ago * Makefile.am (CGENFILES): Add rtx-funcs.scm.
Doug Evans [Mon, 30 Nov 1998 19:53:57 +0000 (19:53 +0000)]
* Makefile.am (CGENFILES): Add rtx-funcs.scm.
* Makefile.in: Rebuild.

25 years agomissing stuff for vr4xxx
Gavin Romig-Koch [Mon, 30 Nov 1998 19:28:22 +0000 (19:28 +0000)]
missing stuff for vr4xxx

25 years ago * elf32-sh.c (elf/sh.h): Include.
Joern Rennecke [Mon, 30 Nov 1998 15:29:45 +0000 (15:29 +0000)]
* elf32-sh.c (elf/sh.h): Include.
        sh_reloc_type: Delete.  Changed all references to elf_sh_reloc_type.
        (sh_elf_howto_tab): Add HOWTO for R_SH_SWITCH8.
        (sh_reloc_map): Map BFD_RELOC_8_PCREL to R_SH_SWITCH8.
        (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.
        * Makefile.in: Add dependency of elf32-sh.lo on $(INCDIR)/elf/sh.h.

25 years agoCARP:
Andrew Cagney [Mon, 30 Nov 1998 10:56:16 +0000 (10:56 +0000)]
CARP:
Cleanup FRAME_CHAIN_VALID. Replace all macro's with functions.

25 years agoCARP:
Andrew Cagney [Sun, 29 Nov 1998 07:41:36 +0000 (07:41 +0000)]
CARP:
Convert ADDR_BITS_REMOVE to a function.

25 years agoCARP:
Andrew Cagney [Sat, 28 Nov 1998 22:53:04 +0000 (22:53 +0000)]
CARP:
Rewrite INNER_THAN so that it takes parameters.

25 years agoCARP:
Andrew Cagney [Fri, 27 Nov 1998 23:35:08 +0000 (23:35 +0000)]
CARP:
STEP_SKIPS_DELAY - add STEP_SKIPS_DELAY_P and rewrite use removing
  #ifdef's.
NO_SINGLE_STEP - replace with SOFTWARE_SINGLE_STEP_P +
  SOFTWARE_SINGLE_STEP.  Replace global variable one_stepped with static
  singlestep_breakpoints_inserted_p.  Cleanup infrun.c (scary!).

25 years ago * elflink.h (compute_bucket_count): Don't allow minsize==0, it
Richard Henderson [Fri, 27 Nov 1998 17:03:39 +0000 (17:03 +0000)]
    * elflink.h (compute_bucket_count): Don't allow minsize==0, it
        causes division by zero later on.

25 years agoThu Nov 26 11:26:32 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 26 Nov 1998 16:50:44 +0000 (16:50 +0000)]
Thu Nov 26 11:26:32 1998  Dave Brolley  <brolley@cygnus.com>

* fr30-dis.c: Regenerated.

25 years agoThu Nov 26 11:26:32 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 26 Nov 1998 16:28:02 +0000 (16:28 +0000)]
Thu Nov 26 11:26:32 1998  Dave Brolley  <brolley@cygnus.com>

* fr30-asm.c,fr30-dis.c,fr30-opc.c: Regenerated.

25 years agoThu Nov 26 11:23:48 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 26 Nov 1998 16:25:57 +0000 (16:25 +0000)]
Thu Nov 26 11:23:48 1998  Dave Brolley  <brolley@cygnus.com>

* config/tc-fr30.c (md_pcrel_from_section): Restore previous calculation
of pcrel point.

25 years agoThu Nov 26 11:23:48 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 26 Nov 1998 16:25:34 +0000 (16:25 +0000)]
Thu Nov 26 11:23:48 1998  Dave Brolley  <brolley@cygnus.com>

* config/tc-fr30.c (md_pcrel_from_section): Restore previous calculation
of pcrel point.

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~

25 years agoThu Nov 26 11:19:35 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 26 Nov 1998 16:22:08 +0000 (16:22 +0000)]
Thu Nov 26 11:19:35 1998  Dave Brolley  <brolley@cygnus.com>

* elf32-fr30.c (fr30_elf_pc9_reloc,fr30_elf_pc12_reloc): Not
needed.

25 years agoCARP: Delete ABOUT_TO_RETURN across all targets.
Andrew Cagney [Thu, 26 Nov 1998 11:13:01 +0000 (11:13 +0000)]
CARP: Delete ABOUT_TO_RETURN across all targets.

25 years ago* rs6000-tdep.c (rs6000_breakpoint_from_pc): Change big_breakpoint
Andrew Cagney [Thu, 26 Nov 1998 10:36:45 +0000 (10:36 +0000)]
* rs6000-tdep.c (rs6000_breakpoint_from_pc): Change big_breakpoint
and little_breakpoint to char[] from char*.
* remote-array.c (array_insert_breakpoint): Change bp_addr to
CORE_ADDR type.

25 years ago* ldemul.h (ld_emulation_xfer_struct): new hook "recognized_file"
DJ Delorie [Wed, 25 Nov 1998 23:03:47 +0000 (23:03 +0000)]
* ldemul.h (ld_emulation_xfer_struct): new hook "recognized_file"
* ldemul.c (ldemul_recognized_file): new function, new hook
* ldint.texinfo: document new hook.
* ldlang.c (load_symbols): call recognized_hook for all objects we
do recognize, in case the emulation needs to handle them
specially.  PE DLLs use this.
* pe-dll.c (pe_dll_generate_def_file): take out hack and debug
printfs
* emultempl/pe.em (gld_i386_recognized_file): new function
(gld_i486_unrecognized_file): take out hack

25 years ago* coff-i386.c (i3coff_object_p): Remove hack. Use new emulation
DJ Delorie [Wed, 25 Nov 1998 22:59:34 +0000 (22:59 +0000)]
* coff-i386.c (i3coff_object_p): Remove hack.  Use new emulation
hook now.

25 years agoCARP: --enable-build-warnings=-Werror: Fix problems stopping GDB being
Andrew Cagney [Wed, 25 Nov 1998 22:13:53 +0000 (22:13 +0000)]
CARP: --enable-build-warnings=-Werror: Fix problems stopping GDB being
canadian-crossed to host i386-cygwin.

25 years agoFix --enable-build-warnings=-Werror failures.
Andrew Cagney [Wed, 25 Nov 1998 09:58:04 +0000 (09:58 +0000)]
Fix --enable-build-warnings=-Werror failures.
v850/simops.c, d10v/simops.c, v850/Makefile.in, d10v/Makefile.in:
Include targ-vals.h instead of syscall.h. Replace SYS_* with
TARGET_SYS_*.  Add dependency.
z8k/support.c: Include <errno.h>
v850/simops.c: Replace long with portable signed32.
mips/interp.c: Make sim_monitor global - needed by sky.

25 years agomem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): Pass
Andrew Cagney [Wed, 25 Nov 1998 09:44:57 +0000 (09:44 +0000)]
mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): Pass
address of bplen.

25 years agoExplicitly tag vr41/mips16 instructions.
Andrew Cagney [Wed, 25 Nov 1998 06:50:48 +0000 (06:50 +0000)]
Explicitly tag vr41/mips16 instructions.
Update configure.in/configure.

25 years agoremove some accidentally committed (harmless) code.
Felix Lee [Wed, 25 Nov 1998 04:22:28 +0000 (04:22 +0000)]
remove some accidentally committed (harmless) code.

25 years agoFix calculation of address for pc rel operations.
Nick Clifton [Wed, 25 Nov 1998 01:22:54 +0000 (01:22 +0000)]
Fix calculation of address for pc rel operations.

25 years agoAdd support for 9_PCREL and 12_PCREL relocs.
Nick Clifton [Wed, 25 Nov 1998 01:21:53 +0000 (01:21 +0000)]
Add support for 9_PCREL and 12_PCREL relocs.

25 years agoFor top level:
Gavin Romig-Koch [Wed, 25 Nov 1998 01:10:52 +0000 (01:10 +0000)]
For top level:
* config.sub (mips64vr4xxx,mips64vr4xxxel): New.

For gcc:
* config.sub (mips64vr4xxx,mips64vr4xxxel): New.
* configure.in (mips64vr4xxx,mips64vr4xxxel): New.
* config/mips/t-vr4xxx: New.
* config/mips/elfb4xxx.h: New.
* config/mips/elfl4xxx.h: New.
* configure: Rebuilt.

For gas:
* config/tc-mips.c (md_begin): Added mip64vr4xxx as a
possible CPU_TARGET.

For gdb:
* configure.tgt: Handle mips64*vr4xxx.

For ld:
* configure.tgt: Handle mips64*vr4xxx.