Ken Raeburn [Wed, 16 Nov 1994 22:28:22 +0000 (22:28 +0000)]
* coff-sh.c: Deleted some code that was commented out or inside "#if 0".
(COFF_LONG_FILENAMES): Define.
* cpu-sh.c (arch_info_struct): Convert name to lowercase, for consistency with
other architectures.
Ken Raeburn [Wed, 16 Nov 1994 21:41:15 +0000 (21:41 +0000)]
fix swapped files; stop marking p2425a.s as xfail
J.T. Conklin [Wed, 16 Nov 1994 19:11:53 +0000 (19:11 +0000)]
* config/powerpc/gdbserve.mt (TDEPFILES): Removed fake_aio.o
* nlm/gdbserve.c: Include <nwtypes.h> before other NetWare headers.
* nlm/alpha.c: Likewise.
* nlm/ppc.c: Likewise.
* nlm/ppc.c (strtol): Removed, it is provided by NetWare C Library.
(StopBell): New function (stubbed out).
Jeff Law [Wed, 16 Nov 1994 17:06:20 +0000 (17:06 +0000)]
* scripttempl/hppaelf.sc (.text): Place unwind descriptors in the
text segment.
Jeff Law [Wed, 16 Nov 1994 07:21:06 +0000 (07:21 +0000)]
* hppa-tdep.c (skip_trampoline_code): Handle shared library import
trampolines.
Jeff Law [Wed, 16 Nov 1994 06:18:20 +0000 (06:18 +0000)]
* gas/hppa/unsorted/align4.s: New test.
* gas/hppa/unsorted/unsorted.exp: Run it.
Jeff Law [Wed, 16 Nov 1994 06:17:08 +0000 (06:17 +0000)]
* config/tc-hppa.c (pa_subspace): Make sure to always reset
current_subspace.
(pa_text, pa_data): Likewise.
Jeff Law [Wed, 16 Nov 1994 04:58:48 +0000 (04:58 +0000)]
* config/tc-hppa.c (pa_align): New function. Aligns the current
offset within the current subspace along with updating the
alignment of the subspace itself.
(pa_subspace): Default alignment to one byte rathern than zero
bytes to avoid setting alignment to log2(0).
(md_pseudo_table): Use pa_alignment for .align.
Kung Hsu [Wed, 16 Nov 1994 00:21:16 +0000 (00:21 +0000)]
* c-exp.y (yylex): Fix a bug in template scanning.
Stan Shebs [Tue, 15 Nov 1994 22:29:48 +0000 (22:29 +0000)]
* i386-stub.c, m68k-stub.c, sparc-stub.c, sparcl-stub.c: Mask out
the top bit returned by getDebugChar.
Ken Raeburn [Tue, 15 Nov 1994 20:26:22 +0000 (20:26 +0000)]
messages.c (as_fatal): put space after "fatal error:"
Angela Marie Thomas [Tue, 15 Nov 1994 20:17:50 +0000 (20:17 +0000)]
added powerpc to Things-to-keep
Angela Marie Thomas [Tue, 15 Nov 1994 20:17:11 +0000 (20:17 +0000)]
added nlmstub.def to Things-to-keep
Jeff Law [Tue, 15 Nov 1994 18:35:32 +0000 (18:35 +0000)]
* gas/config/tc-hppa.h (obj_frob_symbol): Delete ELF specific
definition.
(tc_frob_symbol): Make this condition on OBJ_SOM or OBJ_ELF. For
ELF, subtract out the symbol->section->vma for non-common symbols.
* gas/testsuite/gas/hppa/unsorted/unsorted.exp (importbug): Tweak
to match current expected ELF output.
* gas/testsuite/gas/hppa/reloc/reloc.exp
(do_plabel_relocation_test, do_r_no_reloc): Likewise.
Ken Raeburn [Tue, 15 Nov 1994 09:15:56 +0000 (09:15 +0000)]
keep riscix, pc532mach files
Ken Raeburn [Tue, 15 Nov 1994 08:53:22 +0000 (08:53 +0000)]
nuke "confidential" dirs
Rob Savoye [Tue, 15 Nov 1994 08:13:05 +0000 (08:13 +0000)]
* op50-rom.c, w89k-rom.c, monitor.c: Modify to use two variables
to set remote load type and protocol.
* rom68k-rom.c: Add to_stop in target_ops.
Angela Marie Thomas [Tue, 15 Nov 1994 05:27:19 +0000 (05:27 +0000)]
Fixed keep_these_too/lose_these_too for mpw and hpread
Rob Savoye [Mon, 14 Nov 1994 22:57:40 +0000 (22:57 +0000)]
Removed remote-mon.c, and add it's replacement rom68k-rom.c.
Rob Savoye [Mon, 14 Nov 1994 22:55:52 +0000 (22:55 +0000)]
Add copyright message.
Stu Grossman [Mon, 14 Nov 1994 16:59:16 +0000 (16:59 +0000)]
* Makefile.in: Install gdbtk.tcl.
* configure.in: Add ENABLE_GDBTK flag.
* gdbtk.c (gdb_sourcelines): Returns list of source lines
containing code. (gdb_regnames): Returns list of register names.
Ian Lance Taylor [Mon, 14 Nov 1994 16:57:14 +0000 (16:57 +0000)]
Keep ld-shared.
Ian Lance Taylor [Mon, 14 Nov 1994 16:54:44 +0000 (16:54 +0000)]
Keep i386lynx.mh.
Stu Grossman [Mon, 14 Nov 1994 16:50:50 +0000 (16:50 +0000)]
* configure.in: Remove tk from native_only list.
Jeff Law [Sun, 13 Nov 1994 05:06:20 +0000 (05:06 +0000)]
* somsolib.c: Add TODO list.
(som_solib_add): Immediately return if $SHLIB_INFO$ sections does
not exist or has size zero. Slightly simplify error handling.
Keep an internal list of all the loaded shared libraries and
various tidbits of information about the loaded shared libraries.
Build section tables for each loaded shared library and add those
tables to the core target if necessary.
(som_solib_create_inferior_hook): Force re-reading of shared
libraries at exec time.
(som_sharedlibrary_info_command): New function for dumping
information about the currently loaded shared libraries.
(_initialize_som_solib): New function.
Ian Lance Taylor [Sun, 13 Nov 1994 04:51:53 +0000 (04:51 +0000)]
* elfcode.h (elf_export_symbol): Also export symbols which are
referenced by a regular file.
Ian Lance Taylor [Sat, 12 Nov 1994 20:59:18 +0000 (20:59 +0000)]
* scripttempl/elf.sc: Add ENTRY(${ENTRY}), and default ${ENTRY} to
_start.
Ian Lance Taylor [Sat, 12 Nov 1994 20:55:33 +0000 (20:55 +0000)]
* elfcode.h (NAME(bfd_elf,size_dynamic_sections)): Add
export_dynamic argument, and handle it.
(elf_export_symbol): New function.
* bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration.
(bfd_elf64_size_dynamic_sections): Update declaration.
* bfd-in2.h: Rebuild.
Ian Lance Taylor [Sat, 12 Nov 1994 20:54:09 +0000 (20:54 +0000)]
* ld.h (args_type): Add field export_dynamic.
* lexsup.c (parse_args): Recognize --export-dynamic.
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Pass export_dynamic argument to bfd_elf32_size_dynamic_sections.
Peter Schauer [Sat, 12 Nov 1994 11:22:47 +0000 (11:22 +0000)]
* Makefile.in (copying.o, f-exp.tab.o, dpx2-nat.o, dstread.o,
i386aix-nat.o, i386m3-nat.o, irix5-nat.o, lynx-nat.o, m3-nat.o,
mipsm3-nat.o, ns32km3-nat.o, remote-e7000.o, remote-os9k.o):
Add dependencies.
(copying.o, os9kread.o, remote.o): Update dependencies.
* valarith.c (value_sub): When subtracting pointers, only
check for a match of the pointed to element lengths.
Cast element length to LONGEST to obtain a signed result for
pointer subtractions.
Bill Cox [Fri, 11 Nov 1994 23:33:23 +0000 (23:33 +0000)]
* build-all.mk: Add mips-ncd-elf target to sun4 targets
for special NCD build.
Jeff Law [Fri, 11 Nov 1994 19:17:41 +0000 (19:17 +0000)]
* ch-exp.y (yylex): Fix off-by-one error when converting string to
lowercase. Null terminate new string.
Jeff Law [Fri, 11 Nov 1994 17:55:38 +0000 (17:55 +0000)]
* hppa-tdep.c (rp_saved): Handle IMPORT stubs too.
* somsolib.c (som_solib_add): Check the value of __dld_flags, if
it indicates __dld_list is not valid return an error. If it
indicates that libraries were not mapped privately, issue a
warning.
Jeff Law [Fri, 11 Nov 1994 17:40:27 +0000 (17:40 +0000)]
* hpux-core.c (hpux_core_struct): Delete handles for the
data, reg and stack sections. They're never used. Delete
accessor macros.
(make_bfd_asection): Use bfd_make_section_anyway since debugging
cores from dynamic executables may have several sections with the
same logical name.
(hpux_core_core_file_p): Don't save handles to data, reg and
stack sections. Handle CORE_TEXT, CORE_MMF and CORE_SHM.
Jeff Law [Fri, 11 Nov 1994 06:21:50 +0000 (06:21 +0000)]
* symfile.c (syms_from_objfile): Only call find_lowest_section if
no ".text" section exists.
Rob Savoye [Thu, 10 Nov 1994 23:20:03 +0000 (23:20 +0000)]
* rom68k-rom.c: New file. Replaces the old remote-mon.c and uses
the new generic ROM interface in monitor.c.
* config/m68k/monitor.mt: Use new ROM support.
* monitor.c: Add support for xmodem download protocol.
Stan Shebs [Thu, 10 Nov 1994 03:11:23 +0000 (03:11 +0000)]
* findvar.c (find_saved_register): Fix a frame variable name.
* infcmd.c (finish_command): Ditto.
Ken Raeburn [Wed, 9 Nov 1994 19:57:37 +0000 (19:57 +0000)]
add delta68 config
Ian Lance Taylor [Wed, 9 Nov 1994 19:53:58 +0000 (19:53 +0000)]
* config/tc-ppc.c (ppc_bf): Always set coff_line_base.
PR 5830.
Ian Lance Taylor [Wed, 9 Nov 1994 17:48:24 +0000 (17:48 +0000)]
* ldlang.c (lang_one_common): Set SEC_ALLOC in any section where
we allocate common symbols.
Ian Lance Taylor [Tue, 8 Nov 1994 22:57:13 +0000 (22:57 +0000)]
Tue Nov 8 17:50:43 1994 Eric Youngdale (eric@aib.com)
* scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and
.rela.fini to the list of .rel* sections.
Ian Lance Taylor [Tue, 8 Nov 1994 22:54:07 +0000 (22:54 +0000)]
* ldlang.c (load_symbols): Add new argument place. Only accept
linker scripts if place is not NULL. Put commands found in an
assumed linker script into place.
(lookup_name): Pass NULL as place argument to load_symbols.
(open_input_bfds): In lang_input_statement_enum case, pass a place
argument to load_symbols, and store any new statements after the
current one.
PR 5917.
Jim Kingdon [Tue, 8 Nov 1994 21:40:14 +0000 (21:40 +0000)]
* TODO: Remove "Watchpoints seem not entirely reliable, though
they haven't failed me recently." item--this old (4.6 at least)
item is too vague to be useful (some watchpoint bugs have been
fixed since then).
* TODO: Add explanation of "RPC interface" item.
Ken Raeburn [Tue, 8 Nov 1994 20:16:13 +0000 (20:16 +0000)]
Delete gasp tests when sanitizing, at least until they're actually run by
"make check".
Bill Cox [Tue, 8 Nov 1994 19:48:17 +0000 (19:48 +0000)]
* .Sanitize: Add gasp subdirectory to the keepers list.
Bill Cox [Tue, 8 Nov 1994 19:46:44 +0000 (19:46 +0000)]
* .Sanitize: New file for gasp testcases.
Ian Lance Taylor [Tue, 8 Nov 1994 18:16:10 +0000 (18:16 +0000)]
* objcopy.c (copy_archive): Keep a list of the names of the
temporary files we created. Close each input BFD after we open
its successor.
PR 5915.
Ian Lance Taylor [Tue, 8 Nov 1994 18:05:43 +0000 (18:05 +0000)]
* bout.c (callj_callback): Add new argument shrinking. Change all
callers. Handle relocs against section symbols correctly. If not
shrinking, don't subtract out dstidx; the subtraction is already
in the object file.
PR 5883.
Jeff Law [Tue, 8 Nov 1994 06:39:33 +0000 (06:39 +0000)]
Small blurb on support for debugging dynamic executables on HPPAs running
hpux9.
Jeff Law [Tue, 8 Nov 1994 06:06:35 +0000 (06:06 +0000)]
* hppa-tdep.c (read_unwind_info): Use "text_offset" for linker
stub unwind descriptors too.
Jeff Law [Tue, 8 Nov 1994 05:31:33 +0000 (05:31 +0000)]
* Enable backtracing from inside a SOM shared library back into
user code.
* hppa-tdep.c (internalize_unwinds): Accept and use new
"text_offset" argument for dynamic relocation of
region_{start,end} fields in the unwind descriptor.
(read_unwind_info): Pass text_offset to internalize unwinds.
Jason Merrill [Tue, 8 Nov 1994 02:16:18 +0000 (02:16 +0000)]
Various changes to support building shared lib{g,stdc}++
Ken Raeburn [Tue, 8 Nov 1994 02:04:00 +0000 (02:04 +0000)]
* Makefile.in (DEVO_SUPPORT): Remove configure.bat and makeall.bat, they're
only useful for binutils snapshots.
(binutils.tar.gz, gas+binutils.tar.gz): Add configure.bat and makeall.bat to
specified SUPPORT_FILES.
Bill Cox [Tue, 8 Nov 1994 01:32:51 +0000 (01:32 +0000)]
* build-all.mk: Add Ericsson targets to sun4 and solaris
hosts. Add BNR's sun4 target to solaris host, so their
build-from-source will be tested in-house first.
Jim Kingdon [Mon, 7 Nov 1994 22:39:34 +0000 (22:39 +0000)]
* m3-nat.c: Remove comments about arbitrary limit in
printf_filtered; that limit is gone.
Ken Raeburn [Mon, 7 Nov 1994 20:29:46 +0000 (20:29 +0000)]
* configure.in: Compare generic cpu name against "sparc", not "sparc*", since
sparc variants should be changed to "sparc".
* configure: Regenerated with autoconf 2.1.
Jeff Law [Mon, 7 Nov 1994 07:51:47 +0000 (07:51 +0000)]
* Beginnings of SOM shared library support. Breakpoints and
single frame backtracing within the library only. Only works when
using the HPUX 9 dynamic linker. More functionality to be added
soon.
* somsolib.c, somsolib.h: New files.
* Makefile.in (HFILES_NO_SRCDIR): Add somsolib.h
(ALLDEPFILES): Add somsolib.c.
(somsolib.o): Add some dependencies.
* mpw-make.in (HFILES_NO_SRCDIR): Add somsolib.h
(ALLDEPFILES): Add somsolib.c.
(somsolib.o): Add some dependencies.
* somread.c (som_symtab_read): Accept multiple section offsets.
All callers changed. Adjust all text symbols with the first
section offset.
* symfile.c (find_lowest_section): Enable this function. Add some
tie-breaking logic when sections have the same vma.
(syms_from_objfile): Use find_lowest_section rather than looking
for ".text" by name. Relax warning to only warn if the lowest
section is not a code section.
* config/pa/{hppabsd.mh, hppahpux.mh} (NATDEPFILES): Add somsolib.o
* config/pa/{nm-hppab.h, nm-hppah.h}: Include somsolib.h.
Ken Raeburn [Mon, 7 Nov 1994 07:04:09 +0000 (07:04 +0000)]
tc-a29k.c: some cleanup; range-checking on JUMPTARG relocs
Ken Raeburn [Mon, 7 Nov 1994 06:52:58 +0000 (06:52 +0000)]
keep ns32k stuff
Jeff Law [Sun, 6 Nov 1994 20:16:34 +0000 (20:16 +0000)]
* partial-stab.h (N_TEXT): Put back GDB_TARGET_IS_HPPA kludge,
it is still needed for GCC-2.6 compiled code.
* TODO (GDB_TARGET_IS_HPPA): Note this kludge can be nuked
sometime after GCC-2.7 has been released.
Jeff Law [Sun, 6 Nov 1994 20:02:31 +0000 (20:02 +0000)]
* hppa-tdep.c (frame_saved_pc): Mask off low two bits when
retrieving the PC from a signal handler caller. Fix thinko
in Stan's last change ("frame", should have been "frame->next").
If the next frame is a signal handler caller and it's a system
call which has entered the kernel ((PSW & 0x2) != 0), then the
saved pc is in %r2 instead of %r31.
Per Bothner [Sat, 5 Nov 1994 23:44:38 +0000 (23:44 +0000)]
* configure.in (target_libs): Include libstdc++ again.
* config.guess: Update from FSF (for FreeBSD).
Jeff Law [Sat, 5 Nov 1994 06:56:43 +0000 (06:56 +0000)]
* hppa-tdep.c (hppa_frame_find_saved_regs): Change "frame" to
"frame_info" throughout.
Kung Hsu [Sat, 5 Nov 1994 00:33:27 +0000 (00:33 +0000)]
* sparcl-stub.c: get rid of defs.h.
Jim Kingdon [Fri, 4 Nov 1994 22:57:19 +0000 (22:57 +0000)]
* gdbserver/Makefile.in (MMALLOC_CFLAGS): Add -I${MMALLOC_DIR}.
Correct definition of MMALLOC_DIR to reflect fact this is
gdb/gdbserver/Makefile.in, not gdb/Makefile.in.
* gdbserver/server.c (main): After we kill the inferior in
response to a 'k' request, exit.
Ken Raeburn [Fri, 4 Nov 1994 21:43:00 +0000 (21:43 +0000)]
note go32 file additions, keep ppc nw
Jim Kingdon [Fri, 4 Nov 1994 21:28:40 +0000 (21:28 +0000)]
* remote.c (remote_kill): Use catch_errors when calling putpkt.
(putpkt): Return int, not void, to match catch_errors calling
convention.
Ken Raeburn [Fri, 4 Nov 1994 20:14:03 +0000 (20:14 +0000)]
Makefile.in: fix tipo in e*nbsd.c dependencies
Stan Shebs [Fri, 4 Nov 1994 18:55:51 +0000 (18:55 +0000)]
* rs6000-tdep.c (pop_frame): Correct a variable name.
Jim Kingdon [Fri, 4 Nov 1994 17:50:50 +0000 (17:50 +0000)]
* TODO: Re-write item about SIGINT handling to reflect the fact
that target_stop now exists.
Ken Raeburn [Fri, 4 Nov 1994 16:44:58 +0000 (16:44 +0000)]
note file deletions, additions
Ken Raeburn [Fri, 4 Nov 1994 16:23:49 +0000 (16:23 +0000)]
keep new dos-related files
Stan Shebs [Fri, 4 Nov 1994 01:32:34 +0000 (01:32 +0000)]
Replace useless FRAME, FRAME_ADDR types with struct frame_info *
and CORE_ADDR, respectively.
* frame.h (FRAME, FRAME_INFO_ID, FRAME_ADDR): Remove.
* blockframe.c (get_frame_info): Remove.
* a29k-tdep.c, alpha-tdep.c, blockframe.c, breakpoint.c,
breakpoint.h, energize.c, findvar.c, gdbtk.c, gould-pinsn.c,
h8300-tdep.c, h8500-tdep.c, hppa-tdep.c, i386-tdep.c, i960-tdep.c,
infcmd.c, inferior.h, infrun.c, m68k-tdep.c, m88k-tdep.c,
mips-tdep.c, nindy-tdep.c, printcmd.c, pyr-tdep.c, rs6000-tdep.c,
sh-tdep.c, sparc-tdep.c, stack.c, valops.c, z8k-tdep.c,
config/a29k/tm-a29k.h, config/alpha/tm-alpha.h,
config/gould/tm-pn.h, config/h8300/tm-h8300.h,
config/h8500/tm-h8500.h, config/mips/tm-mips.h,
config/ns32k/tm-merlin.h, config/ns32k/tm-umax.h,
config/pyr/tm-pyr.h, config/sparc/tm-sparc.h): Replace FRAME with
struct frame_info * everywhere, replace FRAME_ADDR with CORE_ADDR,
rename variables consistently (using `frame' or `fi'), remove
calls to get_frame_info and FRAME_INFO_ID, remove comments about
FRAME and FRAME_ADDR cruftiness.
Ken Raeburn [Fri, 4 Nov 1994 01:29:10 +0000 (01:29 +0000)]
remove unused file config/go32.mh
Ken Raeburn [Fri, 4 Nov 1994 01:22:47 +0000 (01:22 +0000)]
* read.c (get_absolute_expression): Indicate that the error may merely be that
the expression can't currently be reduced.
Ken Raeburn [Fri, 4 Nov 1994 01:20:06 +0000 (01:20 +0000)]
regenerated after jt's netbsd changes
Stan Shebs [Fri, 4 Nov 1994 01:19:29 +0000 (01:19 +0000)]
Replace useless FRAME, FRAME_ADDR types with struct frame_info *
and CORE_ADDR, respectively.
* frame.h (FRAME, FRAME_INFO_ID, FRAME_ADDR): Remove.
* blockframe.c (get_frame_info): Remove.
* a29k-tdep.c, alpha-tdep.c, blockframe.c, breakpoint.c,
breakpoint.h, energize.c, findvar.c, gdbtk.c, gould-pinsn.c,
h8300-tdep.c, h8500-tdep.c, hppa-tdep.c, i386-tdep.c, i960-tdep.c,
infcmd.c, inferior.h, infrun.c, m68k-tdep.c, m88k-tdep.c,
mips-tdep.c, nindy-tdep.c, printcmd.c, pyr-tdep.c, rs6000-tdep.c,
sh-tdep.c, sparc-tdep.c, stack.c, valops.c, z8k-tdep.c,
config/a29k/tm-a29k.h, config/alpha/tm-alpha.h,
config/gould/tm-pn.h, config/h8300/tm-h8300.h,
config/h8500/tm-h8500.h, config/mips/tm-mips.h,
config/ns32k/tm-merlin.h, config/ns32k/tm-umax.h,
config/pyr/tm-pyr.h, config/sparc/tm-sparc.h): Replace FRAME with
struct frame_info * everywhere, replace FRAME_ADDR with CORE_ADDR,
rename variables consistently (using `frame' or `fi'), remove
calls to get_frame_info and FRAME_INFO_ID, remove comments about
FRAME and FRAME_ADDR cruftiness.
Ken Raeburn [Fri, 4 Nov 1994 00:39:49 +0000 (00:39 +0000)]
* Makefile.in (check): Add missing "else true" clause.
* emulparams/vax.sh (OUTPUT_FORMAT): Use "a.out".
* scripttempl/go32coff.sc: Changes from DJ Delorie: Change default entry point
to "start". Align at end of each section to 0x200. Start .text section 0x1000
later. Add _etext, _edata, _end symbols.
J.T. Conklin [Fri, 4 Nov 1994 00:13:13 +0000 (00:13 +0000)]
* config/tc-m68k.h (TARGET_FORMAT): If TE_NetBSD define as
"a.out-m68k-netbsd".
* config/tc-sparc.h (TARGET_FORMAT): If TE_NetBSD define as
"a.out-sparc-netbsd".
* config/te-nbsd.h: New file, NetBSD target emulation
* config/te-netbsd.h: Removed.
* configure.in (i[345]86-*-netbsd*,m68*-*-netbsd*,sparc*-*-netbsd*):
Set bfd_gas. Use nbsd emulation.
Ken Raeburn [Fri, 4 Nov 1994 00:08:34 +0000 (00:08 +0000)]
* printgprof.c (flatprofheader): Always set totime to 1.0 if not greater than
0.0. Suggested by Harold Assink <carlo@sg.tn.tudelft.nl>.
Ken Raeburn [Fri, 4 Nov 1994 00:07:02 +0000 (00:07 +0000)]
Changes from binutils-2.5.2 net release:
* Makefile.in (install-info): Install info files from whatever directory they
were found in.
Patch from DJ Delorie:
* configure.bat: do c++filt -> cxxfilt right
* sysinfo.y: Include system header files early, so any potential declaration of
abort() occurs before its use.
* strings.c (strings_file): Try opening the file in binary mode first.
Ken Raeburn [Fri, 4 Nov 1994 00:02:18 +0000 (00:02 +0000)]
configure.in: fix ns32knetbsd_vec -> pc532netbsd_vec
Ken Raeburn [Thu, 3 Nov 1994 23:52:52 +0000 (23:52 +0000)]
aoutx.h fixes from net
Ken Raeburn [Thu, 3 Nov 1994 23:50:48 +0000 (23:50 +0000)]
go32 patches from dj
Ken Raeburn [Thu, 3 Nov 1994 23:49:17 +0000 (23:49 +0000)]
Makefile.in (ALL_MACHINES): Include m68knetbsd.o.
Ken Raeburn [Thu, 3 Nov 1994 23:21:32 +0000 (23:21 +0000)]
i386linux.mh: include -lm in EXTRALIBS
Ken Raeburn [Thu, 3 Nov 1994 23:15:54 +0000 (23:15 +0000)]
Changes from net 2.5.2 release branch:
* configure.in: Put AC_DEFINE(sparcv9) on its own line, so that the shell
variable settings associated with it are permanent. For CPUs requiring
bfd_gas=yes, select it based on CPU only, not individual target names. Handle
m68k-hp-hpux*, not just -hpux.
* config/tc-z8k.c (tc_coff_symbol_emit_hook): Add dummy argument to match
prototype in obj-coff.h.
* configure.in: Skip tests for defining WANT_FOPEN_BIN and IBM_COMPILER_SUX.
* acconfig.h: Deleted them.
* configure, conf.in: Rebuild with autoconf 2.0.
* config/go32.cfg, config/vms-conf.h: Updated.
* config/tc-m68k.c (md_apply_fix_2, md_convert_frag_1): Always use
IBM_COMPILER_SUX version of code, with comments indicating why.
* listing.c (file_info): Use text mode when opening file for read. Use "r"
directly, no macro.
* input-file.c (input_file_open): Don't use FOPEN_RT, just use "r".
* read.c (s_include): Ditto.
* output-file.c (output_file_create): Try both "wb" and "w", don't bother with
FOPEN_* macros.
* as.h: Don't include fopen-*.h.
* config/alpha-opcode.h: Make "ret" with no operands equivalent to "ret
zero,(ra)", to match OSF1 and to be consistent with both one-operand forms.
Patches from DJ Delorie:
* as.h (alloca): undef alloca before defining it just in case
* config/go32.cfg: new file for autoconf values
* config/te-go32.h: new file
* configure.bat: new for autoconf
* config/tc-i386.c (md_assemble): Fix typo in GOTPC check; had = for ==.
* configure.in: If target_frag doesn't exist, use /dev/null.
* as.c (parse_args): For non-VMS systems, re-add `v' to std_shortopts. Add
"verbose" to list of long options.
* write.c (adjust_reloc_syms): When generating an absolute section symbol as a
placeholder, don't mark it as used in a relocation entry, here.
* Makefile.in (comparison): Compare using makefile code from gcc, stripped down
to discard subdir stuff and adapted to give a non-zero exit status if either
file differs.
Stu Grossman [Thu, 3 Nov 1994 22:41:12 +0000 (22:41 +0000)]
* corelow.c, exec.c, inftarg.c, m3-nat.c, op50-rom.c, procfs.c,
remote-adapt.c, remote-e7000.c, remote-eb.c, remote-es.c,
remote-hms.c, remote-mips.c, remote-mm.c, remote-mon.c,
remote-nindy.c, remote-os9k.c, remote-pa.c, remote-sim.c,
remote-st.c, remote-udi.c, remote-vx.c, remote-z8k.c, remote.c,
w89k-rom.c, target.c, target.h: Add support for target_stop().
* gdbtk.c (gdb_stop): Switch to target_stop().
Stu Grossman [Thu, 3 Nov 1994 22:40:14 +0000 (22:40 +0000)]
* corelow.c, exec.c, inftarg.c, m3-nat.c, op50-rom.c, procfs.c,
remote-adapt.c, remote-e7000.c, remote-eb.c, remote-es.c,
remote-hms.c, remote-mips.c, remote-mm.c, remote-mon.c,
remote-nindy.c, remote-os9k.c, remote-pa.c, remote-sim.c,
remote-st.c, remote-udi.c, remote-vx.c, remote-z8k.c, remote.c,
w89k-rom.c, target.c, target.h: Add support for target_stop().
* gdbtk.c (gdb_stop): Switch to target_stop().
* ChangeLog: Fix comment to make shebs happy...
Ken Raeburn [Thu, 3 Nov 1994 22:29:54 +0000 (22:29 +0000)]
add some options to default CC to make bfd & linker compile
Ken Raeburn [Thu, 3 Nov 1994 21:35:37 +0000 (21:35 +0000)]
Changes from binutils net release:
* Makefile.in (DEVO_SUPPORT): Include configure.bat and makeall.bat.
(DISTDOCDIRS): Add `etc'.
(ETC_SUPPORT_PFX): New variable.
(taz): Include anything from etc starting with a word in ETC_SUPPORT_PFX.
Ian Lance Taylor [Thu, 3 Nov 1994 20:52:11 +0000 (20:52 +0000)]
* gas/mips/ulh.d, gas/mips/ulw.d, gas/mips/ush.d, gas/mips/usw.d:
Correct test cases.
Ian Lance Taylor [Thu, 3 Nov 1994 20:50:07 +0000 (20:50 +0000)]
* config/tc-mips.c (load_address): Fix RELAX_ENCODE arguments for
NO_PIC case.
Peter Schauer [Thu, 3 Nov 1994 09:27:23 +0000 (09:27 +0000)]
* osfsolib.c (solib_map_sections, first_link_map_member,
next_link_map_member, xfer_link_map_member): Retrieve and use
shared library relocation offset from runtime loader structures.
Use libxproc.a routines to get a working version if
USE_LDR_ROUTINES is defined.
* README: Remove item about shared library relocation for
Alpha OSF/1.
Kung Hsu [Wed, 2 Nov 1994 23:11:47 +0000 (23:11 +0000)]
* c-exp.y (yylex): scan template names, and scan nested class
names.
Ian Lance Taylor [Wed, 2 Nov 1994 20:45:02 +0000 (20:45 +0000)]
* ar.c (main): Treat ar qs like ar rs.
Ian Lance Taylor [Wed, 2 Nov 1994 20:29:18 +0000 (20:29 +0000)]
* archive.c (normalize): Change to take a BFD as an argument.
Change VMS version to use bfd_alloc rather than malloc, so that we
don't lose the memory forever.
(_bfd_construct_extended_name_table): Check the name of an archive
entry which is not being extended, and correct it if it is wrong.
This is necessary in case the archive was constructed by another
program which put an entry in the extended name table which we
don't plan to put in ourselves. From jjc@jclark.com (James
Clark).
(bfd_dont_truncate_arname): Check return value of normalize.
J.T. Conklin [Wed, 2 Nov 1994 19:04:22 +0000 (19:04 +0000)]
* nlm/Makefile.in: install gdbserve.nlm.
Ian Lance Taylor [Wed, 2 Nov 1994 17:22:28 +0000 (17:22 +0000)]
* ldctor.c (ldctor_add_set_entry): Don't permit a set to be
composed of different object file formats.
(ldctor_build_sets): If the output format does not support the
reloc, and we are not generating a relocateable link, try getting
the reloc from the input format.
Stu Grossman [Wed, 2 Nov 1994 00:50:12 +0000 (00:50 +0000)]
* Makefile.in: Use $(objdir)/tcl and $(objdir)/tk if they are
available.
* configure.in (ENABLE_CLIBS): Use $(TCL) and $(TK) instead of
-ltcl and -ltk.
* gdbtk.c: Get rid of lots of unnecessary #includes.
* (gdbtk_init): Use ConnectionNumber macro instead of referencing
Display structure directly.
* gdbtk.tcl: Change exit button to quit button (makes shebs
happy).