platform/upstream/binutils.git
32 years agoadded h8300hms.c and h8300hms.sc
Heinz G. Seidl [Fri, 7 Feb 1992 22:32:29 +0000 (22:32 +0000)]
added h8300hms.c and h8300hms.sc

32 years agokeep configure.texi
K. Richard Pixley [Fri, 7 Feb 1992 21:46:30 +0000 (21:46 +0000)]
keep configure.texi

32 years agoFixed prototype mismatch reported by MDT
Steve Chamberlain [Fri, 7 Feb 1992 21:07:18 +0000 (21:07 +0000)]
Fixed prototype mismatch reported by MDT

32 years agoneed bfd for mips
Heinz G. Seidl [Fri, 7 Feb 1992 20:14:25 +0000 (20:14 +0000)]
need bfd for mips

32 years ago* buildsym.c (read_struct_type): Avoid double-bump of parse ptr
John Gilmore [Fri, 7 Feb 1992 16:23:57 +0000 (16:23 +0000)]
* buildsym.c (read_struct_type):  Avoid double-bump of parse ptr
in the op$::OPERATOR. case.  From Steven McCanne, <mccanne@horse.ee.lbl.gov>.

32 years ago* exec.c (set_section_name): Pass arg to exec_files_info;
John Gilmore [Fri, 7 Feb 1992 15:57:32 +0000 (15:57 +0000)]
* exec.c (set_section_name):  Pass arg to exec_files_info;
only call it if interactive.  From Francis Kauth <fk@tv.tv.tek.com>.

32 years ago* configure.in: Ultrix is only a decstation if it's a MIPS.
John Gilmore [Fri, 7 Feb 1992 15:55:35 +0000 (15:55 +0000)]
* configure.in:  Ultrix is only a decstation if it's a MIPS.

32 years agoAdd ${srcdir} for makefile_frags.
Michael Tiemann [Fri, 7 Feb 1992 07:52:08 +0000 (07:52 +0000)]
Add ${srcdir} for makefile_frags.

32 years agoOptimized Makefile generation for a ~30% time win.
K. Richard Pixley [Fri, 7 Feb 1992 02:04:53 +0000 (02:04 +0000)]
Optimized Makefile generation for a ~30% time win.

32 years ago* main.c (print_gdb_version): Copyright msg: only this year.
John Gilmore [Fri, 7 Feb 1992 01:43:22 +0000 (01:43 +0000)]
* main.c (print_gdb_version):  Copyright msg: only this year.
(cd_command):  Avoid changing current_directory on error.

32 years agoPatch joins devo.
K. Richard Pixley [Fri, 7 Feb 1992 00:36:15 +0000 (00:36 +0000)]
Patch joins devo.

32 years agoFluff removal.
Steve Chamberlain [Fri, 7 Feb 1992 00:33:57 +0000 (00:33 +0000)]
Fluff removal.

32 years agoFix so that "guested" configure scripts work when using -srcdir.
K. Richard Pixley [Fri, 7 Feb 1992 00:33:49 +0000 (00:33 +0000)]
Fix so that "guested" configure scripts work when using -srcdir.

32 years ago * mipsread.c (parse_partial_symbols): Handle dependencies
Per Bothner [Thu, 6 Feb 1992 23:24:30 +0000 (23:24 +0000)]
* mipsread.c (parse_partial_symbols):  Handle dependencies
between partial symbol tables (when not doing stabs-in-ecoff).
(This used to be handled by parse_fdr, but parse_fdr was
incompatible with handling stabs-in-ecoff, so the code
was re-written to not use parse_fdr.  Unfortunately,
the logic to handle dependencies was overlooked.)

32 years ago * objdump.c (disassemble_data): don't print a section's contents
Steve Chamberlain [Thu, 6 Feb 1992 20:15:19 +0000 (20:15 +0000)]
* objdump.c (disassemble_data): don't print a section's contents
if it's not loadable (eg bss)

32 years ago * as.c: added new option -ad for hll listings without debug info
Steve Chamberlain [Thu, 6 Feb 1992 20:09:39 +0000 (20:09 +0000)]
* as.c: added new option -ad for hll listings without debug info
* listing.c,listing.h: support for new listings, and more for forgiving
when lied to about where linenumbers are.
* config/obj-coffbfd.c (do_linenos_for): relocate line numbers
correctly.

32 years ago * coffread.c (read_enum_type): Use the size of a target int when
Steve Chamberlain [Thu, 6 Feb 1992 20:03:31 +0000 (20:03 +0000)]
* coffread.c (read_enum_type): Use the size of a target int when
describing enum.
* defs.h: added new #define for TARGET_PTR_BIT, defaults to size
of target int.
* h8300-tdep.c, remote-hms.c, tm-h8300.h: too many changes to count
* symtab.c (lookup_reference_type, lookup_ptr_type): use
TARGET_PTR_BIT to determine size of a pointer
* values.c (unpack_long): when unpacking a REF or a PTR don't
assume the size of the type.

32 years agoFrom h8300hds*
Steve Chamberlain [Thu, 6 Feb 1992 19:44:44 +0000 (19:44 +0000)]
From h8300hds*

32 years ago * config/mt-coff-h8300: use EMUL like everything else
Steve Chamberlain [Thu, 6 Feb 1992 19:43:25 +0000 (19:43 +0000)]
* config/mt-coff-h8300: use EMUL like everything else
* ldlang.c: (print_padding_statement): print the right address.
* Makefile.in, config.h, ldemul.c: renamed  h8300hds to h8300hms

32 years ago * coffcode.h, libcoff.c: added new fielded to coff_symbol_struct
Steve Chamberlain [Thu, 6 Feb 1992 19:22:03 +0000 (19:22 +0000)]
* coffcode.h, libcoff.c: added new fielded to coff_symbol_struct
"done_lineno" so that a symbol which appears twice in the symbol
table only gets it's linenumbers relocated once. Modifed
(coff_write_native_symbol) and (coff_make_empty_symbol) to make

32 years ago* mipsread.c (parse_symbol): Avoid clobbering enum pointer when
John Gilmore [Thu, 6 Feb 1992 06:33:15 +0000 (06:33 +0000)]
* mipsread.c (parse_symbol):  Avoid clobbering enum pointer when
looking at its members.  Improve guess between struct and union,
only assuming union if multiple members have offsets of zero.

32 years agoreversed tense on a test -> case conversion
K. Richard Pixley [Thu, 6 Feb 1992 04:05:26 +0000 (04:05 +0000)]
reversed tense on a test -> case conversion

32 years agoConverting "[ -n" and "[ -z" into case statements looks like a small
K. Richard Pixley [Thu, 6 Feb 1992 01:21:44 +0000 (01:21 +0000)]
Converting "[ -n" and "[ -z" into case statements looks like a small
time penalty for modern shells which have "[" builtin.  I've elected
to take it anyway as a compensation for older, slower shells.

32 years agosupport for subdirs, multiple hosts, and multiple targets was
K. Richard Pixley [Thu, 6 Feb 1992 01:02:21 +0000 (01:02 +0000)]
support for subdirs, multiple hosts, and multiple targets was
previously commented out.  This delta removes it entirely.  This makes
a small time difference on cygint.

32 years agoRemoving unnecessary ()'s doesn't seem to make any time difference on
K. Richard Pixley [Thu, 6 Feb 1992 00:36:10 +0000 (00:36 +0000)]
Removing unnecessary ()'s doesn't seem to make any time difference on
cygint.  I think modern shell's execute this internally without a call
to a separate shell process.  I've left the change in anyway.  It may
help on older, slower machines.

32 years agoMips-specific bug-fix (for stabs-in-ecoff), and style fix. See ChangeLog.
Per Bothner [Wed, 5 Feb 1992 02:14:31 +0000 (02:14 +0000)]
Mips-specific bug-fix (for stabs-in-ecoff), and style fix.  See ChangeLog.

32 years ago * aoutx.h: (translate_from_native_sym_flags): fix constructor
Steve Chamberlain [Tue, 4 Feb 1992 23:42:34 +0000 (23:42 +0000)]
* aoutx.h: (translate_from_native_sym_flags): fix constructor
stuff to use the New Order.

32 years ago * ldlex.l: Put pack -noinhibit-exec and -sort-common
Steve Chamberlain [Tue, 4 Feb 1992 23:29:33 +0000 (23:29 +0000)]
* ldlex.l: Put pack -noinhibit-exec and -sort-common
* ldlang.c (print_data_statement): print the right address.

32 years agoWork around for problems in linking C++ programs that need file-level
Michael Tiemann [Sun, 2 Feb 1992 21:12:25 +0000 (21:12 +0000)]
Work around for problems in linking C++ programs that need file-level
initialization.  Now C++ programs can be linked.

32 years agodo not build ld, bfd, ... for decstatn
Heinz G. Seidl [Sun, 2 Feb 1992 04:53:15 +0000 (04:53 +0000)]
do not build ld, bfd, ... for decstatn

32 years ago* xm-vax.h, xm-vaxult.h, xm-vaxbsd.h, config/mh-vaxult,
Stu Grossman [Sat, 1 Feb 1992 12:46:55 +0000 (12:46 +0000)]
* xm-vax.h, xm-vaxult.h, xm-vaxbsd.h, config/mh-vaxult,
config/mh-vaxbsd, configure.in:  Split up config stuff for Vaxen
into BSD and Ultrix.

32 years agoCall malloc, not xmalloc, when we check the result and recover from errors.
John Gilmore [Sat, 1 Feb 1992 12:41:01 +0000 (12:41 +0000)]
Call malloc, not xmalloc, when we check the result and recover from errors.

32 years agoVERSION should have been 4.4.1, not 4.5...
Stu Grossman [Sat, 1 Feb 1992 12:39:08 +0000 (12:39 +0000)]
VERSION should have been 4.4.1, not 4.5...

32 years ago* Makefile.in: Increment version to 4.5.
Stu Grossman [Sat, 1 Feb 1992 12:20:10 +0000 (12:20 +0000)]
* Makefile.in:  Increment version to 4.5.
* main.c (print_gdb_version):  Update copyright notice.

32 years ago* config.sub (near case $os): Don't convert newsos* to bsd!CVS:
Stu Grossman [Sat, 1 Feb 1992 05:49:27 +0000 (05:49 +0000)]
* config.sub (near case $os):  Don't convert newsos* to bsd!CVS:

32 years ago* xm-vax.h: #ifndef ultrix around #include of endian.h and
Stu Grossman [Sat, 1 Feb 1992 05:47:28 +0000 (05:47 +0000)]
* xm-vax.h:  #ifndef ultrix around #include of endian.h and
limits.h (sigh).

32 years agoAvoid references to files that aren't assigned to FSF.
John Gilmore [Sat, 1 Feb 1992 02:40:06 +0000 (02:40 +0000)]
Avoid references to files that aren't assigned to FSF.

32 years agoTypo of my own
John Gilmore [Sat, 1 Feb 1992 02:26:43 +0000 (02:26 +0000)]
Typo of my own

32 years agothreecol.tex no longer exists.
Stu Grossman [Sat, 1 Feb 1992 02:22:07 +0000 (02:22 +0000)]
threecol.tex no longer exists.

32 years agoUpdate WHATS.NEW for gdb-4.4 release.
John Gilmore [Sat, 1 Feb 1992 02:09:19 +0000 (02:09 +0000)]
Update WHATS.NEW for gdb-4.4 release.

32 years agoA typo and a thinko.
John Gilmore [Sat, 1 Feb 1992 01:45:02 +0000 (01:45 +0000)]
A typo and a thinko.

32 years agoUpdate for gdb-4.4 release.
John Gilmore [Sat, 1 Feb 1992 01:44:31 +0000 (01:44 +0000)]
Update for gdb-4.4 release.

32 years agofoo
Stu Grossman [Sat, 1 Feb 1992 01:31:31 +0000 (01:31 +0000)]
foo

32 years agoA change to the makefile got lost; ldmain. forgot that it should set
Steve Chamberlain [Sat, 1 Feb 1992 00:50:35 +0000 (00:50 +0000)]
A change to the makefile got lost; ldmain. forgot that it should set
DEFAULT_EMULATION, so ld didn't know who it was.

32 years agoDistribute lpsrc.sed, remove rc-*.
Stu Grossman [Sat, 1 Feb 1992 00:41:18 +0000 (00:41 +0000)]
Distribute lpsrc.sed, remove rc-*.

32 years agoUpdate comments to make it clear that the copyright status is UNCLEAR.
John Gilmore [Sat, 1 Feb 1992 00:18:44 +0000 (00:18 +0000)]
Update comments to make it clear that the copyright status is UNCLEAR.

32 years agoComment changes.
John Gilmore [Sat, 1 Feb 1992 00:17:31 +0000 (00:17 +0000)]
Comment changes.

32 years agoRemove references to i860 files whose copyrights have not been assigned
John Gilmore [Sat, 1 Feb 1992 00:03:05 +0000 (00:03 +0000)]
Remove references to i860 files whose copyrights have not been assigned
to FSF yet.

32 years agoRemove i860 files, which do not have clear copyright assignments.
John Gilmore [Fri, 31 Jan 1992 23:51:44 +0000 (23:51 +0000)]
Remove i860 files, which do not have clear copyright assignments.

32 years agoHalf-updated version for Stu to work on.
John Gilmore [Fri, 31 Jan 1992 23:17:40 +0000 (23:17 +0000)]
Half-updated version for Stu to work on.

32 years agoRemove some entries that were already recorded on Dec 11th.
John Gilmore [Fri, 31 Jan 1992 22:35:49 +0000 (22:35 +0000)]
Remove some entries that were already recorded on Dec 11th.

32 years ago* Projects: Patching executables is done.
John Gilmore [Fri, 31 Jan 1992 22:16:45 +0000 (22:16 +0000)]
* Projects:  Patching executables is done.
* Makefile.in (VERSION):  Roll to gdb-4.4.
* README:  Update for gdb-4.4.

32 years ago* symfile.c (reread_symbols): Whenever we reread one object
John Gilmore [Fri, 31 Jan 1992 20:37:24 +0000 (20:37 +0000)]
* symfile.c (reread_symbols):  Whenever we reread one object
file's symbols, we must restart the scan, because the object_files
chain has been permuted.

32 years ago* elf.c (bfd_section_from_shdr): Deal with null return from
Stu Grossman [Fri, 31 Jan 1992 09:37:59 +0000 (09:37 +0000)]
* elf.c (bfd_section_from_shdr):  Deal with null return from
bfd_make_section().  (elf_object_p):  Select endianess properly.

32 years agoFix core file stacks.
John Gilmore [Fri, 31 Jan 1992 09:21:14 +0000 (09:21 +0000)]
Fix core file stacks.

32 years agoFix stack in core files.
John Gilmore [Fri, 31 Jan 1992 09:20:58 +0000 (09:20 +0000)]
Fix stack in core files.

32 years agoUse regex package on Vax BSD.
John Gilmore [Fri, 31 Jan 1992 08:52:21 +0000 (08:52 +0000)]
Use regex package on Vax BSD.

32 years ago* language.c, language.h: Make some things const.
John Gilmore [Fri, 31 Jan 1992 08:50:52 +0000 (08:50 +0000)]
* language.c, language.h:  Make some things const.
* expression.h, main.c:  const spreads like ooze.

32 years ago* xm-vax.h: Include some system include files before our own
John Gilmore [Fri, 31 Jan 1992 08:49:34 +0000 (08:49 +0000)]
* xm-vax.h:  Include some system include files before our own
definitions in defs.h.

32 years ago* exec.c (exec_files_info): Split out into print_section_info.
John Gilmore [Fri, 31 Jan 1992 08:45:11 +0000 (08:45 +0000)]
* exec.c (exec_files_info):  Split out into print_section_info.
Print BFD filename of each section if it's not the default one.
* core.c (core_files_info):  Call print_section_info.

32 years ago* hosts/h-hp300bsd.h, h-tahoe.h, h-vaxbsd.h, h-vaxult.h:
John Gilmore [Fri, 31 Jan 1992 07:59:13 +0000 (07:59 +0000)]
* hosts/h-hp300bsd.h, h-tahoe.h, h-vaxbsd.h, h-vaxult.h:
Specify byte order.
* hosts/h-vaxbsd.h:  Define the form of exec and core files.

32 years ago* Makefile.in: host-aout.c doesn't depend on aout-params.h.
John Gilmore [Fri, 31 Jan 1992 07:54:12 +0000 (07:54 +0000)]
* Makefile.in:  host-aout.c doesn't depend on aout-params.h.
* aout-target.h:  Use TARGET_BIG_ENDIAN_P to set up vector.
* host-aout.c:  Don't use aout-params.h; configure these systems
in their xm files, not in a randomly generated file.

32 years ago* infrun.c, xm-i386sco.h: SCO needs to use setpgid().CVS:
Stu Grossman [Fri, 31 Jan 1992 01:24:34 +0000 (01:24 +0000)]
* infrun.c, xm-i386sco.h:  SCO needs to use setpgid().CVS:

32 years agoBump VERSION to 4.3.92.
Stu Grossman [Fri, 31 Jan 1992 00:41:28 +0000 (00:41 +0000)]
Bump VERSION to 4.3.92.

32 years agoFix checkin botch.
Stu Grossman [Fri, 31 Jan 1992 00:32:38 +0000 (00:32 +0000)]
Fix checkin botch.

32 years ago* bfd/configure.in, config/mh-sco, gdb/config/mh-i386sco,
Stu Grossman [Fri, 31 Jan 1992 00:24:21 +0000 (00:24 +0000)]
* bfd/configure.in, config/mh-sco, gdb/config/mh-i386sco,
gdb/config/mt-i386v32, gdb/configure.in, readline/configure.in:
Fix SCO configuration stuff.

32 years agoChange DEFAULT_VECTOR to host_aout_vec here as well.
Per Bothner [Thu, 30 Jan 1992 21:04:42 +0000 (21:04 +0000)]
Change DEFAULT_VECTOR to host_aout_vec here as well.

32 years ago* host-aout.c: Change TARGETNAME to "a.out" to be compatible with
Stu Grossman [Thu, 30 Jan 1992 19:42:52 +0000 (19:42 +0000)]
* host-aout.c:  Change TARGETNAME to "a.out" to be compatible with
gdb.  config/mt-hp300bsd:  Change DEFAULT_VECTOR to host_aout_vec
to prevent undefined symbol.

32 years ago Various lints found on PersSony
Steve Chamberlain [Thu, 30 Jan 1992 15:30:34 +0000 (15:30 +0000)]
Various lints found on PersSony
* aoutx.h: cast an enum
* coff-a29k.c: many ints in reloc structure turned to enum
* coffcode.h: more enums
* cpu-h8300.c: more enums
* opncls.c: more enums

32 years ago* configure.in: Make Tahoe configuration work again.
John Gilmore [Thu, 30 Jan 1992 09:21:33 +0000 (09:21 +0000)]
* configure.in:  Make Tahoe configuration work again.
* bfd-in.h:  Remove trailing comma from enum declaration.
* ieee.c:  Can't put byte values >0x7F into a signed char.

32 years agoRemove trailing comma from enum.
John Gilmore [Thu, 30 Jan 1992 09:19:24 +0000 (09:19 +0000)]
Remove trailing comma from enum.

32 years ago* sparc.h: Remove "cypress" architecture. Remove "fitox" and
John Gilmore [Thu, 30 Jan 1992 09:14:21 +0000 (09:14 +0000)]
* sparc.h:  Remove "cypress" architecture.  Remove "fitox" and
similar instructions -- they've been renamed to "fitoq", etc.
REALLY fix tsubcctv.  Fix "fcmpeq" and "fcmpq" which had wrong
number of arguments.
* h8300.h:  Remove extra ; which produces compiler warning.

32 years ago* sparc-pinsn.c: Remove kludge for preferring architectures.
John Gilmore [Thu, 30 Jan 1992 09:06:49 +0000 (09:06 +0000)]
* sparc-pinsn.c:  Remove kludge for preferring architectures.
Remove #ifdef's for SORT_NEEDED.  We need to sort the table, now
and forever.  Add `add' instruction to the set that get checked
for a preceding `sethi' in order to print an absolute address.
Corresponding changes in ../include/opcode/sparc.h needed
to eliminate garbage instructions.

32 years agoVarious fixed triggered by trying to do the right thing wrt
Per Bothner [Thu, 30 Jan 1992 03:56:32 +0000 (03:56 +0000)]
Various fixed triggered by trying to do the right thing wrt
to external symbols in mips ecoff binaries.  See ChangeLog.

32 years ago* sparc-pinsn.c (compare_opcodes): Make it prefer v6, v7,
Stu Grossman [Thu, 30 Jan 1992 03:01:00 +0000 (03:01 +0000)]
* sparc-pinsn.c (compare_opcodes):  Make it prefer v6, v7,
cypress, v8 mnemonics in that order.

32 years agoadd bootstrap target
K. Richard Pixley [Wed, 29 Jan 1992 22:47:09 +0000 (22:47 +0000)]
add bootstrap target

32 years agoldlnk960.c: Special #ifdef to choose little endian ony
Steve Chamberlain [Wed, 29 Jan 1992 16:44:09 +0000 (16:44 +0000)]
ldlnk960.c: Special #ifdef to choose little endian ony
ldgram.y: allow forward ref of section

32 years ago * config/mh-sparc.h: now uses libgcc.a
Steve Chamberlain [Wed, 29 Jan 1992 16:43:16 +0000 (16:43 +0000)]
* config/mh-sparc.h: now uses libgcc.a
* ldmain.c: quit using exit
* *.sc: use *(COMMON) rather than [COMMON]
* ldlex.l, lexsup.c: much thinking moved from .l and put into .c,
to allow preprocessing of .l file.
* Makefile.in: New ldlex.l mangling
* ldexp.c (fold_binary): perform expressions with % and / in
integer.
* ldfile.c (open_a): open archives on VMS in a special way
* lderror.c: forgot to check in from a long while ago

32 years ago * Makefile.in: For libg++, make sure the -I pointing
Per Bothner [Wed, 29 Jan 1992 07:52:01 +0000 (07:52 +0000)]
* Makefile.in:  For libg++, make sure the -I pointing
to the gcc directory goes *after* all the libg++-local -I flags.
Also, move just-gcc dependency from just-libg++ to all-libg++.

32 years ago* sparc.h: fix opcode for tsubcctv.
Stu Grossman [Wed, 29 Jan 1992 07:01:25 +0000 (07:01 +0000)]
* sparc.h:  fix opcode for tsubcctv.

32 years agoMakefile.in: Add dependencies for various coff-*.o files.
Fred Fish [Wed, 29 Jan 1992 05:16:49 +0000 (05:16 +0000)]
Makefile.in:  Add dependencies for various coff-*.o files.

elf.c:  Remove extraneous paren from core_prpsinfo and core_prpstatus
macros, rename core_prpstatus to core_prstatus.  Replace references to
old section "size" member with new "_raw_size" member.  Implement
elf_make_empty_symbol, which is now used.

32 years agoPut the qsort() back in in sparc-pinsn.c
Per Bothner [Wed, 29 Jan 1992 01:33:48 +0000 (01:33 +0000)]
Put the qsort() back in in sparc-pinsn.c

32 years agoCredits for GDB 4.4 (and correction to credits for 3.9).
Roland Pesch [Wed, 29 Jan 1992 01:27:36 +0000 (01:27 +0000)]
Credits for GDB 4.4 (and correction to credits for 3.9).

32 years agobfd.c: use `<<foo>>' instead of @file{foo}
Roland Pesch [Wed, 29 Jan 1992 01:04:30 +0000 (01:04 +0000)]
bfd.c: use `<<foo>>' instead of @file{foo}

section.c, syms.c: @* rather than * at beginning of menu lines

32 years ago* trad-core.c, bfd.c, ../include/bfd.h: Various fixes for PMAX
Stu Grossman [Tue, 28 Jan 1992 22:53:51 +0000 (22:53 +0000)]
* trad-core.c, bfd.c, ../include/bfd.h:  Various fixes for PMAX
core reading.

32 years agorcsid's removed
K. Richard Pixley [Tue, 28 Jan 1992 20:38:08 +0000 (20:38 +0000)]
rcsid's removed

32 years ago * m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
Steve Chamberlain [Tue, 28 Jan 1992 19:12:16 +0000 (19:12 +0000)]
* m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
displacements don't get printed as large +ve ones.

32 years ago * coffcode.h (bfd_coff_relax_section): now static.
Steve Chamberlain [Tue, 28 Jan 1992 18:48:07 +0000 (18:48 +0000)]
* coffcode.h (bfd_coff_relax_section): now static.
(bfd_coff_get_relocated_section_contents): various type lints.

32 years ago * ldgram.y: map -M behave in the same way as -Map (sets file name
Steve Chamberlain [Tue, 28 Jan 1992 18:21:36 +0000 (18:21 +0000)]
* ldgram.y: map -M behave in the same way as -Map (sets file name
to be "-".
* ldsym.c, ldlang.c: remember that size of a section is dependent on
whether or not relaxing has been done.
* ldmain.c: don't open a map file if it doesn't have a name
* relax.c: all the brains have moved into bfd.
* ldwrite.c: ammend comment

32 years ago * bfd.h : new target entr, bfd_relax_section
Steve Chamberlain [Tue, 28 Jan 1992 06:02:01 +0000 (06:02 +0000)]
* bfd.h : new target entr, bfd_relax_section

32 years ago New entry point in the transfer vector - bfd_relax_section.
Steve Chamberlain [Tue, 28 Jan 1992 06:01:25 +0000 (06:01 +0000)]
New entry point in the transfer vector - bfd_relax_section.

* aout-target.h: add to vector, call generic_relax
* bfd-in.h: add to vector
* bfd.c: add #define for vector
* bout.c: add to vector, call generic_relax
* coffcode.h: add to vector, also now has coff specific relax code
for the relaxable H8/300 relocs. Also clean up abs section cruft.
* elf.c: call generic_relax
* ieee.c: call new vector, clean up some bugs due to the creation
of bfd_abs_section
* libbfd.h: add bfd_generic_relax_section EXFUN
* oasys.c: call generic_relax
* reloc.c: implement generic_relax
* seclet.c: moved much of this into coffcode.h
* srec.c: call generic_relax
* targets.c: define new transfer vector

32 years agoobj-coff* now copes with C mingled listings
Steve Chamberlain [Tue, 28 Jan 1992 03:43:23 +0000 (03:43 +0000)]
obj-coff* now copes with C mingled listings

tc-h8300.c: better error messages

32 years agoDevelopment checkpoint
Steve Chamberlain [Tue, 28 Jan 1992 03:33:04 +0000 (03:33 +0000)]
Development checkpoint

32 years ago* findvar.c (read_register, write_register): Handle machines
John Gilmore [Tue, 28 Jan 1992 03:20:39 +0000 (03:20 +0000)]
* findvar.c (read_register, write_register):  Handle machines
where REGISTER_TYPE is not the same size as "int".

32 years agoHandle debug symbols in dynamically loaded (relocated) code:
John Gilmore [Tue, 28 Jan 1992 02:57:37 +0000 (02:57 +0000)]
Handle debug symbols in dynamically loaded (relocated) code:

* dbxread.c (read_ofile_symtab):  Fix up N_CATCH better.  Pass
offset to process_one_symbol.
(process_one_symbol):  Take new offset parameter.  Add it into
appropriate symbol types to relocate symbols to loaded addresses.
Handle all possible symbol types, and complain() about types that
we don't expect to see.
* mipsread.c (psymtab_to_symtab_1):  Pass offset of zero to
process_one_symbol (FIXME, should pass real offset).

Misc bugfixes:

* breakpoint.c (resolve_sal_pc):  Split out code to resolve a
sal's PC value.
(set_breakpoint, break_command_1, until_break_command,
catch_command_1, breakpoint_re_set_one):  Use it.
(breakpoint_re_set_one):  Disable bkpts that don't re-set cleanly.
(breakpoint_re_set):  Mention breakpoint number in error messages.
* symtab.h (resolve_sal_pc):  Declare.
* infcmd.c (jump_command):  Use resolve_sal_pc.

* source.c (find_source_lines):  Avoid "Source file is more
recent than executable" when bfd_get_mtime gives 0.
(list_command):  Shorten "FILE, line N" to "FILE:N".

* putenv.c (putenv):  Avoid unportably casting pointers to unsigneds.

32 years agoRemove obsolete START_INFERIOR_HOOK.
John Gilmore [Tue, 28 Jan 1992 02:49:12 +0000 (02:49 +0000)]
Remove obsolete START_INFERIOR_HOOK.

32 years agoOops, checked in version with the wrong stuff enabled. Turn it off...
Stu Grossman [Tue, 28 Jan 1992 02:38:11 +0000 (02:38 +0000)]
Oops, checked in version with the wrong stuff enabled.  Turn it off...

32 years agoRename remote-hds.c to remote-hms.c.
Stu Grossman [Tue, 28 Jan 1992 02:30:27 +0000 (02:30 +0000)]
Rename remote-hds.c to remote-hms.c.

32 years ago* dbxread.c (process_one_symbol): Make a first cut at handling
Stu Grossman [Tue, 28 Jan 1992 02:24:08 +0000 (02:24 +0000)]
* dbxread.c (process_one_symbol):  Make a first cut at handling
symbol tables generated by Suns acc.

32 years agoSteve's version_path stuff bites the dust.
Jim Wilson [Tue, 28 Jan 1992 00:38:04 +0000 (00:38 +0000)]
Steve's version_path stuff bites the dust.