external/binutils.git
31 years agogcc lint
K. Richard Pixley [Wed, 8 Sep 1993 21:45:46 +0000 (21:45 +0000)]
gcc lint

31 years agogcc lint
K. Richard Pixley [Wed, 8 Sep 1993 21:45:17 +0000 (21:45 +0000)]
gcc lint

31 years agogcc lint
K. Richard Pixley [Wed, 8 Sep 1993 21:30:33 +0000 (21:30 +0000)]
gcc lint

31 years agogcc lint
K. Richard Pixley [Wed, 8 Sep 1993 21:23:41 +0000 (21:23 +0000)]
gcc lint

31 years agogcc lint
K. Richard Pixley [Wed, 8 Sep 1993 21:16:23 +0000 (21:16 +0000)]
gcc lint

31 years agogcc lint
K. Richard Pixley [Wed, 8 Sep 1993 21:04:59 +0000 (21:04 +0000)]
gcc lint

31 years agogcc lint
K. Richard Pixley [Wed, 8 Sep 1993 20:57:08 +0000 (20:57 +0000)]
gcc lint

31 years agosome gcc lint
K. Richard Pixley [Wed, 8 Sep 1993 20:15:34 +0000 (20:15 +0000)]
some gcc lint

31 years ago * config/obj-elf.c (obj_elf_section): Set SEC_LOAD when using
Ian Lance Taylor [Wed, 8 Sep 1993 19:11:47 +0000 (19:11 +0000)]
* config/obj-elf.c (obj_elf_section): Set SEC_LOAD when using
default flag values.

31 years agoBack out this change; it doesn't work.
Jim Kingdon [Wed, 8 Sep 1993 19:03:21 +0000 (19:03 +0000)]
Back out this change; it doesn't work.

Tue Sep  7 13:06:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)

* dbxread.c (process_one_symbol): If the value of an N_FUN for a
function is zero, use minimal symbols to get the address.

31 years ago * stabs.texinfo (Stabs In ELF, Statics): More on relocating stabs
Jim Kingdon [Wed, 8 Sep 1993 18:30:25 +0000 (18:30 +0000)]
* stabs.texinfo (Stabs In ELF, Statics): More on relocating stabs
in ELF files.

31 years agoRevert previous change. It doesn't work because it neglects to
Jim Kingdon [Wed, 8 Sep 1993 17:26:31 +0000 (17:26 +0000)]
Revert previous change.  It doesn't work because it neglects to
consider there may be a file compiled without -g screwing things up
(e.g. we are looking for the minimal symbol for "main" and we get the
one for "start" instead).

This is the change I mean:
* minsyms.c, symtab.h (lookup_next_minimal_symbol): New function.
* dbxread.c (process_one_symbol): Use it.

31 years ago * minsyms.c, symtab.h (lookup_next_minimal_symbol): New function.
Jim Kingdon [Wed, 8 Sep 1993 15:51:39 +0000 (15:51 +0000)]
* minsyms.c, symtab.h (lookup_next_minimal_symbol): New function.
* dbxread.c (process_one_symbol): Use it.

31 years ago* Makefile.in (mipsread.o): Depend on $(bfd_h).
Jim Kingdon [Wed, 8 Sep 1993 15:48:03 +0000 (15:48 +0000)]
* Makefile.in (mipsread.o): Depend on $(bfd_h).

31 years agoadd comment
Jim Kingdon [Wed, 8 Sep 1993 14:47:10 +0000 (14:47 +0000)]
add comment

31 years ago * stabs.texinfo (Stabs In ELF, Statics): More on relocating stabs
Jim Kingdon [Wed, 8 Sep 1993 14:15:35 +0000 (14:15 +0000)]
* stabs.texinfo (Stabs In ELF, Statics): More on relocating stabs
in ELF files.

31 years agorevise comment
Jim Kingdon [Wed, 8 Sep 1993 14:08:43 +0000 (14:08 +0000)]
revise comment

31 years ago * Makefile.in: add TEXINPUTS variable and use it in ld.dvi target
Jeffrey Osier [Wed, 8 Sep 1993 01:08:26 +0000 (01:08 +0000)]
    * Makefile.in:  add TEXINPUTS variable and use it in ld.dvi target

31 years agosupport for --host HOST
David D. Zuhn [Wed, 8 Sep 1993 00:31:08 +0000 (00:31 +0000)]
support for --host HOST

31 years agoAdd missing ifdef to make m68k-aout targets happy.
Stan Shebs [Wed, 8 Sep 1993 00:20:59 +0000 (00:20 +0000)]
Add missing ifdef to make m68k-aout targets happy.

31 years ago* configure.in (m88k-*-sysvr4*): Comment out previous change.
Jim Kingdon [Tue, 7 Sep 1993 22:17:47 +0000 (22:17 +0000)]
* configure.in (m88k-*-sysvr4*): Comment out previous change.

31 years ago * remote.c (remote_wait): Don't call error. Instead, call warning
Ian Lance Taylor [Tue, 7 Sep 1993 22:15:15 +0000 (22:15 +0000)]
* remote.c (remote_wait): Don't call error.  Instead, call warning
inside a loop.  User can ^C to get out.

31 years ago * gdbserver/Makefile.in (TAGS): config files are in
Jim Kingdon [Tue, 7 Sep 1993 21:39:47 +0000 (21:39 +0000)]
* gdbserver/Makefile.in (TAGS): config files are in
$(srcdir)/../config, not $(srcdir)/config.

31 years ago * config/pa/tm-hppa.h: Declare target_read_pc and target_write_pc.
Jim Kingdon [Tue, 7 Sep 1993 19:57:45 +0000 (19:57 +0000)]
* config/pa/tm-hppa.h: Declare target_read_pc and target_write_pc.
(STORE_RETURN_VAULE): Pass the correct offset of the return
register to write_register_bytes.
* hppa-tdep.c: Use target_write_pc if PCOQ_TAIL_REGNUM was not saved.

31 years ago * gdb.t15/{return.c,return.exp,Makefile.in}:
Jim Kingdon [Tue, 7 Sep 1993 19:21:12 +0000 (19:21 +0000)]
* gdb.t15/{return.c,return.exp,Makefile.in}:
New test, currently commented out.

31 years ago* config.sub: Remove h8300hhms alias.
David Edelsohn [Tue, 7 Sep 1993 19:00:48 +0000 (19:00 +0000)]
* config.sub: Remove h8300hhms alias.

31 years ago* stabs.texinfo (Stabs In ELF): Talk about N_FUN value.
Jim Kingdon [Tue, 7 Sep 1993 18:49:45 +0000 (18:49 +0000)]
* stabs.texinfo (Stabs In ELF): Talk about N_FUN value.

31 years ago * config/m68k/tm-m68k.h (FIX_CALL_DUMMY): Changed name of swapping
Ian Lance Taylor [Tue, 7 Sep 1993 18:36:47 +0000 (18:36 +0000)]
* config/m68k/tm-m68k.h (FIX_CALL_DUMMY): Changed name of swapping
routine to match BFD name change.
* config/z8k/tm-z8k.h (FIX_CALL_DUMMY): Likewise.

31 years ago * libbfd-in.h: Removed swapping routines declarations.
Ian Lance Taylor [Tue, 7 Sep 1993 18:32:33 +0000 (18:32 +0000)]
* libbfd-in.h: Removed swapping routines declarations.
* bfd-in.h: Added swapping routine declarations, and renamed them
from _do_* to bfd_*.
* libbfd.c: Renamed swapping routines from _do_* to _bfd_*.
* Changed all callers.
* libbfd.h, bfd-in2.h: Rebuilt.

31 years ago * mips-dis.c, m88k-dis.c: Don't include libbfd.h. Changed calls
Ian Lance Taylor [Tue, 7 Sep 1993 18:27:18 +0000 (18:27 +0000)]
* mips-dis.c, m88k-dis.c: Don't include libbfd.h.  Changed calls
to BFD swapping routines to correspond to BFD name changes.

31 years ago * ecoff.h (AUX_GET_ANY, AUX_PUT_ANY): Changed to reflect further
Ian Lance Taylor [Tue, 7 Sep 1993 18:24:31 +0000 (18:24 +0000)]
* ecoff.h (AUX_GET_ANY, AUX_PUT_ANY): Changed to reflect further
change in bfd swapping routine names.

31 years ago * dbxread.c (process_one_symbol): If the value of an N_FUN for a
Jim Kingdon [Tue, 7 Sep 1993 18:12:26 +0000 (18:12 +0000)]
* dbxread.c (process_one_symbol): If the value of an N_FUN for a
function is zero, use minimal symbols to get the address.

31 years agoChanges to support stabs-in-coff
Stan Shebs [Tue, 7 Sep 1993 17:39:56 +0000 (17:39 +0000)]
Changes to support stabs-in-coff

31 years ago * elf32-i386.c (elf_howto_table): Set pcrel_offset to true for
Ian Lance Taylor [Tue, 7 Sep 1993 15:45:42 +0000 (15:45 +0000)]
* elf32-i386.c (elf_howto_table): Set pcrel_offset to true for
R_386_PC32.

31 years ago * ecoff.h (AUX_GET_ANY): Change name of _do_getb32 to reflect bfd
Jim Kingdon [Tue, 7 Sep 1993 15:25:31 +0000 (15:25 +0000)]
* ecoff.h (AUX_GET_ANY): Change name of _do_getb32 to reflect bfd
changes.

31 years ago * stabs.texinfo (Local Variable Parameters): Talk about nameless
Jim Kingdon [Tue, 7 Sep 1993 00:26:57 +0000 (00:26 +0000)]
* stabs.texinfo (Local Variable Parameters): Talk about nameless
parameters on VAX.

31 years agoChanged elf32_symbol_type to elf_symbol_type
Jeffrey Wheat [Mon, 6 Sep 1993 22:08:31 +0000 (22:08 +0000)]
Changed elf32_symbol_type to elf_symbol_type

31 years agoSnapshot of stand alone i386 NLM debugging stub. Currently sanitized
Ian Lance Taylor [Mon, 6 Sep 1993 19:48:43 +0000 (19:48 +0000)]
Snapshot of stand alone i386 NLM debugging stub.  Currently sanitized
out because it contains Novell proprietary code.

31 years ago * remote.c (remote_wait): Added 'W' and 'N' responses.
Ian Lance Taylor [Mon, 6 Sep 1993 19:46:43 +0000 (19:46 +0000)]
* remote.c (remote_wait): Added 'W' and 'N' responses.

31 years ago * nlmconv.c (total_bss_size): Removed.
Ian Lance Taylor [Mon, 6 Sep 1993 19:42:12 +0000 (19:42 +0000)]
* nlmconv.c (total_bss_size): Removed.
(main): Set the bss vma to always follow the data section.  Move
symbols into new sections, and adjust values by output_offset.
(setup_sections): Don't copy all sections, but instead point all
text sections to .text, all data sections to .data, and all bss
sections to .bss.
(copy_sections): Adjust accordingly.

31 years ago@up/@down -> @raisesections/@lowersections
Roland Pesch [Sat, 4 Sep 1993 00:07:46 +0000 (00:07 +0000)]
@up/@down -> @raisesections/@lowersections

31 years ago * ld.texinfo: re-enable included config file; conditionalize doc
Roland Pesch [Fri, 3 Sep 1993 23:48:59 +0000 (23:48 +0000)]
* ld.texinfo: re-enable included config file; conditionalize doc
for -oformat to interact properly with SingleFormat doc config
var; rename @up/@down to @raisesections/@lowersections.

31 years ago* main.c, utils.c: Add comments about immediate_quit.
Jim Kingdon [Fri, 3 Sep 1993 22:53:45 +0000 (22:53 +0000)]
* main.c, utils.c: Add comments about immediate_quit.

31 years agotiny additions & fixes
David MacKenzie [Fri, 3 Sep 1993 22:47:04 +0000 (22:47 +0000)]
tiny additions & fixes

31 years agoPA and ELF changes
Ken Raeburn [Fri, 3 Sep 1993 22:38:18 +0000 (22:38 +0000)]
PA and ELF changes

31 years agoobj-elf.h change
Ken Raeburn [Fri, 3 Sep 1993 22:37:03 +0000 (22:37 +0000)]
obj-elf.h change

31 years agomore Utah changes, some cleanup of mine
Ken Raeburn [Fri, 3 Sep 1993 22:36:26 +0000 (22:36 +0000)]
more Utah changes, some cleanup of mine

31 years ago(elf_symbol): Fixed name of elf_symbol_type.
Ken Raeburn [Fri, 3 Sep 1993 22:19:09 +0000 (22:19 +0000)]
(elf_symbol): Fixed name of elf_symbol_type.
No longer conditionalized on sparcv9.

31 years ago * elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
Jim Kingdon [Fri, 3 Sep 1993 22:02:59 +0000 (22:02 +0000)]
* elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
to minimal symbols.

31 years agoconfigure.in, libbfd, elf, elf-hppa (utah) changes
Ken Raeburn [Fri, 3 Sep 1993 20:24:07 +0000 (20:24 +0000)]
configure.in, libbfd, elf, elf-hppa (utah) changes

31 years agoReorganized setting of makefile variables so 64-bit stuff works again.
Ken Raeburn [Fri, 3 Sep 1993 20:13:31 +0000 (20:13 +0000)]
Reorganized setting of makefile variables so 64-bit stuff works again.

31 years agomore changes from Utah, see log for details
Ken Raeburn [Fri, 3 Sep 1993 20:12:51 +0000 (20:12 +0000)]
more changes from Utah, see log for details

31 years agoDeleted some fields of elf*_symbol_type and elf_obj_tdata that were getting
Ken Raeburn [Fri, 3 Sep 1993 20:12:05 +0000 (20:12 +0000)]
Deleted some fields of elf*_symbol_type and elf_obj_tdata that were getting
set but not used.  Merged elf*_symbol_type into a single elf_symbol_type.

31 years agoregenerated after doc fix
Ken Raeburn [Fri, 3 Sep 1993 20:09:31 +0000 (20:09 +0000)]
regenerated after doc fix

31 years ago(_do_get*, _do_put*): Renamed via macros to clean up namespace.
Ken Raeburn [Fri, 3 Sep 1993 20:04:52 +0000 (20:04 +0000)]
(_do_get*, _do_put*): Renamed via macros to clean up namespace.

31 years ago* stabs.texinfo: Make info author notice match the TeX author notice.
Jim Kingdon [Fri, 3 Sep 1993 17:12:22 +0000 (17:12 +0000)]
* stabs.texinfo: Make info author notice match the TeX author notice.

31 years ago * elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
Jim Kingdon [Fri, 3 Sep 1993 16:27:35 +0000 (16:27 +0000)]
* elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
to minimal symbols.

31 years ago* stabs.texinfo: Many minor cleanups.
Jim Kingdon [Fri, 3 Sep 1993 16:15:13 +0000 (16:15 +0000)]
* stabs.texinfo: Many minor cleanups.

31 years ago* stabs.texinfo: Many minor cleanups.
Jim Kingdon [Fri, 3 Sep 1993 16:04:27 +0000 (16:04 +0000)]
* stabs.texinfo: Many minor cleanups.

31 years agoremove obsolete comment about call function stuff being duplicated
Jim Kingdon [Fri, 3 Sep 1993 15:56:00 +0000 (15:56 +0000)]
remove obsolete comment about call function stuff being duplicated

31 years ago * target.c (pop_target): Don't try to deal with the stack becoming
Jim Kingdon [Fri, 3 Sep 1993 15:34:13 +0000 (15:34 +0000)]
* target.c (pop_target): Don't try to deal with the stack becoming
empty.  Shouldn't happen and the code that tried was broken.

31 years ago * dcache.c: Cast return value from xmalloc.
Jim Kingdon [Fri, 3 Sep 1993 14:26:29 +0000 (14:26 +0000)]
* dcache.c: Cast return value from xmalloc.

* remote.c: Move setting of immediate_quit from remote_open to
remote_start_dummy and set it back to zero when done.

31 years ago* m88k-tdep.c: Remove a bunch of unused #includes.
Jim Kingdon [Thu, 2 Sep 1993 21:23:16 +0000 (21:23 +0000)]
* m88k-tdep.c: Remove a bunch of unused #includes.

31 years ago* libhppa.h (hppa_field_adjust): Remove unused `init_value' variable.
Jim Kingdon [Thu, 2 Sep 1993 19:24:33 +0000 (19:24 +0000)]
* libhppa.h (hppa_field_adjust): Remove unused `init_value' variable.

31 years ago* language.h: Add comment about current_language.
Jim Kingdon [Thu, 2 Sep 1993 19:12:37 +0000 (19:12 +0000)]
* language.h: Add comment about current_language.

31 years agoReverted previous change, and added this one instead:
Ian Lance Taylor [Thu, 2 Sep 1993 17:19:14 +0000 (17:19 +0000)]
Reverted previous change, and added this one instead:
* config/tc-mips.c (macro_build): Accept 'z', and ignore it.
(macro): Use "z,s,t" for div instructions to match corresponding
change in opcode table.
(mips_ip): Added 'z'--must be zero register.

31 years ago * mips-opc.c: Change div machine instruction to be z,s,t rather
Ian Lance Taylor [Thu, 2 Sep 1993 17:14:10 +0000 (17:14 +0000)]
* mips-opc.c: Change div machine instruction to be z,s,t rather
than s,t.  Change div macro to be d,v,t rather than d,s,t.
Likewise for divu, ddiv, ddivu.  Added z,s,t case for drem, dremu,
rem and remu which generates only the corresponding div
instruction.  This is for compatibility with the MIPS assembler,
which only generates the simple machine instruction when an
explicit destination of $0 is used.
* mips-dis.c (print_insn_arg): Handle 'z' (always register zero).

31 years ago * mips-tdep.c (_initialize_mips_tdep): Change heuristic-fence-post
Jim Kingdon [Thu, 2 Sep 1993 16:50:45 +0000 (16:50 +0000)]
* mips-tdep.c (_initialize_mips_tdep): Change heuristic-fence-post
from var_uinteger to var_zinteger.

31 years ago Only build nlmconv if configured for a NetWare target.
Ian Lance Taylor [Thu, 2 Sep 1993 16:36:36 +0000 (16:36 +0000)]
Only build nlmconv if configured for a NetWare target.
* configure.in: If we have some *-*-netware* target, or are using
all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile.
* Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than
$(NLMCONV_PROG).

31 years ago * config/tc-mips.c (macro): If $0 is destination of divide, just
Ian Lance Taylor [Thu, 2 Sep 1993 14:46:54 +0000 (14:46 +0000)]
* config/tc-mips.c (macro): If $0 is destination of divide, just
generate the simple machine instruction, for compatibility with
the MIPS assembler.

31 years ago * mips-opc.c: Move div machine instruction after macro forms.
Ian Lance Taylor [Thu, 2 Sep 1993 14:42:31 +0000 (14:42 +0000)]
* mips-opc.c: Move div machine instruction after macro forms.
Change d,s,t form to d,v,t.  Likewise for divu, ddiv and ddivu.
This is for compatibility with the MIPS assembler, which only
generates the simple machine instruction when an explicit
destination of $0 is used.

31 years ago * m88k-tdep.c: Include sys/dir.h before sys/user.h.
Jim Kingdon [Thu, 2 Sep 1993 06:20:20 +0000 (06:20 +0000)]
* m88k-tdep.c: Include sys/dir.h before sys/user.h.
Include sys/types.h regardless of USG.

* configure.in: Fix typo (delta88r4 -> delta88v4).

* config/m88k/xm-delta88.h: Don't include sys/siginfo.h.  It was
to make this work on SVR4 before SVR4 had its own configuration,
and it breaks SVR3.

31 years ago* config/m88k/delta88v4.h (NATDEPFILES): Remove infptrace.o inftarg.o.
Jim Kingdon [Thu, 2 Sep 1993 06:13:28 +0000 (06:13 +0000)]
* config/m88k/delta88v4.h (NATDEPFILES): Remove infptrace.o inftarg.o.

31 years ago * hosts/delta88v4.h: New for SVR4.
Jim Kingdon [Thu, 2 Sep 1993 06:06:40 +0000 (06:06 +0000)]
* hosts/delta88v4.h: New for SVR4.
* configure.hosts: Use it.

31 years ago * config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
Jim Kingdon [Thu, 2 Sep 1993 05:57:33 +0000 (05:57 +0000)]
* config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
* config/m88k/m88k.mh: Use xm-dgux.h.
* config/m88k/xm-m88k.h: New file, with HOST_BYTE_ORDER,
MAKEVA_END and MAKEVA_ARG.
* config/m88k/xm-*.h: Include m88k/xm-m88k.h.
* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.

31 years agonew for /proc support on svr4 delta88
Jim Kingdon [Thu, 2 Sep 1993 05:57:31 +0000 (05:57 +0000)]
new for /proc support on svr4 delta88

31 years ago* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.
Jim Kingdon [Thu, 2 Sep 1993 05:46:57 +0000 (05:46 +0000)]
* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.

31 years ago* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.
Jim Kingdon [Thu, 2 Sep 1993 05:45:11 +0000 (05:45 +0000)]
* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.

31 years ago * config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
Jim Kingdon [Thu, 2 Sep 1993 05:35:49 +0000 (05:35 +0000)]
* config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
* config/m88k/xm-m88k.h: New file, with HOST_BYTE_ORDER,
MAKEVA_END and MAKEVA_ARG.
* config/m88k/xm-*.h: Include m88k/xm-m88k.h.
* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.

31 years agorenamed from xm-m88k.h
Jim Kingdon [Thu, 2 Sep 1993 05:06:30 +0000 (05:06 +0000)]
renamed from xm-m88k.h

31 years ago* remote-udi.c (udi_wait): Call `warning' not `error'.
Jim Kingdon [Thu, 2 Sep 1993 05:00:48 +0000 (05:00 +0000)]
* remote-udi.c (udi_wait): Call `warning' not `error'.

31 years ago* remote-udi.c (udi_wait): Call `warning' not `error'.
Jim Kingdon [Thu, 2 Sep 1993 04:39:59 +0000 (04:39 +0000)]
* remote-udi.c (udi_wait): Call `warning' not `error'.

31 years ago * symtab.c (COMPLETION_LIST_ADD_SYMBOL): If the symbol has a
Jim Kingdon [Thu, 2 Sep 1993 02:25:34 +0000 (02:25 +0000)]
* symtab.c (COMPLETION_LIST_ADD_SYMBOL): If the symbol has a
demangling, don't put the mangled form in the completion list.

31 years ago * symtab.c, symfile.c, c-exp.y, ch-exp.y, m2-exp.y, buildsym.c,
Jim Kingdon [Thu, 2 Sep 1993 01:41:40 +0000 (01:41 +0000)]
* symtab.c, symfile.c, c-exp.y, ch-exp.y, m2-exp.y, buildsym.c,
symfile.h, stabsread.c, minsyms.c, solib.c, nlmread.c, dwarfread.c
partial-stab.h, symmisc.c, gdbtypes.c: Lint.  Remove (or put
inside #if) unused variables and labels.  Fix unclosed comment.
Deal with enumeration values unhandled in switch statements.  Make
sure non-void functions return values.  Include appropriate
headers.
* dbxread.c (elfstab_build_psymtabs): Don't check for unsigned
value < 0.

31 years agoLoad the udi library procedures.
Rob Savoye [Thu, 2 Sep 1993 01:12:20 +0000 (01:12 +0000)]
Load the udi library procedures.

31 years ago * symtab.c (find_pc_line, find_line_common),
Jim Kingdon [Thu, 2 Sep 1993 00:24:46 +0000 (00:24 +0000)]
* symtab.c (find_pc_line, find_line_common),
symtab.h (struct linetable), xcoffread.c (arrange_linetable):
Revise comments re linetable sorting.
* buildsym.c (compare_line_numbers): Sort by pc, not by line.
* coffread.c: Tell end_symtab to sort the line table.

* coffread.c: Re-work a lot of the coff-specific stuff to use stuff
in buildsym.c.  This includes coff_finish_block, coff_context_stack,
coff_local_symbols, coff_file_symbols, coff_global_symbols,
coff_end_symtab and coff_add_symbol_to_list.
(read_enum_type): Deal with it now that we have a "struct pending"
not a "struct coff_pending".

* buildsym.c (end_symtab): Don't realloc subfile->linetable.

31 years ago * coffread.c: Re-work a lot of the coff-specific stuff to use stuff
Jim Kingdon [Wed, 1 Sep 1993 23:43:07 +0000 (23:43 +0000)]
* coffread.c: Re-work a lot of the coff-specific stuff to use stuff
in buildsym.c.  This includes coff_finish_block, coff_context_stack,
coff_local_symbols, coff_file_symbols, coff_global_symbols,
coff_end_symtab and coff_add_symbol_to_list.
(read_enum_type): Deal with it now that we have a "struct pending"
not a "struct coff_pending".

31 years ago * coffread.c: Re-work a lot of the coff-specific stuff to use stuff
Jim Kingdon [Wed, 1 Sep 1993 23:11:30 +0000 (23:11 +0000)]
* coffread.c: Re-work a lot of the coff-specific stuff to use stuff
in buildsym.c.  This includes coff_finish_block, coff_context_stack,
coff_local_symbols, coff_file_symbols, coff_global_symbols,
coff_end_symtab and coff_add_symbol_to_list.
(read_enum_type): Deal with it now that we have a "struct pending"
not a "struct coff_pending".

31 years agoindex -> strchr
K. Richard Pixley [Wed, 1 Sep 1993 22:24:34 +0000 (22:24 +0000)]
index -> strchr

31 years ago * remote.c: Add comment explaining why dcache is disabled.
Jim Kingdon [Wed, 1 Sep 1993 22:15:01 +0000 (22:15 +0000)]
* remote.c: Add comment explaining why dcache is disabled.
(remote_fetch_word, remote_store_word): Make static and #if 0.
They are not called from anywhere.

Wed Sep  1 11:35:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)

* symtab.c (find_pc_line, find_line_common),
symtab.h (struct linetable), xcoffread.c (arrange_linetable):
Revise comments re linetable sorting.
* buildsym.c (compare_line_numbers): Sort by pc, not by line.
* coffread.c: Tell end_symtab to sort the line table.

31 years ago * remote.c: Add comment explaining why dcache is disabled.
Jim Kingdon [Wed, 1 Sep 1993 22:10:37 +0000 (22:10 +0000)]
* remote.c: Add comment explaining why dcache is disabled.
(remote_fetch_word, remote_store_word): Make static and #if 0.
They are not called from anywhere.

31 years ago * symtab.c (find_pc_line, find_line_common),
Jim Kingdon [Wed, 1 Sep 1993 22:08:13 +0000 (22:08 +0000)]
* symtab.c (find_pc_line, find_line_common),
symtab.h (struct linetable), xcoffread.c (arrange_linetable):
Revise comments re linetable sorting.
* buildsym.c (compare_line_numbers): Sort by pc, not by line.
* coffread.c: Tell end_symtab to sort the line table.

31 years agobzero -> memset
K. Richard Pixley [Wed, 1 Sep 1993 21:56:42 +0000 (21:56 +0000)]
bzero -> memset

31 years agobcmp -> memcmp
K. Richard Pixley [Wed, 1 Sep 1993 21:43:56 +0000 (21:43 +0000)]
bcmp -> memcmp

31 years ago * symtab.h (struct linetable), xcoffread.c (arrange_linetable):
Jim Kingdon [Wed, 1 Sep 1993 21:15:27 +0000 (21:15 +0000)]
* symtab.h (struct linetable), xcoffread.c (arrange_linetable):
Revise comments re linetable sorting.
* buildsym.c (compare_line_numbers): Sort by pc, not by line.
* coffread.c: Tell end_symtab to sort the line table.

* coffread.c: Re-work a lot of the coff-specific stuff to use stuff
in buildsym.c.  This includes coff_finish_block, coff_context_stack,
coff_local_symbols, coff_file_symbols, coff_global_symbols,
coff_end_symtab and coff_add_symbol_to_list.
(read_enum_type): Deal with it now that we have a "struct pending"
not a "struct coff_pending".

* buildsym.c (end_symtab): Don't realloc subfile->linetable.

31 years agobcopy -> memcpy
K. Richard Pixley [Wed, 1 Sep 1993 20:37:15 +0000 (20:37 +0000)]
bcopy -> memcpy

31 years agowrite.c, configure.in changes
Ken Raeburn [Wed, 1 Sep 1993 19:58:44 +0000 (19:58 +0000)]
write.c, configure.in changes

31 years ago(write_relocs) [RELOC_EXPANSION_POSSIBLE]: Declare tc_gen_reloc correctly.
Ken Raeburn [Wed, 1 Sep 1993 19:32:36 +0000 (19:32 +0000)]
(write_relocs) [RELOC_EXPANSION_POSSIBLE]: Declare tc_gen_reloc correctly.

31 years agoDeleted explicit "return" statements without values at the ends of functions.
Ken Raeburn [Wed, 1 Sep 1993 19:29:02 +0000 (19:29 +0000)]
Deleted explicit "return" statements without values at the ends of functions.

31 years ago * libaout.h, netbsd386.c: Change M_I386 to M_386_NETBSD. M_I386
Jim Kingdon [Wed, 1 Sep 1993 19:28:53 +0000 (19:28 +0000)]
* libaout.h, netbsd386.c: Change M_I386 to M_386_NETBSD.  M_I386
is an SCO pre-define.