binutils-gdb.git
30 years agoModified Files:
Kung Hsu [Thu, 17 Mar 1994 17:42:23 +0000 (17:42 +0000)]
Modified Files:
.Sanitize

* i386os9k.mt: add to things to keep.
* tm-i386os9k.h: add to things to keep.

30 years ago * reloc.c (bfd_generic_get_relocated_section_contents): Don't fail
Ian Lance Taylor [Thu, 17 Mar 1994 17:29:15 +0000 (17:29 +0000)]
* reloc.c (bfd_generic_get_relocated_section_contents): Don't fail
if malloc (0) fails.  bfd_canonicalize_reloc returning 0 is not a
failure indication, it merely means there are no relocs.

30 years ago * elfcode.h (NAME(bfd_elf,write_object_contents)): Don't use space
Ian Lance Taylor [Thu, 17 Mar 1994 16:47:01 +0000 (16:47 +0000)]
* elfcode.h (NAME(bfd_elf,write_object_contents)): Don't use space
after NAME, since SunOS /bin/cc can't handle it.

30 years agoFix typo.
Jim Kingdon [Thu, 17 Mar 1994 04:09:23 +0000 (04:09 +0000)]
Fix typo.

30 years ago * gas/hppa/more.parse/regpopbug.s: Add trivial .equ test.
Jeff Law [Thu, 17 Mar 1994 00:50:41 +0000 (00:50 +0000)]
    * gas/hppa/more.parse/regpopbug.s: Add trivial .equ test.

30 years ago * config/tc-hppa.c (pa_equ): Handle both .reg and .equ correctly.
Jeff Law [Thu, 17 Mar 1994 00:49:30 +0000 (00:49 +0000)]
    * config/tc-hppa.c (pa_equ): Handle both .reg and .equ correctly.

30 years ago * netbsd386.c (N_SET_FLAGS): Don't nuke the machine id field.
David MacKenzie [Thu, 17 Mar 1994 00:45:26 +0000 (00:45 +0000)]
* netbsd386.c (N_SET_FLAGS): Don't nuke the machine id field.
From sukes@glue.umd.edu (Tasuki Hirata).

30 years ago * config/tc-mips.c (mips_ip): Only accept overly large values for
Ian Lance Taylor [Wed, 16 Mar 1994 23:49:55 +0000 (23:49 +0000)]
* config/tc-mips.c (mips_ip): Only accept overly large values for
the 'j' operand if there are no further alternatives for this
instruction.

30 years ago * gas/hppa/unsorted/globalbug.s: New test (expected to fail).
Jeff Law [Wed, 16 Mar 1994 23:24:53 +0000 (23:24 +0000)]
    * gas/hppa/unsorted/globalbug.s: New test (expected to fail).
        * gas/hppa/unsorted/unsorted.exp: Run it.

30 years ago * gas/hppa/more.parse/callinfobug.s: New test.
Jeff Law [Wed, 16 Mar 1994 22:44:14 +0000 (22:44 +0000)]
    * gas/hppa/more.parse/callinfobug.s: New test.
        * gas/hppa/omre.parse/parse.exp: Run it.

30 years ago * config/tc-hppa.c (pa_callinfo): Accept "millicode" as an
Jeff Law [Wed, 16 Mar 1994 22:42:51 +0000 (22:42 +0000)]
    * config/tc-hppa.c (pa_callinfo): Accept "millicode" as an
        argument to a .callinfo directive.  Don't loop forever on errors.

30 years ago * config/obj-coffbfd.c (adjust_stab_section): Initialize
Ian Lance Taylor [Wed, 16 Mar 1994 22:22:17 +0000 (22:22 +0000)]
* config/obj-coffbfd.c (adjust_stab_section): Initialize
stabstrseg to SEG_UNKNOWN, not -1.  After loop, check whether it
is not SEG_UNKNOWN rather than checking whether it is >= 0.

30 years ago * config/tc-mips.c (mips_align): Take new argument, label, and use
Ian Lance Taylor [Wed, 16 Mar 1994 22:16:02 +0000 (22:16 +0000)]
* config/tc-mips.c (mips_align): Take new argument, label, and use
it instead of global insn_label.
(s_align, s_cons, s_float_cons, s_gpword): Save insn_label before
call to mips_emit_delay and pass it to mips_align.

30 years ago * printcmd.c: Remove "set print fast-symbolic-addr off" command.
Jim Kingdon [Wed, 16 Mar 1994 20:09:55 +0000 (20:09 +0000)]
* printcmd.c: Remove "set print fast-symbolic-addr off" command.
The which it worked around was fixed on 25 Feb 94 in coffread.c,
so I'm nuking the command.
* symtab.c (find_addr_symbol): Comment out, no longer used.

30 years ago * gdb.texinfo (Print Settings): Don't document "set print
Jim Kingdon [Wed, 16 Mar 1994 20:04:14 +0000 (20:04 +0000)]
* gdb.texinfo (Print Settings): Don't document "set print
fast-symbolic-addr off".  The bug which it worked around was fixed
on 25 Feb 94 in coffread.c, so I'm nuking the command.

30 years ago * gas/hppa/more.parse/regpopbug.s: New test.
Jeff Law [Wed, 16 Mar 1994 19:58:31 +0000 (19:58 +0000)]
    * gas/hppa/more.parse/regpopbug.s: New test.
        * gas/hppa/more.parse/parse.exp: Run it.

30 years ago * stabs.texinfo (Alternate Entry Points): New node, rewritten from
Jim Kingdon [Wed, 16 Mar 1994 18:52:45 +0000 (18:52 +0000)]
* stabs.texinfo (Alternate Entry Points): New node, rewritten from
N_ENTRY node.

* stabs.texinfo (Type Descriptors): Add 'Y' type descriptor.

30 years ago * main.c (main): Don't init_source_path for the -cd argument. Now
Jim Kingdon [Wed, 16 Mar 1994 18:05:57 +0000 (18:05 +0000)]
* main.c (main): Don't init_source_path for the -cd argument.  Now
that source_path doesn't contain the current_directory from when
GDB started up, init_source_path is no longer useful (and is
harmful because it clobbers a source_path set in $HOME/.gdbinit).

30 years ago * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
Jim Kingdon [Wed, 16 Mar 1994 16:57:39 +0000 (16:57 +0000)]
* lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
(default_gdb_exit): Replace all the hair with sending "quit" to
the process with a simple close.

30 years ago* stabs.texinfo (Type Descriptors): Add 'Y' type descriptor.
Jim Kingdon [Wed, 16 Mar 1994 16:21:17 +0000 (16:21 +0000)]
* stabs.texinfo (Type Descriptors): Add 'Y' type descriptor.

30 years ago * TODO: Remove item about line numbers being off. It is useless
Jim Kingdon [Wed, 16 Mar 1994 15:30:12 +0000 (15:30 +0000)]
* TODO: Remove item about line numbers being off.  It is useless
and confusing without a reproducible test case (it mentions
proceed(), but I was able to step through proceed without trouble).

30 years ago * som.c (som_prep_for_fixups): Detect section symbols based
Jeff Law [Wed, 16 Mar 1994 08:03:46 +0000 (08:03 +0000)]
    * som.c (som_prep_for_fixups): Detect section symbols based
        on either the lack of private data or the symbol flags.  Do not
        munge section symbol names anymore -- they no longer confuse GDB.
        (som_begin_writing): Leave space for an exec header if writing
        an executable.
        (som_slurp_symbol_table): Recognize both forms of section symbol
        names "L$0\002" and "$<FOO>$".  Change the name of "L$0\002"
        section symbols to be the name of the section they represent.
        Debugging  symbols begin with "L$0\001", not just "L$".

30 years ago * objcopy.c (filter_symbols): Use bfd_is_local_label to determine
Jeff Law [Wed, 16 Mar 1994 07:04:42 +0000 (07:04 +0000)]
* objcopy.c (filter_symbols): Use bfd_is_local_label to determine
if a symbol represents a compiler-generated local label.
(copy_object): Give the BFD backends a chance to copy any private
bfd data from the input BFD to the output BFD.
(setup_section): Give the BFD backends a chance to copy any private
section data from the input section to the output section.

30 years ago * bfd-in2.h, libbfd.h, libcoff.h: Rebuilt.
Jeff Law [Wed, 16 Mar 1994 07:02:05 +0000 (07:02 +0000)]
* bfd-in2.h, libbfd.h, libcoff.h: Rebuilt.

* bfd-in.h (JUMP_TABLE): Add new entries to the jump table
for bfd_copy_private_section_data, bfd_copy_private_bfd_data,
and bfd_is_local_label.

* targets.c: Add new entries to the bfd_target structure.

* bfd.c (bfd_copy_private_bfd_data): New definition.

* section.c (bfd_copy_private_section_data): New definition.

* syms.c (bfd_is_local_label): New definition.

* libbfd-in.h (bfd_generic_is_local_label): Declare.

* libbfd.c (bfd_generic_is_local_label): New function.

* *-core.c: Provide default definitions for new functions in
the target vector which all point to bfd_false.

* aout-target.h, coffcode.h, elf32-target.h elf64-target.h, ieee.c
libaout.h, libecoff.h, nlm-target.h, oasys.c, srec.c, tekhex.c
Default new vectors for copying private backend data to bfd_true.
Default new vector for determining if a symbol is a local label
to bfd_generic_is_local_label.

* som.c (som_bfd_copy_private_section_data): New function.
(som_bfd_is_local_label): New function.
(som_bfd_copy_private_bfd_data): For now default to bfd_true.

* elf32-hppa.c (hppa_elf_is_local_label): New function.

30 years ago * cf-m68klynx.c (CALC_ADDEND): Use _bfd_m68klynx_howto_table.
Ian Lance Taylor [Wed, 16 Mar 1994 04:57:11 +0000 (04:57 +0000)]
* cf-m68klynx.c (CALC_ADDEND): Use _bfd_m68klynx_howto_table.

30 years ago * config/i386/tm-i386bsd.h: Give just macro name, not args, to #undef.
Peter Schauer [Tue, 15 Mar 1994 21:47:34 +0000 (21:47 +0000)]
* config/i386/tm-i386bsd.h: Give just macro name, not args, to #undef.

30 years ago For Sunos 4.x targets, enable gdb to set breakpoints in shared
Peter Schauer [Tue, 15 Mar 1994 21:46:32 +0000 (21:46 +0000)]
For Sunos 4.x targets, enable gdb to set breakpoints in shared
library functions before the executable is run. Retrieve dynamic
symbols from stripped executables.
* symtab.h (minimal_symbol_type):  Add mst_solib_trampoline type.
* parse.c (write_exp_msymbol), symmisc.c (dump_msymbols),
symtab.c (list_symbols):  Handle mst_solib_trampoline.
* minsyms.c (lookup_minimal_symbol):  Handle mst_solib_trampoline
for all targets, remove IBM6000_TARGET dependencies.
* dbxread.c (read_dbx_dynamic_symtab):  New function.
* dbxread.c (dbx_symfile_read):  Use it.
* dbxread.c (SET_NAMESTRING):  Set namestring to
"<bad string table index>" instead of "foo" if the string index is
corrupt.
* xcoffread.c (read_xcoff_symtab):  Use mst_solib_trampoline instead
of mst_unknown.
* symtab.c (list_symbols):  Take from_tty as parameter and pass it
to break_command. Handle mst_file_* minimal symbol types.

30 years agoversion 2.0 -> 2.2.1
Ken Raeburn [Tue, 15 Mar 1994 20:39:26 +0000 (20:39 +0000)]
version 2.0 -> 2.2.1

30 years agoModified Files:
Kung Hsu [Tue, 15 Mar 1994 19:45:04 +0000 (19:45 +0000)]
Modified Files:
ChangeLog c-exp.y

        * c-exp.y(yylex): fix potential memory overflow.

30 years ago * config.guess: about target *-hitachi-hiuxwe2, fixed
Per Bothner [Tue, 15 Mar 1994 18:56:22 +0000 (18:56 +0000)]
* config.guess: about target *-hitachi-hiuxwe2, fixed
machine guessing order.  [Hitachi's CPU_IS_HP_MC68K
macro is incorrect.]

30 years ago * environ.c (set_in_environ): Eliminate special handling of PATH and
Jim Kingdon [Tue, 15 Mar 1994 18:40:51 +0000 (18:40 +0000)]
* environ.c (set_in_environ): Eliminate special handling of PATH and
GNUTARGET.
* putenv.c: Removed, conflicts with system declaration of
putenv on RS/6000 running AIX 3.2.5, and above change makes it
unnecessary.
* Makefile.in: Change accordingly.
* procfs.c (procfs_create_inferior): Change comment accordingly.

30 years ago* rs6000-tdep.c: Change value to value_ptr.
Jim Kingdon [Tue, 15 Mar 1994 18:07:30 +0000 (18:07 +0000)]
* rs6000-tdep.c: Change value to value_ptr.

30 years ago* TODO: Add suggestions for shared library tests.
Jim Kingdon [Tue, 15 Mar 1994 16:46:13 +0000 (16:46 +0000)]
* TODO: Add suggestions for shared library tests.

30 years ago * gdbint.texinfo (Host Conditionals, Target Conditionals): Remove
Jim Kingdon [Tue, 15 Mar 1994 16:43:45 +0000 (16:43 +0000)]
* gdbint.texinfo (Host Conditionals, Target Conditionals): Remove
references to ieee-float.c.

30 years ago* i386os9k.c : new file to handle os9k format bfd.
Jim Kingdon [Tue, 15 Mar 1994 16:20:51 +0000 (16:20 +0000)]
* i386os9k.c : new file to handle os9k format bfd.

30 years ago * Most files:
David MacKenzie [Tue, 15 Mar 1994 15:13:13 +0000 (15:13 +0000)]
* Most files:
Replace DEFUN and DEFUN_VOID with K&R-style function definition.
Indent some of them to GNU standards.

* aout32.c, archures.c, core.c, cpu-h8300.c, cpu-i960.c,
cpu-m68k.c, cpu-m88k.c, cpu-mips.c, cpu-vax.c, ctor.c, demo64.c,
elf32-hppa.h, gen-aout.c, host-aout.c, init.c, libhppa.h,
libieee.h, liboasys.h, newsos3.c, som.h, stab-syms.c, sunos.c:
Update copyright years.

30 years ago * som.c (som_prep_for_fixups): A relocation involving the section
Jeff Law [Tue, 15 Mar 1994 05:21:51 +0000 (05:21 +0000)]
    * som.c (som_prep_for_fixups): A relocation involving the section
        symbol for the *ABS* section is really a relocation involving
        no symbol.
        (som_slurp_symbol_table): Do not set BSF_GLOBAL or BSF_EXPORT for
        undefined symbols.  Correctly distinguish between debugger symbols
        and section symbols.

30 years ago * som (setup_sections): Set SEC_DEBUGGING and the section attributes
Jeff Law [Tue, 15 Mar 1994 04:40:51 +0000 (04:40 +0000)]
    * som (setup_sections): Set SEC_DEBUGGING and the section attributes
        for spaces and subspaces.

30 years agokeep ic960coff.mt
Ken Raeburn [Tue, 15 Mar 1994 03:36:27 +0000 (03:36 +0000)]
keep ic960coff.mt

30 years agokeep vmsconf.sh
Ken Raeburn [Tue, 15 Mar 1994 03:35:59 +0000 (03:35 +0000)]
keep vmsconf.sh

30 years agotoday's changes for vms, misc bugs
Ken Raeburn [Tue, 15 Mar 1994 03:08:40 +0000 (03:08 +0000)]
today's changes for vms, misc bugs

30 years ago(VMS_Initialized_Data_Size): Cache symbol values to reduce number of lookups
Ken Raeburn [Tue, 15 Mar 1994 03:05:24 +0000 (03:05 +0000)]
(VMS_Initialized_Data_Size): Cache symbol values to reduce number of lookups
with S_GET_VALUE.  Skip debug symbols to avoid "a really nasty bug".  (From
Holger Teutsch, holger@botbso.rhein-main.de.)
(VMS_write_object_file): For "__vt.*" symbols, set S_GET_OTHER field.  (Also
from Holger Teutsch.)  Watch for a would-be register mask that spans frags.

30 years ago(obj_coff_line): Set symbol lnno field with this_base, not line_base. (Patch
Ken Raeburn [Tue, 15 Mar 1994 03:02:17 +0000 (03:02 +0000)]
(obj_coff_line): Set symbol lnno field with this_base, not line_base.  (Patch
from Andreas Arens, ari@obelix.av.rwth-aachen.de.)

30 years agoScan Makefile.in, not version.c, for current version number. Delete all
Ken Raeburn [Tue, 15 Mar 1994 02:10:32 +0000 (02:10 +0000)]
Scan Makefile.in, not version.c, for current version number.  Delete all
versions of temp files when finished with them.  Create config.h.

Not yet tested.

30 years ago * som.c (som_bfd_count_ar_symbols): Fix typo.
Jeff Law [Mon, 14 Mar 1994 21:53:29 +0000 (21:53 +0000)]
    * som.c (som_bfd_count_ar_symbols): Fix typo.

30 years ago * ieee-float.h: Removed; no longer used.
Ian Lance Taylor [Mon, 14 Mar 1994 20:28:30 +0000 (20:28 +0000)]
* ieee-float.h: Removed; no longer used.

30 years ago * m68881-ext.c: Removed; no longer used.
Ian Lance Taylor [Mon, 14 Mar 1994 20:23:05 +0000 (20:23 +0000)]
* m68881-ext.c: Removed; no longer used.
* Makefile.in: Changed accordingly.

30 years agovarious configuration changes, obj-coff change
Ken Raeburn [Mon, 14 Mar 1994 20:20:00 +0000 (20:20 +0000)]
various configuration changes, obj-coff change

30 years agoDon't include "ieee-float.h". I'm not sure I know where ChangeLog
Ian Lance Taylor [Mon, 14 Mar 1994 20:18:51 +0000 (20:18 +0000)]
Don't include "ieee-float.h".  I'm not sure I know where ChangeLog
entries should go for this file, but I don't think it's a big deal for
this change.

30 years ago * m68k-dis.c (ext_format_68881): Don't declare.
Ian Lance Taylor [Mon, 14 Mar 1994 20:00:34 +0000 (20:00 +0000)]
* m68k-dis.c (ext_format_68881): Don't declare.
(print_insn_m68k): If an instruction uses place 'i', it uses at
least four fixed bytes.
(print_insn_arg): Don't bump p by 2 for case 'I', place 'i'.  For
extended float, convert to double using floatformat_to_double, not
ieee_extended_to_double, and fetch the data before converting it.

30 years agorewritten, untested
Ken Raeburn [Mon, 14 Mar 1994 19:56:47 +0000 (19:56 +0000)]
rewritten, untested

30 years agonew script, for regenerating make-gas.com
Ken Raeburn [Mon, 14 Mar 1994 19:50:00 +0000 (19:50 +0000)]
new script, for regenerating make-gas.com

30 years ago * som.c (som_object_setup): Set EXEC_P, D_PAGED, WP_TEXT, and
Jeff Law [Mon, 14 Mar 1994 19:43:01 +0000 (19:43 +0000)]
    * som.c (som_object_setup): Set EXEC_P, D_PAGED, WP_TEXT, and
        HAS_RELOC based on the object's magic number.
        (make_unique_section): Delete function.  BFD and its users are
        prepared to handle multiple sections with the same name.
        (setup_sections): Allocate space on the BFD's obstack to hold
        section names.  Use bfd_make_setion_anyway rather than the
        obsolete make_unique_section.
        (som_prep_headers): Choose the correct SOM magic number based
        on the BFD's flags.
        (som_bfd_fill_in_ar_symbols): Return false, not NULL on error.

30 years ago * objcopy.c (mangle_section): Delete unused function.
Jeff Law [Mon, 14 Mar 1994 19:36:15 +0000 (19:36 +0000)]
    * objcopy.c (mangle_section): Delete unused function.
        (setup_section): Set osection here instead of calling
        mangle section to do it.

30 years ago * ar.c (write_archive): Close inarch before unlinking it.
Ian Lance Taylor [Mon, 14 Mar 1994 17:14:08 +0000 (17:14 +0000)]
* ar.c (write_archive): Close inarch before unlinking it.

30 years ago * i386m3-nat.c: Include floatformat.h.
Jim Kingdon [Sun, 13 Mar 1994 20:17:39 +0000 (20:17 +0000)]
* i386m3-nat.c: Include floatformat.h.
(get_i387_state): Use memset not bzero.

30 years ago * Version 4.12.3.
Jim Kingdon [Sun, 13 Mar 1994 18:50:26 +0000 (18:50 +0000)]
* Version 4.12.3.

* Makefile.in: Enable commented out getopt_h, bfd_h, etc.  Change
ieee-float.h to floatformat.h.

30 years ago* TODO: Add suggestions for x/s tests.
Jim Kingdon [Sun, 13 Mar 1994 18:46:42 +0000 (18:46 +0000)]
* TODO: Add suggestions for x/s tests.

30 years ago * valprint.c (val_print_string): Ignore error if the error
Jim Kingdon [Sun, 13 Mar 1994 18:37:27 +0000 (18:37 +0000)]
* valprint.c (val_print_string): Ignore error if the error
happened after a terminating '\0'.

* c-valprint.c (c_val_print): Never add 1 to return value from
val_print_string; just return what it returns.

30 years ago * target.h (enum target_signal): Add TARGET_SIGNAL_FIRST, for
Jim Kingdon [Sun, 13 Mar 1994 17:47:15 +0000 (17:47 +0000)]
* target.h (enum target_signal): Add TARGET_SIGNAL_FIRST, for
looping through all of the enums.
* infrun.c (signals_info): Use it.

30 years ago* Makefile.in: Add TAGS target.
Jim Kingdon [Sun, 13 Mar 1994 17:31:41 +0000 (17:31 +0000)]
* Makefile.in: Add TAGS target.

30 years ago * Makefile.in (TAGS): Just build TAGS in each subdirectory, rather
Jim Kingdon [Sun, 13 Mar 1994 17:30:36 +0000 (17:30 +0000)]
* Makefile.in (TAGS): Just build TAGS in each subdirectory, rather
than the "make ls" stuff which used to be here.

30 years ago * elf32-ppc.c: Renamed from elf32-powerpc.c.
Ian Lance Taylor [Sat, 12 Mar 1994 17:48:16 +0000 (17:48 +0000)]
* elf32-ppc.c: Renamed from elf32-powerpc.c.
  start-sanitize-powerpc-netware
* nlm32-ppc.c: Renamed from nlm32-powerpc.c.
  end-sanitize-powerpc-netware
* Makefile.in, configure.in: Corresponding changes.

30 years agoChanges to 68k-lynx to make it handle symbols in common sections "properly",
Mark Eichin [Sat, 12 Mar 1994 05:37:38 +0000 (05:37 +0000)]
Changes to 68k-lynx to make it handle symbols in common sections "properly",
ie. the way "real" 68k coff implementations seem to do it, rather than like
the way it's traditionally done. Fixes lifted from the i386-coff version.

30 years ago * elf32-powerpc.c: Extensive changes to update to preliminary ABI.
Ian Lance Taylor [Sat, 12 Mar 1994 03:30:52 +0000 (03:30 +0000)]
* elf32-powerpc.c: Extensive changes to update to preliminary ABI.

Many changes to nlm32-powerpc.c as well, but I'm not bothering to make
a ChangeLog entry to avoid sanitization headaches.

30 years ago * config/tc-ppc.c (md_pcrel_from): Return 0 for undefined ELF
Ian Lance Taylor [Sat, 12 Mar 1994 03:28:13 +0000 (03:28 +0000)]
* config/tc-ppc.c (md_pcrel_from): Return 0 for undefined ELF
symbols.
(ppc_is_toc_sym): Change .toc to .got.
(md_apply_fix): Change handling of ELF relocs.
(tc_gen_reloc): Likewise.

30 years ago * nlmconv.c (main): For PowerPC, call powerpc_build_stubs and
Ian Lance Taylor [Sat, 12 Mar 1994 03:26:12 +0000 (03:26 +0000)]
* nlmconv.c (main): For PowerPC, call powerpc_build_stubs and
powerpc_resolve_stubs.  Use __GOT0, not __toc_start.  Handle it if
the start and end symbols are not in the text section.
(struct powerpc_stub): New struct definition.
(powerpc_stubs, powerpc_stub_insns): New static variables.
(powerpc_initial_got_size): New static variable.
(powerpc_build_stubs): New function.
(powerpc_resolve_stubs): New function.
(powerpc_mangle_relocs): Clear extraneous data in .got section.
Rearrange reloc handling to handle ELF relocs that are not
partial_inplace.  Resolve PC relative relocs.

30 years agoRemove ppc.em; do it all in nlmconv instead.
Ian Lance Taylor [Sat, 12 Mar 1994 03:19:27 +0000 (03:19 +0000)]
Remove ppc.em; do it all in nlmconv instead.

30 years agoSome alpha-ecoff and vax-vms related changes.
Ken Raeburn [Fri, 11 Mar 1994 23:13:37 +0000 (23:13 +0000)]
Some alpha-ecoff and vax-vms related changes.

30 years agoInclude aout/stab_gnu.h.
Ken Raeburn [Fri, 11 Mar 1994 23:07:26 +0000 (23:07 +0000)]
Include aout/stab_gnu.h.
(N_GSYM, ..., N_LENG): Deleted.
(NO_RELOC): Undefine before defining as part of enum reloc_type.

30 years ago(Close_VMS_Object_File): Add comment pointing out some code that doesn't belong
Ken Raeburn [Fri, 11 Mar 1994 23:07:00 +0000 (23:07 +0000)]
(Close_VMS_Object_File): Add comment pointing out some code that doesn't belong
in this file.

30 years ago * config/tc-mips.c (mips_ip): Accept numbers between 0x8000 and
Ian Lance Taylor [Fri, 11 Mar 1994 23:00:17 +0000 (23:00 +0000)]
* config/tc-mips.c (mips_ip): Accept numbers between 0x8000 and
0xffff for 'j' to be compatible with MIPS assembler.  These
numbers are actually treated as negative.

30 years agoAdd name of submitter for previous check-in.
Per Bothner [Fri, 11 Mar 1994 20:59:53 +0000 (20:59 +0000)]
Add name of submitter for previous check-in.

30 years ago * config.guess: Recognize i[34]86-unknown-freebsd.
Per Bothner [Fri, 11 Mar 1994 20:58:16 +0000 (20:58 +0000)]
* config.guess:  Recognize i[34]86-unknown-freebsd.

30 years ago * main.c (main): When printing warning about bad baud rate, don't
Jim Kingdon [Fri, 11 Mar 1994 18:18:47 +0000 (18:18 +0000)]
* main.c (main): When printing warning about bad baud rate, don't
use warning(); it relies on current_target which isn't set up yet.

30 years ago * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
Jim Kingdon [Fri, 11 Mar 1994 16:36:22 +0000 (16:36 +0000)]
* gdb.t00/help.exp: Replace most of docstrings for "tbreak",
"enable once", and "enable breakpoints once" with ".*".

30 years ago * breakpoint.c (_initialize_breakpoint): Update docstring for
Jim Kingdon [Fri, 11 Mar 1994 16:31:57 +0000 (16:31 +0000)]
* breakpoint.c (_initialize_breakpoint): Update docstring for
tbreak to match what the code actually does.  Don't mention tbreak
in docstrings for "enable once" or "enable breakpoints once".

30 years ago * gdb.texinfo (Set Breaks): Update documentation for tbreak to
Jim Kingdon [Fri, 11 Mar 1994 16:22:51 +0000 (16:22 +0000)]
* gdb.texinfo (Set Breaks): Update documentation for tbreak to
match what the code actually does.

30 years ago * breakpoint.c (_initialize_breakpoint): Update docstring for
Jim Kingdon [Fri, 11 Mar 1994 16:13:08 +0000 (16:13 +0000)]
* breakpoint.c (_initialize_breakpoint): Update docstring for
tbreak to match what the code actually does.

30 years ago * sunos.c (sunos_read_dynamic_info): Assume that dynamic info
Peter Schauer [Fri, 11 Mar 1994 09:03:07 +0000 (09:03 +0000)]
* sunos.c (sunos_read_dynamic_info):  Assume that dynamic info
is always located at the start of the data section to allow
recovery of the dynamic info from a stripped executable.
* ecoff.c (ecoff_styp_to_sec_flags):  Handle STYP_PDATA, STYP_XDATA
and STYP_COMMENT.

30 years ago* config/tc-sparc.h (LOCAL_LABEL): Local labels are .Lfoo.
David Edelsohn [Thu, 10 Mar 1994 21:37:21 +0000 (21:37 +0000)]
* config/tc-sparc.h (LOCAL_LABEL): Local labels are .Lfoo.

30 years ago * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Don't put a semicolon after
Jim Kingdon [Thu, 10 Mar 1994 18:25:33 +0000 (18:25 +0000)]
* symfile.h (ADD_PSYMBOL_VT_TO_LIST): Don't put a semicolon after
while (0).  That defeats the whole purpose of using do . . . while (0).
* mdebugread.c (parse_partial_symbols): Don't use ?: expression as
list for ADD_PSYMBOL_TO_LIST; the macro takes its address and
using a ?: expression as an lvalue is not portable.

30 years ago * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR, also
Jim Kingdon [Thu, 10 Mar 1994 18:21:02 +0000 (18:21 +0000)]
* stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR, also
convert a LOC_ARG to a LOC_REF_ARG.  Update code which combines
'p' and 'r' symbol descriptors into a single symbol to look for a
LOC_REF_ARG.
* README, config/sparc/tm-sparc.h: Update comments.

30 years ago* TODO: Add suggestions about structure passing tests.
Jim Kingdon [Thu, 10 Mar 1994 16:42:54 +0000 (16:42 +0000)]
* TODO: Add suggestions about structure passing tests.

30 years ago* TODO: Add suggestion about passing a structure as the 7th argument.
Jim Kingdon [Thu, 10 Mar 1994 16:35:54 +0000 (16:35 +0000)]
* TODO: Add suggestion about passing a structure as the 7th argument.

30 years ago * mdebugread.c (parse_type): Do not complain for types with
Peter Schauer [Thu, 10 Mar 1994 09:28:18 +0000 (09:28 +0000)]
* mdebugread.c (parse_type):  Do not complain for types with
an `indexNil' aux index, these are simply undefined types.
Remove indexNil check from caller of parse_type.
* mdebugread.c (parse_partial_symbols):  Do not enter
stGlobal, scCommon symbols into the minimal symbol table, their
value is the size of the common, not its address.
Handle scInit, scFini, scPData and scXData sections.
Use minimal symbol type mst_file_* for stLabel symbols, instead of
mst_*.
Enter stProc symbols into the global_psymbols list once, not into
the static_psymbols_list.
Get rid of dummy psymtab if it is empty, to allow proper detection
of stripped executables.
* mdebugread.c (cross_ref):  Allow cross references to Fortran
common blocks.

30 years ago * stabsread.c (common_block_end, fix_common_block): Stash the
Jim Kingdon [Thu, 10 Mar 1994 03:57:57 +0000 (03:57 +0000)]
* stabsread.c (common_block_end, fix_common_block): Stash the
struct pending * in the SYMBOL_TYPE, not the SYMBOL_NAMESPACE, so
as to not assume that a pointer fits in an enum.

30 years ago* stabs.texinfo (Symbol Descriptors): Add OS9000 symbol descriptor s.
Jim Kingdon [Thu, 10 Mar 1994 03:45:07 +0000 (03:45 +0000)]
* stabs.texinfo (Symbol Descriptors): Add OS9000 symbol descriptor s.

30 years agoModified Files:
Kung Hsu [Thu, 10 Mar 1994 03:13:52 +0000 (03:13 +0000)]
Modified Files:
ChangeLog os9kread.c stabsread.c remote-os9k.c symfile.c
target.c

        * os9kread.c (fill_sym): check compiler verion number for pre-
        UltraC compiler.
        * os9kread.c (os9k_process_one_symbol): address of symbol is
        relative to section not module.
        * stabsread.c (define_symbol): add symbol type 's' as local
        symbol for os9k.
        * remote-os9k.c: add command 'set monitor_log' to turn on or off
        monitor logging.
        * remote-os9k.c: fix bug in delete breakpoint, single step trace.
        * remote-os9k.c: fix bug in 'set remotebaud' function.
        * remote-os9k.c (rombug_link): minimize checking so to improve
        speed.
        * symfile.c (symfile_command): check if failed to link, also make
        the command be able to accept more than one filenames.
        * target.c (target_link): check if failed to link with rombug.

30 years agoCVS:
Kung Hsu [Thu, 10 Mar 1994 03:11:19 +0000 (03:11 +0000)]
CVS:
Modified Files:
tm-i386os9k.h

         * config/i386/tm-i386os9k.h : add #define DECR_PC_AFTER_BREAK 0.

30 years ago * libbfd-in.h: Remove alloca cruft. It was missing some necessary
Jim Kingdon [Thu, 10 Mar 1994 02:33:01 +0000 (02:33 +0000)]
* libbfd-in.h: Remove alloca cruft.  It was missing some necessary
cruft (like the #pragma alloca for AIX).
In addition to that problem, the C alloca calls xmalloc, which
means checking for being out of memory can't work right.  The
following changes remove all uses of alloca from BFD.
* hosts/solaris2.h: Remove alloca cruft.
* som.c: Replace alloca with a fixed size auto array.
* aoutx.h, elfcode.h, nlmcode.h, bout.c, coff-alpha.c, ecoff.c,
ecofflink.c, elf32-hppa.c, elf32-mips.c, linker.c, reloc.c, som.c,
sunos.c: Replace alloca with malloc and appropriate error checking and
freeing.
* linker.c: Replace alloca with obstack_alloc.
* libbfd.h: Rebuilt.

30 years ago* isearch.c, search.c: Include sysdep.h.
Jim Kingdon [Thu, 10 Mar 1994 02:26:43 +0000 (02:26 +0000)]
* isearch.c, search.c: Include sysdep.h.

30 years ago * libbfd-in.h: Remove alloca cruft. It was missing some necessary
Jim Kingdon [Thu, 10 Mar 1994 02:09:10 +0000 (02:09 +0000)]
* libbfd-in.h: Remove alloca cruft.  It was missing some necessary
cruft (like the #pragma alloca for AIX).
In addition to that problem, the C alloca calls xmalloc, which
means checking for being out of memory can't work right.  The
following changes remove all uses of alloca from BFD.
* hosts/solaris2.h: Remove alloca cruft.
* som.c: Replace alloca with a fixed size auto array.
* aoutx.h, elfcode.h, nlmcode.h, bout.c, coff-alpha.c, ecoff.c,
ecofflink.c, elf32-hppa.c, elf32-mips.c, linker.c, reloc.c, som.c:
Replace alloca with malloc and appropriate error checking and
freeing.
* linker.c: Replace alloca with obstack_alloc.
* libbfd.h: Rebuilt.

30 years ago* remote-es.c (es1800_child_ops): Don't declare it static.
Jim Kingdon [Wed, 9 Mar 1994 23:24:31 +0000 (23:24 +0000)]
* remote-es.c (es1800_child_ops): Don't declare it static.

30 years ago * ar.c (move_members): Fix it so that the abi positional modifiers
Steve Chamberlain [Wed, 9 Mar 1994 21:53:54 +0000 (21:53 +0000)]
* ar.c (move_members): Fix it so that the abi positional modifiers
don't delete all archive members following the insert point.

30 years agoa belated reflection of changed MPW files
Stan Shebs [Wed, 9 Mar 1994 20:32:48 +0000 (20:32 +0000)]
a belated reflection of changed MPW files

30 years ago * os9k.h: os9000 target specific header file, the header of the
Jim Kingdon [Wed, 9 Mar 1994 17:34:32 +0000 (17:34 +0000)]
* os9k.h: os9000 target specific header file, the header of the
object file is used now.

30 years agoalpha, coff, i386 changes
Ken Raeburn [Wed, 9 Mar 1994 02:45:29 +0000 (02:45 +0000)]
alpha, coff, i386 changes

30 years agoHandle Alpha load-immediate-FP pseudo-instructions:
Ken Raeburn [Wed, 9 Mar 1994 02:44:00 +0000 (02:44 +0000)]
Handle Alpha load-immediate-FP pseudo-instructions:
* config/alpha-opcode.h (ldif, ldig, ldis, ldit): New patterns.
* config/tc-alpha.c (lit8_sec, lit4_sec, lit8_sym, lit4_sym): New variables.
(create_literal_section): New function.
(create_lita_section): Now a macro.
(get_lit8_offset, get_lit4_offset): New functions.
(maybe_set_gp): New function.
(select_gp_value): Call it.
(load_expression): Preserve addend if symbol is a section symbol.
(alpha_ip): Handle new operand type `F' for floating-point constants; store
them in .lit{4,8} sections.
(alpha_ip, case 'G'): Emit LITUSE relocations for symbol exprs.

30 years ago* config/obj-coff.c: Minor formatting/stylistic changes, plus:
Ken Raeburn [Wed, 9 Mar 1994 02:42:57 +0000 (02:42 +0000)]
* config/obj-coff.c: Minor formatting/stylistic changes, plus:
(obj_coff_section): Declare.
(obj_pseudo_table): Make it available only if MANY_SECTIONS.
(obj_symbol_to_chars) [CROSS_COMPILE]: Some attemps to make this work.  It
still doesn't.  It now fails to compile, instead of silently compiling to do
nothing.
* config/obj-coff.h (SEPARATE_STAB_SECTIONS): Define only if MANY_SECTIONS.
(OBJ_PROCESS_STAB) [! MANY_SECTIONS]: New macro, just emits a warning.