Stu Grossman [Wed, 4 May 1994 21:42:06 +0000 (21:42 +0000)]
* chardefs.h, rldefs.h: Move decls of string funcs from chardefs.h
to rldefs.h so that they don't pollute apps that include
readline.h.
* history.c: include rldefs.h to get decls of string funcs.
Ken Raeburn [Wed, 4 May 1994 20:24:51 +0000 (20:24 +0000)]
* config/te-dpx2.h (TARGET_FORMAT, REGISTER_PREFIX_OPTIONAL): Define.
* configure.in (m68k-bull-sysv3*): Enable.
Ian Lance Taylor [Wed, 4 May 1994 20:22:15 +0000 (20:22 +0000)]
* config/m68k.mt (EMUL): Set to m68kaout.
* emulparams/m68kaout.sh: New file.
* Makefile.in (ALL_EMULATIONS): Add em_m68kaout.o.
(em_m68kaout.c): New target.
Ian Lance Taylor [Wed, 4 May 1994 19:58:58 +0000 (19:58 +0000)]
* config/tc-m68k.h (TARGET_FORMAT): If not TE_SUN3, define as
"a.out-zero.big".
Ian Lance Taylor [Wed, 4 May 1994 19:37:36 +0000 (19:37 +0000)]
For PR 1927.
Changed m68k-aout to set flags to 0; m68k-sunos still uses 1.
* aout0.c: New file.
* targets.c (aout0_big_vec): Declare.
(bfd_target_vector): Add aout0_big_vec.
* config.bfd (m68*-*-aout*): Use m68k-0aout, not m68k-aout.
* config/m68k-aout.mt (SELECT_VECS): Removed.
* config/m68k-0aout.mt: New file.
* configure.in (aout0_big_vec): New target vector: use aout0.o,
aout32.o and stab-syms.o.
* Makefile.in: Rebuilt dependencies.
(BFD32_BACKENDS): Add aout0.o.
(CFILES): Add aout0.c.
* libaout.h (struct aout_backend_data): Add field exec_hdr_flags.
* aout-target.h (MY_exec_hdr_flags): If not defined, define as 0.
MY(backend_data): Initialize exec_hdr_flags field.
* aoutf1.h (sunos_32_set_arch_mach): Make static.
(aout32_sunos4_write_object_contents): Set flags from backend
info.
(MY_exec_hdr_flags): If not defined, define as 1.
(sunos4_aout_backend): Initialize exec_hdr_flags field.
* aout-encap.c (encap_write_object_contents): Set flags from
backend info.
(MY_exec_hdr_flags): Define as N_FLAGS_COFF_ENCAPSULATE.
* hp300hpux.c (MY_exec_hdr_flags): Define as 0x2.
(MY(write_object_contents)): Set flags from backend info.
* i386aout.c (MY(backend_data)): Initialize exec_hdr_flags field.
* i386mach3.c (MY(backend_data)): Likewise.
* mipsbsd.c (MY(backend_data)): Likewise.
* sparclynx.c (NAME(aout,sparclynx_write_object_contents)): Set
flags from backend info.
(sparclynx_aout_backend): Initialize exec_hdr_flags field.
Stan Shebs [Wed, 4 May 1994 19:19:44 +0000 (19:19 +0000)]
Wed May 4 12:15:11 1994 Stan Shebs (shebs@andros.cygnus.com)
* configure.in (rs6000-bull-bosx*): New configuration, RS/6000
variant.
Fixes PR 4903.
Ken Raeburn [Wed, 4 May 1994 17:38:50 +0000 (17:38 +0000)]
coff_gnu deletion
Ken Raeburn [Wed, 4 May 1994 17:33:50 +0000 (17:33 +0000)]
not used
Ken Raeburn [Wed, 4 May 1994 17:31:36 +0000 (17:31 +0000)]
* config.bfd (i386-*-gnu*): Treat like i386-*-mach*.
(m68*-apollo-*): Treat all Apollo configs the same, don't handle BSD specially.
Ian Lance Taylor [Wed, 4 May 1994 16:14:00 +0000 (16:14 +0000)]
For PR 4906.
* ldlang.c (lang_size_sections): If dot moves because of an
assignment, don't try to insert a pad into the absolute output
section, just change the address of the default memory region
instead.
Ian Lance Taylor [Wed, 4 May 1994 16:00:30 +0000 (16:00 +0000)]
* Makefile.in (mostlyclean): Remove cdtest.tmp, cdtest-ur,
cdtest-ur.out, and cdtest-ur.tmp.
Ian Lance Taylor [Wed, 4 May 1994 15:31:17 +0000 (15:31 +0000)]
* config/obj-coffbfd.c (fixup_segment): Make common symbol and PC
relative adjustments when TE_LYNX is defined as well as when
TC_I386 is defined.
Jim Kingdon [Wed, 4 May 1994 15:24:41 +0000 (15:24 +0000)]
* valprint.c (print_longest): Clarify comment about use_local.
* printcmd.c, defs.h (print_address_numeric), callers in
symmisc.c, symfile.c, stack.c, source.c, remote.c, infcmd.c,
cp-valprint.c, core.c, ch-valprint.c, c-valprint.c, breakpoint.c,
exec.c: New argument use_local.
* source.c (identify_source_line): Use filtered output. Use
print_address_numeric.
Jim Kingdon [Wed, 4 May 1994 14:20:32 +0000 (14:20 +0000)]
* core.c (memory_error), symtab.c (cplusplus_hint, decode_line_1),
language.c (type_error, range_error): Use filtered output.
* utils.c (error_begin): Update comment to tell people to use
filtered output.
Jim Kingdon [Wed, 4 May 1994 14:04:34 +0000 (14:04 +0000)]
* Makefile.in (HFILES_WITH_SRCDIR): List bfd.h.
(HFILES_NO_SRCDIR): List gdbcore.h not gdbcore_h, so as not to get
bfd.h.
Jim Kingdon [Wed, 4 May 1994 13:28:23 +0000 (13:28 +0000)]
* remote.texi (MIPS Remote): Say that set timeout doesn't apply
when waiting for your program to stop.
Ken Raeburn [Wed, 4 May 1994 07:08:44 +0000 (07:08 +0000)]
adjust_symtab, as.h changes
Ken Raeburn [Wed, 4 May 1994 06:32:20 +0000 (06:32 +0000)]
i386-gnu config, coff sync, i960 coff changes
Ken Raeburn [Wed, 4 May 1994 06:29:30 +0000 (06:29 +0000)]
(i386-*-gnu*): New target, handled like i386-mach.
Ken Raeburn [Wed, 4 May 1994 06:19:26 +0000 (06:19 +0000)]
* obj-coff.h (TARGET_FORMAT) [TC_I960]: Select little endian version.
* obj-coffbfd.h (TARGET_FORMAT) [TC_I960]: Ditto.
* obj-coff.c (coff_frob_section): Round up the size of every section to a
multiple of the alignment, so that BFD doesn't surprise us.
Eliminate many simple differences between the two COFF back ends:
* obj-coffbfd.c: Removed all uses of DEFUN and DEFUN_VOID. Made minor
stylistic changes, deleted some register declarations.
(stack_top): Deleted.
(symbol_to_chars): Use absolute_section and reg_section instead of the
corresponding SEG_* symbols.
(obj_coff_endef, tag_find_or_make, fixup_segment): Likewise.
(stack typedef, stack_init, stack_delete, stack_push, stack_pop): Moved to just
after pseudo-op table. All functions now static.
(stack_delete): Removed declaration.
(tag_init, tag_insert, tag_find_or_make, tag_find): Moved to just after stack
functions.
* obj-coffbfd.h: Reordered some declarations and macros.
(stack_init, stack_delete, stack_push, stack_pop): Don't declare.
(stack typedef): Deleted.
(SYMBOLS_NEED_BACKPOINTERS): Always undef then define; don't test.
(SYM_AUXENT): New macro.
(SA_GET_*, SA_SET_*): Define in terms of SYM_AUXENT when feasible.
(SF_GET_*, SF_SET_*): Define in terms of SF_GET when feasible.
(SA_GET_SYM_TAGNDX, SA_GET_SYM_ENDNDX, SA_SET_SYM_TAGNDX, SA_SET_SYM_ENDNDX,
object_headers typedef, data_section_header, text_section_header): Delete
non-BFD_HEADERS versions, since we always define that symbol now.
* obj-coff.c (stack_top): Deleted.
(obj_coff_endef, obj_coff_dim, obj_coff_line, obj_coff_size, obj_coff_scl,
obj_coff_tag, obj_coff_type, obj_coff_val): Change argument name from "ignored"
to "ignore".
(obj_coff_val): Use frag_now_fix.
(obj_pseudo_table): Removed IGNORE_DEBUG version, since it doesn't get used.
(stack typedef, stack_init, stack_delete, stack_push, stack_pop): Moved to just
after pseudo-op table. All functions now static.
(tag_init, tag_insert, tag_find_or_make, tag_find): Moved to just after stack
functions.
* obj-coff.h: Reordered some declarations and macros. Protected against
multiple inclusions.
(stack_init, stack_delete, stack_push, stack_pop): Don't declare.
(stack typedef): Deleted.
(SYMBOLS_NEED_BACKPOINTERS): Always undef then define; don't test.
(stdoutput): Deleted declaration.
(TARGET_FORMAT) [TC_I386]: Don't define if already defined.
Ken Raeburn [Wed, 4 May 1994 05:45:43 +0000 (05:45 +0000)]
* configure.in (i[34]86-*-sco*): Move to be with other i386 targets.
(romp-*-*): New target. Skip various binary utilities.
(vax-*-*): New target. Don't build newlib.
(vax-*-vms): Renamed from *-*-vms. Don't build opcodes or newlib.
Ian Lance Taylor [Tue, 3 May 1994 23:58:06 +0000 (23:58 +0000)]
* cache.c: Rewrote to work correctly.
* libbfd.h: Rebuilt.
* opncls.c (bfd_cache_init, bfd_open_file): Don't declare.
(bfd_fdopenr): Check return value of bfd_cache_init.
Jim Kingdon [Tue, 3 May 1994 15:13:26 +0000 (15:13 +0000)]
* procfs.c (procfs_wait): Reinstate code which deduces the signal
from the fault, #ifndef FAULTED_USE_SIGINFO.
* config/sparc/tm-sun4sol2.h: Define FAULTED_USE_SIGINFO.
Ian Lance Taylor [Tue, 3 May 1994 00:15:24 +0000 (00:15 +0000)]
Remove obsolete files. Add mt-slite to .Sanitize.
Steve Chamberlain [Mon, 2 May 1994 23:20:10 +0000 (23:20 +0000)]
Kill three year old cruft.
Stan Shebs [Mon, 2 May 1994 22:51:34 +0000 (22:51 +0000)]
Keep Lynx linker scripts.
Ian Lance Taylor [Mon, 2 May 1994 21:26:55 +0000 (21:26 +0000)]
* subsegs.h (segment_info_type): Use fix_tail field even if
BFD_ASSEMBLER.
* subsegs.c (subseg_change): Initialize fix_tail field.
(subseg_get): Likewise.
* write.c (frags_chained): New static variable.
(fix_new_internal): If frags_chained is set, use fix_root and
fix_tail from seg_info (now_seg), rather than frchain_now.
(chain_frchains_together_1): Set fix_tail field.
(chain_frchains_together): Set frags_chained.
Jim Kingdon [Sat, 30 Apr 1994 01:31:49 +0000 (01:31 +0000)]
* annotate.texi (Breakpoint Info): Document annotation of header
fields and record annotation.
Jim Kingdon [Sat, 30 Apr 1994 01:30:28 +0000 (01:30 +0000)]
* breakpoint.c (breakpoint_1): Annotate each field of the headers.
Explicitly annotate each record.
Stan Shebs [Sat, 30 Apr 1994 00:04:43 +0000 (00:04 +0000)]
Fri Apr 29 15:56:18 1994 Stan Shebs (shebs@andros.cygnus.com)
* xcoffexec.c: Reformat to standards and lint.
(language.h): Include.
(exec_close): Declare arg "quitting".
(file_command): Declare arg "from_tty".
(map_vmap): Cast xmalloc result to PTR.
* rs6000-nat.c: Reformat to standards and lint.
(exec_one_dummy_insn): Use char array for saved instruction.
(fixup_breakpoints): Declare.
(vmap_ldinfo): Be more informative in fatal error messages.
(xcoff_relocate_symtab): Define to return void.
* xcoffsolib.h: Reformat to standards, improve comments.
* config/rs6000/nm-rs6000.h (xcoff_relocate_symtab): Declare.
Stan Shebs [Fri, 29 Apr 1994 21:41:14 +0000 (21:41 +0000)]
Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
* Makefile.in (RUNTEST): Default to just "runtest".
Ian Lance Taylor [Fri, 29 Apr 1994 19:09:51 +0000 (19:09 +0000)]
* cf-m68klynx.c (CALC_ADDEND): Check for PC relative relocs by
enumerating them, since the reloc type can not serve as an index
into the m68k COFF howto_table.
Steve Chamberlain [Fri, 29 Apr 1994 16:51:18 +0000 (16:51 +0000)]
lint.
Steve Chamberlain [Fri, 29 Apr 1994 16:48:25 +0000 (16:48 +0000)]
* config.bfd (*-go32): Changed to coff.
* coff-h8300.c (JMPL1): Get HOWTO right for 24bit branches.
* srec.c (srec_write_symbols): Write out the correct number of
symbols and don't stick in extra nulls.
Steve Chamberlain [Fri, 29 Apr 1994 16:44:48 +0000 (16:44 +0000)]
* coff-h8300.c (JMPL1): Get HOWTO right for 24bit branches.
Ken Raeburn [Fri, 29 Apr 1994 15:46:36 +0000 (15:46 +0000)]
keep disassemble.c
Jim Kingdon [Fri, 29 Apr 1994 00:04:16 +0000 (00:04 +0000)]
new window management code
Ken Raeburn [Thu, 28 Apr 1994 22:59:09 +0000 (22:59 +0000)]
* m68k-dis.c (print_insn_m68k): If F_ALIAS flag is set, skip the opcode being
examined.
David MacKenzie [Thu, 28 Apr 1994 22:04:49 +0000 (22:04 +0000)]
* configure.in: Only set host_makefile_frag if config
directory exists.
Bill Cox [Thu, 28 Apr 1994 21:49:40 +0000 (21:49 +0000)]
Back-migrate minor changes in these files from 94Q1 progressive into devo:
dejagnu/ChangeLog, dejagnu/Makefile.in,
dejagnu/example/calc/Makefile.in, dejagnu/lib/remote.exp,
dejagnu/testsuite/Makefile.in,
dejagnu/testsuite/runtest.all/options.exp,
gcc/testsuite/config/unix.exp, gdb/testsuite/Makefile.in,
ld/ChangeLog, newlib/testsuite/ChangeLog, texinfo/testsuite/ChangeLog
Jim Kingdon [Thu, 28 Apr 1994 21:43:10 +0000 (21:43 +0000)]
* annotate.texi: New file, to document annotations.
Jim Kingdon [Thu, 28 Apr 1994 21:38:15 +0000 (21:38 +0000)]
* utils.c, defs.h (error_begin): New function.
(quit): Print annotation before printing the error message.
* main.c (return_to_top_level): Print annotation before doing the
longjmp.
* symtab.c (decode_line_1): Call error not warning and then
return_to_top_level. Call error_begin and printf_unfiltered
rather calling warning (before calls to return_to_top_level).
* core.c (memory_error): Use error_begin, printf_unfiltered,
print_address_numeric and return_to_top_level instead of error.
Cleans up a FIXME-32x64.
* language.c (type_error, range_error): Call error_begin
not just target_terminal_ours.
Jim Kingdon [Thu, 28 Apr 1994 20:10:45 +0000 (20:10 +0000)]
* dbxread.c (stabsect_build_psymtabs): Assign to sym_stab_info
directly, rather than via DBX_SYMFILE_INFO. A cast on the left
side of an assignment is non-portable.
Jim Kingdon [Thu, 28 Apr 1994 19:47:46 +0000 (19:47 +0000)]
add gdba.el
Jim Kingdon [Thu, 28 Apr 1994 19:46:25 +0000 (19:46 +0000)]
x
Jim Kingdon [Thu, 28 Apr 1994 19:43:30 +0000 (19:43 +0000)]
* annotate.texi: New file, to document annotations.
Jim Kingdon [Thu, 28 Apr 1994 18:34:29 +0000 (18:34 +0000)]
Oops, wrong file name
Jim Kingdon [Thu, 28 Apr 1994 18:34:28 +0000 (18:34 +0000)]
new, emacs gdb mode with annotation stuff
Jim Kingdon [Thu, 28 Apr 1994 16:54:02 +0000 (16:54 +0000)]
* annotate.texi: New file, to document annotations.
Jim Kingdon [Thu, 28 Apr 1994 16:04:36 +0000 (16:04 +0000)]
(prompt_for_continue): Likewise for prompt-for-continue annotation.
Jim Kingdon [Thu, 28 Apr 1994 15:48:15 +0000 (15:48 +0000)]
* utils.c (query): Change syntax of query annotations to be
consistent with other input annotations.
Jim Kingdon [Thu, 28 Apr 1994 14:43:44 +0000 (14:43 +0000)]
new, to document annotations
Peter Schauer [Thu, 28 Apr 1994 08:29:22 +0000 (08:29 +0000)]
* mdebugread.c (psymtab_to_symtab_1): Do not call sort_blocks
for stabs symtabs.
* mips-tdep.c (mips_skip_prologue): Handle prologues for functions
that have a stack frame size of 32k or larger (from Paul Flinders).
Remove #if 0'd code.
Ken Raeburn [Thu, 28 Apr 1994 06:25:53 +0000 (06:25 +0000)]
* config/tc-mips.c (s_option): Only refer to g_switch_* variables if GPOPT is
defined.
(s_abicalls): Ditto.
(md_apply_fix): Cast char* to unsigned char* to avoid pointer mismatch.
Stan Shebs [Wed, 27 Apr 1994 23:35:49 +0000 (23:35 +0000)]
Wed Apr 27 16:33:51 1994 Stan Shebs (shebs@andros.cygnus.com)
* lynx-nat.c (CANNOT_STORE_REGISTER): Add a fallback definition
for Lynx platforms that need it.
* config/nm-lynx.h (__LYNXOS): Define if not already defined.
Jim Kingdon [Wed, 27 Apr 1994 23:10:26 +0000 (23:10 +0000)]
* procfs.c (procfs_wait): Use the signal from the pr_info rather
than trying to deduce it from the fault.
Ian Lance Taylor [Wed, 27 Apr 1994 20:04:55 +0000 (20:04 +0000)]
* scripttempl/sa29200.sc: Align all sections to four byte
boundaries.
Steve Chamberlain [Wed, 27 Apr 1994 19:31:08 +0000 (19:31 +0000)]
* printcmd.c (print_address_symbolic): Initialize name to empty
string to avoid core dump if lookup fails.
* remote-e7000.c (printf_e7000debug): Error if target not open.
David MacKenzie [Wed, 27 Apr 1994 19:19:56 +0000 (19:19 +0000)]
* install.sh: If $dstdir exists, don't check whether each component does.
Steve Chamberlain [Wed, 27 Apr 1994 18:30:33 +0000 (18:30 +0000)]
* h8300.h (dec, inc): Get encoding right.
Steve Chamberlain [Wed, 27 Apr 1994 18:27:18 +0000 (18:27 +0000)]
* Makefile.in (syslex, sysinfo): Use CC_FOR_BUILD.
* coffdump.c, coffgroc.c, coffgrog.h, srconv.c, sysdump.c,
sysroff.info: Major changes.
Steve Chamberlain [Wed, 27 Apr 1994 18:19:42 +0000 (18:19 +0000)]
Fix dos on H'digits..
Steve Chamberlain [Wed, 27 Apr 1994 18:15:14 +0000 (18:15 +0000)]
* configure.in (i386-*-go32): Uses coff now.
* gasp.c (main): Now takes -D on command line.
(show_usage): Describe new options.
Steve Chamberlain [Wed, 27 Apr 1994 18:03:31 +0000 (18:03 +0000)]
More testcases.
Steve Chamberlain [Wed, 27 Apr 1994 17:52:13 +0000 (17:52 +0000)]
* Makefile.in, configure.in: Support for go32 coff.
* config/i386-go32.mt: New file
* emulparams/i386go32.sh: New file
* scripttempl/i386go32.sc: New file
Ken Raeburn [Wed, 27 Apr 1994 17:19:58 +0000 (17:19 +0000)]
Trying to make yesterday's "simplification" actually work...
Stu Grossman [Wed, 27 Apr 1994 05:50:42 +0000 (05:50 +0000)]
* nlm/gdbserve.c (putDebugChar): Install bug fix from i386-nlmstub.
* (hex2mem): Init ptr.
* General cleanups to use ConsolePrintf, standard prologues, etc...
Stu Grossman [Wed, 27 Apr 1994 05:50:14 +0000 (05:50 +0000)]
* i386-nlmstub.c: Update to be more in line with PIN stub.
* nlm/gdbserve.c (putDebugChar): Install bug fix from i386-nlmstub.
* (hex2mem): Init ptr.
* General cleanups to use ConsolePrintf, standard prologues, etc...
Jeff Law [Wed, 27 Apr 1994 05:24:08 +0000 (05:24 +0000)]
* gdb.t17/callfuncs.exp: More comments about t_func_values tests.
* gdb.t17/gdbme.c (t_func_values): Add comments about how and why
the code has been restructured.
Stu Grossman [Wed, 27 Apr 1994 01:39:38 +0000 (01:39 +0000)]
[Sharp eyes, Jim...]
* remote.c:
* (get_offsets): Temporary kludge to force data & bss sections to
have the same relocation.
Stan Shebs [Wed, 27 Apr 1994 01:27:49 +0000 (01:27 +0000)]
Remove new Mac files.
Stan Shebs [Wed, 27 Apr 1994 01:21:56 +0000 (01:21 +0000)]
Tue Apr 26 18:18:24 1994 Stan Shebs (shebs@andros.cygnus.com)
* objdump.c (print_section_stabs): Indicate the stab header symbol
more clearly, print numbers of unrecognized stab n_type values.
Stan Shebs [Wed, 27 Apr 1994 01:17:25 +0000 (01:17 +0000)]
Tue Apr 26 18:10:40 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-xconfig.in (archname): Only set ARCH_mips if targeting Mips.
Stan Shebs [Wed, 27 Apr 1994 00:55:59 +0000 (00:55 +0000)]
Tue Apr 26 17:44:27 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-make.in (MacGDB): New target, standalone Mac-hosted gdb.
(XDEPFILES): Define.
(main.c.o): Compile with gC instead of C.
* mac-defs.h: New file, menu etc definitions shared between
C and Rez files.
* macgdb.r: New file, Rez (resource compiler) resource
definitions.
* mac-xdep.c: New file, Mac host interface code.
* config/m68k/xm-mpw.h (PATHNAME_SEPARATOR): Rename to
DIRNAME_SEPARATOR.
(PATHNAME_SEPARATOR_STRING): Remove.
(SIGQUIT, SIGHUP): Define.
(fileno, R_OK): Define.
Stan Shebs [Wed, 27 Apr 1994 00:31:11 +0000 (00:31 +0000)]
Tue Apr 26 17:20:03 1994 Stan Shebs (shebs@andros.cygnus.com)
* Makefile.in (em_m68klynx.c, em_i386lynx.c, em_sparclynx.c): Use
Lynx-specific script templates.
* configure.in (sparclite*-*-coff): Use coff-sparc.
* emulparams/i386lynx.sh (SCRIPT_NAME): Set to i386lynx.
* emulparams/sparclynx.sh (SCRIPT_NAME): Set to sparclynx.
(ENTRY): Set to __main.
* scripttempl/i386lynx.sc: New file, script for I386 Lynx.
* scripttempl/m68klynx.sc: Add insertion of ctor/dtor sections.
* scripttempl/sparclynx.sc: New file, script for uSparc Lynx.
Stu Grossman [Tue, 26 Apr 1994 22:39:20 +0000 (22:39 +0000)]
* i386-nlmstub.c: More changes to be compatible with remote.c.
Ken Raeburn [Tue, 26 Apr 1994 22:22:51 +0000 (22:22 +0000)]
m68k changes - optional reg pfx, apollo, delta, init
Ken Raeburn [Tue, 26 Apr 1994 22:21:15 +0000 (22:21 +0000)]
* tc-m68k.c (flag_reg_prefix_optional): New variable. Initialized to value of
REGISTER_PREFIX_OPTIONAL, if defined, or zero.
(m68k_reg_parse): If flag_reg_prefix_optional is set, permit register prefix to
be absent.
(m68k_ip_op): Accept `&' also for immediate constants.
(insert_reg): Don't bother with (two!?) sanity checks of the symbol table when
inserting each register.
(m68k_parse_long_option): New function. Set flag_reg_prefix_optional if
"register-prefix-optional" is passed.
* tc-m68k.h (REGISTER_PREFIX): Always define if not already defined.
(OPTIONAL_REGISTER_PREFIX): Don't define.
(REGISTER_PREFIX_OPTIONAL): If not already defined, define as zero
or one depending on M68KCOFF.
Some changes to help Apollo support, from troy@cbme.unsw.edu.au:
* tc-m68k.c (DATA, ADDR, SP, FPREG, COPNUM, BAD, BAC): Define as macros instead
of enumerators, since the Apollo compiler can't handle "enumVal1, enumVal2 =
enumVal1" when defining an enum type.
(make_pcrel_absolute) [NO_PCREL_RELOCS]: New function.
(tc_coff_fix2rtype) [NO_PCREL_RELOCS]: Generate only R_RELBYTE, R_DIR16, and
R_DIR32 relocs.
* tc-m68k.h [TE_APOLLO] (COFF_MAGIC, COFF_AOUTHDR_MAGIC): Use Apollo versions.
[TE_APOLLO] (OBJ_COFF_OMIT_OPTIONAL_HEADER): Undefine. That is, do include the
optional header for Apollo target.
(COFF_MAGIC): Don't define as MC68MAGIC if it's already defined.
* tc-m68k.h [TE_DELTA] (LEX_PCT): Define as 1, so that `%' can be used within a
label name.
* tc-m68k.h (m68k_init_after_args): Declare.
(tc_init_after_args): Define as m68k_init_after_args.
* tc-m68k.c (m68k_init_after_args): New function, containing one-shot code from
md_assemble. Added warning for combination of 68040 and 68851.
(md_assemble): Startup-time code deleted.
Ian Lance Taylor [Tue, 26 Apr 1994 22:12:16 +0000 (22:12 +0000)]
* test-build.mk (HOLES): Add sleep; used by rcs/src/conf.sh.
Stan Shebs [Tue, 26 Apr 1994 22:10:10 +0000 (22:10 +0000)]
Tue Apr 26 15:07:24 1994 Stan Shebs (shebs@andros.cygnus.com)
* cf-sparclynx.c (LYNXOS, COFF_LONG_FILENAMES): Define.
* coff-sparc.c (BADMAG): Recognize LYNXCOFFMAGIC.
(COFF_SPARC): Define.
* coffcode.h (coff_new_section_hook): If COFF_SPARC, set alignment
power of data and bss sections to 3.
* hosts/lynx.h (__LYNXOS): Define.
Brought over from 94Q1.
Jeff Law [Tue, 26 Apr 1994 22:06:13 +0000 (22:06 +0000)]
* elf32-hppa.c (hppa_elf_reloc): Adjust the addend of relocations
against section symbols to avoid losing during ld -r.
Stan Shebs [Tue, 26 Apr 1994 21:56:36 +0000 (21:56 +0000)]
Mon Apr 25 15:06:34 1994 Stan Shebs (shebs@andros.cygnus.com)
* configure.in (*-*-lynxos*): Don't configure newlib for either
native or cross Lynx.
Brought over from 94Q1.
Ian Lance Taylor [Tue, 26 Apr 1994 21:49:45 +0000 (21:49 +0000)]
* scripttempl/mips.sc: Force _gp and .lit8 to be aligned to a 16
byte boundary, in case the global constructors do not take up an
even 16 bytes.
Stan Shebs [Tue, 26 Apr 1994 21:45:10 +0000 (21:45 +0000)]
Tue Apr 26 12:54:52 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-config.in (elf/mips.h): Add a forward include.
Ken Raeburn [Tue, 26 Apr 1994 21:28:49 +0000 (21:28 +0000)]
* config/obj-coffbfd.c (fill_section): Check COFF_NOLOAD_PROBLEM
also before setting STYP_NOLOAD for .bss section.
Ken Raeburn [Tue, 26 Apr 1994 21:26:04 +0000 (21:26 +0000)]
* listing.c (list_symbol_table): Print "NO DEFINED SYMBOLS" and "NO UNDEFINED
SYMBOLS" if there aren't any, instead of displaying the header with an empty
list.
Stan Shebs [Tue, 26 Apr 1994 19:53:12 +0000 (19:53 +0000)]
A slight simplication.
Stu Grossman [Tue, 26 Apr 1994 17:24:59 +0000 (17:24 +0000)]
* i386-nlmstub.c: An interim version till we get PIN for the x86.
Stu Grossman [Tue, 26 Apr 1994 17:14:52 +0000 (17:14 +0000)]
* dbxread.c (record_minimal_symbol): Record the section
associated with the symbol to make dynmaic relocation work.
* (dbx_symfile_read, process_one_symbol): Fixes to work around
Solaris brain-damage which don't apply to relocatable object
files.
* (stabsect_build_psymtabs): New routine to read stabs out of an
arbitrarily named section.
* nlmread.c (nlm_symtab_read): Read ALL syms from the NLM, not just
globals.
* (nlm_symfile_read): Call stabsect_build_psymtabs to read the
stabs out of the nlm.
* partial-stabs.h (cases 'f' & 'F'): Fixes to work around Solaris
brain-damage which don't apply to relocatable object files.
* remote.c (putpkt): Improve error reporting and error handling.
* stabsread.c (define_symbol, scan_file_globals): Record section
info in sym.
Ian Lance Taylor [Tue, 26 Apr 1994 16:42:52 +0000 (16:42 +0000)]
* config/i386v4.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not
exist, get crtbegin based on gcc -print-libgcc-file-name.
(HOSTING_LIBS): Similar change for ../gcc/crtend.o.
Ian Lance Taylor [Mon, 25 Apr 1994 20:19:54 +0000 (20:19 +0000)]
* doc/Makefile.in (clean, distclean): Remove asconfig.texi.
Ian Lance Taylor [Mon, 25 Apr 1994 20:15:04 +0000 (20:15 +0000)]
* Makefile.in (distclean): Remove $(PROGS) and underscore.c.
Ken Raeburn [Mon, 25 Apr 1994 19:55:03 +0000 (19:55 +0000)]
as.c, read.c log entries i forgot to check in friday
Ian Lance Taylor [Mon, 25 Apr 1994 19:52:15 +0000 (19:52 +0000)]
* elfcode.h (write_relocs): Undo patch of Apr 10; breaks Solaris.
Ian Lance Taylor [Mon, 25 Apr 1994 19:36:51 +0000 (19:36 +0000)]
* elfcode.h (bfd_section_from_shdr): Use bfd_make_section_anyway
to create sections. Check return value of recursive calls.
(bfd_section_from_phdr): Check return value of bfd_make_section.
(elf_symbol_from_bfd_symbol): Likewise.
(elf_object_p): Check return value of bfd_section_from_shdr.
(section_from_elf_index): Likewise.
(elf_slurp_symbol_table): Check return value of
section_from_elf_index.
(bfd_prstatus): Return boolean value. Check return value of
bfd_make_section.
(bfd_fpregset): Likewise.
(bfd_prpsinfo): Return boolean value.
(elf_corefile_note): Check return values of bfd_prstatus,
bfd_fpregset, and bfd_prpsinfo.
(elf_core_file_p): Check return value of elf_corefile_note.
Ian Lance Taylor [Mon, 25 Apr 1994 19:28:58 +0000 (19:28 +0000)]
* ldlang.c (lang_size_sections): When no address is given for a
section, align it according to its requirements.
Jeff Law [Sun, 24 Apr 1994 07:13:52 +0000 (07:13 +0000)]
* config/tc-hppa.c (pa_ip): 13 bit immediate constant (for break
instruction) is unsigned.
Jim Kingdon [Sun, 24 Apr 1994 02:07:53 +0000 (02:07 +0000)]
* breakpoint.c (breakpoint_1): Annotate each field of output. Add
FIXME-32x64 comment.
Jim Kingdon [Sat, 23 Apr 1994 03:00:04 +0000 (03:00 +0000)]
* infrun.c (wait_for_inferior): Move call to flush_cached_frames
to after call to target_wait. This means that flush_cached_frames
can call target_terminal_ours if it wants to.
* infrun.c (wait_for_inferior) [HAVE_NONSTEPPABLE_WATCHPOINT]: Add
comment about why the code is dubious.
Jim Kingdon [Fri, 22 Apr 1994 23:49:51 +0000 (23:49 +0000)]
* stabsread.c (read_type): Call read_type, not nonexistent
os9k_read_type.