binutils-gdb.git
27 years agoMon Jun 16 12:49:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Mon, 16 Jun 1997 16:56:22 +0000 (16:56 +0000)]
Mon Jun 16 12:49:36 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* ldlang.c (lang_place_undefineds): Add \n in einfo call.
(lang_size_sections): Likewise.
* ldlex.l: Likewise.
* emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise.
* emultempl/mipsecoff.em (gld${EMULATION_NAME}_after_open):
Likewise.
(check_sections): Likewise.
(gld${EMULATION_NAME}_after_allocation): Likewise.
* emultempl/pe.em (gld_$${EMULATION_NAME}_before_allocation):
Likewise.
* mpw-eppcmac.c (gldppcmacos_read_file): Likewise.
* mpw-idtmips.c (gldmipsidt_after_open): Likewise.
(check_sections): Likewise.
(gldmipsidt_after_allocation): Likewise.

27 years agoMon Jun 16 12:49:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Mon, 16 Jun 1997 16:50:43 +0000 (16:50 +0000)]
Mon Jun 16 12:49:36 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* ldemul.c (ldemul_choose_mode): Remove unused einfo argument.

27 years ago * Makefile.in (OBJS): Put @extra_objects@ on the same line as
Ian Lance Taylor [Mon, 16 Jun 1997 16:48:01 +0000 (16:48 +0000)]
* Makefile.in (OBJS): Put @extra_objects@ on the same line as
macro.o.

27 years ago * configure.in: Build itl, db, sn, etc., when building for native
Ian Lance Taylor [Mon, 16 Jun 1997 15:13:43 +0000 (15:13 +0000)]
* configure.in: Build itl, db, sn, etc., when building for native
  cygwin32.

* Makefile.in (LD): New variable.
(EXTRA_HOST_FLAGS): Pass down LD.
($(DO_X)): Likewise.

Mon Jun 16 11:10:35 1997  Philip Blundell  <Philip.Blundell@pobox.com>

* Makefile.in (INSTALL): Use $(SHELL) when executing install-sh.

27 years ago * config/monitor.exp(gdb_load): Fix typo in regexp.
Bob Manson [Sat, 14 Jun 1997 16:25:14 +0000 (16:25 +0000)]
* config/monitor.exp(gdb_load): Fix typo in regexp.

Fixes last night's tcl error mesages.

27 years ago * fix earlier checkin error
Michael Snyder [Fri, 13 Jun 1997 22:41:14 +0000 (22:41 +0000)]
* fix earlier checkin error

27 years agoFri Jun 13 13:44:47 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Fri, 13 Jun 1997 20:53:34 +0000 (20:53 +0000)]
Fri Jun 13 13:44:47 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

* config/mips/tm-tx39[l].h, tx39[l].mt: change r3900 target to tx39.
[also clean up sanitization]

27 years ago * mn10300-tdep.c (mn10300_analyze_prologue): Fix some comments.
Jeff Law [Fri, 13 Jun 1997 20:19:53 +0000 (20:19 +0000)]
    * mn10300-tdep.c (mn10300_analyze_prologue): Fix some comments.
        Add missing return statements after finding an "add imm{16,32},sp"
        instruction.
        (mn10300_frame_chain): Add in size of our register save area to find
        our caller's frame if our caller does not have a frame pointer.
Fixes some problems debugging optimized code.

27 years ago * symfile.c (generic_load): Check return code of target_write_memory.
David Edelsohn [Fri, 13 Jun 1997 19:56:51 +0000 (19:56 +0000)]
* symfile.c (generic_load): Check return code of target_write_memory.

27 years ago * config/i386/nm-linux.h: Enable prototypes that were #ifdef out.
Fred Fish [Fri, 13 Jun 1997 17:30:24 +0000 (17:30 +0000)]
* config/i386/nm-linux.h: Enable prototypes that were #ifdef out.
* config/tm-sysv4.h (in_plt_section): Add prototype.

* maint.c (maintenance_translate_address): Avoid assignment
inside if, per GNU coding standards.
* symfile.c (simple_read_overlay_table): Avoid assignments inside if, per
GNU coding standards.

* monitor.c (parse_register_dump): Is really a void function.
Add prototype.
(monitor_read_memory): Remove unused variable "name".
(monitor_read_memory): Remove unused variable "regbuf".
(monitor_open): Remove unused variable "i".
(get_hex_word): Apparently unused, #if away for now.
(from_hex): Ditto.

* i386v4-nat.c (supply_fpregset): Remove unused variable "regi".
(fill_fpregset): Remove unused variables "regi", "to", "from" and
"registers".

* remote-e7000.c (ctype.h): Include.
(e7000_insert_breakpoint): #if away unused arg used by unused expr.
* frame.h (generic_get_saved_register): Add prototype.
(enum lval_type): Add partial forward decl.
* dsrec.c (make_srec): Remove unused variable "type_code".
* remote-sim.c (gdbsim_wait): Handle sim_running and sim_polling
cases by just ignoring them.
(command.h): Include.

* java-exp.y (parse_number): Remove unused variable "unsigned_p".
* java-lang.c (gdbcore.h): Include for prototypes.
(type_from_class): Remove unused variable "ftype".
(type_from_class): Remove unused variable "name_length".
(evaluate_subexp_java): Add default case to handle remaining
enumerations.
* java-valprint.c (c-lang.h): Include for prototypes.

* symfile.c (simple_read_overlay_region_table): #if away
unused function.
(simple_free_overlay_region_table): Ditto.
(overlay_is_mapped): Add default case to switch.
(simple_read_overlay_region_table): Ditto.
(simple_read_overlay_region_table): Add prototype.

* symtab.c (fixup_symbol_section): Remove unused msym variable.
(fixup_psymbol_section): Ditto.
(find_pc_sect_symtab): Make distance a CORE_ADDR.

* utils.c: Add comment about t_addr being either unsigned long or
unsigned long long.
(paddr): Change formats to match actual types args are cast to.
(preg): Ditto.
(paddr_nz): Ditto.
(preg_nz): Ditto.

27 years ago * configure.in (targargs): Strip out any supplied --build argument
Bob Manson [Fri, 13 Jun 1997 17:25:00 +0000 (17:25 +0000)]
* configure.in (targargs): Strip out any supplied --build argument
  before adding our own. Always add --build.

27 years ago * sh-tdep.c (symfile.h): Include.
Fred Fish [Fri, 13 Jun 1997 15:22:08 +0000 (15:22 +0000)]
* sh-tdep.c (symfile.h): Include.
(gdb_string.h): Include.
(sh_fix_call_dummy): Ifdef away, currently unused.
* config/sh/tm-sh.h (pop_frame): Add prototype.
* config/sh/tm-sh.h (sh_set_processor_type): Add prototype.

27 years ago * defs.h (perror_with_name): Is a NORETURN function.
Fred Fish [Fri, 13 Jun 1997 14:51:32 +0000 (14:51 +0000)]
* defs.h (perror_with_name): Is a NORETURN function.
* utils.c (perror_with_name): Is a NORETURN function.
(error): Is NORETURN independently of ANSI_PROTOTYPES.

* symtab.c (fixup_symbol_section): Remove prototype.
* symtab.h: (fixup_symbol_section): Add prototype.
* m32r-rom.c (report_transfer_performance): Add prototype.
* sparclet-rom.c: Ditto.
* dsrec.c: Ditto.

* c-exp.y (parse_number): Cast args to float* or double* as
appropriate for conversion format.
* java-exp.y (parse_number): Ditto.

* Makefile.in (c-exp.tab.c): Remove #line lines that refer
to nonexistant y.tab.c file.
(java-exp.tab.c): Ditto.
(f-exp.tab.c): Ditto.
(m2-exp.tab.c): Ditto.
start-sanitize-gdbtk

* gdbtk.c (gdbtk_init): Make truth value test explicit.
Remove unused static variable "Gdbtk_Library".
end-sanitize-gdbtk

27 years ago * configure.in (targargs): Pass --build if we're doing
Bob Manson [Fri, 13 Jun 1997 04:15:12 +0000 (04:15 +0000)]
* configure.in (targargs): Pass --build if we're doing
a cross-compile.

Fix problems with the build defaulting to the host value if it isn't
specified.

27 years ago * gdb.base/funcargs.exp: Remove spurious suppress tests call.
Bob Manson [Fri, 13 Jun 1997 03:59:40 +0000 (03:59 +0000)]
* gdb.base/funcargs.exp: Remove spurious suppress tests call.

27 years ago * dlltool.c (export_type): Add data field.
Ian Lance Taylor [Thu, 12 Jun 1997 16:30:55 +0000 (16:30 +0000)]
* dlltool.c (export_type): Add data field.
(def_exports): Add data parameter.  Change all callers.
(dump_def_info): Print data field.
(gen_def_file): Likewise.
(make_one_lib_file): Handle data field by not emitting simple
label and not emitting anything in SEC_TEXT.
(dtab): Print data field.
(process_duplicates): Merge data field.
* dlltool.h (def_exports): Update declaration.
* defparse.y (expline): Accept opt_DATA.  Pass it to def_exports.
(opt_DATA): New non-terminal.

27 years ago * write.c (write_object_file): In non BFD_ASSEMBLER code, as we
Ian Lance Taylor [Thu, 12 Jun 1997 16:17:53 +0000 (16:17 +0000)]
* write.c (write_object_file): In non BFD_ASSEMBLER code, as we
step through the frags calling cvt_frag_to_fill, switch to
SEG_DATA when we reach data_frag_root.
PR 12580.

27 years ago * elf32-mn10300.c (elf32_mn10300_link_hash_entry): New structure
Jeff Law [Thu, 12 Jun 1997 04:50:18 +0000 (04:50 +0000)]
    * elf32-mn10300.c (elf32_mn10300_link_hash_entry): New structure
        for derived elf linker hash table entries.  References to
        elf_link_hash_entry changed appropriately.
        (elf32_mn10300_link_hash_table): New structure for derived elf
        linker hash table.
        (elf32_mn10300_hash_table): Define.
        (elf32_mn10300_link_hash_traverse): Likewise.
        (elf32_mn10300_link_hash_newfunc): New function.
        (elf32_mn10300_link_hash_table_create): Likewise.
        (elf32_mn10300_finish_hash_table_entry): Likewise.
        (mn10300_elf_relax_section): Handle "call" -> "calls", removal
        of prologue code, and call:32->call:16 relaxing.
        (compute_function_info: New function.
        (bfd_elf32_bfd_ilink_hash_table_create): Define.

27 years agoBack out last change, there are too many more to fix them all.
Fred Fish [Thu, 12 Jun 1997 04:26:37 +0000 (04:26 +0000)]
Back out last change, there are too many more to fix them all.

27 years ago * simops.c: Fix thinko in last change.
Jeff Law [Thu, 12 Jun 1997 04:14:42 +0000 (04:14 +0000)]
    * simops.c: Fix thinko in last change.

27 years ago * coffgen.c (_bfd_coff_is_local_label_name): Return proper boolean
Fred Fish [Thu, 12 Jun 1997 03:22:46 +0000 (03:22 +0000)]
* coffgen.c (_bfd_coff_is_local_label_name): Return proper boolean
(enum) type.

27 years ago * dlltool.h: New file.
Ian Lance Taylor [Wed, 11 Jun 1997 21:18:10 +0000 (21:18 +0000)]
* dlltool.h: New file.
* deflex.l: Include dlltool.h and libiberty.h.  Don't declare
strdup.  Use xstrdup rather than strdup.
* defparse.y: Include bfd.h, bucomm.h, and dlltool.h.
* dlltool.c: Include dlltool.h and time.h.  Make a lot of
variables and functions static.  Make a lot of char * variables
and parameters const.  Add declarations for static functions.  Do
some reindenting.  Hide more PowerPC stuff inside DLLTOOL_PPC.

27 years ago * configure: Use '|' instead of ":" as the seperator in
Rob Savoye [Wed, 11 Jun 1997 20:09:55 +0000 (20:09 +0000)]
* configure: Use '|' instead of ":" as the seperator in
sed. Otherwise sed chokes on NT path names with drive
designators. Also look for "?:*" as the leading characters in an
absolute pathname.

27 years ago * elflink.h (elf_link_output_extsym): Call finish_dynamic_symbol
Ian Lance Taylor [Wed, 11 Jun 1997 16:59:00 +0000 (16:59 +0000)]
* elflink.h (elf_link_output_extsym): Call finish_dynamic_symbol
for a symbol which is being forced to be local.
* elf32-i386.c (elf_i386_relocate_section): Write out the
  relocation value for a GOT reloc for a symbol which is turning
  into a local symbol.
(elf_i386_finish_dynamic_symbol): If a symbol is turning into a
local symbol, write out a RELATIVE reloc rather than a GLOB_DAT
reloc.
* elf32-m68k.c, elf32-sparc.c: Corresponding changes.

27 years agoWed Jun 11 12:05:52 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Wed, 11 Jun 1997 16:06:29 +0000 (16:06 +0000)]
Wed Jun 11 12:05:52 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* ar.c (bfd_special_undocumented_glue): Add const.

27 years ago * elf32-i386.c (elf_i386_relocate_section): Get the relocation
Ian Lance Taylor [Wed, 11 Jun 1997 04:01:48 +0000 (04:01 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Get the relocation
value if the symbol is turning into a local symbol.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.

27 years ago * config/tc-mn10300.c (md_assemble): Allow an empty register
Jeff Law [Tue, 10 Jun 1997 23:12:45 +0000 (23:12 +0000)]
    * config/tc-mn10300.c (md_assemble): Allow an empty register
        list for instructions which use register lists.

27 years ago * simops.c: "call" stores the callee saved registers into the
Jeff Law [Tue, 10 Jun 1997 22:59:13 +0000 (22:59 +0000)]
    * simops.c: "call" stores the callee saved registers into the
        stack!  Update the stack pointer properly when done with
        register saves.

27 years ago(elf_link_add_object_symbols): Also read verneed
Ulrich Drepper [Tue, 10 Jun 1997 21:46:23 +0000 (21:46 +0000)]
(elf_link_add_object_symbols): Also read verneed
information by calling `_bfd_elf_slurp_version_tables'.
(elf_link_add_object_symbols): For undefined symbols look for
version informaiton in the verneed records.
(elf_link_add_object_symbols): Use soname of shared object
for verneed record if it is available.

27 years ago * simops.c: Fix return address computation for "call" instructions.
Jeff Law [Tue, 10 Jun 1997 18:32:40 +0000 (18:32 +0000)]
    * simops.c: Fix return address computation for "call" instructions.

27 years agoTue Jun 10 11:26:47 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Tue, 10 Jun 1997 15:27:52 +0000 (15:27 +0000)]
Tue Jun 10 11:26:47 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* arm-dis.c: Add prototypes for arm_decode_shift and
print_insn_arm.

27 years agoTue Jun 10 11:18:09 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Tue, 10 Jun 1997 15:25:05 +0000 (15:25 +0000)]
Tue Jun 10 11:18:09 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* config/tc-arm.c (md_apply_fix3): Make temp unsigned long.

27 years agoTue Jun 10 11:18:09 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Tue, 10 Jun 1997 15:21:36 +0000 (15:21 +0000)]
Tue Jun 10 11:18:09 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* config/tc-arm.c (arm_adjust_symtab): Only set storage classes if
OBJ_COFF.

27 years agoTue Jun 10 11:18:09 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Tue, 10 Jun 1997 15:20:05 +0000 (15:20 +0000)]
Tue Jun 10 11:18:09 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* config/tc-arm.c: Add prototypes for many static functions.
(struct asm_opcode ): Add prototypes for parms field.
(struct thumb_opcode ): Likewise.
(fp_op2): Remove unused flags parameter.
(output_inst): Make static.
(arm_after_pass_hook): Remove unused ignore parameter.
* config/tc-arm.h (arm_after_pass_hook): Declare.
(arm_start_line_hook): Declare.
(arm_frob_label): Declare.

27 years agoTue Jun 10 11:13:03 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Tue, 10 Jun 1997 15:16:17 +0000 (15:16 +0000)]
Tue Jun 10 11:13:03 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* cpu-arm.c: Add prototypes for compatible and scan.
* cofflink.c: Add prototype for mark_relocs.

* archive.c (bfd_special_undocumented_glue): Change filename to
const pointer.  Add prototype.

27 years ago * config/tc-sh.c (md_apply_fix): Check for overflow.
Ian Lance Taylor [Mon, 9 Jun 1997 18:05:46 +0000 (18:05 +0000)]
* config/tc-sh.c (md_apply_fix): Check for overflow.
PR 12530.

27 years agoMon Jun 9 12:55:45 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Mon, 9 Jun 1997 16:56:41 +0000 (16:56 +0000)]
Mon Jun  9 12:55:45 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* depend.c (wrap_output): new prototype.

27 years ago * config/tc-m68k.c (md_section_align): If a.out and BFD, force
Ian Lance Taylor [Mon, 9 Jun 1997 16:53:45 +0000 (16:53 +0000)]
* config/tc-m68k.c (md_section_align): If a.out and BFD, force
section size to be aligned.

27 years agoMon Jun 9 12:34:21 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Mon, 9 Jun 1997 16:36:08 +0000 (16:36 +0000)]
Mon Jun  9 12:34:21 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elflink.h (elf_link_add_object_symbols): Ignore relocations of
sections that will be discarded.

27 years agostart-sanitize-gdbtk
Peter Schauer [Sat, 7 Jun 1997 09:38:31 +0000 (09:38 +0000)]
start-sanitize-gdbtk
* gdbtk.c (gdb_get_breakpoint_info):  Add string for new
enumeration del_at_next_stop to bpdisp array.

end-sanitize-gdbtk
* eval.c (evaluate_subexp_for_sizeof):  Handle dereferencing
of non-pointer values.

* symtab.c (gdb_mangle_name):  Improve mangling of nested types,
their physical names already include the class name.

* valops.c (value_cast):  Handle upcast of a class pointer.

From Andreas Schwab (schwab@issan.informatik.uni-dortmund.de):
* corelow.c (get_core_registers):  Make secname big enough.

27 years ago * scripttempl/pe.sc: Add zeroes after .idata$3 to mark the end of
Ian Lance Taylor [Sat, 7 Jun 1997 03:48:00 +0000 (03:48 +0000)]
* scripttempl/pe.sc: Add zeroes after .idata$3 to mark the end of
the import list.

27 years ago Modified Files:
Keith Seitz [Fri, 6 Jun 1997 21:47:12 +0000 (21:47 +0000)]
 Modified Files:
ChangeLog sh-tdep.c config/sh/tm-sh.h
        * config/sh/tm-sh.h: add define for FPSCR_REGNUM
        * sh-tdep.c (sh_show_regs): print out all registers for
        the current processor

27 years ago * ld-elfvers/vers6.ver: Update for recent elflink.h patch to
Ian Lance Taylor [Fri, 6 Jun 1997 21:36:11 +0000 (21:36 +0000)]
* ld-elfvers/vers6.ver: Update for recent elflink.h patch to
version handling.

27 years ago(elf_link_find_version_dependencies): When searching
Ulrich Drepper [Fri, 6 Jun 1997 21:19:41 +0000 (21:19 +0000)]
(elf_link_find_version_dependencies): When searching
for known version symbol skip non-matching verdef records, not
matching records.

27 years ago * config/tc-sh.h (md_cons_align): Define.
Ian Lance Taylor [Fri, 6 Jun 1997 21:17:46 +0000 (21:17 +0000)]
* config/tc-sh.h (md_cons_align): Define.
(sh_cons_align): Declare.
* config/tc-sh.c (md_pseudo_table): Add .uaword and .ualong.
(sh_no_align_cons): New static variable.
(s_uacons): New static function.
(sh_cons_align): New function.
(sh_handle_align): Warn about misaligned data.
* doc/c-sh.texi: Document .uaword and .ualong.
PR 12528.

27 years agosim_kill() isn't used.
Andrew Cagney [Fri, 6 Jun 1997 03:02:51 +0000 (03:02 +0000)]
sim_kill() isn't used.

27 years agoOpen in binary mode when available.
Andrew Cagney [Fri, 6 Jun 1997 02:34:55 +0000 (02:34 +0000)]
Open in binary mode when available.

27 years agoClean up formatting of instruction traces.
Andrew Cagney [Fri, 6 Jun 1997 00:31:08 +0000 (00:31 +0000)]
Clean up formatting of instruction traces.

27 years agoVerify magic number of simulator struct.
Andrew Cagney [Thu, 5 Jun 1997 04:51:34 +0000 (04:51 +0000)]
Verify magic number of simulator struct.

27 years agoInitialize the sim-engine module.
Andrew Cagney [Wed, 4 Jun 1997 02:47:49 +0000 (02:47 +0000)]
Initialize the sim-engine module.

27 years ago Removed global variable "exec_output". remote_load now returns
Bob Manson [Wed, 4 Jun 1997 00:25:16 +0000 (00:25 +0000)]
Removed global variable "exec_output". remote_load now returns
the output as part of its result.

27 years agoAdded the Thumb relocations from the armT-970328-branch.
Nick Clifton [Wed, 4 Jun 1997 00:11:36 +0000 (00:11 +0000)]
Added the Thumb relocations from the armT-970328-branch.

27 years agoMerged in changes made in armT-970328-branch
Nick Clifton [Wed, 4 Jun 1997 00:07:07 +0000 (00:07 +0000)]
Merged in changes made in armT-970328-branch

27 years ago * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
Bob Manson [Wed, 4 Jun 1997 00:04:43 +0000 (00:04 +0000)]
* config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
  here. Call gdb_target_exec before rebooting the target, to make
  sure the connection to the target is closed.
(gdb_load): Pass the name of the executable to gdb_target_monitor.
Don't call gdb_file_cmd here; let gdb_target_monitor do it.

* config/gdbserver.exp: Pass the executable being loaded to
  gdb_target_monitor. Don't call gdb_file_cmd here; let
  gdb_target_monitor do it.

* gdb.disasm/hppa.exp: Don't use exec_output.

27 years ago * configure.tgt: add mipsr3900-elf target
Michael Snyder [Tue, 3 Jun 1997 23:28:54 +0000 (23:28 +0000)]
* configure.tgt: add mipsr3900-elf target
* config/mips/r3900*.mt config/mips/tm-r3900*.h: ditto

27 years agoMerged in the changes from the armT-970328-branch.
Nick Clifton [Tue, 3 Jun 1997 23:25:43 +0000 (23:25 +0000)]
Merged in the changes from the armT-970328-branch.

27 years agoAdded support for Thumb architecture from armT-970328-branch.
Nick Clifton [Tue, 3 Jun 1997 23:15:49 +0000 (23:15 +0000)]
Added support for Thumb architecture from armT-970328-branch.

27 years agoo Fixes to repeated watchpoints
Andrew Cagney [Tue, 3 Jun 1997 23:03:50 +0000 (23:03 +0000)]
o Fixes to repeated watchpoints
o Add mips ISA instructions needed to handle interrupts

27 years ago * Makefile.in (LIB_RUNTIME_DIR): New variable.
Tom Tromey [Tue, 3 Jun 1997 22:34:23 +0000 (22:34 +0000)]
* Makefile.in (LIB_RUNTIME_DIR): New variable.

27 years ago Added proelf.
Bob Manson [Tue, 3 Jun 1997 22:05:24 +0000 (22:05 +0000)]
Added proelf.

27 years agoadd c-arm.texi
Ian Lance Taylor [Tue, 3 Jun 1997 15:35:47 +0000 (15:35 +0000)]
add c-arm.texi

27 years agoAdded an enable of the ARM documentation.
Nick Clifton [Mon, 2 Jun 1997 23:43:17 +0000 (23:43 +0000)]
Added an enable of the ARM documentation.

27 years agoAdded ARM documentation from armT-970328-branch
Nick Clifton [Mon, 2 Jun 1997 23:28:16 +0000 (23:28 +0000)]
Added ARM documentation from armT-970328-branch

27 years agoEnd the tests with no-ops.
Gavin Romig-Koch [Mon, 2 Jun 1997 16:04:54 +0000 (16:04 +0000)]
End the tests with no-ops.

27 years agoAdd r3900 support.
Gavin Romig-Koch [Mon, 2 Jun 1997 15:56:00 +0000 (15:56 +0000)]
Add r3900 support.

27 years agoImprove messages from regexp_diff
Gavin Romig-Koch [Mon, 2 Jun 1997 15:49:26 +0000 (15:49 +0000)]
Improve messages from regexp_diff

27 years agoo Fix padd insn
Andrew Cagney [Mon, 2 Jun 1997 15:00:43 +0000 (15:00 +0000)]
o Fix padd insn
o Take an interrupt when an int event occures.

27 years ago * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Set dynindx
Ian Lance Taylor [Sat, 31 May 1997 01:57:27 +0000 (01:57 +0000)]
* elf32-sparc.c (elf32_sparc_size_dynamic_sections): Set dynindx
for a section even if it is not loaded.
Otherwise compiling this
static char bar; char *foo() { return &bar; }
without -fpic and then doing ld -shared OBJECT dumps core.

27 years ago * cofflink.c (coff_link_add_symbols): If PE file, don't subtract
Ian Lance Taylor [Fri, 30 May 1997 16:47:49 +0000 (16:47 +0000)]
* cofflink.c (coff_link_add_symbols): If PE file, don't subtract
section VMA.
(_bfd_coff_link_input_bfd): Separate section VMA handling for
input and output files.
(_bfd_coff_generic_relocate_section): Check whether input file,
not output file, is a PE file.

27 years agoAdd assembler information to igen input files.
Andrew Cagney [Fri, 30 May 1997 07:25:13 +0000 (07:25 +0000)]
Add assembler information to igen input files.

27 years agoThu May 29 12:58:26 1997 Ben Pfaff <pfaffben@pilot.msu.edu>
Ian Lance Taylor [Thu, 29 May 1997 16:59:46 +0000 (16:59 +0000)]
Thu May 29 12:58:26 1997  Ben Pfaff  <pfaffben@pilot.msu.edu>

* as.c: (parse_args) `-t' option requires an argument.

27 years agoFix subu immed - was incorrectly using unsigned.
Andrew Cagney [Thu, 29 May 1997 07:25:20 +0000 (07:25 +0000)]
Fix subu immed - was incorrectly using unsigned.

27 years agoAdd a simple dissasembler to igen
Andrew Cagney [Thu, 29 May 1997 07:06:41 +0000 (07:06 +0000)]
Add a simple dissasembler to igen

27 years ago * Makefile.in: Rebuild dependencies.
Ian Lance Taylor [Wed, 28 May 1997 21:58:27 +0000 (21:58 +0000)]
* Makefile.in: Rebuild dependencies.

27 years ago * config/tc-i386.c (tc_gen_reloc): Don't try to convert the type
Ian Lance Taylor [Wed, 28 May 1997 20:17:55 +0000 (20:17 +0000)]
* config/tc-i386.c (tc_gen_reloc): Don't try to convert the type
  of a BFD_RELOC_RVA reloc.

27 years ago * coff-i386.c (coff_i386_reloc): Don't just exit if we see an
Ian Lance Taylor [Wed, 28 May 1997 20:16:35 +0000 (20:16 +0000)]
* coff-i386.c (coff_i386_reloc): Don't just exit if we see an
R_IMAGEBASE reloc.

27 years agoAdded support for ARM architecture supersets in the compatibility function.
Nick Clifton [Wed, 28 May 1997 16:49:25 +0000 (16:49 +0000)]
Added support for ARM architecture supersets in the compatibility function.

27 years ago * config/tc-hppa.c (tc_fix_adjustable): Reject absolute calls/jumps.
Jeff Law [Wed, 28 May 1997 16:48:32 +0000 (16:48 +0000)]
    * config/tc-hppa.c (tc_fix_adjustable): Reject absolute calls/jumps.
        (hppa_force_relocation): Force a relocation for an absolute
        call/jump.
part of gcc/12343.

27 years ago * cofflink.c (_bfd_coff_final_link): Initialize global_to_static
Bob Manson [Wed, 28 May 1997 02:43:30 +0000 (02:43 +0000)]
* cofflink.c (_bfd_coff_final_link): Initialize global_to_static
  member.

Fixes linker bug on hpux-x-i960-vxworks.

27 years agoMade coff-arm_bfd_set_private_flags global as it is called directly from
Nick Clifton [Tue, 27 May 1997 21:37:16 +0000 (21:37 +0000)]
Made coff-arm_bfd_set_private_flags global as it is called directly from
gas/config/tc-arm.c .

27 years agoTue May 27 15:58:53 1997 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Tue, 27 May 1997 20:01:14 +0000 (20:01 +0000)]
Tue May 27 15:58:53 1997  Richard Henderson  <rth@tamu.edu>

* elf64-alpha.c (PLT_ENTRY_*): Use a new thread-safe format.
(elf64_alpha_finish_dynamic_symbol): Fill it in properly.

27 years agoTue May 27 11:02:08 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 27 May 1997 15:05:40 +0000 (15:05 +0000)]
Tue May 27 11:02:08 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>

* i386-dis.c (dis386[], dis386_twobyte[]): change pushl/popl
to pushS/popS for segment regs and byte constant so that
pushw/popw printed when in 16 bit data mode.

* i386-dis.c (dis386[]): change cwtl, cltd to cWtS, cStd to
print cbtw, cwtd in 16 bit data mode.
* i386-dis.c (putop): extra case W to support above.

* i386-dis.c (print_insn_x86): print addr32 prefix when given
address size prefix in 16 bit address mode.

27 years agoFix watching PC for 64bit (mips) target.
Andrew Cagney [Tue, 27 May 1997 11:25:47 +0000 (11:25 +0000)]
Fix watching PC for 64bit (mips) target.
Stop watchpoints corrupting the event queue.

27 years agoExtend xor-endian and per-cpu support in core module.
Andrew Cagney [Tue, 27 May 1997 06:48:20 +0000 (06:48 +0000)]
Extend xor-endian and per-cpu support in core module.
Allow negated test when watching value within core.

27 years ago * coff-ppc.c (coff_ppc_relocate_section): If PE file, don't add
Ian Lance Taylor [Mon, 26 May 1997 18:09:21 +0000 (18:09 +0000)]
* coff-ppc.c (coff_ppc_relocate_section): If PE file, don't add
section VMA.

27 years ago * peicode.h (coff_bfd_print_private_bfd_data): #undef before #define.
Fred Fish [Mon, 26 May 1997 18:00:54 +0000 (18:00 +0000)]
* peicode.h (coff_bfd_print_private_bfd_data): #undef before #define.
(coff_bfd_copy_private_bfd_data): Ditto.
* coff-arm.c (coff_arm_bfd_merge_private_bfd_data): Make static.
(coff_arm_bfd_print_private_bfd_data): Ditto.
(coff_arm_bfd_set_private_flags): Ditto.
(coff_arm_bfd_copy_private_bfd_data): Ditto.

27 years ago * doc/as.texinfo: Don't use @value in section names or index
Ian Lance Taylor [Mon, 26 May 1997 17:25:22 +0000 (17:25 +0000)]
* doc/as.texinfo: Don't use @value in section names or index
entries; it confuses texinfo.tex.

27 years ago * libcoff-in.h (struct coff_final_link_info): Add boolean
Fred Fish [Sat, 24 May 1997 15:30:55 +0000 (15:30 +0000)]
* libcoff-in.h (struct coff_final_link_info): Add boolean
global_to_static member for support of task linking.
(_bfd_coff_write_task_globals): Add prototype.
* libcoff.h: Regenerate.
* coffcode.h (coff_write_object_contents): Use #ifdef to
check RS6000COFF_C, to be consistent with all other uses
in this file.
* cofflink.c (_bfd_coff_final_link): If doing task linking,
call _bfd_coff_write_task_globals.
(_bfd_coff_link_input_bfd): If doing task linking, convert
global functions to static.
(_bfd_coff_write_global_sym): If doing task linking, convert
global variables to static.
(_bfd_coff_write_task_globals): New function.
* coff-tic80.c (TIC80COFF): Define this instead of just TIC80.
(C_AUTOARG): #undef since it clashes with C_UEXT.
(C_LASTENT): #undef since it clashes with C_STATLAB.
* coffcode.h (coff_write_object_contents): Use TIC80COFF
rather than TIC80.
(coff_slurp_symbol_table): Use C_SYSTEM.  Hide C_AUTOARG use
when TIC80COFF defined (clashes with C_UEXT).  Explicitly
recognize C_UEXT, C_STATLAB, and C_EXTLAB as unsupported.
PR 12236

27 years ago * internal.h (C_UEXT, C_STATLAB, C_EXTLAB, C_SYSTEM):
Fred Fish [Sat, 24 May 1997 15:28:55 +0000 (15:28 +0000)]
  * internal.h (C_UEXT, C_STATLAB, C_EXTLAB, C_SYSTEM):
      New storage classes for TIc80.
PR 12236

27 years ago * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
Bob Manson [Fri, 23 May 1997 22:30:29 +0000 (22:30 +0000)]
* gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
  test_calls after restarting.

* lib/gdb.exp(gdb_run_cmd): Send jump command again after
  reloading.

* gdb.base/watchpoint.exp: Fix typo.

* gdb.base/setshow.exp: Check for use_gdb_stub.

* gdb.base/break.exp: Fix continue until exit test for the gdb
  stub case.
* gdb.base/langs.exp: Ditto.

* config/monitor.exp(gdb_load): Handle gdb_sect_offset and
  gdb_load_offset. If we weren't given a file to load, figure out
  what the current file is and use it.

27 years ago * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
Bob Manson [Fri, 23 May 1997 21:49:12 +0000 (21:49 +0000)]
* config/monitor.exp(gdb_load): Handle gdb_sect_offset and
  gdb_load_offset.

27 years ago * infcmd.c (jump_command): Don't try to dereference sfn if it's
Bob Manson [Fri, 23 May 1997 21:46:34 +0000 (21:46 +0000)]
* infcmd.c (jump_command): Don't try to dereference sfn if it's
  NULL.

27 years ago * sh-dis.c: Reindent. Rename local variable fprintf to
Ian Lance Taylor [Fri, 23 May 1997 20:52:06 +0000 (20:52 +0000)]
* sh-dis.c: Reindent.  Rename local variable fprintf to
fprintf_fn.

27 years ago * config/i386-bozo.exp: New file.
Bob Manson [Fri, 23 May 1997 20:28:54 +0000 (20:28 +0000)]
* config/i386-bozo.exp: New file.

27 years agoadd depend.c
Ian Lance Taylor [Fri, 23 May 1997 20:15:59 +0000 (20:15 +0000)]
add depend.c

27 years ago * doc/as.texinfo: Updated for -MD option.
Tom Tromey [Fri, 23 May 1997 19:30:41 +0000 (19:30 +0000)]
    * doc/as.texinfo: Updated for -MD option.
        * Makefile.in (CFILES): Added depend.c.
        (OBJS): Added depend.o.
        * as.h (start_dependencies, register_dependency,
        print_dependencies): New declarations.
        * depend.c: New file.
        * as.c (parse_args): Added -MD option.
        (main): Call print_dependencies.
        (show_usage): Added help for -MD.
        * read.c (s_app_file): Call register_dependency.
        (s_include): Call register_dependency when file is found.
        (read_a_source_file): Call register_dependency.

27 years ago * coff-tic80.c (tic80_howto_table): Change overflow check for most
Ian Lance Taylor [Fri, 23 May 1997 16:39:10 +0000 (16:39 +0000)]
* coff-tic80.c (tic80_howto_table): Change overflow check for most
PP relocations to complain_overflow_dont.

27 years agoDon't restrict the endian commands to BI-ENDIAN gdb.
Andrew Cagney [Fri, 23 May 1997 09:25:01 +0000 (09:25 +0000)]
Don't restrict the endian commands to BI-ENDIAN gdb.

27 years agoPreliminary suport for xor-endian suport in core module.
Andrew Cagney [Fri, 23 May 1997 09:19:43 +0000 (09:19 +0000)]
Preliminary suport for xor-endian suport in core module.

27 years ago Make sure we keep the old value of timeout set properly.
Bob Manson [Fri, 23 May 1997 06:15:46 +0000 (06:15 +0000)]
Make sure we keep the old value of timeout set properly.