platform/upstream/binutils.git
26 years ago * som.c (som_finish_writing): Perform some sanity checks when
Jeff Law [Mon, 5 Oct 1998 20:57:25 +0000 (20:57 +0000)]
    * som.c (som_finish_writing): Perform some sanity checks when
        writing an executable or shared library.
17075

26 years ago * c-lang.c (emit_char c_printchar c_printstr), c-lang.h (c_printstr)
Stu Grossman [Mon, 5 Oct 1998 19:42:04 +0000 (19:42 +0000)]
* c-lang.c (emit_char c_printchar c_printstr), c-lang.h (c_printstr)
ch-lang.c (chill_printstr chill_printchar) c-valprint.c (c_val_print)
ch-valprint.c (chill_val_print) expprint.c (print_subexp) f-lang.c
(f_printstr f_printchar emit_char) f-valprint.c (f_val_print) jv-lang.c
(java_printchar java_emit_char) jv-valprint.c (java_value_print
java_val_print) language.c (unk_lang_printchar unk_lang_printstr
unk_lang_emit_char) language.h (struct language_defn LA_PRINT_STRING
LA_EMIT_CHAR) m2-lang.c (m2_printstr m2_printchar emit_char) printcmd.c
(print_formatted) scm-lang.c (scm_printstr) valprint.c
(val_print_string) value.h (val_print_string):  Add emit_char routines
to language_desc struct to allow finer control over language specific
character output issues.  Add character width arg to printstr routines
to allow handling of wchar_t/Unicode strings.  Fix c_printstr to handle
wide characters.  Supply width argument to LA_PRINT_STRING and
val_print_string.

* jv-lang.c (java_object_type dynamics_objfile java_link_class_type
get_dynamics_objfile get_java_object_type) jv-lang.h
(get_java_object_type):  Make lots of things static.

* expprint.c (dump_prefix_expression dump_subexp):  Move opcode name
printing to common routine (op_name).
* (dump_subexp):  Add support for OP_SCOPE.

26 years ago * dwarf1.c : New file. Adds _bfd_dwarf1_find_nearest_line.
Gavin Romig-Koch [Mon, 5 Oct 1998 16:07:44 +0000 (16:07 +0000)]
* dwarf1.c : New file.  Adds _bfd_dwarf1_find_nearest_line.
* configure.in (elf): Add dwarf1.lo.
* elf_bfd.h (elf_ob_tdata): Add dwarf1_find_line_info.
* elf.c (_bfd_elf_find_nearest_line): Add call to
_bfd_dwarf1_find_nearest_line.
* elf32-mips.c (_bfd_mips_elf_find_nearest_line):
Add call to _bfd_dwarf1_find_nearest_line.
* configure: Rebuilt.

26 years agoelflink.h (elf_gc_sections): Do not allow garbage
Catherine Moore [Mon, 5 Oct 1998 15:21:26 +0000 (15:21 +0000)]
elflink.h (elf_gc_sections):  Do not allow garbage
        collection if dynamic sections have been created.

: ----------------------------------------------------------------------

26 years ago * ldmain.c (main): Error if --gc-sections and
Catherine Moore [Mon, 5 Oct 1998 14:48:32 +0000 (14:48 +0000)]
    * ldmain.c (main):  Error if --gc-sections and
        dyanmic linking.
        * scripttempl/v850.sc:  Add KEEP attribute to .init,
        .fini, .dtors and .ctors.  Add .data and .text
        wildcards to support section garbage collection.

26 years agoAdd vtable relocs.
Catherine Moore [Mon, 5 Oct 1998 14:41:43 +0000 (14:41 +0000)]
Add vtable relocs.

26 years ago * symbols.c (S_IS_FUNCTION): New.
Catherine Moore [Mon, 5 Oct 1998 14:30:25 +0000 (14:30 +0000)]
    * symbols.c (S_IS_FUNCTION):  New.
        * config/tc-v850.h (obj_fix_adjustable):  Define.
        (TC_FORCE_RELOCATION):  Define.
        (v850_force_relocation):  Declare.
        * config/tc-v850.c (tc_gen_reloc):  Use offset instead
        of fx_addnumber for VTABLE reloc addends.
        (md_apply_fix3):  Handle VTABLE relocs.
        (v850_fix_adjustable):  New.
        (v850_force_relocation):  New.

26 years ago * elf32-v850.c: Add HOWTO entries for R_V850_GNU_VTINHERIT and
Catherine Moore [Mon, 5 Oct 1998 14:18:10 +0000 (14:18 +0000)]
    * elf32-v850.c: Add HOWTO entries for R_V850_GNU_VTINHERIT and
        R_V850_GNU_VTENTRY.
        (v850_elf_check_relocs):  Handle VTINHERIT and VTENTRY relocs.
        (v850_elf_perform_relocation):  Likewise.
        (v850_elf_final_link_relocate):  Likewise.
        (v850_elf_relocate_section):  Likewise.
        (v850_elf_gc_sweep_hook):  New routine.
        (v850_elf_gc_mark_hook):  New routine.
        (elf_backend_can_gc_sections):  Define.

26 years ago * elf32-m68k.c (elf_m68k_gc_sweep_hook): Don't assume
Catherine Moore [Mon, 5 Oct 1998 14:08:53 +0000 (14:08 +0000)]
    * elf32-m68k.c (elf_m68k_gc_sweep_hook):  Don't assume
        that dynobj exists.

26 years agoMon Oct 5 00:34:00 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Mon, 5 Oct 1998 07:32:59 +0000 (07:32 +0000)]
Mon Oct  5 00:34:00 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk-cmds.c (gdb_set_bp_addr): New command. Sets a
breakpoint at an address. Use this instead of gdb_cmd "break"
because the syntax of the break command is broken and doesn't
allow you to create a thread-specific BP at an address.  Also
this is faster.

26 years ago * tc-hppa.c (fp_operand_format): Add some additional formats.
Jeff Law [Mon, 5 Oct 1998 06:52:58 +0000 (06:52 +0000)]
    * tc-hppa.c (fp_operand_format): Add some additional formats.
        (pa_ip): Do not automatically promote into pa2.0 mode.
        (pa_level): Handle ".level 2.0".
start-sanitize-cygnus
        (struct pa_it): New field "trunc".
        (pa_parse_fp_cnv_format): New function.
        (pa_parse_ftest_gfx_completer): New function.
        (pa_ip): Handle various new letters for PA2.0 support.
end-sanitize-cygnus

26 years ago * hppa.h: Add "fid".
Jeff Law [Mon, 5 Oct 1998 06:23:20 +0000 (06:23 +0000)]
    * hppa.h: Add "fid".
start-sanitize-cygnus
        Add PA2.0 floating point instructions, including butchered load/store
        with 14bit offset support.
end-sanitize-cygnus

26 years agoSun Oct 4 22:35:47 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Mon, 5 Oct 1998 05:35:01 +0000 (05:35 +0000)]
Sun Oct  4 22:35:47 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk-cmds.c (gdb_set_bp): Add an optional thread number.
(gdb_find_bp_at_line): New function. Returns a list of bpnums
at the specified line number.
(gdb_find_bp_at_addr): New function. Returns a list of bpnums
at an address..

26 years agoSun Oct 4 23:29:34 1998 David Edelsohn <edelsohn@mhpcc.edu>
Ian Lance Taylor [Mon, 5 Oct 1998 03:37:54 +0000 (03:37 +0000)]
Sun Oct  4 23:29:34 1998  David Edelsohn  <edelsohn@mhpcc.edu>

* rs6000-core.c (rs6000coff_core_file_matches_executable_p):
Declare size as bfd_size_type.
(rs6000coff_get_section_contents): Declare count as bfd_size_type.

26 years ago * elflink.h (elf_link_add_object_symbols): When a versioned symbol
Ian Lance Taylor [Mon, 5 Oct 1998 03:11:55 +0000 (03:11 +0000)]
* elflink.h (elf_link_add_object_symbols): When a versioned symbol
has a base which is already defined, only add the referenced
symbol to the dynamic symbol table if it is defined or referenced
by a regular file.

26 years ago * cpu-hppa.c (bfd_hppa20_arch): Define. Link it into the bfd_hppa_arch
Jeff Law [Mon, 5 Oct 1998 02:42:05 +0000 (02:42 +0000)]
    * cpu-hppa.c (bfd_hppa20_arch): Define.  Link it into the bfd_hppa_arch
        structure.
        * som.c (CPU_PA_RISC2_0): Define.
        (_PA_RISC2_0_ID): Likewise.
        (som_finish_writing): Use CPU_PA_RISC2_0 for the system_id as needed.
PA2.0 infrastructure.

26 years ago * elf32-i386.c (elf_i386_info_to_howto_rel): Handle vtable relocs
Ian Lance Taylor [Mon, 5 Oct 1998 01:19:36 +0000 (01:19 +0000)]
* elf32-i386.c (elf_i386_info_to_howto_rel): Handle vtable relocs
correctly.

26 years ago * i386.h (R_386_max): Change from 252 to 24.
Ian Lance Taylor [Mon, 5 Oct 1998 01:18:32 +0000 (01:18 +0000)]
* i386.h (R_386_max): Change from 252 to 24.

26 years agoSun Oct 4 21:00:00 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Mon, 5 Oct 1998 01:01:27 +0000 (01:01 +0000)]
Sun Oct  4 21:00:00 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

From Robert Andrew Dale <rob@nb.net>
* i386.h (i386_optab): Add AMD 3DNow! instructions.
(AMD_3DNOW_OPCODE): Define.

26 years agoSun Oct 4 20:57:43 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Mon, 5 Oct 1998 00:59:52 +0000 (00:59 +0000)]
Sun Oct  4 20:57:43 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.c (md_assemble): Handle AMD_3DNOW_OPCODE.
* config/tc-i386.h (template.extension_opcode): Change to
        unsigned int to allow full range of 8-bit opcode suffixes.
(None): Redefine as 0xffff.

From Jeff B Epler <jepler@usgs.gov>
* doc/c-i386.texi (i386-SIMD): New section.

26 years agofix copyrights
Ian Lance Taylor [Mon, 5 Oct 1998 00:41:11 +0000 (00:41 +0000)]
fix copyrights

26 years ago From Nokubi Hirotaka <hnokubi@yyy.or.jp>:
Ian Lance Taylor [Mon, 5 Oct 1998 00:37:21 +0000 (00:37 +0000)]
From Nokubi Hirotaka <hnokubi@yyy.or.jp>:
* objcopy.1: Fix typo in --remove-leading-char docs.
* objdump.1: Fix formatting in --stabs docs.

26 years agoThe GDB engineers ate Steve's hacks; and there was much rejoicing.
Stan Shebs [Fri, 2 Oct 1998 23:35:11 +0000 (23:35 +0000)]
The GDB engineers ate Steve's hacks; and there was much rejoicing.

26 years agoSearch and destroy; kill references to WinGDB bits.
Stan Shebs [Fri, 2 Oct 1998 23:33:15 +0000 (23:33 +0000)]
Search and destroy; kill references to WinGDB bits.

* configure.host (i[3456]86-*-windows): Remove, no longer used.
* mswin: Remove directory, no longer used.

26 years agoFri Oct 2 18:52:20 1998 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Fri, 2 Oct 1998 22:57:12 +0000 (22:57 +0000)]
Fri Oct  2 18:52:20 1998  Fernando Nasser  <fnasser@cygnus.com>

        * sol-thread.c: Fixed prototypes and calls to supply_fpregset and
        fill_fpregset
PR 17053

26 years ago * gdbtk-hooks.c (gdbtk_exec_file_changed): New function which handles
Keith Seitz [Fri, 2 Oct 1998 19:55:41 +0000 (19:55 +0000)]
    * gdbtk-hooks.c (gdbtk_exec_file_changed): New function which handles
        exec_file changes.
        (gdbtk_add_hooks): Define exec_file_display_hook (to gdbtk_exec_file_changed)

        * gdbtk-cmds.c (gdb_stop): target_stop is ALWAYS defined, so
        compare against something a little more meaningful (target_ignore).

26 years ago * remote.c (remote_interrupt): Rewrite to use remote_stop.
Keith Seitz [Fri, 2 Oct 1998 19:54:42 +0000 (19:54 +0000)]
    * remote.c (remote_interrupt): Rewrite to use remote_stop.
        (remote_interrupt_twice): Remove. remote_stop now handles it.
        (remote_stop): New function which handles interrupting the
        remote target so that CLUI and GUI use the same core functions
        to achieve the same goal.
        (remote_wait): Change to handle remote_stop properly.
        [interrupted_already]: New static global to help remote_stop.
        [remote_ops, extended_remote_ops]: Add remote_stop for to_stop member.

        * target.c: Rename static function "ignore" to "target_ignore" and
        export it so that gdb can determin if some target vector member is
        actually not defined. Replace all occurances of ignore.

        * target.h: Export target_ignore.

26 years ago * target.c (target_xfer_memory): Handle requests with zero
Peter Schauer [Fri, 2 Oct 1998 11:02:00 +0000 (11:02 +0000)]
* target.c (target_xfer_memory):  Handle requests with zero
transfer length right away.

* values.c (unpack_double):  Set up code, length and signedness of
type _after_ checking for typedef.

26 years ago * read.c (discard_rest_of_line): New function.
Richard Henderson [Thu, 1 Oct 1998 22:39:35 +0000 (22:39 +0000)]
    * read.c (discard_rest_of_line): New function.
        * read.h: Declare it.
        * config/tc-alpha.c (s_alpha_mask, s_alpha_frame): Use it.

26 years agoEnhanced fix for PR 14826 - cope with the case where a symbol name matches
Nick Clifton [Thu, 1 Oct 1998 17:35:17 +0000 (17:35 +0000)]
Enhanced fix for PR 14826 - cope with the case where a symbol name matches
a register name

26 years ago* Fix for PR 16567, brought over from d30v branch.
Frank Ch. Eigler [Thu, 1 Oct 1998 11:48:25 +0000 (11:48 +0000)]
* Fix for PR 16567, brought over from d30v branch.
Thu Oct  1 15:39:27 EDT 1998 Frank Ch. Eigler <fche@cygnus.com>
* breakpoint.c (bpstat_stop_status): Do not consider an
untripped watchpoint as a "hit".

26 years agoMore replacing "exec" with "executable".
Andrew Cagney [Thu, 1 Oct 1998 11:41:41 +0000 (11:41 +0000)]
More replacing "exec" with "executable".

26 years agoReplace "exec" with "executable" in messages.
Andrew Cagney [Thu, 1 Oct 1998 11:19:11 +0000 (11:19 +0000)]
Replace "exec" with "executable" in messages.

26 years agoWed Sep 30 19:23:48 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 1 Oct 1998 02:28:03 +0000 (02:28 +0000)]
Wed Sep 30 19:23:48 1998  Geoffrey Noer  <noer@cygnus.com>

        * Makefile.in: add bzip2 package building bits for user
        tools module
        * configure.in: ditto

26 years ago * gdbint.texinfo: Complete overhaul. Group descriptions more
Stan Shebs [Thu, 1 Oct 1998 01:46:28 +0000 (01:46 +0000)]
* gdbint.texinfo: Complete overhaul.  Group descriptions more
logically, add more info on generic algorithms, remove much
obsolete and/or wrong material.

26 years agoFix for PR 17063 - do not create a section called .call_table, instead create
Nick Clifton [Wed, 30 Sep 1998 18:37:55 +0000 (18:37 +0000)]
Fix for PR 17063 - do not create a section called .call_table, instead create
sections called .call_table_data and .call_table_text.

26 years agoFix PR 17042 - Do not attempt to resolve offsets to symbols in other sections
Nick Clifton [Wed, 30 Sep 1998 18:12:57 +0000 (18:12 +0000)]
Fix PR 17042 - Do not attempt to resolve offsets to symbols in other sections
at assembly time.

26 years agoFix PR 17469 - treat TRAP as another in the set of branch type instructions.
Nick Clifton [Wed, 30 Sep 1998 17:18:36 +0000 (17:18 +0000)]
Fix PR 17469 - treat TRAP as another in the set of branch type instructions.

26 years agoFix PR 17387: ignore auto increment for loads where the destination register
Nick Clifton [Wed, 30 Sep 1998 17:15:14 +0000 (17:15 +0000)]
Fix PR 17387: ignore auto increment for loads where the destination register
and the address register are the same.

26 years ago * Makefile.in (all-automake): fix dependencies.
Felix Lee [Wed, 30 Sep 1998 05:47:18 +0000 (05:47 +0000)]
    * Makefile.in (all-automake): fix dependencies.

26 years agoadd sanitization for special sky config args
Angela Marie Thomas [Wed, 30 Sep 1998 00:12:30 +0000 (00:12 +0000)]
add sanitization for special sky config args

26 years ago * gdb.gdbtk/browser.test: Fix tests which incorrectly assume
Keith Seitz [Tue, 29 Sep 1998 21:04:13 +0000 (21:04 +0000)]
    * gdb.gdbtk/browser.test: Fix tests which incorrectly assume
        that gdb knows _exactly_ which files belong to the user
        and which come from libraries.

26 years agochange armelf sanitization to CYGNUS LOCAL markers
Catherine Moore [Tue, 29 Sep 1998 18:59:02 +0000 (18:59 +0000)]
change armelf sanitization to CYGNUS LOCAL markers

26 years agoMon Sep 28 21:31:12 1998 Richard Henderson <rth@cygnus.com>
Richard Henderson [Tue, 29 Sep 1998 04:34:32 +0000 (04:34 +0000)]
Mon Sep 28 21:31:12 1998  Richard Henderson  <rth@cygnus.com>

        * ld-elfvers/vers.exp: Run tests on alpha-linux.
        * ld-elfvers/*.sym, ld-elfvers/*.dsym: Adjust patters to match
        Alpha's use of st_other.

1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

        * ld-elfvers/vers.exp (vers16, vers16a): New tests.
        * ld-elfvers/{vers16.*, vers16a.*}: New files.

26 years ago1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Richard Henderson [Tue, 29 Sep 1998 03:53:21 +0000 (03:53 +0000)]
1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

        * elflink.h (elf_link_add_object_symbols): Undo last change.

26 years agoAdd brace missing from previous delta.
Nick Clifton [Mon, 28 Sep 1998 20:22:25 +0000 (20:22 +0000)]
Add brace missing from previous delta.

26 years agoRemove reference to depragmaize program.
Nick Clifton [Mon, 28 Sep 1998 20:09:25 +0000 (20:09 +0000)]
Remove reference to depragmaize program.

26 years agoApply fix from PR 14826 - generate an error if a register is supplied for a
Nick Clifton [Mon, 28 Sep 1998 18:02:50 +0000 (18:02 +0000)]
Apply fix from PR 14826 - generate an error if a register is supplied for a
operand that should not be a register.

26 years agoForgot to add specific files to sanitize section for dsp.
Jeff Johnston [Mon, 28 Sep 1998 15:58:14 +0000 (15:58 +0000)]
Forgot to add specific files to sanitize section for dsp.

26 years agoFri Sep 25 18:07:32 1998 Jeff Johnston <jjohnstn@cygnus.com>
Jeff Johnston [Fri, 25 Sep 1998 22:11:31 +0000 (22:11 +0000)]
Fri Sep 25 18:07:32 1998  Jeff Johnston  <jjohnstn@cygnus.com>

* configure.in (target_libs): Added target-libdsp.
* Makefile.in (TARGET_CONFIGDIRS): Added libdsp as target.

New libdsp component added.

26 years agoMerge with armelf980813:
Keith Seitz [Fri, 25 Sep 1998 19:04:46 +0000 (19:04 +0000)]
Merge with armelf980813:

        * rdi-share/unixcomm.c: If using cygwin32, also use the SERPORT and
        PARPORT defines for win32.
        (Unix_MatchValidSerialDevice): For cygwin32, valid serial port names
        start with "com", not "/dev/tty".
        (Unix_OpenSerial): Do not use O_NONBLOCK on cygwin32.

        * rdi-share/devsw.c (DevSW_Close): Free the device's state (SwitcherState)
        so that the device may be reopened.

        * remote-rdi.c (mywritec): Send all output through gdb's *_unfiltered
        functions, ignoring non-ASCII chars, so that non-tty UI's can snarf
        the output from fputs_hook.
        (mywrite): Ditto.
        (arm_rdi_open): Set inferior_pid.
        (arm_rdi_detach): Pop the target off the target stack so that
        users can attach and detach multiple times.
        (arm_rdi_close): Close the opened device and reset inferior_pid, too.

26 years agoAddtional fix for PR17045 - allowed delayed branches to have insns in the
Nick Clifton [Fri, 25 Sep 1998 17:06:05 +0000 (17:06 +0000)]
Addtional fix for PR17045 - allowed delayed branches to have insns in the
R container

26 years ago * gdbtk.c (gdbtk_wait): Don't run the timer for ice targets.
Keith Seitz [Fri, 25 Sep 1998 15:22:23 +0000 (15:22 +0000)]
    * gdbtk.c (gdbtk_wait): Don't run the timer for ice targets.

        * v850ice.c (WM_ADDR_TO_SYM): New message.
        (v850ice_wndproc): Add handler for WM_SOURCE.
        (v850ice_wait): Call the ui_loop_hook occasionally.
        (ice_cont): Acknowledge message before doing anything.
        (ice_stepi): Ack message and let gdbtk do stepping.
        (ice_nexti): Ack message and let gdbtk do stepping.
        (view_source): New function ICE calls to display source code.

26 years ago1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Fri, 25 Sep 1998 03:04:03 +0000 (03:04 +0000)]
1998-09-24  Jason Molenda  (jsm@bugshack.cygnus.com)

        * configure.in: Change --enable-warnings to --enable-build-warnings.
        * configure: Updated.

26 years agoAck, accidentally checked in a configure generated with an obsolete
Jason Molenda [Fri, 25 Sep 1998 01:54:25 +0000 (01:54 +0000)]
Ack, accidentally checked in a configure generated with an obsolete
version of autoconf.

26 years ago1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Fri, 25 Sep 1998 01:30:46 +0000 (01:30 +0000)]
1998-09-24  Jason Molenda  (jsm@bugshack.cygnus.com)

        * configure.in (WARN_CFLAGS): Add -Wmissing-prototypes.
        * configure: Regenerated.

26 years ago1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Fri, 25 Sep 1998 01:27:47 +0000 (01:27 +0000)]
1998-09-24  Jason Molenda  (jsm@bugshack.cygnus.com)

        * configure.in: Add --enable-warnings.
        Adjust whitespace of other --with and --enable options so that
        configure --help lines up correctly.
        * aclocal.m4: Ditto.
        * Makefile.in (WARN_CFLAGS): Add.  Set by configure.
        * configure: Regenerated.

26 years ago * remote-rdi.c: Fix formatting, remove some commented-out code.
Stan Shebs [Thu, 24 Sep 1998 22:48:48 +0000 (22:48 +0000)]
* remote-rdi.c: Fix formatting, remove some commented-out code.
(init_rdi_ops): Omit needless initializations.

26 years agoFic PR 17045: Do not allow insns in R bin if L bin contains a branch.
Nick Clifton [Thu, 24 Sep 1998 16:31:20 +0000 (16:31 +0000)]
Fic PR 17045: Do not allow insns in R bin if L bin contains a branch.

26 years agoFic PR 17045: Add FLAG_JSR attribute to DBT, REIT, RTD and TRAP insns.
Nick Clifton [Thu, 24 Sep 1998 16:26:44 +0000 (16:26 +0000)]
Fic PR 17045: Add FLAG_JSR attribute to DBT, REIT, RTD and TRAP insns.

26 years ago * elflink.h (elf_link_add_object_symbols): Don't record a dynamic
Richard Henderson [Wed, 23 Sep 1998 23:09:54 +0000 (23:09 +0000)]
    * elflink.h (elf_link_add_object_symbols): Don't record a dynamic
        symbol for the indirect alias to a versioned symbol.

26 years agoPR 17438 - fix parsing of MVTSYS and MVFSYS insns.
Nick Clifton [Wed, 23 Sep 1998 17:56:40 +0000 (17:56 +0000)]
PR 17438 - fix parsing of MVTSYS and MVFSYS insns.

26 years agoAllow full 64 bits of an address to be specified in an `M' or `n' packet.
Andrew Cagney [Wed, 23 Sep 1998 08:31:50 +0000 (08:31 +0000)]
Allow full 64 bits of an address to be specified in an `M' or `n' packet.
Add backward compatibility variable `set remoteaddresssize' to handle
regressions.

26 years ago* remote.c (_initialize_remote, packet_command, print_packet): Pretty
Andrew Cagney [Wed, 23 Sep 1998 08:12:14 +0000 (08:12 +0000)]
* remote.c (_initialize_remote, packet_command, print_packet): Pretty
* print code.
Delete reference to EMC!

26 years ago* remote.c (packet_command): Test REMOTE_DESC to determine if remote
Andrew Cagney [Wed, 23 Sep 1998 08:06:50 +0000 (08:06 +0000)]
* remote.c (packet_command): Test REMOTE_DESC to determine if remote
connection is open.

26 years ago Patch from Dawn Perchik <dawn@cygnus.com>:
Mark Alexander [Wed, 23 Sep 1998 05:41:38 +0000 (05:41 +0000)]
Patch from Dawn Perchik <dawn@cygnus.com>:
* rs6000-tdep.c (pop_frame): Handle generic dummy frames.
(push_arguments): Likewise.
(frame_saved_pc): Likewise.
(rs6000_frame_chain): Likewise.
(ppc_push_return_address): New function.
(get_saved_register): New function.
* config/powerpc/tm-ppc-eabi.h: Add generic dummy frame macros.

26 years agoFix PR 16898 - Implement EITHER_BUT_PREFER_MU execution class
Nick Clifton [Wed, 23 Sep 1998 01:11:23 +0000 (01:11 +0000)]
Fix PR 16898 - Implement EITHER_BUT_PREFER_MU execution class
Fix PR 17135 - Prefer register names over symbol names, except when registers
are unacceptable.

26 years agoPR 16898: Add uses of EITHER_BUT_PREFER_ME execution unit class.
Nick Clifton [Wed, 23 Sep 1998 00:57:07 +0000 (00:57 +0000)]
PR 16898: Add uses of EITHER_BUT_PREFER_ME execution unit class.

26 years agoFix non-ISO C code found by SGI C compiler.
Jim Wilson [Wed, 23 Sep 1998 00:00:45 +0000 (00:00 +0000)]
Fix non-ISO C code found by SGI C compiler.
* config/obj-elf.h (ECOFF_DEBUGGING): Add missing parens.

26 years agoFix PR 17135 (whilst keeping PR14827 fixed) by prefering register names over
Nick Clifton [Tue, 22 Sep 1998 22:48:42 +0000 (22:48 +0000)]
Fix PR 17135 (whilst keeping PR14827 fixed) by prefering register names over
symbolic names, except where the register name is unacceptable.

26 years ago * defs.h utils.c (fputc_filtered): New function. Does the obvious...
Stu Grossman [Tue, 22 Sep 1998 02:34:38 +0000 (02:34 +0000)]
* defs.h utils.c (fputc_filtered):  New function.  Does the obvious...
* jv-lang.c (java_printchar):  Fix output of chars > 0xff.  Fold
java_emit_char into java_printchar.
* language.h (PRINT_LITERAL_FORM):  Reformat for readability.

26 years agoFix info float test for arm-elf toolchains
Nick Clifton [Mon, 21 Sep 1998 21:41:36 +0000 (21:41 +0000)]
Fix info float test for arm-elf toolchains

26 years agoSupport big endian as well as little endian breakpoints.
Nick Clifton [Mon, 21 Sep 1998 21:39:41 +0000 (21:39 +0000)]
Support big endian as well as little endian breakpoints.

26 years agoupdate tc-dvp.c with sky-980617-branch
Doug Evans [Mon, 21 Sep 1998 20:27:28 +0000 (20:27 +0000)]
update tc-dvp.c with sky-980617-branch

26 years agoAdded sanitize-ide markers
Drew Moseley [Mon, 21 Sep 1998 18:37:32 +0000 (18:37 +0000)]
Added sanitize-ide markers

26 years agoFix PR 17105 - reset previous insn to empty after emitting NOPs.
Nick Clifton [Mon, 21 Sep 1998 17:44:48 +0000 (17:44 +0000)]
Fix PR 17105 - reset previous insn to empty after emitting NOPs.

26 years ago * elf32-i386.c (elf32_i386_vtinherit_howto): New.
Catherine Moore [Mon, 21 Sep 1998 17:29:28 +0000 (17:29 +0000)]
    * elf32-i386.c (elf32_i386_vtinherit_howto): New.
        (elf32_i386_vtentry_howto): New.
        (elf_i386_reloc_type_lookup):  Return elf32_i386_vtentry_howto
        or elf32_i386_vtinherit_howto  on lookup.

26 years ago * incorporate SKY-B changes (makes dual maintenance easier).
Ron Unrau [Mon, 21 Sep 1998 05:11:13 +0000 (05:11 +0000)]
    * incorporate SKY-B changes (makes dual maintenance easier).
        * txvu-tdep.c (check_overlap): new function to guarantee that
          overlays are either mapped or unmapped in their entirety.
        * txvu-tdep.c (compress_blockvector): compress blockvectors correctly

26 years agoDo not require an ANSI compiler
Michael Meissner [Sun, 20 Sep 1998 22:21:23 +0000 (22:21 +0000)]
Do not require an ANSI compiler

26 years agoSun Sep 20 01:00:01 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Sun, 20 Sep 1998 05:00:45 +0000 (05:00 +0000)]
Sun Sep 20 01:00:01 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* gas/vtable/inherit1.l: Require only the word GAS somewere in the
first line of the listing.

26 years agoSun Sep 20 00:58:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Sun, 20 Sep 1998 04:59:11 +0000 (04:59 +0000)]
Sun Sep 20 00:58:12 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* config/tc-m68k.h (TC_FORCE_RELOCATION): New macro.  Force vtable
relocs.
* config/tc-m68k.c (md_apply_fix_2): Do nothing for vtable relocs.

26 years agoSun Sep 20 00:48:07 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Sun, 20 Sep 1998 04:57:41 +0000 (04:57 +0000)]
Sun Sep 20 00:48:07 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf32-m68k.c: Include "elf/m68k.h".  Remove definition of enum
reloc_type.  Rename R_68K__max to R_68K_max.
(howto_table): Use _bfd_elf_rel_vtable_reloc_fn for a VTENTRY
reloc.

26 years agoSun Sep 20 00:54:22 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Sun, 20 Sep 1998 04:55:51 +0000 (04:55 +0000)]
Sun Sep 20 00:54:22 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* m68k.h: Add vtable relocs and R_68K_max.

26 years agoSun Sep 20 00:09:25 1998 Chris Torek <torek@bsdi.com>
Ian Lance Taylor [Sun, 20 Sep 1998 04:17:27 +0000 (04:17 +0000)]
Sun Sep 20 00:09:25 1998  Chris Torek  <torek@bsdi.com>

* libbfd.c (bfd_getb32): Rewrite expression to get better code.
(bfd_getl32, bfd_getb_signed_32, bfd_getl_signed_32): Likewise.

26 years ago * libbfd.c (bfd_log2): Cast to bfd_vma before shifting, not
Ian Lance Taylor [Sun, 20 Sep 1998 03:53:05 +0000 (03:53 +0000)]
* libbfd.c (bfd_log2): Cast to bfd_vma before shifting, not
after.  From Chris Torek <torek@bsdi.com>.

26 years agoSat Sep 19 22:42:23 1998 Doug Rabson <dfr@nlsystems.com>
Ian Lance Taylor [Sun, 20 Sep 1998 02:45:04 +0000 (02:45 +0000)]
Sat Sep 19 22:42:23 1998  Doug Rabson  <dfr@nlsystems.com>

* elflink.h (elf_link_add_object_symbols): Ensure that the warning
message has a null byte terminator.

26 years ago * gdbtk-cmds.c (get_frame_name): Demangle function names, too.
Keith Seitz [Fri, 18 Sep 1998 23:45:45 +0000 (23:45 +0000)]
    * gdbtk-cmds.c (get_frame_name): Demangle function names, too.

26 years ago * dvp-opc.c (gif_opcodes): Support EOP on gifimage.
Doug Evans [Fri, 18 Sep 1998 23:30:40 +0000 (23:30 +0000)]
* dvp-opc.c (gif_opcodes): Support EOP on gifimage.
PR 17293.

26 years agoFic PR17107 - ignore contents of word subject to R_V850_32 relocation.
Nick Clifton [Fri, 18 Sep 1998 21:37:41 +0000 (21:37 +0000)]
Fic PR17107 - ignore contents of word subject to R_V850_32 relocation.

26 years agoFri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 18 Sep 1998 21:10:23 +0000 (21:10 +0000)]
Fri Sep 18 14:07:44 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * gdb.trace/*.exp: remove "remote_download" command.

26 years agoAlways treat section symbols as special, even if they are attached to a
Nick Clifton [Fri, 18 Sep 1998 16:23:48 +0000 (16:23 +0000)]
Always treat section symbols as special, even if they are attached to a
common section.

26 years ago * sol-thread.c (sol_thread_notice_signals): Use PIDGET when
Peter Schauer [Fri, 18 Sep 1998 14:57:16 +0000 (14:57 +0000)]
* sol-thread.c (sol_thread_notice_signals):  Use PIDGET when
passing pid down to procfs_notice_signals.

26 years agoAdd comment about problem computing nearets line numbers for undefined
Nick Clifton [Fri, 18 Sep 1998 00:22:23 +0000 (00:22 +0000)]
Add comment about problem computing nearets line numbers for undefined
symbols at link time.

26 years ago * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't
Richard Henderson [Thu, 17 Sep 1998 23:17:10 +0000 (23:17 +0000)]
    * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't
        transform a defweak into a plt entry.
        (elf64_alpha_calc_dynrel_sizes): Allow room for secondary
        plt entry references to receive a RELATIVE reloc.
        (elf64_alpha_finish_dynamic_symbol): Fill them in.
        (elf64_alpha_relocate_section): Assert we don't overrun
        the allocated relocation space.

26 years agoupdate
Geoffrey Noer [Thu, 17 Sep 1998 00:06:01 +0000 (00:06 +0000)]
update

26 years ago * stabsread.c (resolve_symbol_reference): Return 1 on success, 0 on
Stu Grossman [Wed, 16 Sep 1998 21:59:01 +0000 (21:59 +0000)]
* stabsread.c (resolve_symbol_reference):  Return 1 on success, 0 on
failure.
* (define_symbol):  Check return value from resolve_symbol_reference,
and drop symbol if it fails.

26 years agoget rid of print statement in elf32_arm_gc_mark_hook.
Catherine Moore [Wed, 16 Sep 1998 16:31:18 +0000 (16:31 +0000)]
get rid of print statement in elf32_arm_gc_mark_hook.

26 years ago * gdb.trace/configure.in(AC_INIT): typo
Felix Lee [Wed, 16 Sep 1998 08:25:59 +0000 (08:25 +0000)]
    * gdb.trace/configure.in(AC_INIT): typo
        * gdb.trace/configure: regenerated

26 years ago * stabsread.c: Make all complaints static.
Stu Grossman [Tue, 15 Sep 1998 22:38:40 +0000 (22:38 +0000)]
* stabsread.c:  Make all complaints static.
* Fix formatting of live range splitting code.
* (resolve_symbol_reference define_symbol resolve_live_range):  Change
errors to complaints so that bad live range symbols won't abort the
entire symbol table.  Handle errors by aborting just the current
symbol.
* (ref_init):  Goes away.  Folded into ref_add().
* (REF_MAP_SIZE):  Put parens around parameter so that args like
`1 + 2' get handled correctly (yes, this was a real bug).
* (ref_add):  Remove check for allocation failures.  Not necessary
when using xrealloc().  Fix pointer arithmetic problem when clearing
memory.  This and the previous patch prevent random SEGV's when there
are lots of live range symbols.

26 years agoMon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 15 Sep 1998 22:25:01 +0000 (22:25 +0000)]
Mon Sep 14 20:00:04 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * lib/<emc-support.exp trace-support.exp}: New files.
        * configure.in: add new test directory gdb.trace.
        * gdb.trace/{configure configure.in Makefile.in}: New files.
        * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
        * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
        * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
        * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
        * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
        * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
        * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.