platform/upstream/binutils.git
32 years agopulled in from hack's unfinished work
K. Richard Pixley [Tue, 18 Feb 1992 11:27:34 +0000 (11:27 +0000)]
pulled in from hack's unfinished work

32 years agoprepping for configure
K. Richard Pixley [Tue, 18 Feb 1992 11:25:11 +0000 (11:25 +0000)]
prepping for configure

32 years agowhite space and comments only
K. Richard Pixley [Tue, 18 Feb 1992 10:24:13 +0000 (10:24 +0000)]
white space and comments only

32 years agoadd note about i860 relocation types
K. Richard Pixley [Tue, 18 Feb 1992 10:23:18 +0000 (10:23 +0000)]
add note about i860 relocation types

32 years agouse the new atof-ns32.c for ns32k.
K. Richard Pixley [Tue, 18 Feb 1992 10:22:46 +0000 (10:22 +0000)]
use the new atof-ns32.c for ns32k.

32 years agocomment change only
K. Richard Pixley [Tue, 18 Feb 1992 10:21:45 +0000 (10:21 +0000)]
comment change only

32 years agotc-i860.[hc]: blew off the dust. Something must still be done about
K. Richard Pixley [Tue, 18 Feb 1992 10:20:20 +0000 (10:20 +0000)]
tc-i860.[hc]: blew off the dust.  Something must still be done about
conflicting relocation types.

32 years agokeep ChangeLog
K. Richard Pixley [Tue, 18 Feb 1992 10:18:32 +0000 (10:18 +0000)]
keep ChangeLog

32 years agoReplaced previous tc_aout_fix_to_chars stub with the real thing.
K. Richard Pixley [Tue, 18 Feb 1992 10:18:05 +0000 (10:18 +0000)]
Replaced previous tc_aout_fix_to_chars stub with the real thing.

32 years agokeep the new file
K. Richard Pixley [Tue, 18 Feb 1992 10:13:57 +0000 (10:13 +0000)]
keep the new file

32 years agodelete duplicate macro definition
K. Richard Pixley [Tue, 18 Feb 1992 10:13:09 +0000 (10:13 +0000)]
delete duplicate macro definition

32 years agocopied from hack's last unreleased gas
K. Richard Pixley [Tue, 18 Feb 1992 10:11:07 +0000 (10:11 +0000)]
copied from hack's last unreleased gas

32 years ago * readline.c (readline_default_bindings): Only make use of VLNEXT
Fred Fish [Tue, 18 Feb 1992 01:20:46 +0000 (01:20 +0000)]
* readline.c (readline_default_bindings):  Only make use of VLNEXT
when both VLNEXT and TERMIOS_TTY_DRIVER is defined.  On SVR4
<termio.h> includes <termios.h>, so VLNEXT is always defined.

* sysdep-norm.h (_POSIX_VERSION):  Define this for all SVR4
systems so that <termios.h> gets used, instead of <termio.h>.

32 years agoAdd code to handle TAG_pointer_type DIE's (DWARF Information Entries)
Fred Fish [Mon, 17 Feb 1992 23:26:54 +0000 (23:26 +0000)]
Add code to handle TAG_pointer_type DIE's (DWARF Information Entries)
that are produced by the i486/SVR4 MetaWare compiler, but not by the
AT&T or GCC compilers.

32 years agoNew hp300bsd port.
Per Bothner [Mon, 17 Feb 1992 20:08:20 +0000 (20:08 +0000)]
New hp300bsd port.

32 years ago * hp300bsd.c (new), config/mt-hp300bsd: Make hp300bsd
Per Bothner [Mon, 17 Feb 1992 20:04:21 +0000 (20:04 +0000)]
* hp300bsd.c (new), config/mt-hp300bsd:  Make hp300bsd
a full configuration (with possible cross-development),
instead of using host-aout.c.

32 years agorecord that files were removed
K. Richard Pixley [Mon, 17 Feb 1992 16:02:58 +0000 (16:02 +0000)]
record that files were removed

32 years agofighting bitrot in a major way
K. Richard Pixley [Mon, 17 Feb 1992 15:54:49 +0000 (15:54 +0000)]
fighting bitrot in a major way

32 years agoWhen creating user defined types for subroutine and array types, check
Fred Fish [Mon, 17 Feb 1992 15:23:05 +0000 (15:23 +0000)]
When creating user defined types for subroutine and array types, check
first to see if a partial type already exists due to a forward reference,
and if so, bash it to fit.

32 years agoHack so it Sanitizes cleanly.
Per Bothner [Sun, 16 Feb 1992 22:42:44 +0000 (22:42 +0000)]
Hack so it Sanitizes cleanly.

32 years ago * aout-target.h (MY(write_object_contents):
Per Bothner [Sun, 16 Feb 1992 21:05:54 +0000 (21:05 +0000)]
* aout-target.h (MY(write_object_contents):
Set obj_reloc_entry_size (abfd).
* gen-aout.c:  Change to emit a .c files, not a .h file.

32 years ago * Makefile.in: Bump version to 1.96, and remove -beta
Per Bothner [Sun, 16 Feb 1992 20:58:45 +0000 (20:58 +0000)]
* Makefile.in:  Bump version to 1.96, and remove -beta
suffix from distribution name.
* m68k-pinsn.c:  New macro COERCE_SIGNED_CHAR to extract
the signed value of a character (even if chars are unsigned).
* sparc-pinsn.c:  Add new operand types.

32 years ago*** empty log message ***
Per Bothner [Sun, 16 Feb 1992 20:49:26 +0000 (20:49 +0000)]
*** empty log message ***

32 years agoTwo typos fixed, spotted by Jim Irwin of WRS
Roland Pesch [Sun, 16 Feb 1992 01:46:59 +0000 (01:46 +0000)]
Two typos fixed, spotted by Jim Irwin of WRS

32 years agoFix missing user-font lines in introductory example (spotted by J Irwin,
Roland Pesch [Sun, 16 Feb 1992 01:39:35 +0000 (01:39 +0000)]
Fix missing user-font lines in introductory example (spotted by J Irwin,
WRS).

32 years ago * Makefile.in: Major changes. Removed some the sed
Per Bothner [Sat, 15 Feb 1992 23:13:00 +0000 (23:13 +0000)]
* Makefile.in:  Major changes.  Removed some the sed
magic to converts scripts, since that is now handled
by genscripts.sh and the *.sc-sh scipt generators.
* config.h:  Remove a bunch of macros defining emulations
and targets.  This becomes one less file to edit when
adding emulations or targets.
* ldemul.h (struct ld_emulation_xfer_struct):  Add
emulation_name and target_name fields.
* ldemul.c, ldemul.h:  Define some default functions used
by most emulations (and remove from the *.em scripts).
* ldemul.c (ldemul_choose_target):  Search the new
ld_emulations array using a loop (instead of a hardwired
nested if statement).
Define the ld_emulation from the automatically-geenrated
ldemul-list.h.  This means you no longer have to edit ldemul.c
to add a new emulation.
* ldmain.c:  Replace {GLD,LNK}960_EMULATION_NAME by
their expansions, since the former no longer exist.
* PORTING:  A very rough first draft of a porting guide.

32 years ago * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME
Per Bothner [Sat, 15 Feb 1992 22:21:43 +0000 (22:21 +0000)]
* config/mt-foo:  Changed EMUL=GLDFOO_EMULATION_NAME
to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.)
* config/mh-foo:  Rename LDEMULATION names as appropriate
(usually 'gldfoo' -> plain 'foo').

32 years ago Major rewrite of how ld is configured. The major idea
Per Bothner [Sat, 15 Feb 1992 22:13:53 +0000 (22:13 +0000)]
Major rewrite of how ld is configured.  The major idea
is to use shell scripts to generate everything.
* Each emulation is defined by a short shell script with
extension *.sh that specifies the emulation-specific
parameters (such as the name of the *.sh-sc and *.em
files to use).
* genscript.sh is the master shell script used to generate
an emulation.  It is passed various argument, including
the name a the emulation-speciic *.sh file that it
"sources" to set variables to emulation-specifc parameters.

32 years ago Major rewrite of how ld is configured. The major idea
Per Bothner [Sat, 15 Feb 1992 22:07:15 +0000 (22:07 +0000)]
Major rewrite of how ld is configured.  The major idea
is to use shell scripts to generate everything.
* generic.em replaces ldtemplate.
* Other *.em files replace various *.c files.
A *.em file is a shell script that generates the corresponding
ld__*.c file that implements an emulation.  This is usually
a straight 'cat' of a here-document, possibly with substitutions.
* Script files (*.sc) are places by *.sc-sh scripts.
Again, these are simple shell scripts that 'cat'
here-documents, usually with some substitutions.
The output a *.sc-sh is a script file.

32 years agoWhite space and comment changes. #ifdef __STDC__ becomes #if __STDC__
K. Richard Pixley [Sat, 15 Feb 1992 21:13:03 +0000 (21:13 +0000)]
White space and comment changes.  #ifdef __STDC__ becomes #if __STDC__
== 1.  Get the declarations right in listing.[hc].

32 years agoWhite space and comment changes, and #ifdef __STDC__ becomes #if
K. Richard Pixley [Sat, 15 Feb 1992 21:09:34 +0000 (21:09 +0000)]
White space and comment changes, and #ifdef __STDC__ becomes #if
__STDC__ == 1.

32 years agoRemove obsolete use of BSF_ABSOLUTE and replace with bfd_abs_section ref.
Fred Fish [Fri, 14 Feb 1992 04:13:53 +0000 (04:13 +0000)]
Remove obsolete use of BSF_ABSOLUTE and replace with bfd_abs_section ref.

32 years agopointer lint and tandem target.
Steve Chamberlain [Fri, 14 Feb 1992 02:29:39 +0000 (02:29 +0000)]
pointer lint and tandem target.

32 years agoFix typeo which crept in between compiling and checking in
Steve Chamberlain [Fri, 14 Feb 1992 01:48:00 +0000 (01:48 +0000)]
Fix typeo which crept in between compiling and checking in

32 years ago * coffcode.h (get_normalized_symtab): fixed bug where symbols
Steve Chamberlain [Fri, 14 Feb 1992 01:37:56 +0000 (01:37 +0000)]
* coffcode.h (get_normalized_symtab): fixed bug where symbols
with more than one auxent can cause nasty core dumps.

32 years agoFix code in elf_symtab_read which attempts to read the standard ELF
Fred Fish [Fri, 14 Feb 1992 01:22:12 +0000 (01:22 +0000)]
Fix code in elf_symtab_read which attempts to read the standard ELF
symbol table and add symbol information to the misc function vector.
This allows minimum functionality with non -g compiled code, and is
vital for use with shared libraries (non of which are currently
compiled with -g).

Note to anyone doing any SVR4/gdb work.  This bug was introduced into
gdb just prior to the gdb 4.4 release, thus any versions currently
in the field will have broken shared library support since no symbol
information at all will be available for the shared library.  This
fix, along with one about to go into bfd's elf.c should fix that
problem.

32 years agoMight as well keep the contents of the gas/doc subdir, as well as the
Roland Pesch [Fri, 14 Feb 1992 00:28:22 +0000 (00:28 +0000)]
Might as well keep the contents of the gas/doc subdir, as well as the
dir itself.

32 years agoIt's OK to keep the doc subdirectory, really.
Roland Pesch [Fri, 14 Feb 1992 00:21:34 +0000 (00:21 +0000)]
It's OK to keep the doc subdirectory, really.

32 years ago* xm-vaxbsd.h: Close off comment.
Stu Grossman [Thu, 13 Feb 1992 20:44:23 +0000 (20:44 +0000)]
* xm-vaxbsd.h:  Close off comment.

32 years agoterminated unterminated comment
Heinz G. Seidl [Thu, 13 Feb 1992 19:39:48 +0000 (19:39 +0000)]
terminated unterminated comment

32 years agoDefine NEED_POSIX_SETPGID for all SVR4 hosts.
Fred Fish [Thu, 13 Feb 1992 15:47:18 +0000 (15:47 +0000)]
Define NEED_POSIX_SETPGID for all SVR4 hosts.

32 years agoclean up Sanitize for gas
K. Richard Pixley [Thu, 13 Feb 1992 10:13:24 +0000 (10:13 +0000)]
clean up Sanitize for gas

32 years agoadd README fluff
K. Richard Pixley [Thu, 13 Feb 1992 09:56:39 +0000 (09:56 +0000)]
add README fluff

32 years agofluff
K. Richard Pixley [Thu, 13 Feb 1992 09:56:04 +0000 (09:56 +0000)]
fluff

32 years agoAll files over ~5 lines get copylefted. All copylefted files get
K. Richard Pixley [Thu, 13 Feb 1992 09:49:39 +0000 (09:49 +0000)]
All files over ~5 lines get copylefted.  All copylefted files get
copylefted 1992.

32 years agoforce all files to end in "/* end of filename"
K. Richard Pixley [Thu, 13 Feb 1992 09:13:54 +0000 (09:13 +0000)]
force all files to end in "/* end of filename"

32 years agoremove all rcs keywords
K. Richard Pixley [Thu, 13 Feb 1992 08:39:15 +0000 (08:39 +0000)]
remove all rcs keywords

32 years agoWhite space and comments only. The devo tree prior to this delta is
K. Richard Pixley [Thu, 13 Feb 1992 08:33:54 +0000 (08:33 +0000)]
White space and comments only.  The devo tree prior to this delta is
tagged as "vanilla" for your convenience.

There are also some comment changes.

32 years agoI think this solves the MAKEINFO and BISON rooting problems.
K. Richard Pixley [Thu, 13 Feb 1992 00:20:17 +0000 (00:20 +0000)]
I think this solves the MAKEINFO and BISON rooting problems.

32 years agoMake the emulation GLD960, not GLD
Steve Chamberlain [Wed, 12 Feb 1992 06:42:21 +0000 (06:42 +0000)]
Make the emulation GLD960, not GLD

32 years agoUpdating gprof for latest bfd stuff, and making configure work.
Sean Eric Fagan [Tue, 11 Feb 1992 23:15:03 +0000 (23:15 +0000)]
Updating gprof for latest bfd stuff, and making configure work.

32 years agoldlang.c: now won't core dump with -M
Steve Chamberlain [Tue, 11 Feb 1992 20:21:52 +0000 (20:21 +0000)]
ldlang.c: now won't core dump with -M
configure.in: add configure target for vxworks960

32 years ago#include <sys/stdtypes.h> before <stddef.h> so that when we compile
Michael Tiemann [Tue, 11 Feb 1992 10:34:03 +0000 (10:34 +0000)]
#include <sys/stdtypes.h> before <stddef.h> so that when we compile
with GCC, the compiler does not stumble over `size_t', `ptrdiff_t',
and `wchar_t'.  Also note that the comment in <stddef.h> says that we
have to #include <sys/stdtypes.h> before including <stddef.h> when on
a sun.

32 years agoNew files for MRI syntax assembler
Steve Chamberlain [Tue, 11 Feb 1992 00:51:52 +0000 (00:51 +0000)]
New files for MRI syntax assembler

32 years ago * ldexp.c, ldlang.c: added new idea "abs_output_section", removes
Steve Chamberlain [Tue, 11 Feb 1992 00:23:32 +0000 (00:23 +0000)]
* ldexp.c, ldlang.c: added new idea "abs_output_section", removes
tests for NULL pointers all over the place.
* ldlang.c (lang_process): remember to relocate global symbols
*after* relaxing has done it stuff.

32 years agoAdded mh-apollo68v and mt-os68k as files-to-keep.
Sean Eric Fagan [Tue, 11 Feb 1992 00:16:18 +0000 (00:16 +0000)]
Added mh-apollo68v and mt-os68k as files-to-keep.

32 years agoAdded a68v-xdep.c os68k-xdep.c, tm-os68k.h, and xm-apollo68v.h as files-
Sean Eric Fagan [Tue, 11 Feb 1992 00:14:59 +0000 (00:14 +0000)]
Added a68v-xdep.c os68k-xdep.c, tm-os68k.h, and xm-apollo68v.h as files-
to-keep.

32 years agoAdded mh-apollo68 and mt-os68k as files-to-keep.
Sean Eric Fagan [Tue, 11 Feb 1992 00:10:56 +0000 (00:10 +0000)]
Added mh-apollo68 and mt-os68k as files-to-keep.

32 years agoAdded h-apollo68v.h as a file to keep.
Sean Eric Fagan [Tue, 11 Feb 1992 00:08:55 +0000 (00:08 +0000)]
Added h-apollo68v.h as a file to keep.

32 years agoall: Don't include <sys/file.h> if NO_SYS_FILE is defined. On the Apollo,
Sean Eric Fagan [Tue, 11 Feb 1992 00:01:35 +0000 (00:01 +0000)]
all:  Don't include <sys/file.h> if NO_SYS_FILE is defined.  On the Apollo,
this file does not exist, and not including it hasn't seemed to
cause problems.
main.c:  Use the proper enum's in the options structure initialization;
the Apollo compiler chokes on this.

32 years agoMakefile.in: Removed some '#''s that caused an extraneous include of
Sean Eric Fagan [Mon, 10 Feb 1992 23:58:50 +0000 (23:58 +0000)]
Makefile.in:  Removed some '#''s that caused an extraneous include of
the host/site/target files.
configure.in:  Added support for hosting on an Apollo Series 400, and
targeting on an OS/68k machine.

32 years agoAdded support for OS/68k (as a target) and Apollo Series 400's (as
Sean Eric Fagan [Mon, 10 Feb 1992 23:43:56 +0000 (23:43 +0000)]
Added support for OS/68k (as a target) and Apollo Series 400's (as
a host).

32 years agoAdded support for hosting on an Apollo Series 400 (under System V emulation),
Sean Eric Fagan [Mon, 10 Feb 1992 23:31:40 +0000 (23:31 +0000)]
Added support for hosting on an Apollo Series 400 (under System V emulation),
and targeted towards an OS/68000 system.

32 years agoAdded support for hosting on an Apollo Series 400 processor (under
Sean Eric Fagan [Mon, 10 Feb 1992 23:30:35 +0000 (23:30 +0000)]
Added support for hosting on an Apollo Series 400 processor (under
System V emulation), and targeted towards an OS/68000 system.

32 years agoAdded support for hosting on an Apollo Series 400 box, and targeted towards
Sean Eric Fagan [Mon, 10 Feb 1992 23:26:10 +0000 (23:26 +0000)]
Added support for hosting on an Apollo Series 400 box, and targeted towards
an OS/68000 system.

32 years agoAdding support for hosting on an apollo series 400 (68k processor).
Sean Eric Fagan [Mon, 10 Feb 1992 23:22:24 +0000 (23:22 +0000)]
Adding support for hosting on an apollo series 400 (68k processor).

32 years agoMake undefined refs not make an executable
Steve Chamberlain [Mon, 10 Feb 1992 18:54:27 +0000 (18:54 +0000)]
Make undefined refs not make an executable

32 years agoIn configure{.in} {host|target}_makefile_frag should name a file
K. Richard Pixley [Sat, 8 Feb 1992 08:57:08 +0000 (08:57 +0000)]
In configure{.in} {host|target}_makefile_frag should name a file
relative to srcdir.  I think it now does.  configure has been
corrected.  configure.texi has been clarified.

32 years agocorrect a collision against recent configure changes
K. Richard Pixley [Sat, 8 Feb 1992 02:22:09 +0000 (02:22 +0000)]
correct a collision against recent configure changes

32 years agoadded libg++
Heinz G. Seidl [Sat, 8 Feb 1992 00:32:56 +0000 (00:32 +0000)]
added libg++

32 years agoAdd xm-vaxbsd.h and xm-vaxult.h to .Sanitize. Add mh-vaxbsd and mh-vaxult,
Stu Grossman [Fri, 7 Feb 1992 22:58:40 +0000 (22:58 +0000)]
Add xm-vaxbsd.h and xm-vaxult.h to .Sanitize.  Add mh-vaxbsd and mh-vaxult,
remove mh-vax from config/.Sanitize.

32 years agoadded mt-sun3 mt-vxworks68 mt-vxworks960
Heinz G. Seidl [Fri, 7 Feb 1992 22:34:19 +0000 (22:34 +0000)]
added  mt-sun3 mt-vxworks68 mt-vxworks960

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.