external/binutils.git
31 years agoExtra stuff for really broken hp compiler.
Steve Chamberlain [Mon, 28 Jun 1993 15:59:30 +0000 (15:59 +0000)]
Extra stuff for really broken hp compiler.

31 years ago* gdb.stabs/wierd.exp: Add xfail for rs6000.
Jim Kingdon [Mon, 28 Jun 1993 15:15:23 +0000 (15:15 +0000)]
* gdb.stabs/wierd.exp: Add xfail for rs6000.

31 years ago * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
Jim Kingdon [Mon, 28 Jun 1993 15:03:27 +0000 (15:03 +0000)]
* gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
{BEGIN,END}_COMMON for common block instead of STAB.

31 years ago* hosts/riscos.h: Define NBPG and UPAGES.
Jim Kingdon [Mon, 28 Jun 1993 14:58:42 +0000 (14:58 +0000)]
* hosts/riscos.h: Define NBPG and UPAGES.

31 years ago * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
Jim Kingdon [Mon, 28 Jun 1993 14:34:46 +0000 (14:34 +0000)]
* gdb.stabs/wierd.def: Make value of N_GSYM's 0.
intp_var should be N_GSYM not N_LSYM.
wierd-aout.S: Use a label for the value of the N_SO.
wierd.def: Remove all backslashes.
wierd-{aout,xcoff}.S: Put a few tests with backslashes here.

31 years ago * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
Peter Schauer [Mon, 28 Jun 1993 14:23:11 +0000 (14:23 +0000)]
* gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
get the expected next to inheritance3.

31 years ago * Makefile.in: Note dependencies on bucomm.h.
David MacKenzie [Mon, 28 Jun 1993 02:17:13 +0000 (02:17 +0000)]
* Makefile.in: Note dependencies on bucomm.h.
(cplus-dem.o): Link c++filt with version.o.

* strings.c: Include bucomm.h and add prototypes to other decls.
Remove -h option.

* bucomm.h: Declare xrealloc.

* nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add
--help option.  Put "GNU" in the version message.
(usage): Take stream and exit status as args.
(main): Pass new args to usage.

31 years agoWorks again.
Rob Savoye [Mon, 28 Jun 1993 01:43:34 +0000 (01:43 +0000)]
Works again.

31 years agoelf32.c (slurp_symbol_table): fix cast-as-lvalue bug
Ken Raeburn [Sun, 27 Jun 1993 20:32:32 +0000 (20:32 +0000)]
elf32.c (slurp_symbol_table): fix cast-as-lvalue bug

31 years ago * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
Peter Schauer [Sun, 27 Jun 1993 19:31:36 +0000 (19:31 +0000)]
* gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
now that gcc-2.4 gets it right.

31 years ago * valprint.c (val_print_type_code_int): Fix off by one error with
Peter Schauer [Sun, 27 Jun 1993 15:56:44 +0000 (15:56 +0000)]
* valprint.c (val_print_type_code_int):  Fix off by one error with
eliminating leading zeroes for large little endian integers.

31 years ago* config/mips/riscos.mh (CC): Use -systype sysv.
Jim Kingdon [Sun, 27 Jun 1993 14:28:30 +0000 (14:28 +0000)]
* config/mips/riscos.mh (CC): Use -systype sysv.

31 years ago* ser-unix.c: Move #include of <sys/time.h> to HAVE_SGTTY section.
Jim Kingdon [Sun, 27 Jun 1993 14:16:34 +0000 (14:16 +0000)]
* ser-unix.c: Move #include of <sys/time.h> to HAVE_SGTTY section.

31 years ago* Makefile.in (ALLPARAM): Add config/mips/{x,n}-{news-mips,riscos}.h.
Jim Kingdon [Sun, 27 Jun 1993 14:06:28 +0000 (14:06 +0000)]
* Makefile.in (ALLPARAM): Add config/mips/{x,n}-{news-mips,riscos}.h.

31 years agoadd go32 tools to the go32 targetted toolchains
David D. Zuhn [Sun, 27 Jun 1993 01:42:27 +0000 (01:42 +0000)]
add go32 tools to the go32 targetted toolchains

31 years ago * ldver.c (help): New function.
David MacKenzie [Sat, 26 Jun 1993 20:13:24 +0000 (20:13 +0000)]
* ldver.c (help): New function.
* ldver.h: Declare it.
* ldlex.l, ldgram.y: Recognize new options --help and --version.

31 years ago * aoutx.h (hash, compare, struct stringtab_entry, add_to_stringtab):
David MacKenzie [Sat, 26 Jun 1993 15:00:47 +0000 (15:00 +0000)]
* aoutx.h (hash, compare, struct stringtab_entry, add_to_stringtab):
Use unsigned hash values for better hashing.
(hash): Hash in the string length for long strings.
* aoutx.h (compare): Replace 3 if's with a subtraction.
(translate_to_native_sym_flags, add_to_stringtab): Reorder tests
in decreasing order of success, as an optimization.
(hash): Take a length arg; ignore chars after #25, for speed.
(add_to_stringtab): Pass length to hash.

31 years ago * Fix a couple of typos.
David MacKenzie [Sat, 26 Jun 1993 06:42:46 +0000 (06:42 +0000)]
* Fix a couple of typos.

31 years ago * Makefile.in: Add rules for strings.
David MacKenzie [Sat, 26 Jun 1993 06:38:57 +0000 (06:38 +0000)]
* Makefile.in: Add rules for strings.

31 years ago * strings.c, strings.1: New files.
David MacKenzie [Sat, 26 Jun 1993 06:37:17 +0000 (06:37 +0000)]
* strings.c, strings.1: New files.
* binutils.texi: Document strings.

31 years ago* gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
Jim Kingdon [Sat, 26 Jun 1993 03:30:24 +0000 (03:30 +0000)]
* gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.

31 years agorevisions to just-checked-in stuff re common blocks
Jim Kingdon [Sat, 26 Jun 1993 03:25:03 +0000 (03:25 +0000)]
revisions to just-checked-in stuff re common blocks

31 years ago* stabs.texinfo (Common Blocks): Say what Sun FORTRAN does.
Jim Kingdon [Sat, 26 Jun 1993 02:39:05 +0000 (02:39 +0000)]
* stabs.texinfo (Common Blocks): Say what Sun FORTRAN does.

31 years ago * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
Jim Kingdon [Sat, 26 Jun 1993 02:05:54 +0000 (02:05 +0000)]
* config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
CALL_DUMMY between different 68k machines.

31 years ago * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
Jim Kingdon [Sat, 26 Jun 1993 01:44:56 +0000 (01:44 +0000)]
* config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
CALL_DUMMY between different 68k machines.

31 years agoElf bfd routines and types are now size-independent again.
Ken Raeburn [Sat, 26 Jun 1993 00:47:23 +0000 (00:47 +0000)]
Elf bfd routines and types are now size-independent again.

31 years ago * gdbserver/Makefile.in: Add dependancies on server.h.
Stu Grossman [Sat, 26 Jun 1993 00:41:00 +0000 (00:41 +0000)]
* gdbserver/Makefile.in:  Add dependancies on server.h.
* gdbserver/remote-gutils.c:  Remove lots of unused functions and
variables.
* gdbserver/remote-inflow.c:  Remove lots of unused variables and
#includes.  Also, use PTRACE_* symbols instead of constants.
(mywait):  Surround calls to wait() with enable/disable_async_io()
so that we can be interrupted from GDB while waiting for the
child.  Also, handle child exit more gracefully.
* gdbserver/remote-server.c:  Remove lots of unused variables.
Move all extern defs into server.h.  Redo main loop so that
failure from getpkt() causes communications to be re-established.
Fix 'k' command so that it restarts the child.
* gdbserver/remote-utils.c:  Remove lots of unloved vars and
subrs.  Move many extern decls into server.h.  (remote_open):  For
tcp, seperate usage of proto fd from connected fd.  Close proto
fd after getting connection.  (putpkt/getpkt):  Pay attention to
errors when reading/writing.  Report these to the caller.  New
routines input_interrupt/enable_async_io/disable_async_io to make
it possible to get an I/O interrupt when data arrives from the
comm link.
* serial.h:  New file to contain common defs for all remote files.

31 years ago * remote.c: Add arg names to prototypes, in a modest effort at
Stu Grossman [Sat, 26 Jun 1993 00:22:30 +0000 (00:22 +0000)]
* remote.c:  Add arg names to prototypes, in a modest effort at
clarification.  Also add prototypes for some new functions.
* (remote_wait):  Better error reporting for 'T' responses.
* ser-go32.c (strncasecmp):  Make str1 & str2 be const.
* (dos_async_init):  Make usage message reflect requested port #.
* ser-tcp.c (tcp_open):  Terminate hostname properly to prevent
random hostname lookup failures.  Add nicer message for unknown
host error.  (wait_for):  Wake up in case of exceptions.  Also,
restart select() if we got EINTR.
* ser-unix.c (wait_for):  Restart select() if we got EINTR.
* serial.c: (serial_close):  Clean up code.

31 years ago * Makefile.in: (REFEDITS) new var to control whether PS or CM
Roland Pesch [Fri, 25 Jun 1993 23:20:43 +0000 (23:20 +0000)]
* Makefile.in: (REFEDITS) new var to control whether PS or CM
fonts and whether US or A4 paper for GDB refcard; (refcard.dvi)
collect sed edits if any, apply to refcard before formatting;
(refcard.ps) stop implying PS fonts if PS output requested;
(lrefcard.ps) delete extra target for variant PS fonts

* refcard.tex: parametrize papersize dependent info, collect
  in easily replaced spot

* a4rc.sed: new file, edits to refcard for A4 paper

31 years agoadd comment
Jim Kingdon [Fri, 25 Jun 1993 22:34:44 +0000 (22:34 +0000)]
add comment

31 years agodoc fix
Jim Kingdon [Fri, 25 Jun 1993 22:30:46 +0000 (22:30 +0000)]
doc fix

31 years ago * Makefile.in (*.tab.c): Use ./c-exp.tab.c not just c-exp.tab.c.
Jim Kingdon [Fri, 25 Jun 1993 20:28:06 +0000 (20:28 +0000)]
* Makefile.in (*.tab.c): Use ./c-exp.tab.c not just c-exp.tab.c.
Make comment explaining this comprehensible.
(TAGFILES): Include ALLDEPFILES.
(ALLDEPFILES): udi2soc.c and udr.c are in 29k-share/udi, not
29k-share/udi/udi.
(update-alldeps): Remove; obsolete.

31 years ago * remote.c: Move comments regarding packets to top of file with the
Jim Kingdon [Fri, 25 Jun 1993 19:44:18 +0000 (19:44 +0000)]
* remote.c: Move comments regarding packets to top of file with the
rest of the protocol comments.
Fix incorrect description of 'T' response.

31 years ago* README (Reporting Bugs): Refer people to the GDB manual.
Jim Kingdon [Fri, 25 Jun 1993 19:35:35 +0000 (19:35 +0000)]
* README (Reporting Bugs): Refer people to the GDB manual.

31 years ago* stabs.texinfo (Negative Type Numbers): Type -16 is 4 bytes.
Jim Kingdon [Fri, 25 Jun 1993 19:32:18 +0000 (19:32 +0000)]
* stabs.texinfo (Negative Type Numbers): Type -16 is 4 bytes.

31 years ago * c-valprint.c (c_val_print): Handle TYPE_CODE_BOOLEAN.
Jim Kingdon [Fri, 25 Jun 1993 19:29:45 +0000 (19:29 +0000)]
* c-valprint.c (c_val_print): Handle TYPE_CODE_BOOLEAN.
* stabsread.c: Type -16 is 4 bytes.

31 years ago* remote-udi.c: Improve docstring.
Jim Kingdon [Fri, 25 Jun 1993 19:11:22 +0000 (19:11 +0000)]
* remote-udi.c: Improve docstring.

31 years ago * elf_symfile_read (bfd_elf32_find_section): Revert back to
Fred Fish [Fri, 25 Jun 1993 18:51:11 +0000 (18:51 +0000)]
* elf_symfile_read (bfd_elf32_find_section):  Revert back to
calling bfd_elf_find_section to track bfd changes.

31 years ago* config/sparc.c (sparc_ip): Remove support for %d/%q fp regs.
David Edelsohn [Fri, 25 Jun 1993 17:50:22 +0000 (17:50 +0000)]
* config/sparc.c (sparc_ip): Remove support for %d/%q fp regs.
All fp regs are now specified as %f.
(priv_reg_table): fpq -> fq.

31 years ago * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
Jim Kingdon [Fri, 25 Jun 1993 17:16:44 +0000 (17:16 +0000)]
* gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
generating comp-info.exp which works for cross-compilation.

31 years ago * config/mips/xm-riscos.h: Define USG.
Jim Kingdon [Fri, 25 Jun 1993 16:31:24 +0000 (16:31 +0000)]
* config/mips/xm-riscos.h: Define USG.

31 years ago* config/mips/riscos.mh (REGEX{,1}, MUNCH_DEFINE, MH_CFLAGS): Define.
Jim Kingdon [Fri, 25 Jun 1993 16:27:51 +0000 (16:27 +0000)]
* config/mips/riscos.mh (REGEX{,1}, MUNCH_DEFINE, MH_CFLAGS): Define.

31 years ago(tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP22 relocation.
Ken Raeburn [Fri, 25 Jun 1993 09:51:47 +0000 (09:51 +0000)]
(tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP22 relocation.
(s_local) [OBJ_ELF]: New function.
(md_pseudo_table) [OBJ_ELF]: Call it for "local".
(s_common): Rearrange to handle Solaris .common pseudo, which may sometimes use
bss space instead of common.
(md_parse_option) [OBJ_ELF]: Print version id for -V.  Ignore -Q and -s options
for now.

31 years ago * main.c (filename_completer): Don't complete to files ending in ~.
Jim Kingdon [Fri, 25 Jun 1993 03:47:12 +0000 (03:47 +0000)]
* main.c (filename_completer): Don't complete to files ending in ~.

* NEWS: Mention filename completion and "info line" enhancements.

* main.c (symbol_completion_function): On "info t foo", return NULL,
don't error().

* main.c (symbol_completion_function): Don't use readline word
breaking.  Use new calling convention for c->completer and
complete_on_cmdlist.
* command.h (struct command): Change arguments; now the text passed
to completer does not have any word breaking done.  New arg word.
* symtab.{c,h} (make_symbol_completion_list): Do word breaking.  Take
word argument.
* {main.c,gdbcmd.h} ({filename,noop}_completer): Take word argument.
* command.{c,h} (complete_on_cmdlist): Take word argument.

* command.c (lookup_cmd_1): Doc fix.

31 years ago * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
Fred Fish [Thu, 24 Jun 1993 23:56:35 +0000 (23:56 +0000)]
* gdb.t11/list.exp:  For SVR4 xfails, match "*-*-sysv4*", not
"*-*-sysv4.*".

31 years agoAdd RUNTEST so make can use the right one.
Rob Savoye [Thu, 24 Jun 1993 23:19:51 +0000 (23:19 +0000)]
Add RUNTEST so make can use the right one.

31 years agodefine OP_INCLUDE
K. Richard Pixley [Thu, 24 Jun 1993 23:16:00 +0000 (23:16 +0000)]
define OP_INCLUDE

31 years ago * gprof.c (main): Get whoami from argv, instead of hardcoding.
David MacKenzie [Thu, 24 Jun 1993 21:44:34 +0000 (21:44 +0000)]
* gprof.c (main): Get whoami from argv, instead of hardcoding.
Use it in usage message.  Split usage message to fit in 80 cols.

31 years agoThu Jun 24 17:25:51 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
Ken Raeburn [Thu, 24 Jun 1993 21:30:26 +0000 (21:30 +0000)]
Thu Jun 24 17:25:51 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)

* elfcode.h (elf_new_section_hook): Do nothing for now.
(elf_write_object_contents): Output common symbols the way ELF
wants them.

Wed Jun 23 16:20:07 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)

* libelf.h (struct elf_obj_tdata and associated macros): Moved
here from elfcode.h.  A couple of size-specific structure pointers
were changed to PTR; uses fixed appropriately.
(elf32_symbol_type, elf64_symbol_type): Separated definitions.
(bfd_elf_mkobject): Renamed from bfd_elf32_mkobject.
(bfd_elf32_mkobject, bfd_elf64_mkobject, elf_mkobject): New
temporary macros to ease name change.
* elf.c (elf_read, elf_mkobject, elf_get_str_section,
elf_string_from_elf_section, bfd_elf_find_section): Moved here
from elfcode.h.
* doc/Makefile.in (libbfd.h): Process elf.c too.
* Makefile.in (elf.o): Note new dependencies.

* elfcode.h: Lots of stuff moved elsewhere.  Deleted some unused
code, tweaked some debug hooks.
(elf_slurp_reloca_table): Translate ELF section symbols into BFD
section symbols.

31 years ago* config/i386/ncr3000.mh, config/i386/i386v4.mh,
K. Richard Pixley [Thu, 24 Jun 1993 20:53:06 +0000 (20:53 +0000)]
* config/i386/ncr3000.mh, config/i386/i386v4.mh,
config/i386/i386sol2.mh, config/m68k/hp300hpux.mh,
config/m68k/amix.mh, config/mips/irix[34].mh, config/m88k/delta88.mh,
config/sparc/sun4sol2.mh (ALLOCA, ALLOCA1): macros removed.

* config/mips/decstation.mh, config/rs6000/rs6000.mh (MMALLOC_LIB):
renamed to MMALLOC.

31 years agoCheckpoint.
Steve Chamberlain [Thu, 24 Jun 1993 20:52:58 +0000 (20:52 +0000)]
Checkpoint.

31 years agoGet 64bit stuff right.
Steve Chamberlain [Thu, 24 Jun 1993 20:45:31 +0000 (20:45 +0000)]
Get 64bit stuff right.

31 years ago* run.c (main): Fix parsing of args.
David Edelsohn [Thu, 24 Jun 1993 20:43:41 +0000 (20:43 +0000)]
* run.c (main): Fix parsing of args.
* compile.c (sim_resume): Fix shll insn.

31 years ago * partial-stab.h: Consolidate case statements for N_LSYM and N_FUN.
Jim Kingdon [Thu, 24 Jun 1993 00:44:54 +0000 (00:44 +0000)]
* partial-stab.h: Consolidate case statements for N_LSYM and N_FUN.
* dbxread.c: Change comment regarding acc.

31 years agoremove lines with only tabs
K. Richard Pixley [Wed, 23 Jun 1993 23:54:57 +0000 (23:54 +0000)]
remove lines with only tabs

31 years ago-I$(BFD_DIR) rather than including from the library proper. Hmph.
K. Richard Pixley [Wed, 23 Jun 1993 23:41:40 +0000 (23:41 +0000)]
-I$(BFD_DIR) rather than including from the library proper.  Hmph.

31 years agoMakefile rework
K. Richard Pixley [Wed, 23 Jun 1993 22:59:35 +0000 (22:59 +0000)]
Makefile rework

31 years agoremove redundant include of symtab.h
K. Richard Pixley [Wed, 23 Jun 1993 22:17:35 +0000 (22:17 +0000)]
remove redundant include of symtab.h

31 years agodo not keep alloca.c
K. Richard Pixley [Wed, 23 Jun 1993 22:14:18 +0000 (22:14 +0000)]
do not keep alloca.c

31 years agoremoved alloca.c which is now in libiberty
K. Richard Pixley [Wed, 23 Jun 1993 22:13:19 +0000 (22:13 +0000)]
removed alloca.c which is now in libiberty

31 years agonew M_UNINSTALL macro
K. Richard Pixley [Wed, 23 Jun 1993 22:09:27 +0000 (22:09 +0000)]
new M_UNINSTALL macro

31 years agonew M_UNINSTALL macro
K. Richard Pixley [Wed, 23 Jun 1993 22:06:58 +0000 (22:06 +0000)]
new M_UNINSTALL macro

31 years agotaz rule: Simplify chmod; add xiberty to libg++.tar.gz.
Per Bothner [Wed, 23 Jun 1993 21:25:42 +0000 (21:25 +0000)]
taz rule: Simplify chmod; add xiberty to libg++.tar.gz.

31 years agoAdd install.sh
Per Bothner [Wed, 23 Jun 1993 20:29:28 +0000 (20:29 +0000)]
Add install.sh

31 years ago * stabs.texinfo (Negative Type Numbers): Minor character cleanups.
Jim Kingdon [Wed, 23 Jun 1993 20:06:07 +0000 (20:06 +0000)]
* stabs.texinfo (Negative Type Numbers): Minor character cleanups.

31 years ago * Makefile.in: Define VERSION (for cd ..; make taz).
Per Bothner [Wed, 23 Jun 1993 20:01:29 +0000 (20:01 +0000)]
* Makefile.in:  Define VERSION (for cd ..; make taz).
* Makefile.in:  Set to version 2.3.91.
* Makefile.in (diststuff):  Needed for distributions.
* Makefile (dts):  Rip out.  Subsumed by stuff in ../Makefile.in.

31 years ago * config/ns32k/{merlin.mh,xm-merlin.h}: Be consistent about name
Jim Kingdon [Wed, 23 Jun 1993 19:44:05 +0000 (19:44 +0000)]
* config/ns32k/{merlin.mh,xm-merlin.h}: Be consistent about name
of gdb-sh.

31 years ago * dbxread.c (copy_pending): Change name and function of begi argument
Jim Kingdon [Wed, 23 Jun 1993 19:20:49 +0000 (19:20 +0000)]
* dbxread.c (copy_pending): Change name and function of begi argument
to endi, since that is what the caller needs.

31 years ago * hosts/riscos.h: New file.
Jim Kingdon [Wed, 23 Jun 1993 18:38:41 +0000 (18:38 +0000)]
* hosts/riscos.h: New file.

31 years ago * configure.in: Add comment.
Jim Kingdon [Wed, 23 Jun 1993 18:01:36 +0000 (18:01 +0000)]
* configure.in: Add comment.

31 years ago * Makefile.in (TAGFILES): Don't include YYFILES.
Jim Kingdon [Wed, 23 Jun 1993 15:54:34 +0000 (15:54 +0000)]
* Makefile.in (TAGFILES): Don't include YYFILES.

* Makefile.in (HFILES): Include monitor.h.

* Makefile.in: Include text that used to be in alldeps.mak.
Remove config/mips/{bigmips.mh,xm-bigmips} from it.
* Makefile.in, configure.in: Remove all traces of alldeps.mak.

31 years ago * main.c (main): Print help message on stdout not stderr
Jim Kingdon [Wed, 23 Jun 1993 05:56:42 +0000 (05:56 +0000)]
* main.c (main): Print help message on stdout not stderr
per standards.texi.
New option --version per standards.texi.
In help message, show long options with "--" not "-".
Don't try to print help message or version until after we have
called initialize_all_files.

31 years agolike mh-sysv4, except with Unixware X definitions
David D. Zuhn [Tue, 22 Jun 1993 23:43:34 +0000 (23:43 +0000)]
like mh-sysv4, except with Unixware X definitions

31 years ago * solib.c (solib_add_common_symbols): Don't call lookup_minimal_symbol.
Jim Kingdon [Tue, 22 Jun 1993 23:35:35 +0000 (23:35 +0000)]
* solib.c (solib_add_common_symbols): Don't call lookup_minimal_symbol.
(solib_add): Call special_symbol_handling once, not once per library.

31 years ago * aoutx.h (howto_table_ext): Comment the field names.
David MacKenzie [Tue, 22 Jun 1993 21:57:24 +0000 (21:57 +0000)]
* aoutx.h (howto_table_ext): Comment the field names.
* reloc.c (bfd_perform_relocation): Fix max and min values.

31 years agoelfcode.h:bfd_section_from_shdr change
Ken Raeburn [Tue, 22 Jun 1993 21:42:31 +0000 (21:42 +0000)]
elfcode.h:bfd_section_from_shdr change

31 years ago * hosts/std-host.h: Return value of puts and fputs is int not void.
Jim Kingdon [Tue, 22 Jun 1993 21:40:17 +0000 (21:40 +0000)]
* hosts/std-host.h: Return value of puts and fputs is int not void.

31 years agoSigh. Null pointer return might be right in some cases; don't abort.
Ken Raeburn [Tue, 22 Jun 1993 21:39:40 +0000 (21:39 +0000)]
Sigh.  Null pointer return might be right in some cases; don't abort.

31 years agoMore get_word/put_word changes.
Ken Raeburn [Tue, 22 Jun 1993 21:38:10 +0000 (21:38 +0000)]
More get_word/put_word changes.

(bfd_section_from_shdr, case SHT_PROGBITS): If section already exists, still
use its address to fill in the rawdata slot.
(section_from_elf_index): Abort if section pointer is null.

31 years ago * stabs.texinfo: Express disapproval of 'D' symbol descriptor
Jim Kingdon [Tue, 22 Jun 1993 21:37:32 +0000 (21:37 +0000)]
* stabs.texinfo: Express disapproval of 'D' symbol descriptor
politely rather than rudely.

31 years ago * procfs.c (procfs_resume): Don't pass a SIGTSTP whose action
Jim Kingdon [Tue, 22 Jun 1993 19:48:52 +0000 (19:48 +0000)]
* procfs.c (procfs_resume): Don't pass a SIGTSTP whose action
is SIG_DFL.

* procfs.c (procfs_resume): Skip the unnecessary PRSVADDR on all
systems, not just Solaris.

31 years ago * ldlex.l, ldgram.y: Support new -oformat option.
David MacKenzie [Tue, 22 Jun 1993 17:41:28 +0000 (17:41 +0000)]
* ldlex.l, ldgram.y: Support new -oformat option.
Remove attempt at supporting script fragments on the command line.
* ldlang.c (lang_add_output_format): Take new arg, FROM_SCRIPT.
* mri.c (mri_format), ldgram.y: Change callers.
* ldlang.h: Change prototype.

31 years ago * stabsread.c: Include <ctype.h>.
Jim Kingdon [Tue, 22 Jun 1993 08:20:18 +0000 (08:20 +0000)]
* stabsread.c: Include <ctype.h>.

31 years ago * fork-child.c (fork_inferior): Quote exec_file so it can contain
Jim Kingdon [Tue, 22 Jun 1993 04:27:00 +0000 (04:27 +0000)]
* fork-child.c (fork_inferior): Quote exec_file so it can contain
funky characters.

31 years agofix include path again
Ken Raeburn [Tue, 22 Jun 1993 03:42:59 +0000 (03:42 +0000)]
fix include path again

31 years agoLots o' changes.
Ken Raeburn [Tue, 22 Jun 1993 03:24:48 +0000 (03:24 +0000)]
Lots o' changes.
Mostly ELF changes, or misc cleanup.

31 years agoregenerated
Ken Raeburn [Tue, 22 Jun 1993 03:22:54 +0000 (03:22 +0000)]
regenerated

31 years agoUse new size-independent elf internal data structures.
Ken Raeburn [Tue, 22 Jun 1993 03:21:12 +0000 (03:21 +0000)]
Use new size-independent elf internal data structures.
(put_word, get_word): Define as appropriate for architecture word size.
Structure swapping functions changed to use them as appropriate.
(bfd_add_to_strtab): Now static.
(sym_is_global): New function.
(elf_map_symbols): Call it.  Now returns void.  Removed unused local variable.
(bfd_section_from_shdr): Mark string tables other than for section and symbol
names as normal sections having contents.
(fix_up_strtabs): New function; fixes up ELF header fields for stab sections
with string tables associated.
(elf_write_object_contents): Map fix_up_strtabs over all BFD sections.
Reordered condition tests for symbol flags; default to local-object value
instead of global-object.
(elf_symbol_from_bfd_symbol): Hid conditionally-used variable inside condition
test.
(elf_print_symbol): Use fprintf_vma.
(elf_idx_of_sym, bfd_shdr_from_section): Unused functions commented out.

31 years agoUse new size-independent elf internal data structures.
Ken Raeburn [Tue, 22 Jun 1993 03:07:39 +0000 (03:07 +0000)]
Use new size-independent elf internal data structures.

31 years agoUse new size-independent versions of elf internal data structures.
Ken Raeburn [Tue, 22 Jun 1993 03:06:29 +0000 (03:06 +0000)]
Use new size-independent versions of elf internal data structures.

31 years agoBefore casting a pointer into an integer field, verify that the field is
Ken Raeburn [Tue, 22 Jun 1993 03:00:43 +0000 (03:00 +0000)]
Before casting a pointer into an integer field, verify that the field is
wide enough to hold it.

31 years ago(srec_write_symbols): Use sprintf_vma, in case bfd_vma is too wide for
Ken Raeburn [Tue, 22 Jun 1993 02:58:25 +0000 (02:58 +0000)]
(srec_write_symbols): Use sprintf_vma, in case bfd_vma is too wide for
printf to handle.

31 years agoDon't define int64 stuff here.
Ken Raeburn [Tue, 22 Jun 1993 02:56:29 +0000 (02:56 +0000)]
Don't define int64 stuff here.

31 years ago * Makefile.in (INCLUDE_CFLAGS): Add BFD_INCLUDES for now, since
Fred Fish [Tue, 22 Jun 1993 00:05:40 +0000 (00:05 +0000)]
* Makefile.in (INCLUDE_CFLAGS):  Add BFD_INCLUDES for now, since
bfd.h is included by target.h, which most of gdb includes.
* depend:  Hand remove BFD_INCLUDES from ${CC} lines, now that
it's in INCLUDE_CFLAGS.

31 years agovarious revisions to new files
Jim Kingdon [Mon, 21 Jun 1993 23:47:51 +0000 (23:47 +0000)]
various revisions to new files

31 years ago * config/i386/*aix*, i386aix-nat.c: New files.
Jim Kingdon [Mon, 21 Jun 1993 23:46:49 +0000 (23:46 +0000)]
* config/i386/*aix*, i386aix-nat.c: New files.
* configure.in: Use them.
* alldeps.mak: List them.
* coffread.c (decode_base_type): Deal with anonymous enum type.
* i387-tdep.c (print_387_status_word): Add comment re "top".
* i386-tdep.c [I386_AIX_TARGET] (i386_extract_return_value): New func.
* dbxread.c: Use SEEK_SET and SEEK_CUR, not L_*.  Define them if and
only if not defined by a header file.
* mipsread.c: Don't define L_SET or L_INCR.

31 years ago * .Sanitize (Things-to-keep): Add emulparams, emultempl, scripttempl.
David MacKenzie [Mon, 21 Jun 1993 23:40:21 +0000 (23:40 +0000)]
    * .Sanitize (Things-to-keep): Add emulparams, emultempl, scripttempl.

31 years agonew file
Jim Kingdon [Mon, 21 Jun 1993 23:39:59 +0000 (23:39 +0000)]
new file

31 years ago * config/i386/*aix*: New files.
Jim Kingdon [Mon, 21 Jun 1993 23:14:07 +0000 (23:14 +0000)]
* config/i386/*aix*: New files.
* alldeps.mak: List them.

31 years ago * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
Fred Fish [Mon, 21 Jun 1993 22:27:19 +0000 (22:27 +0000)]
* {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
Makefile.in (distclean, realclean):  Remove gdbme.c from list of
things to remove.