Commit Graph

9756 Commits

Author SHA1 Message Date
Peter Schauer 5bfc8dd536 * config/i386/tm-i386bsd.h: Give just macro name, not args, to #undef. 1994-03-15 21:47:34 +00:00
Peter Schauer ae6d035d28 For Sunos 4.x targets, enable gdb to set breakpoints in shared
library functions before the executable is run. Retrieve dynamic
	symbols from stripped executables.
	* symtab.h (minimal_symbol_type):  Add mst_solib_trampoline type.
	* parse.c (write_exp_msymbol), symmisc.c (dump_msymbols),
	symtab.c (list_symbols):  Handle mst_solib_trampoline.
	* minsyms.c (lookup_minimal_symbol):  Handle mst_solib_trampoline
	for all targets, remove IBM6000_TARGET dependencies.
	* dbxread.c (read_dbx_dynamic_symtab):  New function.
	* dbxread.c (dbx_symfile_read):  Use it.
	* dbxread.c (SET_NAMESTRING):  Set namestring to
	"<bad string table index>" instead of "foo" if the string index is
	corrupt.
	* xcoffread.c (read_xcoff_symtab):  Use mst_solib_trampoline instead
	of mst_unknown.
	* symtab.c (list_symbols):  Take from_tty as parameter and pass it
	to break_command. Handle mst_file_* minimal symbol types.
1994-03-15 21:46:32 +00:00
Ken Raeburn f1b4e13156 version 2.0 -> 2.2.1 1994-03-15 20:39:26 +00:00
Kung Hsu b427690aac Modified Files:
ChangeLog c-exp.y

        * c-exp.y(yylex): fix potential memory overflow.
1994-03-15 19:45:04 +00:00
Per Bothner e7b02f0e49 * config.guess: about target *-hitachi-hiuxwe2, fixed
machine guessing order.  [Hitachi's CPU_IS_HP_MC68K
	macro is incorrect.]
1994-03-15 18:56:22 +00:00
Jim Kingdon f93b941bde * environ.c (set_in_environ): Eliminate special handling of PATH and
GNUTARGET.
	* putenv.c: Removed, conflicts with system declaration of
	putenv on RS/6000 running AIX 3.2.5, and above change makes it
	unnecessary.
	* Makefile.in: Change accordingly.
	* procfs.c (procfs_create_inferior): Change comment accordingly.
1994-03-15 18:40:51 +00:00
Jim Kingdon 17221e410f * rs6000-tdep.c: Change value to value_ptr. 1994-03-15 18:07:30 +00:00
Jim Kingdon 7e1f34050d * TODO: Add suggestions for shared library tests. 1994-03-15 16:46:13 +00:00
Jim Kingdon b6e98162f8 * gdbint.texinfo (Host Conditionals, Target Conditionals): Remove
references to ieee-float.c.
1994-03-15 16:43:45 +00:00
Jim Kingdon f8ffa54812 * i386os9k.c : new file to handle os9k format bfd. 1994-03-15 16:20:51 +00:00
David MacKenzie 57a1867e6c * Most files:
Replace DEFUN and DEFUN_VOID with K&R-style function definition.
	Indent some of them to GNU standards.

	* aout32.c, archures.c, core.c, cpu-h8300.c, cpu-i960.c,
	cpu-m68k.c, cpu-m88k.c, cpu-mips.c, cpu-vax.c, ctor.c, demo64.c,
	elf32-hppa.h, gen-aout.c, host-aout.c, init.c, libhppa.h,
	libieee.h, liboasys.h, newsos3.c, som.h, stab-syms.c, sunos.c:
	Update copyright years.
1994-03-15 15:13:13 +00:00
Jeff Law baef2065d0 * som.c (som_prep_for_fixups): A relocation involving the section
symbol for the *ABS* section is really a relocation involving
        no symbol.
        (som_slurp_symbol_table): Do not set BSF_GLOBAL or BSF_EXPORT for
        undefined symbols.  Correctly distinguish between debugger symbols
        and section symbols.
1994-03-15 05:21:51 +00:00
Jeff Law b486fb13be * som (setup_sections): Set SEC_DEBUGGING and the section attributes
for spaces and subspaces.
1994-03-15 04:40:51 +00:00
Ken Raeburn 54ce399a27 keep ic960coff.mt 1994-03-15 03:36:27 +00:00
Ken Raeburn be2fc7ec38 keep vmsconf.sh 1994-03-15 03:35:59 +00:00
Ken Raeburn dbc529c4c8 today's changes for vms, misc bugs 1994-03-15 03:08:40 +00:00
Ken Raeburn abf434d83d (VMS_Initialized_Data_Size): Cache symbol values to reduce number of lookups
with S_GET_VALUE.  Skip debug symbols to avoid "a really nasty bug".  (From
Holger Teutsch, holger@botbso.rhein-main.de.)
(VMS_write_object_file): For "__vt.*" symbols, set S_GET_OTHER field.  (Also
from Holger Teutsch.)  Watch for a would-be register mask that spans frags.
1994-03-15 03:05:24 +00:00
Ken Raeburn 8304c303d6 (obj_coff_line): Set symbol lnno field with this_base, not line_base. (Patch
from Andreas Arens, ari@obelix.av.rwth-aachen.de.)
1994-03-15 03:02:17 +00:00
Ken Raeburn c3b0ae93d2 Scan Makefile.in, not version.c, for current version number. Delete all
versions of temp files when finished with them.  Create config.h.

Not yet tested.
1994-03-15 02:10:32 +00:00
Jeff Law 4c9db344d2 * som.c (som_bfd_count_ar_symbols): Fix typo. 1994-03-14 21:53:29 +00:00
Ian Lance Taylor be2458e4ce * ieee-float.h: Removed; no longer used. 1994-03-14 20:28:30 +00:00
Ian Lance Taylor c0386c7a9f * m68881-ext.c: Removed; no longer used.
* Makefile.in: Changed accordingly.
1994-03-14 20:23:05 +00:00
Ken Raeburn 954979ca8b various configuration changes, obj-coff change 1994-03-14 20:20:00 +00:00
Ian Lance Taylor f9c2a16675 Don't include "ieee-float.h". I'm not sure I know where ChangeLog
entries should go for this file, but I don't think it's a big deal for
this change.
1994-03-14 20:18:51 +00:00
Ian Lance Taylor 448ff99268 * m68k-dis.c (ext_format_68881): Don't declare.
(print_insn_m68k): If an instruction uses place 'i', it uses at
	least four fixed bytes.
	(print_insn_arg): Don't bump p by 2 for case 'I', place 'i'.  For
	extended float, convert to double using floatformat_to_double, not
	ieee_extended_to_double, and fetch the data before converting it.
1994-03-14 20:00:34 +00:00
Ken Raeburn f6570d6010 rewritten, untested 1994-03-14 19:56:47 +00:00
Ken Raeburn eee7810fc9 new script, for regenerating make-gas.com 1994-03-14 19:50:00 +00:00
Jeff Law ec743ceff2 * som.c (som_object_setup): Set EXEC_P, D_PAGED, WP_TEXT, and
HAS_RELOC based on the object's magic number.
        (make_unique_section): Delete function.  BFD and its users are
        prepared to handle multiple sections with the same name.
        (setup_sections): Allocate space on the BFD's obstack to hold
        section names.  Use bfd_make_setion_anyway rather than the
        obsolete make_unique_section.
        (som_prep_headers): Choose the correct SOM magic number based
        on the BFD's flags.
        (som_bfd_fill_in_ar_symbols): Return false, not NULL on error.
1994-03-14 19:43:01 +00:00
Jeff Law c956356797 * objcopy.c (mangle_section): Delete unused function.
(setup_section): Set osection here instead of calling
        mangle section to do it.
1994-03-14 19:36:15 +00:00
Ian Lance Taylor ad8e3db940 * ar.c (write_archive): Close inarch before unlinking it. 1994-03-14 17:14:08 +00:00
Jim Kingdon c4ad6b0970 * i386m3-nat.c: Include floatformat.h.
(get_i387_state): Use memset not bzero.
1994-03-13 20:17:39 +00:00
Jim Kingdon 5fa83062a8 * Version 4.12.3.
* Makefile.in: Enable commented out getopt_h, bfd_h, etc.  Change
	ieee-float.h to floatformat.h.
1994-03-13 18:50:26 +00:00
Jim Kingdon d19fc8790a * TODO: Add suggestions for x/s tests. 1994-03-13 18:46:42 +00:00
Jim Kingdon 79f3d58629 * valprint.c (val_print_string): Ignore error if the error
happened after a terminating '\0'.

	* c-valprint.c (c_val_print): Never add 1 to return value from
	val_print_string; just return what it returns.
1994-03-13 18:37:27 +00:00
Jim Kingdon 8eb795981e * target.h (enum target_signal): Add TARGET_SIGNAL_FIRST, for
looping through all of the enums.
	* infrun.c (signals_info): Use it.
1994-03-13 17:47:15 +00:00
Jim Kingdon c6933c8189 * Makefile.in: Add TAGS target. 1994-03-13 17:31:41 +00:00
Jim Kingdon 5cfde09630 * Makefile.in (TAGS): Just build TAGS in each subdirectory, rather
than the "make ls" stuff which used to be here.
1994-03-13 17:30:36 +00:00
Ian Lance Taylor 45ccfd58d2 * elf32-ppc.c: Renamed from elf32-powerpc.c.
start-sanitize-powerpc-netware
	* nlm32-ppc.c: Renamed from nlm32-powerpc.c.
 	end-sanitize-powerpc-netware
	* Makefile.in, configure.in: Corresponding changes.
1994-03-12 17:48:16 +00:00
Mark Eichin f71481ba84 Changes to 68k-lynx to make it handle symbols in common sections "properly",
ie. the way "real" 68k coff implementations seem to do it, rather than like
the way it's traditionally done. Fixes lifted from the i386-coff version.
1994-03-12 05:37:38 +00:00
Ian Lance Taylor 92177c5242 * elf32-powerpc.c: Extensive changes to update to preliminary ABI.
Many changes to nlm32-powerpc.c as well, but I'm not bothering to make
a ChangeLog entry to avoid sanitization headaches.
1994-03-12 03:30:52 +00:00
Ian Lance Taylor 62ea79742a * config/tc-ppc.c (md_pcrel_from): Return 0 for undefined ELF
symbols.
	(ppc_is_toc_sym): Change .toc to .got.
	(md_apply_fix): Change handling of ELF relocs.
	(tc_gen_reloc): Likewise.
1994-03-12 03:28:13 +00:00
Ian Lance Taylor 4bd7a65f5f * nlmconv.c (main): For PowerPC, call powerpc_build_stubs and
powerpc_resolve_stubs.  Use __GOT0, not __toc_start.  Handle it if
	the start and end symbols are not in the text section.
	(struct powerpc_stub): New struct definition.
	(powerpc_stubs, powerpc_stub_insns): New static variables.
	(powerpc_initial_got_size): New static variable.
	(powerpc_build_stubs): New function.
	(powerpc_resolve_stubs): New function.
	(powerpc_mangle_relocs): Clear extraneous data in .got section.
	Rearrange reloc handling to handle ELF relocs that are not
	partial_inplace.  Resolve PC relative relocs.
1994-03-12 03:26:12 +00:00
Ian Lance Taylor 0a6ffe9cfd Remove ppc.em; do it all in nlmconv instead. 1994-03-12 03:19:27 +00:00
Ken Raeburn 63ca2e81fd Some alpha-ecoff and vax-vms related changes. 1994-03-11 23:13:37 +00:00
Ken Raeburn 7d5366dd28 Include aout/stab_gnu.h.
(N_GSYM, ..., N_LENG): Deleted.
(NO_RELOC): Undefine before defining as part of enum reloc_type.
1994-03-11 23:07:26 +00:00
Ken Raeburn c17f46667a (Close_VMS_Object_File): Add comment pointing out some code that doesn't belong
in this file.
1994-03-11 23:07:00 +00:00
Ian Lance Taylor be22008b2c * config/tc-mips.c (mips_ip): Accept numbers between 0x8000 and
0xffff for 'j' to be compatible with MIPS assembler.  These
	numbers are actually treated as negative.
1994-03-11 23:00:17 +00:00
Per Bothner e9e5a8dcb9 Add name of submitter for previous check-in. 1994-03-11 20:59:53 +00:00
Per Bothner 545f07da90 * config.guess: Recognize i[34]86-unknown-freebsd. 1994-03-11 20:58:16 +00:00
Jim Kingdon 8e4c7b3e25 * main.c (main): When printing warning about bad baud rate, don't
use warning(); it relies on current_target which isn't set up yet.
1994-03-11 18:18:47 +00:00