Commit Graph

3196 Commits

Author SHA1 Message Date
Ian Lance Taylor
7257418129 * config/tc-sh.h (md_cons_align): Define.
(sh_cons_align): Declare.
	* config/tc-sh.c (md_pseudo_table): Add .uaword and .ualong.
	(sh_no_align_cons): New static variable.
	(s_uacons): New static function.
	(sh_cons_align): New function.
	(sh_handle_align): Warn about misaligned data.
	* doc/c-sh.texi: Document .uaword and .ualong.
PR 12528.
1997-06-06 21:17:46 +00:00
Nick Clifton
48e509bf2c Merged in changes made in armT-970328-branch 1997-06-04 00:07:07 +00:00
Nick Clifton
f8a2144336 Merged in the changes from the armT-970328-branch. 1997-06-03 23:25:43 +00:00
Nick Clifton
d0badeab7c Added support for Thumb architecture from armT-970328-branch. 1997-06-03 23:15:49 +00:00
Ian Lance Taylor
902f651590 add c-arm.texi 1997-06-03 15:35:47 +00:00
Nick Clifton
3357a5ab61 Added an enable of the ARM documentation. 1997-06-02 23:43:17 +00:00
Nick Clifton
2903fb6e85 Added ARM documentation from armT-970328-branch 1997-06-02 23:28:16 +00:00
Gavin Romig-Koch
753d2b3eb6 End the tests with no-ops. 1997-06-02 16:04:54 +00:00
Gavin Romig-Koch
5c6f5923c7 Add r3900 support. 1997-06-02 15:56:00 +00:00
Gavin Romig-Koch
2865e9a89c Improve messages from regexp_diff 1997-06-02 15:49:26 +00:00
Ian Lance Taylor
dccd4d2cf1 Thu May 29 12:58:26 1997 Ben Pfaff <pfaffben@pilot.msu.edu>
* as.c: (parse_args) `-t' option requires an argument.
1997-05-29 16:59:46 +00:00
Ian Lance Taylor
1d6f438f49 * Makefile.in: Rebuild dependencies. 1997-05-28 21:58:27 +00:00
Ian Lance Taylor
5ac3db53bb * config/tc-i386.c (tc_gen_reloc): Don't try to convert the type
of a BFD_RELOC_RVA reloc.
1997-05-28 20:17:55 +00:00
Jeff Law
f22950b920 * config/tc-hppa.c (tc_fix_adjustable): Reject absolute calls/jumps.
(hppa_force_relocation): Force a relocation for an absolute
        call/jump.
part of gcc/12343.
1997-05-28 16:48:32 +00:00
Ian Lance Taylor
1079e76c45 * doc/as.texinfo: Don't use @value in section names or index
entries; it confuses texinfo.tex.
1997-05-26 17:25:22 +00:00
Ian Lance Taylor
663282f0dd add depend.c 1997-05-23 20:15:59 +00:00
Tom Tromey
8a51eeafee * doc/as.texinfo: Updated for -MD option.
* Makefile.in (CFILES): Added depend.c.
        (OBJS): Added depend.o.
        * as.h (start_dependencies, register_dependency,
        print_dependencies): New declarations.
        * depend.c: New file.
        * as.c (parse_args): Added -MD option.
        (main): Call print_dependencies.
        (show_usage): Added help for -MD.
        * read.c (s_app_file): Call register_dependency.
        (s_include): Call register_dependency when file is found.
        (read_a_source_file): Call register_dependency.
1997-05-23 19:30:41 +00:00
Ian Lance Taylor
1a7a427ef1 * config/obj-coff.c (symbol_to_chars): If TE_PE, don't add the
section address to the symbol value.
1997-05-21 21:40:14 +00:00
Gavin Romig-Koch
e17449bcfd Move mips INSN_ISA subfield into new membership field. 1997-05-20 15:29:25 +00:00
Nick Clifton
de046e7c42 Fixed bug in previous delta. If no cpu type was specified on the command
line then the code used to default to setting an architecture of ARMv4T
rather than ARMv3M in the BFD library.  This has now been corrected.
1997-05-15 17:05:24 +00:00
Nick Clifton
46686c7839 Added support for storing ARM Procedure Calling Standard variant, and ARM
architecture variant in the BFD and COFF structures.  This goes towards
fixing PRs 11709 and 11326 and will integrate with future updates to LD and
GCC.
1997-05-14 17:00:43 +00:00
Jeff Law
2393a96689 * config/tc-mn10200.c (md_convert_frag): Prefix temporary
label name with ".".
        * config/tc-mn10300.c (md_convert_frag): Likewise.
1997-05-14 04:29:05 +00:00
Fred Fish
af942f1dc2 Fix thinko in previous change. 1997-05-13 19:00:57 +00:00
Ian Lance Taylor
cd05cc5e45 * config/tc-mips.c (set_at): Check for bignum.
(check_absolute_expr, macro, mips16_macro): Likewise.
PR 12296.
1997-05-13 18:46:47 +00:00
Fred Fish
7b02bacd3d * config/tc-tic80.c (md_apply_fix): Check PC relative relocations
for overflow/underflow, only insert lower 15 bits into instruction.
1997-05-13 17:55:41 +00:00
Ian Lance Taylor
98b4161aee Mon May 12 13:33:08 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* config/tc-i386.c (pi): Check for RegMMX.
1997-05-12 20:23:57 +00:00
Ian Lance Taylor
ee42e25b0c * expr.c (expr): When subtracting values in the same frag,
subtract X_add_number rather than adding it.
1997-05-08 15:10:55 +00:00
Ian Lance Taylor
a7b2f95a49 Wed May 7 16:18:30 1997 Manfred Hollstein <manfred@s-direktnet.de>
* gas/m88k/init.{s,d}: New checks for proper padding of
	.init sections.
	* gas/m88k/m88.exp: Run them.

	* gas/m68k/t2.d: New file for check of presence of section
	symbols on the m68k-motorola-sysv.
	* gas/m68k/all.exp: Run t2 if [istarget m68*-motorola-sysv].
1997-05-07 20:45:30 +00:00
Ian Lance Taylor
ae79a20bb8 * gas/mips/lifloat.s: Update for recent changes to floating point
handling.
	* gas/mips/lif-empic.d, gas/mips/lif-svr4pic.d: Likewise.
	* gas/mips/lif-xgot.d, gas/mips/lifloat.d: Likewise.

	* gas/mips/mips.exp: Handle Irix 6 like Irix 5.
1997-05-07 20:14:19 +00:00
Ian Lance Taylor
662a6d9e11 * config/obj-coff.c (write_object_file): Just pass NULL to
md_do_align, not the address of a char holding NOP_OPCODE.
Fixes a problem with the m88k SVR3 .init section as used by gcc.
1997-05-07 19:46:25 +00:00
Ian Lance Taylor
a5586bdc2f * config/tc-mips.c (macro): Handle constants for M_LI_D and
M_LI_DD.
	(mips_ip): For 'F', 'L', 'f', and 'l', generate a constant rather
	than an address if the floating point value looks sufficiently
	simple.
PR 12237.
1997-05-07 19:41:17 +00:00
Ian Lance Taylor
91951af61f * config/tc-i386.c (md_section_align): If a.out and BFD, force
section size to be aligned.
1997-05-06 16:19:04 +00:00
Ian Lance Taylor
0239838be4 * cond.c: Include "macro.h".
(struct conditional_frame): Add macro_nest field.
	(initialize_cframe): Initialize macro_nest.
	(cond_finish_check): Add nest parameter.  Change all callers.
	(cond_exit_macro): New function.
	* as.h (cond_finish_check): Update declaration.
	(cond_exit_macro): Declare.
	* input-scrub.c (macro_nest): Make globally visible.
	(input_scrub_next_buffer): Call cond_finish_check.
	* macro.h (macro_nest): Declare.
	* read.c (s_mexit): Call cond_exit_macro.
1997-05-06 00:54:37 +00:00
Ian Lance Taylor
454b0ccda0 * config/tc-i386.h (RegMMX): Define.
* config/tc-i386.c (pi): Check for all register types.
	(type_names): Add RegMMX.
	(md_assemble): Handle RegMMX.
1997-05-05 21:18:17 +00:00
Ian Lance Taylor
85ce56358f Tue Apr 29 20:23:10 1997 Jim Wilson <wilson@cygnus.com>
* config/tc-mips.c (nopic_need_relax): Add new parameter
	before_relaxing.  Use it when testing ecoff_extern_size.
	(load_address, macro, md_estimate_size_before_relax): Fix all
	callers.
1997-04-30 00:26:21 +00:00
Ian Lance Taylor
24d4b4e167 Tue Apr 29 19:54:36 1997 Richard Henderson <rth@tamu.edu>
* config/obj-elf.c (elf_pseudo_table): Add "subsection".
 	(obj_elf_subsection): New static function.
1997-04-29 23:55:42 +00:00
Ian Lance Taylor
4a38edaab7 * config/obj-coff.c (coff_header_append): Don't reset string_size
each time through the loop.
1997-04-29 23:53:26 +00:00
Ian Lance Taylor
1416631f2f * Makefile.in (DISTSTUFF): Add itbl-parse.h. 1997-04-25 18:19:53 +00:00
Ian Lance Taylor
8f9b2cea7f * doc/internals.texi (Porting GAS): Correct documentation for
current configure handling of targ-cpu.h, et. al.
	(CPU backend): Document listing macros.
1997-04-25 16:15:33 +00:00
Ian Lance Taylor
49f5a035dd * listing.c (data_buffer): Set size based on other listing macros,
rather than always using 100.
	(data_buffer_size): Remove static variable.
	(calc_hex): Make data_buffer_size a local variable.  Don't leave
	any slop when filling data_buffer.
1997-04-25 16:04:44 +00:00
Ian Lance Taylor
a21dd1e090 * doc/c-mips.texi: Document .set autoextend. 1997-04-21 19:33:57 +00:00
Ian Lance Taylor
e4f69291e6 Sat Apr 19 23:16:35 1997 Niklas Hallqvist <niklas@petra.appli.se>
* gas/mips/mips.exp: Handle OpenBSD like NetBSD.
1997-04-20 03:18:06 +00:00
Ian Lance Taylor
49f90a3443 Sat Apr 19 23:09:25 1997 Niklas Hallqvist <niklas@petra.appli.se>
* configure.in (i386-*-openbsd*, m68k-*-openbsd*,
	mips-dec-openbsd*, ppc-*-*bsd*, ns32k-pc532-openbsd*,
	sparc-*-openbsd*): New targets.
	* configure: Rebuild.
1997-04-20 03:15:48 +00:00
Ian Lance Taylor
aff65ed99d Sat Apr 19 22:52:03 1997 Jim Wilson <wilson@cygnus.com>
* config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT
	for all undefined symbols.
1997-04-20 02:53:22 +00:00
Ian Lance Taylor
fec391b1b5 * config/tc-ppc.c (ppc_fix_adjustable): Handle zero length csects
correctly.
1997-04-18 17:39:33 +00:00
Ian Lance Taylor
894cca2569 Fri Apr 18 11:51:35 1997 Niklas Hallqvist <niklas@appli.se>
* configure.in (alpha*-*-openbsd*): New target.
	* configure: Rebuild.
1997-04-18 15:52:33 +00:00
Ian Lance Taylor
fc984eb0a3 Thu Apr 17 13:59:47 1997 Per Fogelstrom <pefo@openbsd.org>
* configure.in (mips-*-openbsd*): New target.
	* configure: Rebuild.
1997-04-17 18:04:34 +00:00
Martin Hunt
4bdb83fcb9 Wed Apr 16 12:31:24 1997 Martin Hunt <hunt@cygnus.com>
* config/tc-d30v.c (parallel_ok): Fix parallel checking
	for instructions using conditional execution.
1997-04-16 19:35:54 +00:00
Martin Hunt
0a09e92add Wed Apr 16 12:20:24 1997 Martin Hunt <hunt@cygnus.com>
* gas/d30v/d30.exp: Add optimizer test case.
	* gas/d30v/opt.s: Add conditional compilation tests.
	* gas/d30v/opt.d: Rebuild.
1997-04-16 19:28:31 +00:00
Gavin Romig-Koch
ff55d0fb84 Correct test for fpr pairs. 1997-04-16 13:22:25 +00:00