Commit Graph

1957 Commits

Author SHA1 Message Date
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
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
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
Felix Lee
3e906c081a sanitization fixes. typoes, missing fences, "start" instead of "end", etc. 1997-09-18 06:03:52 +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
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
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
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
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
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