Commit graph

3526 commits

Author SHA1 Message Date
Ken Raeburn
aa2e0460a0 * config/tc-mips.c (mips_5400): New variable.
(md_begin, md_parse_option): Handle 5400 options/names.
(macro_build, mips_ip): Check for 5400-specific instructions.
(md_longopts, OPTION_M5400, OPTION_NO_M5400): More command-line support for
5400.

* config/tc-mips.c (validate_mips_insn): New function, checks match versus mask
bits, and also verifies that all bits to be output are actually specified
somewhere.
(md_begin): Call it for 32-bit instructions, instead of doing match/mask check
here.  In case of failure, print a message, but check the rest of the opcode
table before exiting.
1997-10-31 23:21:44 +00:00
Nick Clifton
6e3fcdf01c Fixes to Thumb ADR pseudo op from Tony Thompson at ARM (athompso@arm.com). 1997-10-30 21:44:05 +00:00
Ian Lance Taylor
605ca21a04 add tx49 sanitization 1997-10-30 16:38:29 +00:00
Michael Meissner
42cf65557e Allow odd registers for ld2w and friends 1997-10-30 16:12:36 +00:00
Gavin Romig-Koch
4ebda395f1 * config/tc-mips.c (hilo_interlocks): True for tx49.
(md_begin): Add mips64tx49.
	(md_parse_option): Add 4900 cpu.

	* gas/mips/mips.exp: Add tx49 configury.
1997-10-29 21:40:09 +00:00
Ian Lance Taylor
e59390a7eb * config/tc-ppc.c (md_assemble): When handling @l, always sign
extend if the operand expects a signed value.
PR 13667.
1997-10-24 21:29:10 +00:00
Ian Lance Taylor
c14d0cc015 * config/tc-mips.h (LOCAL_LABELS_DOLLAR): Don't define; use
default which is to permit dollar labels.
PR 13645.
1997-10-24 20:03:16 +00:00
Richard Henderson
1bb6aaad34 Fri Oct 24 11:19:22 1997 Jakub Jelinek <jj@sunsite.mff.cuni.cz>
* config/tc-sparc.c (sparc_memory_model): New variable.
        (md_longopts): Add -TSO/-PSO/-RMO options.
        (md_parse_options): Handle them.
        (sparc_elf_final_processing): For 64 ELF, set required
        memory ordering in e_flags. Default to RMO and let the user
        override it through command line.

        * config/tc-sparc.h (elf_tc_final_processing): Add.
1997-10-24 18:20:36 +00:00
Richard Henderson
1277cdda1c * config/tc-sparc.c (v9a_asr_table): New variable.
(sparc_ip): Handle v9a asr's.
        Patch from David Miller <davem@vger.rutgers.edu>.
1997-10-23 00:40:25 +00:00
Richard Henderson
7532235c09 * config/tc-sparc.h (md_do_align): New macro.
* config/tc-sparc.c (sparc_handle_align): Handle rs_align_code.
        Patch from Jakub Jelinek <jj@sunsite.mff.cuni.cz>.
1997-10-23 00:22:51 +00:00
Ken Raeburn
01c655cc45 sanitize law's 15 jul r5900 change 1997-10-22 21:34:33 +00:00
Ian Lance Taylor
82b4217bfd * config/tc-sh.c (sh_small): New variable.
(OPTION_SMALL): Define.
	(md_longopts): Add "small".
	(md_parse_option): Handle OPTION_SMALL.
	(md_show_usage): Mention -small.
	* config/tc-sh.h (sh_small): Declare.
	(SUB_SEGMENT_ALIGN): Handle sh_small.
	* config/obj-coff.h (TARGET_FORMAT): Check sh_small in TC_SH
	case.
PR 13580.
1997-10-22 20:13:54 +00:00
Ian Lance Taylor
517640d9b5 * config/tc-mips.c (macro): Correct handling of constant in M_LI_D
case in little endian mode.
1997-10-22 16:52:46 +00:00
Doug Evans
61a60a8a70 * config/tc-sparc.c (md_apply_fix3, cases ..._H44, ..._HIX22): Leave
overflow signalling to linker.
1997-10-21 17:23:12 +00:00
Doug Evans
70ee778220 * configure.in (sparc64): Set arch to v9-64.
* configure: Regenerated.
1997-10-20 20:02:28 +00:00
Ian Lance Taylor
9659c18b39 Various fixes for openvms/alpha. 1997-10-20 19:43:05 +00:00
Ian Lance Taylor
71e0e8f9e8 Mon Oct 20 14:54:06 1997 Klaus K"ampf <kkaempf@progis.de>
* config/obj-evax.c: support .weak pseudo-op
1997-10-20 18:56:21 +00:00
Doug Evans
595da85d72 * tc-sparc.c (default_arch_size): New static local.
(struct sparc_arch): Rename arch_size to default_arch_size.
	New member user_option_p.
	(sparc_arch_table): Always include v9, v9a.  New entry v9-64.
	(init_default_arch): Check whether default arch is valid.
	Set default_arch_size in addition to sparc_arch_size.
	(OPTION_32,OPTION_64): Define.
	(md_longopts): New entries for -32, -64.
	(md_parse_option): Handle them.
	(md_show_usage): Print them.  Ensure init_default_arch called.
1997-10-20 17:23:10 +00:00
Ian Lance Taylor
66a6a38139 * write.c (subsegs_finish): New function, broken out of
write_object_file.
	(write_object_file): Some code moves into subsegs_finish.
	* write.c (subsegs_finish): Declare.
	* as.c (main): Call subsegs_finish.
Fixes last frag when generating a listing for a file with an error.
1997-10-19 18:14:01 +00:00
Ian Lance Taylor
891a158431 * read.c (s_include): Check for error return from
demand_copy_string.
PR 13566.
1997-10-19 17:51:31 +00:00
Jeff Law
f08be001ae * gas/ieee-fp/x930509a.s: Tweak slightly to work on the PA.
[ pseudo-ops and directives must not start in column zero on the PA. ]
1997-10-15 16:40:48 +00:00
Jeff Law
e35cf6e4e9 * gas/hppa/unsorted/unsorted.exp: Update for recent disassembler
changes.
1997-10-15 16:37:03 +00:00
Richard Henderson
08ce71f5c4 * read.c (get_line_sb): Accept any eol marker while scanning macros. 1997-10-15 03:56:30 +00:00
Richard Henderson
10b8f7f036 * config/tc-alpha.h (DIFF_EXPR_OK): Define.
* config/tc-i386.h (DIFF_EXPR_OK): Define.
        * config/tc-alpha.c (md_apply_fix): Notice fx_pcrel and substitute
        the correct relocation when it exists.
        * config/tc-i386.c (md_apply_fix3): Likewise.
        * config/tc-ppc.h: Correct typo in comment.
        * config/tc-v850.h: Likewise.
1997-10-15 02:17:00 +00:00
Andrew Cagney
a0a5f4e2bd Allow assembler to make parallel instructions where there the seconds
(latter) outputs intersect with the first (earlier) inputs.
1997-10-13 23:17:22 +00:00
Richard Henderson
856f843eef * ecoff.c (PAGE_SIZE): Double to 8k as a hack to allow some C++
templated programs to build with -g.
1997-10-13 22:28:35 +00:00
Nick Clifton
de0e22c1bf Added .tcomon section initialisation. 1997-10-11 01:02:07 +00:00
Nick Clifton
c280609300 Jim fixed the fixups for conditional and unconditional branches.
Added code to support the bss and common sections in thr ZDA and SDA areas.
1997-10-11 00:55:57 +00:00
David Edelsohn
e01e18a8b3 * configure.in (sparc): Set DEFAULT_ARCH from correct target.
* configure: Regenerated.
1997-10-10 22:02:59 +00:00
Martin Hunt
b83565def8 Fri Oct 10 11:22:45 1997 Martin M. Hunt <hunt@cygnus.com>
* config/tc-d10v.c: Fixes to make sure the AT_WORD
	expression is not confused with -1.
1997-10-10 18:22:59 +00:00
Andrew Cagney
528859ea3f Flag SP as modified for @-sp operand - OPERAND_ATMINUS. 1997-10-10 05:59:16 +00:00
Michael Meissner
719ddab4cc Do not allow auto inc/dec to parallelize with an instruction that uses the index register 1997-10-10 04:50:36 +00:00
David Edelsohn
2feb07dc3f * gas/sparc/set64.[sd]: `set' doesn't take negative arguments. 1997-10-10 01:19:45 +00:00
Ian Lance Taylor
15ab76e50d From Robin Kirkham <Robin.Kirkham@mlb.dmt.csiro.au>:
* config/tc-m68k.c (archs): Add 68306, 68307, 68322, 68356, 68334,
	68336, 68341, 68349.
	* doc/c-m68k.texi (M68K-Opts): Add -m68ec000 -m68hc000 -m68hc001
	-m68306, -m68307, -m68322, -m68356, -m68ec020, -m68ec030,
	-m68ec040, -m68ec060, -m68330, -m68334, -m68336, -m68341,
	-m68349.
1997-10-09 19:30:16 +00:00
Ian Lance Taylor
57f269b1c0 * doc/Makefile.am (CPU_DOCS): Define.
(as.info): Depend upon $(CPU_DOCS).
	* doc/Makefile.in: Rebuild.
1997-10-09 19:22:15 +00:00
Ian Lance Taylor
ed1ed9f9dc * configure.in: Remove AM_PROG_INSTALL; it's called by
AM_INIT_AUTOMAKE.
	* configure: Rebuild.
1997-10-09 19:20:14 +00:00
Joern Rennecke
c7b2ac2856 * config/tc-d10v.c (write_2_short): Fix bug that wouldn't allow
to pair a branch and link with anything but an exe instruction.
Fix for gas/13494.
1997-10-09 18:37:16 +00:00
Joern Rennecke
d78d367107 * tc-d10v.h (TC_START_LABEL): Don't define.
(tc_frob_label): Define.
Fix for gas/13307.
1997-10-09 18:28:59 +00:00
Frank Ch. Eigler
bda3fc0083 * gas/sparc/set64.d: Update for recent disassembler changes.
* gas/sparc/splet.d: Likewise.
1997-10-09 18:04:54 +00:00
Ian Lance Taylor
c7020f0843 * gas/arm/arm7t.d: Update for recent disassembler changes.
* gas/h8300/ffxx1.d: Likewise.
1997-10-09 17:01:48 +00:00
Richard Henderson
8a8a91a5b7 * config/tc-alpha.c (load_expression): Disable the sym+const .got
optimization to reduce the alignment surprises for gcc.
1997-10-08 23:40:54 +00:00
David Edelsohn
8ac26d165e * gas/sparc/reloc64.[sd]: Add testcases for %hix,%lox. 1997-10-08 23:24:06 +00:00
David Edelsohn
54b9ebdd55 * config/obj-coff.h (TC_SPARC): Don't define TARGET_FORMAT.
* config/tc-sparc.c (sparc_target_format): Handle coff here.
	(sparc_ip): Add %hix,%lox.
	(md_apply_fix3): Call as_bad_where, not as_bad.
	Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
	(tc_gen_reloc): Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
1997-10-08 23:13:52 +00:00
Ian Lance Taylor
2f0e18834b * gas/sparc/synth.d: Update for recent disassembler changes.
* gas/sparc/synth64.d: Likewise.
1997-10-08 19:57:20 +00:00
Richard Henderson
0170f1c38a Change alpha-*-* to alpha*-*-*; config.guess now
recognizes alphaev5 etc.
1997-10-08 19:36:17 +00:00
Ian Lance Taylor
32ec65d51d * gas/mips/beq.s: Add .text to .globl to mark the symbol to as a
function symbol.
	* gas/mips/jal.s: Likewise.
1997-10-08 19:13:38 +00:00
Frank Ch. Eigler
840496f196 Fixed small typo in tcl expr syntax. 1997-10-08 16:28:50 +00:00
Gavin Romig-Koch
6fd819cfff config/tc-mips.c (md_begin): Replace the TARGET_CPU value
of mipsr3900 with mipstx39.

config/tc-mips.c (mips_ip): Don't print the 'opcode requires
-mipsXX message' if the insn isn't an ISA insn.
1997-10-08 04:17:08 +00:00
Gavin Romig-Koch
fdc16ba046 tx19 sanitize fixes. 1997-10-08 01:40:35 +00:00
Frank Ch. Eigler
d8c0268e57 Updated first round of test suite drivers to accept symbol-offset
listings from "objdump" disassembly with or without the new "0x"
	prefix before hexadecimal numbers.
1997-10-08 01:37:52 +00:00
David Edelsohn
8fab865a94 reloc64.[sd]: New testcase. 1997-10-07 20:29:49 +00:00
David Edelsohn
4913666781 * config/tc-sparc.h (TARGET_FORMAT support): Moved to tc-sparc.c.
Redefine TARGET_FORMAT to call sparc_target_format.
	* config/tc-sparc.c (in_unsigned_range): New function.
	(sparc_arch_size): Make static.
	(sparc_target_format): New function.
	(sparc_ip): Delete variable immediate_max.  Rewrite %hi/etc reloc
	handling.  Add support for %hh,%hm,%lm,%h44,%m44,%l44.
	(output_insn): Set `fx_no_overflow'.
	(md_apply_fix3): Handle BFD_RELOC_SPARC_{7,H44,M44,L44}.
	(tc_gen_reloc): Likewise.
1997-10-07 19:53:17 +00:00
Stan Shebs
eb9c5f1c7c Remove sanitized-out Magic Cap support, will never be released 1997-10-06 23:39:29 +00:00
Nick Clifton
a9da34ae13 Remove v850 specific section directive. 1997-10-06 21:02:27 +00:00
Ian Lance Taylor
b15d0449a8 * gas/ieee-fp/x930509a.exp: Accept m68k listing format. 1997-10-04 23:15:26 +00:00
Ian Lance Taylor
a3e8c5b712 * config/tc-mips.c: Undef OBJ_COPY_SYMBOL_ATTRIBUTES before
including obj-elf.h in OBJ_MAYBE_ELF case.
	(mips_target_format): Return NULL after abort to avoid warning.
1997-10-03 21:46:04 +00:00
Ian Lance Taylor
0e7c7b89b0 * ecoff.c (generate_ecoff_stab): Remove unused static function. 1997-10-03 21:44:41 +00:00
Ian Lance Taylor
1175a6c6da * expr.c (operator): Accept ==. From Anders Blomdell
<anders.blomdell@control.lth.se>.
1997-10-03 21:36:42 +00:00
Ian Lance Taylor
a657bc190c * gas/ieee-fp/x930509a.exp: Remove setup_xfail; it should now
work.  Correct for big endian and for tabs in input file.

	* gas/alpha/fp.exp: Check for alpha-*-osf*, not alpha-*-osf1*.
	* gas/alpha/fp.s: Change comment characters from ! to #.
1997-10-03 19:47:46 +00:00
Ian Lance Taylor
7e5c196e86 * config/atof-ieee.c (gen_to_words): When generating a denormal
number, handle an overflow into the smallest normalized number.
1997-10-03 19:43:34 +00:00
Joern Rennecke
002e8e4db2 * as.h, input-scrub.c (new_logical_line): New return value.
* read.c (s_app_file): Don't note the same file several times
        in a row.
Fix for PR 12277
1997-09-29 15:10:56 +00:00
Ian Lance Taylor
89b308f49c * config/tc-m68k.c (m68k_ip): Remove ` operand specifier. 1997-09-25 17:11:57 +00:00
Ian Lance Taylor
469adf23a1 * config/tc-m68k.c (m68k_ip): Handle q and v operand specifiers. 1997-09-24 23:02:53 +00:00
Ian Lance Taylor
5e4e4739a7 Wed Sep 24 16:54:40 1997 Joel Sherrill <joel@oarcorp.com>
* configure.in (sh*-*-rtems*): New target, like sh-*-elf*.
	* configure: Rebuild.
1997-09-24 20:58:30 +00:00
Ian Lance Taylor
c1503b2824 * doc/c-i386.texi (i386-Float): Remove incorrect assertion that
fn* instructions do not insert implicit fwait.  This was changed
	Jan 29, 1996.
1997-09-24 18:14:53 +00:00
Ian Lance Taylor
fdfabd68a2 * config/m68k-parse.y (yylex): Permit an expression to be used for
the scale factor.
PR 13393.
1997-09-24 16:50:04 +00:00
Ian Lance Taylor
3d07d76670 * Makefile.am (EXTRA_as_new_SOURCES): Set to config/m68k-parse.y,
not m68k-parse.y.
	* Makefile.in: Rebuild.
1997-09-24 16:27:14 +00:00
Ian Lance Taylor
b5db0960f3 * aclocal.m4: Rebuild with new libtool.
* configure: Rebuild.
1997-09-24 15:34:43 +00:00
Ian Lance Taylor
15cfc4ad72 * app.c (do_scrub_chars): Clear mri_state at end of .mri
pseudo-op.
1997-09-23 22:10:55 +00:00
Ian Lance Taylor
d70bab105d * config/tc-mips.c (hilo_interlocks): Change from a static
variable to a macro, so that it varies with the variables upon
	which it depends.
	(gpr_interlocks, cop_interlocks): Likewise.
	(md_begin): Don't initialize them.
1997-09-23 21:49:22 +00:00
Jeff Law
4e96260fd0 vr5900 -> r5900 1997-09-23 16:36:19 +00:00
Ian Lance Taylor
edc8c0897b only remove more.parse if it exists 1997-09-22 15:29:33 +00:00
Ken Raeburn
6438209c60 don't sanitize out empty directories if they're not here (e.g., 'cvs co -P') 1997-09-22 01:06:25 +00:00
Ken Raeburn
1f4d2212ef Lose the empty directories only if they exist; otherwise Sanitize complains. 1997-09-22 00:27:36 +00:00
Nick Clifton
ae6ecba5b4 Fixed sanitization bugs. 1997-09-21 17:44:16 +00:00
Nick Clifton
8f3c5ddbde Removed v850eq sanitization.
Added Things-to-loose entries for unspecifed/empty directories.
1997-09-21 00:19:41 +00:00
Nick Clifton
03c41a1cf3 Remove use of sanitization to select target CPU. This is now done based
on the contents of the configuration string TARGET_CPU.
1997-09-20 22:46:30 +00:00
Jeff Law
e205ecb8a6 * config/tc-mn10300.c (md_assemble): Use strcasecomp instead
of strcmp where appropriate.

Fixes problem in one of mec's prs.
1997-09-19 23:09:08 +00:00
David Edelsohn
945229abcd Update sparc -A/-xarch docs. 1997-09-19 01:06:57 +00:00
David Edelsohn
2b09622a0d * config/tc-sparc.c: (lookup_arch,init_default_arch): New functions.
(default_arch,default_init_p,sparc_arch_table): New static locals.
	(sparc_arch_size): New static local.
	(max_architecture): Initialize in init_default_arch.
	(md_parse_options): Call init_default_arch if necessary.
	Rewrite -xarch/-A processing.
	(md_show_usage): Print -A values from sparc_arch_table.
	(md_begin): Call init_default_arch if necessary.
	(sparc_md_end): Handle both 32 and 64 bit environments.
	* config/tc-sparc.h (TARGET_FORMAT): Likewise.
	* acconfig.h (SPARC_V9,SPARC_ARCH64): Delete.
	(DEFAULT_ARCH): Add.
	* config.in: Regenerate.
	* configure.in (sparc): Default DEFAULT_ARCH based on target cpu.
	(SPARC_V9,SPARC_ARCH64): Delete.
	* configure: Regenerate.
	* config/vms-conf.h (SPARC_V9,SPARC_ARCH64): Delete.
1997-09-19 00:57:16 +00:00
Nick Clifton
46ad7d6ccb Reset processor mask if specified by command line switch 1997-09-19 00:43:54 +00:00
David Edelsohn
4a56e55061 * gas/sparc/splet.d: Update to new objdump output format.
* gas/sparc/{asi.d,membar.d,prefetch.d,rdpr.d,wrpr.d}: Likewise.
	* gas/sparc/set64.[ds]: New testcase.
	* gas/sparc/splet-2.[ds]: New testcase.
	* gas/sparc/sparc.exp: Run them.
1997-09-18 23:45:12 +00:00
David Edelsohn
33472d2c4d * gas/sparc/{asi.d,membar.d,prefetch.d,rdpr.d,wrpr.d}: Update to new
objdump output format.
	* gas/sparc/set64.[ds]: New testcase.
	* gas/sparc/splet-2.[ds]: New testcase.
	* gas/sparc/sparc.exp: Run them.
1997-09-18 23:44:43 +00:00
Nick Clifton
2b36e4c294 Oops - fixed typos in previous delta. 1997-09-18 23:15:05 +00:00
Nick Clifton
6df3c45f79 Proced error messages when special data are relocations are used on
instructions which do not support them.
1997-09-18 22:16:18 +00:00
David Edelsohn
af6f39b4c4 * config/tc-sparc.c: Reorganize file.
(SPECIAL_CASE_NONE): New macro.
	(md_assemble): Use it.
1997-09-18 21:12:06 +00:00
Nick Clifton
920b87c437 Added code to cope with a constant offset to a ZDA relocation. 1997-09-18 21:09:14 +00:00
David Edelsohn
90a579fafd * config/tc-sparc.c (parse_keyword_arg): Allow numbers in reg names. 1997-09-18 18:25:50 +00:00
David Edelsohn
71bb7df45d * gas/sparc/splet.d: Update to new objdump output format. 1997-09-18 18:18:22 +00:00
David Edelsohn
01dae9e24c Remove arc sanization. 1997-09-18 18:17:07 +00:00
David Edelsohn
bdb836d160 Remove arc sanitization. 1997-09-18 18:15:14 +00:00
Felix Lee
3e906c081a sanitization fixes. typoes, missing fences, "start" instead of "end", etc. 1997-09-18 06:03:52 +00:00
Felix Lee
88770c1c90 add missing files. 1997-09-18 04:56:22 +00:00
Felix Lee
e1625ed217 v850 files that weren't being removed if !keep-v850 1997-09-18 01:33:24 +00:00
Nick Clifton
00fd8294ca Corrected spelling mistake! 1997-09-18 00:43:19 +00:00
Nick Clifton
936a8f5549 Added support for ctoff() reloc prefix. 1997-09-17 23:55:26 +00:00
Nick Clifton
752851788a Add support for a 16 bit relocation against the TDA register! 1997-09-16 21:16:15 +00:00
Ken Raeburn
41f19f2b99 merge from d30v-970225-branch, plus bugfixes for 64-bit host 1997-09-16 19:28:44 +00:00
Jeff Law
896e248fe0 * config/tc-hppa.c (fix_new_hppa): Make declaration match
definition.
Net bug.
1997-09-16 03:26:12 +00:00
Nick Clifton
d30a2be45d Added checking of instructions against target cpu. 1997-09-16 01:34:03 +00:00
Gavin Romig-Koch
3836d0f309 * gas/config/tc-mips.c (mips_1900): Replace with mips_3900 and
mips16.
	* gas/testsuite/gas/mips/mips.exp: Handle r3900 and r1900.
	* gas/testsuite/gas/mips/ld-ilocks: New file.
	* gcc/config/mips/mips.h, gcc/config/mips/r1900.h: Implement r1900
	as r3900 with mips16.
1997-09-15 21:45:20 +00:00
Ken Raeburn
a611b1c2fd merge from d30v-970225-branch 1997-09-15 18:43:44 +00:00
Nick Clifton
210c24d6d1 Fixed sanitization 1997-09-10 21:00:03 +00:00
Nick Clifton
756adc97a3 Added v850 emulation. 1997-09-10 17:05:00 +00:00
Ian Lance Taylor
dac3209048 remove mentions of ARC 1997-09-10 15:25:25 +00:00
Gavin Romig-Koch
318b499d8e Support tx19 sanitation. 1997-09-10 04:53:18 +00:00
David Edelsohn
25533a3822 Remove arc sanitization. 1997-09-10 00:25:16 +00:00
David Edelsohn
29b35953e3 ARC port no longer sanitized. 1997-09-10 00:24:09 +00:00
David Edelsohn
fda193d9e7 * Makefile.am (CPU_TYPES): Add arc.
(TARGET_CPU_CFILES): Add tc-arc.c.
	(TARGET_CPU_HFILES): Add tc-arc.h.
	(dependencies): Rebuild.
	* Makefile.in: Rebuild.
1997-09-10 00:16:08 +00:00
David Edelsohn
53bdc990f5 Remove arc sanitization. 1997-09-10 00:00:04 +00:00
Nick Clifton
73a0402821 Correcte dscription of hi() reloc prefix. Added description of hi0() reloc prefix. 1997-09-09 23:54:40 +00:00
Nick Clifton
eb21b6b66b Added documentation if hilo() reloc prefix. 1997-09-09 23:13:26 +00:00
Nick Clifton
9153e64334 Add new holio() reloc prefix. 1997-09-09 23:12:59 +00:00
Nick Clifton
92fdb58284 Added documentation for new command line options and pseudo ops. 1997-09-09 17:41:55 +00:00
Nick Clifton
1ffec08198 Add new pseudo ops: .v850, .v850e and .v850eq to specify the target processor. 1997-09-09 17:18:42 +00:00
Ian Lance Taylor
47423a9209 Support -alh and -ald for DWARF 1:
* listing.c (struct list_info_struct): Add debugging field.
	(listing_newline): Initialize the debugging field.  If ELF, if the
	section starts with .debug or .line, set the debugging field in
	the listing structure.
	(debugging_pseudo): Add list parameter.  Change all callers.  If
	the debugging field is set, consider it to be a debugging pseudo.
	If ELF, skip blank lines between debugging lines.
	* read.c (emit_expr): If ELF, look for line numbers.
	(stringer): If ELF, look for file names.
PR 13210.
1997-09-09 03:13:29 +00:00
Nick Clifton
b0b262f797 Only test for immediaqte overflow if there is no insertion function. 1997-09-08 23:17:55 +00:00
Nick Clifton
8816811b85 Add command line option to specify processor type. 1997-09-08 22:03:09 +00:00
David Edelsohn
19a1867285 * gas/m32r/high-1.[ds]: New testcase.
* gas/m32r/m32r.exp: Run it.
1997-09-08 21:22:11 +00:00
Nick Clifton
1fd5f4fc62 Added -mwarn_unsigned_overflow so that defuault is to treat unsigned
values as signed values if they start to overflow.
1997-09-08 19:32:05 +00:00
Ian Lance Taylor
bb43449667 * as.h: Don't declare alloca if it is a macro.
* macro.c: Likewise.
1997-09-08 15:34:59 +00:00
Gavin Romig-Koch
b637f306ba tx19 and related necessary changes.
* config.sub: Add tx19/r1900.
	* sim/mips/configure.in, sim/mips/gencode: Add tx19/r1900.
	* gcc/config.sub, gcc/configure: Add tx19/r1900.
	* gcc/config/mips/r1900.h, config/mips/t-r1900: New.
	* gas/config/tc-mips.c: Add tx19/r1900.

	* gcc/config/mips/mips.c: Don't build 16 bit to 32 bit stubs for
	TARGET_SOFT_FLOAT.

	* config.sub: Add "marketing-names" patch.
	* gcc/config.sub: Add "marketing-names" patch.

	* gcc/configure: Change "as" link from "../gas/as.new" to "../gas/as-new";
	Same for "ld" link.
1997-09-07 20:33:22 +00:00
Richard Henderson
4a04414ace * config/tc-alpha.c (md_parse_option): Move m[] out to top level and
rename to cpu_types[].
        (s_alpha_arch): New function.
        (md_pseudo_table): Add "arch".

        * config/tc-alpha.c (md_begin): Merge the two loops through the
        opcode table.
        (s_alpha_proc): Add initial SKIP_WHITESPACE.
        (s_alpha_set): Likewise.  Use get_symbol_end instead local while loop.
1997-09-07 07:35:50 +00:00
Fred Fish
8183bd07fd * read.h (s_lcomm_bytes): Add prototype (for real this time). 1997-09-07 02:40:40 +00:00
Ian Lance Taylor
662df350f9 * config/obj-elf.c (elf_frob_symbol): Only set BSF_OBJECT for
symbols on Irix.
1997-09-04 16:11:06 +00:00
Nick Clifton
6ff87eadf9 Removed v850 sanitization. 1997-09-03 23:06:11 +00:00
Nick Clifton
2d27848430 Removed the BFD_RELOC_V850_16_PCREL. 1997-09-03 18:19:50 +00:00
Jeff Law
d37ce7639b * config/tc-mn10200.c (md_convert_frag): PC relative instructions arex
relative to the next instruction, not the current instruction.
        (md_assemble): Similarly.

pr13171
1997-09-03 00:33:47 +00:00
Nick Clifton
19ebb9e3b8 Explanations of offsets in SDA/ZDA areas fixed. 1997-09-02 23:03:19 +00:00
Nick Clifton
ccf107185d Support for new relocations added. Support for SDA/TDA/ZDA sections added. 1997-09-02 23:01:27 +00:00
Andrew Cagney
28e1e54d13 * config/tc-v850.c (md_assemble): Use opcode->name instead of
opcode->opcode as the sentinal. Zero is a valid opcode.
1997-09-02 05:50:40 +00:00
Joern Rennecke
bf5ac1b8ed SH4 assembler extensions. 1997-08-29 19:03:06 +00:00
Ian Lance Taylor
11959ebc14 * doc/as.texinfo (Machine Dependencies): Add v850 to menu.
* doc/c-v850.texi: Change node name to match other chapter nodes.
1997-08-26 20:52:49 +00:00
Ian Lance Taylor
90b83993d8 * expr.c (integer_constant): If BFD64, don't make a bignum if the
number will fit in 64 bits.
1997-08-26 19:25:44 +00:00
Ian Lance Taylor
4b231a267c * config/tc-alpha.c (load_expression): Check explicitly for O_big,
rather than calling abort.
1997-08-26 19:12:10 +00:00
Ian Lance Taylor
a089d2da97 * as.h: Don't define alloca if __GNUC__. Just declare it.
* macro.c: Copy alloca handling from as.h.
1997-08-26 19:10:48 +00:00
Ian Lance Taylor
977d53fc87 * config/tc-i386.c (i386_align_code): Correct 16 bit noops. From
Gabriel Paubert <paubert@iram.es>.
1997-08-26 17:27:21 +00:00
Nick Clifton
3f221096b9 Corrected name of tiny data area label. 1997-08-26 16:46:05 +00:00
Ian Lance Taylor
625ea5db80 Use address size prefix for loopw as for jcxz. 1997-08-26 16:33:34 +00:00
Ian Lance Taylor
02bdbd8b5d * config/tc-i386.c (md_assemble): In JumpByte case, when looking
for a WORD_PREFIX_OPCODE, change it to ADDR_PREFIX_OPCODE if this
	is jcxz.
1997-08-26 16:25:03 +00:00
Nick Clifton
b688e04e29 Set machine architecture and type. 1997-08-25 23:03:24 +00:00
Ian Lance Taylor
2051ec0e35 * symbols.c (resolve_symbol_value): Store the value back into the
symbol expression, to handle add or subtract simplification
	correctly.  Handle O_symbol_rva.  Add default case.
1997-08-25 19:55:14 +00:00
Ian Lance Taylor
a77b3837e3 * config/tc-ppc.c (ppc_change_csect): Temporarily lower the
chunksize while creating the new subsection.
	* as.c (chunksize): Initialize to zero.
	* subsegs.c (subseg_set_rest): Change 5000 to chunksize when
	calling obstack_begin.
1997-08-25 18:29:11 +00:00
Nick Clifton
cf735d2a93 Support constant expressions as register lists. 1997-08-25 18:21:02 +00:00
David Edelsohn
30249a6ad0 * gas/m32r/relax-1.[ds]: New testcase.
* gas/m32r/m32r.exp: Run it.
1997-08-25 18:05:44 +00:00
Nick Clifton
9c506dfb5d Fixed node name. 1997-08-25 17:18:21 +00:00
Nick Clifton
2b3e0f9e1e Switch from C++ style comment to C style. 1997-08-25 16:41:18 +00:00
Ian Lance Taylor
f6c44ed302 fix v850 sanitization 1997-08-23 16:34:55 +00:00
Nick Clifton
68eaa14109 Added documentation of v850 assembler options. 1997-08-22 23:37:00 +00:00
Nick Clifton
d72d8c59f9 Make the NUL character be considered to be a line terminator. 1997-08-22 18:14:35 +00:00