Commit Graph

1281 Commits

Author SHA1 Message Date
Ken Raeburn 1be3cf74ed ic960coff.mt typo fix 1994-03-19 01:29:36 +00:00
Ken Raeburn a9997275f9 (TDEFINES): Fixed typo (MANY_SECTIONS, not MANY_SEGMENTS). 1994-03-19 01:26:55 +00:00
Ken Raeburn 634233a31b * configure.in: Eliminated all targets using obj-coff but not defining
BFD_ASSEMBLER; I think all such targets that are supported will be matched by
real CPU-OS combinations earlier in the case statement.

(targets *-*-coff*, *-sysv*, *-*-sco*, *-*-sysv32): Deleted.  Made some
comments about the dpx2 configuration, but left it disabled, since it couldn't
be reached before.
(target a29k-amd-ebmonold): Deleted.
1994-03-19 01:24:19 +00:00
Jeff Law 80b849167a * gas/hppa/unsorted/importbug.s: New test.
* gas/hppa/unsorted/unsorted.exp: Run it.
1994-03-17 21:40:06 +00:00
Jeff Law 49ccc55510 * config/tc-hppa.c (pa_import): Correctly handle importing of an
already defined symbol.
1994-03-17 21:37:42 +00:00
Jeff Law 067654f143 * gas/hppa/more.parse/regpopbug.s: Add trivial .equ test. 1994-03-17 00:50:41 +00:00
Jeff Law c38c91dadb * config/tc-hppa.c (pa_equ): Handle both .reg and .equ correctly. 1994-03-17 00:49:30 +00:00
Ian Lance Taylor 614a3211d4 * config/tc-mips.c (mips_ip): Only accept overly large values for
the 'j' operand if there are no further alternatives for this
	instruction.
1994-03-16 23:49:55 +00:00
Jeff Law f04a9a1ea1 * gas/hppa/unsorted/globalbug.s: New test (expected to fail).
* gas/hppa/unsorted/unsorted.exp: Run it.
1994-03-16 23:24:53 +00:00
Jeff Law 7f8b9d66f5 * gas/hppa/more.parse/callinfobug.s: New test.
* gas/hppa/omre.parse/parse.exp: Run it.
1994-03-16 22:44:14 +00:00
Jeff Law f2ada9106d * config/tc-hppa.c (pa_callinfo): Accept "millicode" as an
argument to a .callinfo directive.  Don't loop forever on errors.
1994-03-16 22:42:51 +00:00
Ian Lance Taylor d6e6bc1c52 * config/obj-coffbfd.c (adjust_stab_section): Initialize
stabstrseg to SEG_UNKNOWN, not -1.  After loop, check whether it
	is not SEG_UNKNOWN rather than checking whether it is >= 0.
1994-03-16 22:22:17 +00:00
Ian Lance Taylor 23dc1ae33d * config/tc-mips.c (mips_align): Take new argument, label, and use
it instead of global insn_label.
	(s_align, s_cons, s_float_cons, s_gpword): Save insn_label before
	call to mips_emit_delay and pass it to mips_align.
1994-03-16 22:16:02 +00:00
Jeff Law 2573e71c0e * gas/hppa/more.parse/regpopbug.s: New test.
* gas/hppa/more.parse/parse.exp: Run it.
1994-03-16 19:58:31 +00:00
Ken Raeburn f1b4e13156 version 2.0 -> 2.2.1 1994-03-15 20:39:26 +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
Ken Raeburn 954979ca8b various configuration changes, obj-coff change 1994-03-14 20:20:00 +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
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
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
David Edelsohn 2c6db5a158 * config/tc-sparc.h (LOCAL_LABEL): Local labels are .Lfoo. 1994-03-10 21:37:21 +00:00
Stan Shebs 623d4854fc a belated reflection of changed MPW files 1994-03-09 20:32:48 +00:00
Ken Raeburn 9e12fbbc67 alpha, coff, i386 changes 1994-03-09 02:45:29 +00:00
Ken Raeburn 40cd35fffd Handle Alpha load-immediate-FP pseudo-instructions:
* config/alpha-opcode.h (ldif, ldig, ldis, ldit): New patterns.
* config/tc-alpha.c (lit8_sec, lit4_sec, lit8_sym, lit4_sym): New variables.
(create_literal_section): New function.
(create_lita_section): Now a macro.
(get_lit8_offset, get_lit4_offset): New functions.
(maybe_set_gp): New function.
(select_gp_value): Call it.
(load_expression): Preserve addend if symbol is a section symbol.
(alpha_ip): Handle new operand type `F' for floating-point constants; store
them in .lit{4,8} sections.
(alpha_ip, case 'G'): Emit LITUSE relocations for symbol exprs.
1994-03-09 02:44:00 +00:00
Ken Raeburn 055a75ef75 * config/obj-coff.c: Minor formatting/stylistic changes, plus:
(obj_coff_section): Declare.
(obj_pseudo_table): Make it available only if MANY_SECTIONS.
(obj_symbol_to_chars) [CROSS_COMPILE]: Some attemps to make this work.  It
still doesn't.  It now fails to compile, instead of silently compiling to do
nothing.
* config/obj-coff.h (SEPARATE_STAB_SECTIONS): Define only if MANY_SECTIONS.
(OBJ_PROCESS_STAB) [! MANY_SECTIONS]: New macro, just emits a warning.
1994-03-09 02:42:57 +00:00
Steve Chamberlain 2bac8c544f * config/obj-coffbfd.c (w_strings): Only copy strings out if
their symbols are going to be written.
1994-03-08 22:30:58 +00:00
Ian Lance Taylor 33e61c95a2 Set Emacs local variables to never use version control. 1994-03-08 19:16:31 +00:00
Ian Lance Taylor d16938f52e * messages.c (as_perror): Declare arguments const.
* as.h (as_perror): Change declaration.
1994-03-08 16:51:28 +00:00
Ian Lance Taylor 8ea7f4e854 * config/tc-mips.c (load_address): When calling frag_grow, allow
for the (up to) two nops which may be inserted by append_insn if
	mips_optimize is 0.
	(macro): Likewise.
1994-03-07 21:12:26 +00:00
David Edelsohn fa47b47eee * config/atof-ieee.c (make_invalid_floating_point_number):
Add cast to avoid warning from gcc.
1994-03-03 19:39:12 +00:00
Ken Raeburn 1535ff15c7 Removed comment about internals documentation in as.texi; just say that the
internals need documenting.
1994-03-03 02:31:21 +00:00
Ken Raeburn 74a88e8b27 Add some notes from tege on .align for alpha and i386 that I want to deal with
sometime, when I've got time.
1994-03-02 22:43:28 +00:00
Jeff Law fb338f1d79 * config/tc-hppa.c: Add a few casts to make HP C compiler happy.
* config/obj-som.c (obj_som_version, obj_som_copyright): Be prepared
        to handle an error from bfd_som_attach_aux_hdr.
1994-03-02 20:02:17 +00:00
Jeff Law 34b1685053 * config/tc-hppa.h: Wrap ELF specific decls inside an ifdef. 1994-03-02 18:31:57 +00:00
Rob Savoye d8e882a899 Change "error" to "perror". 1994-03-02 05:00:26 +00:00
Rob Savoye 6e2194f077 Change "error" to "perror" everywhere. 1994-03-02 02:59:43 +00:00
Ken Raeburn 994fde6d80 960-coff, alpha changes 1994-02-28 21:15:06 +00:00
Ken Raeburn 30869211ae (md_atof): Omit warning about FP values.
(line_comment_chars): Add ! to list.
(md_apply_fix): Do process 32- and 64-bit relocations.
1994-02-28 21:13:23 +00:00
Ken Raeburn c535f6bca6 * configure.in (i960-*-coff, i960-*-vxworks5.*): Use coffbfd, and gas_target
ic960coff.
* config/ic960coff.mt: New file.
* config/obj-coffbfd.h [TC_I960]: Include coff/i960.h.
(TARGET_FORMAT) [TC_I960]: Use coff-Intel-little.
* config/te-ic960.h (CROSS_COMPILE): Don't undef this.  We'll always build
little-endian object files.
* config/tc-i960.c (md_reloc_size): Don't define at all if BFD or
BFD_ASSEMBLER is defined.
(mem_fmt): Since COFF doesn't handle callx relocations yet, treat them like
normal 32-bit relocations.
(md_apply_fix): For callx relocations, store zero.
(tc_bout_fix_to_chars): Store symbol idx for all callx relocations, regardless
of link-relax setting.
(tc_coff_fix2rtype, tc_coff_sizemachdep): New functions.
(i960_handle_align) [! OBJ_BOUT]: If link-relax option is selected, print an
error message and clear it.
* config/tc-i960.h (BFD_ARCH, COFF_FLAGS, COFF_MAGIC, TC_COUNT_RELOC,
TC_COFF_FIX2RTYPE, TC_COFF_SIZEMACHDEP, tc_fix_adjustable): New macros.
(tc_coff_fix2rtype, tc_coff_sizemachdep): Declare.
1994-02-28 21:11:17 +00:00
Ken Raeburn 442f17dc56 (obj_coff_lcomm): Put "#if 0" around the unused parts (most of the function).
(obj_coff_init_stab_section): Cast alloca result.
1994-02-28 21:06:26 +00:00
Ken Raeburn d193d76268 * lib/gas-defs.exp (objdump): New proc.
(objdump_start): Deleted unused proc.
(objdump_start_common): Merged into objdump_start_no_subdir.

* gas/alpha/fp.exp: Use objdump instead of objdump_start_no_subdir, since the
former actually waits for objdump to finish.  Specify .rdata section only.
Make comment indicate Alpha architecture rather than SPARC.
* gas/alpha/fp.d: Omit .reginfo patterns.  Just use "." to match
against ASCII code 0x2a ("*", special in regexp).
* gas/sun4/addend.exp: Use objdump instead of objdump_start_no_subdir.
1994-02-28 20:00:10 +00:00