external/binutils.git
33 years ago * ieee.c: (ieee_object_p) cast NULL correctly.
Steve Chamberlain [Wed, 13 Nov 1991 19:27:21 +0000 (19:27 +0000)]
* ieee.c: (ieee_object_p) cast NULL correctly.
* configure.in: added harris host

33 years agoInitial revision
Steve Chamberlain [Wed, 13 Nov 1991 19:25:56 +0000 (19:25 +0000)]
Initial revision

33 years agoInitial revision
K. Richard Pixley [Wed, 13 Nov 1991 19:01:53 +0000 (19:01 +0000)]
Initial revision

33 years ago*** empty log message ***
Steve Chamberlain [Wed, 13 Nov 1991 17:10:23 +0000 (17:10 +0000)]
*** empty log message ***

33 years agoVarious changes from David Wood.
Steve Chamberlain [Wed, 13 Nov 1991 17:09:33 +0000 (17:09 +0000)]
Various changes from David Wood.

33 years agopropogate MAKEINFO like we propogate BISON
K. Richard Pixley [Wed, 13 Nov 1991 09:23:05 +0000 (09:23 +0000)]
propogate MAKEINFO like we propogate BISON

33 years agomake the stage link a soft one
K. Richard Pixley [Wed, 13 Nov 1991 08:54:38 +0000 (08:54 +0000)]
make the stage link a soft one

33 years agouse gcc as ld for later stages
K. Richard Pixley [Wed, 13 Nov 1991 08:50:40 +0000 (08:50 +0000)]
use gcc as ld for later stages

33 years agoPorted to SCO's 3.2v2 system.
Sean Eric Fagan [Wed, 13 Nov 1991 04:13:38 +0000 (04:13 +0000)]
Ported to SCO's 3.2v2 system.

33 years agoForgot opcode files.
John Gilmore [Wed, 13 Nov 1991 04:00:22 +0000 (04:00 +0000)]
Forgot opcode files.

33 years agoxcoffread.c, tdesc-lib, and misc fixes.
John Gilmore [Wed, 13 Nov 1991 03:32:29 +0000 (03:32 +0000)]
xcoffread.c, tdesc-lib, and misc fixes.

33 years ago * Makefile.in: Take out the version number for install
Steve Chamberlain [Wed, 13 Nov 1991 02:39:14 +0000 (02:39 +0000)]
* Makefile.in: Take out the version number for install
* m88kbcs.sc: put in contructor blocks.

33 years ago * ar.c (get_pos_bfd): Previous fix was missing a "break".
Per Bothner [Wed, 13 Nov 1991 00:19:34 +0000 (00:19 +0000)]
* ar.c (get_pos_bfd):  Previous fix was missing a "break".

33 years agoFixes related to handling of C++ methods (handle destructors
Per Bothner [Tue, 12 Nov 1991 22:20:02 +0000 (22:20 +0000)]
Fixes related to handling of C++ methods (handle destructors
and parameters that are functions).

33 years agoAdded tdesc-lib
Steve Chamberlain [Tue, 12 Nov 1991 21:50:02 +0000 (21:50 +0000)]
Added tdesc-lib

33 years agoRemove internal gdb definition of fixed arg count concat() function and
Fred Fish [Tue, 12 Nov 1991 17:50:14 +0000 (17:50 +0000)]
Remove internal gdb definition of fixed arg count concat() function and
convert to use of variable arg count concat() in libiberty.

33 years agoFirst cut
Steve Chamberlain [Tue, 12 Nov 1991 17:34:33 +0000 (17:34 +0000)]
First cut

33 years agoInitial revision
Steve Chamberlain [Tue, 12 Nov 1991 17:29:57 +0000 (17:29 +0000)]
Initial revision

33 years agoAdded harris systems
Steve Chamberlain [Tue, 12 Nov 1991 17:09:31 +0000 (17:09 +0000)]
Added harris systems

33 years agors6000 alone means rs6000-ibm-aix
John Gilmore [Tue, 12 Nov 1991 15:59:10 +0000 (15:59 +0000)]
rs6000 alone means rs6000-ibm-aix

33 years ago* Makefile.in: Add xcoffread.c, xcoffexec.c.
John Gilmore [Tue, 12 Nov 1991 15:54:27 +0000 (15:54 +0000)]
* Makefile.in:  Add xcoffread.c, xcoffexec.c.
* xcoffread.c:  New file for handling AIX mangled-coff files.
* xconfig/rs6000, tconfig/rs6000:  New files.
* buildsym.c:  Add hooks for xcoffread.c.

33 years ago* rs6000-pinsn.c, rs6000-tdep.c, rs6000-xdep.c, tm-rs6000.h,
John Gilmore [Tue, 12 Nov 1991 15:50:47 +0000 (15:50 +0000)]
* rs6000-pinsn.c, rs6000-tdep.c, rs6000-xdep.c, tm-rs6000.h,
xm-rs6000.h:  New files.
* xcoffexec.c:  New file for handling AIX shared libraries.

33 years agoInitial revision
John Gilmore [Tue, 12 Nov 1991 15:27:52 +0000 (15:27 +0000)]
Initial revision

33 years agoNew file.
John Gilmore [Tue, 12 Nov 1991 15:24:56 +0000 (15:24 +0000)]
New file.

33 years agoJust use #undef, not #define foo foo
John Gilmore [Tue, 12 Nov 1991 15:22:22 +0000 (15:22 +0000)]
Just use #undef, not #define foo foo

33 years agoadd texinfo; mkdir foo/info; echo when mkdir'ing
K. Richard Pixley [Tue, 12 Nov 1991 08:43:56 +0000 (08:43 +0000)]
add texinfo; mkdir foo/info; echo when mkdir'ing

33 years agoadd texinfo
K. Richard Pixley [Tue, 12 Nov 1991 08:43:23 +0000 (08:43 +0000)]
add texinfo

33 years agoAllways use -O2
Steve Chamberlain [Tue, 12 Nov 1991 04:58:15 +0000 (04:58 +0000)]
Allways use -O2

33 years agoMon Nov 11 20:50:29 1991 Steve Chamberlain (sac at cygnus.com)
Steve Chamberlain [Tue, 12 Nov 1991 04:52:27 +0000 (04:52 +0000)]
Mon Nov 11 20:50:29 1991  Steve Chamberlain  (sac at cygnus.com)

* Makefile.in: Use the MINUS_G no-debug convention
* readline.c: (many_places) move all the declarations of rindex to
only one place, to reduce the number of warnings it makes.

33 years agoallow +foo bar options. stolen from texinfo configure
K. Richard Pixley [Tue, 12 Nov 1991 04:41:21 +0000 (04:41 +0000)]
allow +foo bar options.  stolen from texinfo configure

33 years agoMon Nov 11 20:30:18 1991 Steve Chamberlain (sac at cygnus.com)
Steve Chamberlain [Tue, 12 Nov 1991 04:32:57 +0000 (04:32 +0000)]
Mon Nov 11 20:30:18 1991  Steve Chamberlain  (sac at cygnus.com)

* Makefile.in: standardize on MINUS_G to disable debugging
* coff-m88k.c: create coff armaps instead of bsd ones.
* opncls.c (bfd_close_all_done), (bfd_close): Mask out random bits
when calling chmod.

33 years agouses __inline for now for gcc
Steve Chamberlain [Tue, 12 Nov 1991 04:26:12 +0000 (04:26 +0000)]
uses __inline for now for gcc

33 years agoRemove coredep.o from XDEPFILES. The fetch_core_registers() function is
Fred Fish [Tue, 12 Nov 1991 03:26:13 +0000 (03:26 +0000)]
Remove coredep.o from XDEPFILES.  The fetch_core_registers() function is
now found in procfs.c for hosts with /proc support.

33 years agoMinor rewording of message containing name of program that generated a
Fred Fish [Tue, 12 Nov 1991 03:23:32 +0000 (03:23 +0000)]
Minor rewording of message containing name of program that generated a
core file (core.c), permanently remove the register_addr() stub (elfread.c),
move a misplaced #endif (procfs.c), and add fetch_core_registers func for
core file support (procfs.c).

33 years agoAdditions to support ELF formatted core files.
Fred Fish [Tue, 12 Nov 1991 03:12:26 +0000 (03:12 +0000)]
Additions to support ELF formatted core files.

33 years agoAdd support for ELF note sections, which are used in ELF core files to
Fred Fish [Tue, 12 Nov 1991 03:06:05 +0000 (03:06 +0000)]
Add support for ELF note sections, which are used in ELF core files to
hold copies of various /proc structures at the time of the core dump.

33 years ago * ldmisc.c, ldmisc.h: Re-write info() to take a filename
Per Bothner [Tue, 12 Nov 1991 03:03:42 +0000 (03:03 +0000)]
* ldmisc.c, ldmisc.h:  Re-write info() to take a filename
parameter, a format, and an arg pointer, and rename it to
vfinfo().  Write info() in terms of new vfinfo().
New einfo() is the same as info(), except it writes to stderr.
* ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c,
ldmisc.c:  Replace "error" calls to info() by new einfo().

33 years ago * aoutx.h (NAME(aout,find_nearest_line)): Handle the case
Per Bothner [Tue, 12 Nov 1991 02:46:26 +0000 (02:46 +0000)]
* aoutx.h (NAME(aout,find_nearest_line)):  Handle the case
of two N_SO stabs, one for directory, and one for filename.

* bfd-in.h (print_vma):  Factor out duplicate definition.

Exit a little more gracefully when malloc returns NULL.
* libbfd.c: New function bfd_xmalloc (malloc wrapper).
* opncls.c, syms.c, bout.c, aoutx.h:  Replace malloc by bfd_xmalloc.
* libbfd.h: Rre-generated due to libbfd.c update.

33 years agoAdded tc-sparc.c
Steve Chamberlain [Mon, 11 Nov 1991 23:36:39 +0000 (23:36 +0000)]
Added tc-sparc.c

33 years agoAdded MINUS_G flag, now debugging can be turned off
Steve Chamberlain [Mon, 11 Nov 1991 19:23:24 +0000 (19:23 +0000)]
Added MINUS_G flag, now debugging can be turned off

33 years ago* ldlex.l ldgram.y: made -V option do same as -v
Steve Chamberlain [Mon, 11 Nov 1991 17:59:52 +0000 (17:59 +0000)]
* ldlex.l ldgram.y: made -V option do same as -v
* Makefile.in: Added $(MINUS_G) flag so debugging can be
turned off

33 years agoAdded the $(MINUS_G) flag so that debugging can be turned off
Steve Chamberlain [Mon, 11 Nov 1991 17:51:21 +0000 (17:51 +0000)]
Added the $(MINUS_G) flag so that debugging can be turned off

33 years agoadd GCCVERBOSE flag for debugging
K. Richard Pixley [Mon, 11 Nov 1991 10:17:11 +0000 (10:17 +0000)]
add GCCVERBOSE flag for debugging

33 years agoRemove leftover call to do_cleanups() which resulted from a previous change.
Fred Fish [Sat, 9 Nov 1991 21:57:55 +0000 (21:57 +0000)]
Remove leftover call to do_cleanups() which resulted from a previous change.
Was being called with a random pointer.

33 years agoDocument use of elf_big_vec as DEFAULT_VECTOR.
Fred Fish [Sat, 9 Nov 1991 21:51:52 +0000 (21:51 +0000)]
Document use of elf_big_vec as DEFAULT_VECTOR.

33 years agoDon't try to create a bfd section for the first ELF section header table
Fred Fish [Sat, 9 Nov 1991 21:48:15 +0000 (21:48 +0000)]
Don't try to create a bfd section for the first ELF section header table
entry, since it is just a placeholder with no name.

33 years agoRe-enable compilation of register_addr() stub whenever it is not supplied
Fred Fish [Sat, 9 Nov 1991 21:43:47 +0000 (21:43 +0000)]
Re-enable compilation of register_addr() stub whenever it is not supplied
by coredep.c, since it is referenced by fetch_core_registers().  This is
still a temporary kludge.

33 years agocorrect a comment
K. Richard Pixley [Sat, 9 Nov 1991 11:34:52 +0000 (11:34 +0000)]
correct a comment

33 years agothin out directories actually created
K. Richard Pixley [Sat, 9 Nov 1991 11:34:34 +0000 (11:34 +0000)]
thin out directories actually created

33 years agoModernize, add sysdep-*.h files
John Gilmore [Sat, 9 Nov 1991 11:32:52 +0000 (11:32 +0000)]
Modernize, add sysdep-*.h files

33 years ago* configure.in: Make a link for sysdep.h. Specify commontargets.
John Gilmore [Sat, 9 Nov 1991 11:24:36 +0000 (11:24 +0000)]
* configure.in:  Make a link for sysdep.h.  Specify commontargets.
* sysdep-norm.h:  The usual alloca declarations.
* sysdep-aix.h:  What AIX 3.1 on RS/6000 needs for alloca.
* history.c, readline.c:  Use sysdep.h.

33 years agoInitial revision
John Gilmore [Sat, 9 Nov 1991 11:24:32 +0000 (11:24 +0000)]
Initial revision

33 years agoRemove Rs/6000 changes (patch_block_stabs) so it will link without.
John Gilmore [Sat, 9 Nov 1991 11:16:47 +0000 (11:16 +0000)]
Remove Rs/6000 changes (patch_block_stabs) so it will link without.

33 years ago* coff-rs6000.c, config/mh-rs6000: Make it work on archive and
John Gilmore [Sat, 9 Nov 1991 11:13:02 +0000 (11:13 +0000)]
* coff-rs6000.c, config/mh-rs6000:  Make it work on archive and
core files, when compiling native.
* hosts/h-rs6000.h:  Define FASCIST_FDOPEN for bfd_fdopenr.

33 years agoDefine FASCIST_FDOPEN.
John Gilmore [Sat, 9 Nov 1991 11:11:09 +0000 (11:11 +0000)]
Define FASCIST_FDOPEN.

33 years agoMore changes for objfiles.
John Gilmore [Sat, 9 Nov 1991 11:01:08 +0000 (11:01 +0000)]
More changes for objfiles.

33 years agoAdd tracking of object files (that contain symbols) to gdb.
John Gilmore [Sat, 9 Nov 1991 10:50:07 +0000 (10:50 +0000)]
Add tracking of object files (that contain symbols) to gdb.
This includes a "struct objfile" that owns symtabs and psymtabs
that were read in from that binary file.  See ChangeLog.

33 years agoLint and some rs/6000 port.
John Gilmore [Sat, 9 Nov 1991 07:45:36 +0000 (07:45 +0000)]
Lint and some rs/6000 port.

33 years agoNow runs write_armap, even when listing contents.
Steve Chamberlain [Sat, 9 Nov 1991 01:07:40 +0000 (01:07 +0000)]
Now runs write_armap, even when listing contents.

33 years agoFixed bug printing 29050 instructions.
Steve Chamberlain [Sat, 9 Nov 1991 00:13:31 +0000 (00:13 +0000)]
Fixed bug printing 29050 instructions.

33 years agoFormat improvements, mostly for @smallbook (including reformatted table
Roland Pesch [Fri, 8 Nov 1991 20:57:43 +0000 (20:57 +0000)]
Format improvements, mostly for @smallbook (including reformatted table
of config options).

33 years agoRemove spurious echo
Steve Chamberlain [Fri, 8 Nov 1991 05:59:52 +0000 (05:59 +0000)]
Remove spurious echo

33 years agoPut .comments into .data section, otherwise 88k can't exec the image.
Steve Chamberlain [Fri, 8 Nov 1991 05:55:19 +0000 (05:55 +0000)]
Put .comments into .data section, otherwise 88k can't exec the image.

33 years ago * Makefile.in: link with libiberty after libreadline, since
Steve Chamberlain [Fri, 8 Nov 1991 02:58:01 +0000 (02:58 +0000)]
* Makefile.in: link with libiberty after libreadline, since
readline might want something in libiberty.

33 years agoOnly has -DSYSV now
Steve Chamberlain [Fri, 8 Nov 1991 02:51:27 +0000 (02:51 +0000)]
Only has -DSYSV now

33 years ago * m88k-xdep.c: Fixed the register offsets in the ptrace_user
Steve Chamberlain [Fri, 8 Nov 1991 02:28:35 +0000 (02:28 +0000)]
* m88k-xdep.c: Fixed the register offsets in the ptrace_user
struct for BCS 88k machines.
* xm-m88k.h: don't define USIZE if already defined.
* configure.in: Added delta88 target.

33 years agoFixed S?IP_OFFSETs for the Motorola Delta 88.
Steve Chamberlain [Fri, 8 Nov 1991 02:22:46 +0000 (02:22 +0000)]
Fixed S?IP_OFFSETs for the Motorola Delta 88.

33 years agoAdded delta88 cases
Steve Chamberlain [Fri, 8 Nov 1991 02:20:29 +0000 (02:20 +0000)]
Added delta88 cases

33 years ago#ifndef USIZE
Steve Chamberlain [Fri, 8 Nov 1991 02:18:49 +0000 (02:18 +0000)]
#ifndef USIZE
around #define USIZE

33 years agoInclude coff-m88k.h rather than m88kbcs.h
Steve Chamberlain [Fri, 8 Nov 1991 02:17:43 +0000 (02:17 +0000)]
Include coff-m88k.h rather than m88kbcs.h

33 years agoInstall ld into ddestdir/bin.
Steve Chamberlain [Fri, 8 Nov 1991 02:16:19 +0000 (02:16 +0000)]
Install ld into ddestdir/bin.

33 years agoFix decoding of mtacc, dmac, fmac. These files should really get merged
John Gilmore [Fri, 8 Nov 1991 01:50:51 +0000 (01:50 +0000)]
Fix decoding of mtacc, dmac, fmac.  These files should really get merged
with the ones in BFD and the assembler, but c'est la vie.

33 years agoSmallbook format fixes.
Roland Pesch [Fri, 8 Nov 1991 01:46:38 +0000 (01:46 +0000)]
Smallbook format fixes.

33 years agoInitial revision
Sean Eric Fagan [Fri, 8 Nov 1991 01:17:18 +0000 (01:17 +0000)]
Initial revision

33 years agofixed for objdir/subdirs
K. Richard Pixley [Fri, 8 Nov 1991 00:54:27 +0000 (00:54 +0000)]
fixed for objdir/subdirs

33 years agoFix missing brackets, parens, discovered during man-page conversion.
Roland Pesch [Fri, 8 Nov 1991 00:31:44 +0000 (00:31 +0000)]
Fix missing brackets, parens, discovered during man-page conversion.

33 years agoinstall man pages too
K. Richard Pixley [Fri, 8 Nov 1991 00:14:07 +0000 (00:14 +0000)]
install man pages too

33 years agoget version from the right place
K. Richard Pixley [Fri, 8 Nov 1991 00:13:45 +0000 (00:13 +0000)]
get version from the right place

33 years agorework install-dirs, add install-no-fixinclude
K. Richard Pixley [Fri, 8 Nov 1991 00:08:14 +0000 (00:08 +0000)]
rework install-dirs, add install-no-fixinclude

33 years agoInitial revision
Steve Chamberlain [Thu, 7 Nov 1991 23:37:54 +0000 (23:37 +0000)]
Initial revision

33 years agoThu Nov 7 08:58:26 1991 Steve Chamberlain (sac at cygnus.com)
Steve Chamberlain [Thu, 7 Nov 1991 19:08:56 +0000 (19:08 +0000)]
Thu Nov  7 08:58:26 1991  Steve Chamberlain  (sac at cygnus.com)

* internalcoff.h: took out the M88 dependency in the lineno
struct.
* coff-m88k.h: defines GET_LINENO_LNNO and PUT_LINENO_LNNO to use
32bit linno entries.
* a29k-opcode.h: fixed encoding of mtacc

33 years agoThu Nov 7 11:03:55 1991 Steve Chamberlain (sac at rtl.cygnus.com)
Steve Chamberlain [Thu, 7 Nov 1991 19:06:38 +0000 (19:06 +0000)]
Thu Nov  7 11:03:55 1991  Steve Chamberlain  (sac at rtl.cygnus.com)

* coffcode.h: Defined new macros [PUT|GET]LINENO_LNNO for
manipulation of lnno fields in lineno structs in a coff-<f>.h
independent way. Override it in coff-<f>.h to your favourite
number if you don't have a 16bit lnno field. (coff_swap_lineno_in)
(coff_swap_lineno_out): modified to use the new macros.

33 years agoFixed encoding of mtacc instruction.
Steve Chamberlain [Thu, 7 Nov 1991 16:59:19 +0000 (16:59 +0000)]
Fixed encoding of mtacc instruction.

33 years ago*** empty log message ***
Steve Chamberlain [Thu, 7 Nov 1991 16:57:21 +0000 (16:57 +0000)]
*** empty log message ***

33 years ago* tm-*.h: Remove READ_DBX_FORMAT, COFF_FORMAT, and
John Gilmore [Thu, 7 Nov 1991 13:14:59 +0000 (13:14 +0000)]
* tm-*.h:  Remove READ_DBX_FORMAT, COFF_FORMAT, and
READ_MIPS_FORMAT, which have been unused since BFD.  Still
remaining is COFF_NO_LONG_FILE_NAMES.
* tm-sun3.h, tm-altos.h:  Remove detritus accidentally left from
function calling code moved to m68k-tdep.c.

33 years agofix a three-stage typo, build better install-dirs
K. Richard Pixley [Thu, 7 Nov 1991 10:16:37 +0000 (10:16 +0000)]
fix a three-stage typo, build better install-dirs

33 years agoonly build a link if it isn't there already
K. Richard Pixley [Thu, 7 Nov 1991 10:14:32 +0000 (10:14 +0000)]
only build a link if it isn't there already

33 years agofixed some comments, removed the "in /giga/auto-tests/devo" line
K. Richard Pixley [Thu, 7 Nov 1991 07:25:27 +0000 (07:25 +0000)]
fixed some comments, removed the "in /giga/auto-tests/devo" line

33 years ago* coffread.c: Eliminate c_nsyms in favor of c_naux.
John Gilmore [Thu, 7 Nov 1991 01:27:46 +0000 (01:27 +0000)]
* coffread.c:  Eliminate c_nsyms in favor of c_naux.
Complain if no auxents on .bf and .ef FCN symbols, and assume
lots of line numbers.
(init_linenos, enter_linenos):  Use a sentinel at the end of the
read-in linenos, to make for a fast, safe loop-end test.

33 years agoWouldn't it be nice if Sanitize ignored spaces ?
Steve Chamberlain [Wed, 6 Nov 1991 11:53:16 +0000 (11:53 +0000)]
Wouldn't it be nice if Sanitize ignored spaces ?

33 years agoInitial revision
K. Richard Pixley [Wed, 6 Nov 1991 09:48:32 +0000 (09:48 +0000)]
Initial revision

33 years agoUse the right AR
Steve Chamberlain [Wed, 6 Nov 1991 09:29:36 +0000 (09:29 +0000)]
Use the right AR

33 years agoAdded three files which had been forgotten
Steve Chamberlain [Wed, 6 Nov 1991 09:26:59 +0000 (09:26 +0000)]
Added three files which had been forgotten

33 years agoAdded gdb.1
Steve Chamberlain [Wed, 6 Nov 1991 09:24:57 +0000 (09:24 +0000)]
Added gdb.1

33 years agoUniq contents, since configure gets confused if the same file is in more than once.
Steve Chamberlain [Wed, 6 Nov 1991 09:14:33 +0000 (09:14 +0000)]
Uniq contents, since configure gets confused if the same file is in more than once.

33 years agoAdded nm.1, objdump.1, ranlib.1, size.1 and strip.1
Steve Chamberlain [Wed, 6 Nov 1991 09:06:02 +0000 (09:06 +0000)]
Added nm.1, objdump.1, ranlib.1, size.1 and strip.1

33 years agoAdded $(INSTALL_FIXED_INCLUDES) so devo/config dir can chose not to create
Steve Chamberlain [Wed, 6 Nov 1991 08:12:56 +0000 (08:12 +0000)]
Added $(INSTALL_FIXED_INCLUDES) so devo/config dir can chose not to create
all the /usr/include stuff if it wants to.

Steve

33 years ago*** empty log message ***
Steve Chamberlain [Wed, 6 Nov 1991 08:01:00 +0000 (08:01 +0000)]
*** empty log message ***

33 years ago*** empty log message ***
Steve Chamberlain [Wed, 6 Nov 1991 07:38:18 +0000 (07:38 +0000)]
*** empty log message ***

33 years agowith bison's help, call it in such a way that any configuration type can find it
K. Richard Pixley [Wed, 6 Nov 1991 07:34:54 +0000 (07:34 +0000)]
with bison's help, call it in such a way that any configuration type can find it