Commit Graph

1465 Commits

Author SHA1 Message Date
Steve Chamberlain
6f15d409d0 * (process_pseudo_op): Pass right are do do_aif.
(get_any_string): New arg 'pretend_quote'.
	(get_and_process, do_formals, macro_expand, do_sdata,
	process_pseudo_op): Use new arg.
1994-07-08 22:34:11 +00:00
Kung Hsu
daad3bbf95 Modified Files:
read.c read.h ecoff.c ecoff.h ChangeLog

        * read.c (read_a_source_file): generate line stabs for asm file.
        * read.h: add extern generate_asm_line_stab.
        * ecoff.h : add prototype for ecoff_generate_asm_line_stab().
        * ecoff.c (add_file): if there's no filename provided, set switch
        to generate line stabs for .s file.
        * ecoff.c (add_procedure): add stabs symbol for .ent directive.
        * ecoff.c (generate_ecoff_stab): creates an artificial stabs.
        * ecoff.c (generate_asm_line_stab): generate a artifitial label
        for each line and generate a stabn for the line.
1994-07-08 19:38:18 +00:00
Kung Hsu
6f89cd429c Modified Files:
obj-ecoff.h obj-elf.h

        * config/obj-ecoff.h: define macro OBJ_GENERATE_ASM_LINE_STAB.
        * config/obj-elf.h: ditto.
1994-07-08 19:36:55 +00:00
Steve Chamberlain
13d9fd33a4 * gasp.c (get_any_string): Cope with getting a string with an
alternate base specifier.
	(do_aif, do_aelse): Only enable output if expression is true and previous
	level was on.
	(chartype_init):  Add BASEBIT chartype.
	(process_pseudo_op):  Notice nesteed AIFs.
1994-07-08 00:13:14 +00:00
Jeff Law
109babdf49 * gas/hppa/reloc/relocreduce2.s: More relocation reduction tests.
* gas/hppa/reloc/reloc.exp: Run them.
1994-07-07 17:59:58 +00:00
Jeff Law
8fd04cbacc * config/tc-hppa.c (hppa_fix_adjustable): Reject reductions for
symbols in DLT relative relocs.
	(tc_gen_reloc): Zero out the addend field for DLT relative relocs.
1994-07-07 17:35:27 +00:00
Ian Lance Taylor
8882a587d9 * config/tc-ppc.c (ppc_tc): If not OBJ_COFF, force TOC entry to
align to a four byte boundary.
1994-07-06 05:14:48 +00:00
Ken Raeburn
10f67315f9 some internals doc updates 1994-07-05 21:00:22 +00:00
Ken Raeburn
4174e05265 handle 32-bit addends in exprs on alpha 1994-07-05 20:51:39 +00:00
Ian Lance Taylor
bcb62abf05 * config/obj-elf.h (S_GET_ALIGN, S_SET_ALIGN): Define.
* config/obj-elf.c (obj_elf_common): Set alignment of common
	symbol.
	* config/tc-sparc.c (s_common): If OBJ_ELF, set alignment of
	common symbol.
1994-07-05 18:06:33 +00:00
Jeff Law
8fb99170f1 Fix thinko in last change 1994-07-05 01:18:23 +00:00
Jeff Law
655f3ef4af * config/tc-hppa.c (is_complex): New macro.
(cons_fix_new_hppa): "Handle" complex expressions.
1994-07-05 00:37:14 +00:00
Ken Raeburn
7e6fc3a845 * config/default.exp: Look for "as.new" in "$base_dir/..", where it got
compiled, not in "$base_dir".

* config/unknown.exp: Deleted.
1994-06-30 22:54:44 +00:00
Ken Raeburn
04f0c2e34b Some updates for const-ness added to BFD structures. 1994-06-30 19:09:58 +00:00
Ian Lance Taylor
f255457995 * config/tc-mips.c (macro): For M_LI_SS, decide how to handle it
based on contents of imm_expr and offset_expr, rather than
	mips_pic.  For M_LI_DD, decide how to handle it based on segment
	name of offset_expr, rather than mips_pic.
	(mips_ip): If g_switch_value < 4, use immediate values for 'l'.
	If g_switch_value < 8, use .rdata rather than .lit for 'L'.
1994-06-30 18:47:29 +00:00
Stan Shebs
921e047bab * mpw-make.in (as.c): Compile with C not gC.
(config-stamp): Touch correctly.
	(install-only): New target.
	(install): Depend on all and install-only.
1994-06-30 00:59:49 +00:00
Stan Shebs
6f0b87c329 * as.c (show_usage): Break long string into shorter ones.
(parse_args): Add -v, prints version id and continues.
	* config/tc-mips.c (md_show_usage): Break long string.
1994-06-30 00:55:33 +00:00
Steve Chamberlain
40b559d27f * configure.in (i386-go32): When it's a host set
host_makefile_frag.
	* gasp.c  (get_any_string): Fix handling of % when in PharLap
	mode.
1994-06-28 01:20:04 +00:00
Steve Chamberlain
1b01afe630 Don't keep the "is" cases, only the "was" cases. 1994-06-28 01:19:19 +00:00
Steve Chamberlain
7a9e58720f Reflect new rules. 1994-06-28 01:17:29 +00:00
Stan Shebs
9e4eebc207 * mpw-config.in: Parse target and use to generate forward includes
to tc-, obj-, and atof- files, use te-generic.h for emulation.
	* mpw-make.in (VERSION): Define.
	(as.c): Compile with GCC.
	(TARG_OBJECTS, CLIBS): Define.
	(as.new): Use LDFLAGS, TARG_OBJECTS, CLIBS and EXTRALIBS in link
	command.
	(config.h, config-stamp): Build.
	config/ho-mpw.h (HOST_SPECIAL_INIT): Define.
1994-06-26 23:51:45 +00:00
Stan Shebs
a6148eeb0d Remove GM-specific hackery, no longer needed. 1994-06-26 23:41:34 +00:00
Stan Shebs
f488a4d631 * as.c (main) [HOST_SPECIAL_INIT]: New hook, for host-specific
initialization.
1994-06-26 23:36:46 +00:00
Jeff Law
5ce4e41c09 * gas/lib/gas-defs.exp (gas_finish): Call "close" and "wait"
before exiting.  Enclose both calls inside a "catch".
	(objdump_finish): Likewise.
1994-06-26 22:52:06 +00:00
Jeff Law
cf8c0d64b3 From rob:
* gas/lib/gas-defs.exp (gas_finish): Call "close" before exiting.
	Make note about possibly needing a call to "wait" too.
	(objdump_finish): Likewise.
1994-06-26 19:26:33 +00:00
Jeff Law
1f12ae43c7 * config/tc-hppa.h (obj_frob_symbol): Define for OBJ_ELF.
More gas/bfd lossage exposed by the new linker code.
1994-06-22 06:32:54 +00:00
Rob Savoye
605491337b Look for as.new before looking in the path for the binary to test. 1994-06-21 22:15:04 +00:00
Ian Lance Taylor
dff770c8d6 * subsegs.c (abs_seg_info, und_seg_info): Define if BFD_ASSEMBLER.
(subseg_change): Store seg_info for bfd_abs_section_ptr in
	abs_seg_info, and store seg_info for bfd_und_section_ptr in
	und_seg_info.
	(subseg_get): Likewise.  Also, don't set output_section if it is
	already set.
	(seg_info): Define as function.
	* subsegs.h (seg_info): Declare as function rather than defining
	as macro.
	* write.c (relax_and_size_seg): Call seg_info rather than
	bfd_get_section_userdata.
1994-06-21 16:45:09 +00:00
Ken Raeburn
639c820dae handle target ppc-*-elf*, for zoo. 1994-06-20 20:36:56 +00:00
Ken Raeburn
e0b36f18e7 expr.c (operand): If "0f" is followed by '\0', don't do eol checks. 1994-06-20 20:34:35 +00:00
Ian Lance Taylor
256816cae7 * ecoff.c (ecoff_build_aux): Call swap_tir_out and swap_rndx_out
via backend pointer, not directly.
1994-06-20 19:25:41 +00:00
Rob Savoye
afaf3145b5 Use "default" rather than "unix". 1994-06-18 20:17:26 +00:00
Rob Savoye
3b8bdecc4a Setup default and unknown init files. 1994-06-18 20:11:38 +00:00
Rob Savoye
a7175ea958 Don't pass AS and ASFLAGS, it's now done in the testing code. 1994-06-18 20:06:27 +00:00
Ian Lance Taylor
de442a3c57 * Makefile.in (config-stamp): Make sure there is at least one
element in the for loop.
1994-06-17 22:08:59 +00:00
Jeff Law
239f16dda0 * config/tc-hppa.c: Misc trivial changes to make gcc -Wall happy. 1994-06-17 18:09:16 +00:00
Jeff Law
0e68b3bca1 * config/tc-hppa.h (elf_hppa_final_processing): Declare. 1994-06-17 17:13:13 +00:00
Ken Raeburn
fd4b7c2511 folding v9 change log in; stop sanitizing configure.in 1994-06-16 23:06:58 +00:00
Ken Raeburn
708e18fdc6 v9 unsanitization 1994-06-16 21:04:02 +00:00
Ken Raeburn
286272fb43 * as.c (parse_args): Cast xmalloc return value. 1994-06-16 01:08:16 +00:00
Ken Raeburn
5ee93e0a8c v9, vms changes and some stuff i checked in recently but didn't log 1994-06-16 01:04:00 +00:00
Ken Raeburn
675ad6dc68 Fri Jun 3 17:25:08 1994 Pat Rankin (rankin@eql.caltech.edu)
* config/obj-vms.h (DBG_S_C_COMPLX4, DBG_S_C_COMPLX8): define
	these new VMS symbol-type macros for `complex float' and
	`complex double' support.  Their values come from the existing
	DSC$K_DTYPE_FC and DSC$K_DTYPE_DC macros in <descrip.h>.
	(DBG_S_C_REAL8_G, DBG_S_C_COMPLX8_G): G_float versions of
	REAL8 and COMPLX8; not used yet, because gcc outputs the same
	.stabs for `double' regardless of whether `-mg' is used.
	config/obj-vms.c (VMS_typedef_parse) [case 'r']: add entries
	for gcc2's predefined types "complex float", "complex double",
	and "complex long double" (identical to complex double).
1994-06-16 01:02:18 +00:00
Ken Raeburn
54eacbe683 For sparc64 target, use sparc cpu files and add sparcv9 to extra_defs. No
longer treat sparc64-*-aout* specially.
1994-06-16 00:49:06 +00:00
Ken Raeburn
9a0d0964d8 (config-stamp): If $(defs) contains multiple words, emit a #define line for
each.
1994-06-16 00:46:20 +00:00
Ian Lance Taylor
0e35ba9bc3 * config/obj-coff.c (coff_frob_symbol): Use C_STAT for the .text
section symbol, not C_LABEL.
1994-06-15 19:51:21 +00:00
Ian Lance Taylor
adf05987e2 * config/tc-mips.c (mips_ip): Permit a modifier in 'o' case. 1994-06-15 17:00:04 +00:00
Ian Lance Taylor
36a87ad7c5 * config/tc-mips.c (mips_ip): Permit non constant expressions in
'u' case: lets lui %hi(foo) work correctly.
1994-06-15 16:49:51 +00:00
Ian Lance Taylor
a5183648b2 * config/obj-aout.c (obj_aout_frob_symbol): Warn about an attempt
to put a common symbol in a set.
1994-06-13 16:13:10 +00:00
Stan Shebs
b06fe940ea Sun Jun 12 16:38:42 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-make.in (C, CFLAGS): Removed definitions.
	(ALL_CFLAGS): Define.
	Set default rule to use {CC} instead of {C}.
1994-06-12 23:41:37 +00:00
Ian Lance Taylor
02d4e9238a Add weak symbols as an extension to a.out.
* read.c (pseudo_set): Only preserve external bit for OBJ_AOUT and
	OBJ_BOUT if not BFD_ASSEMBLER.
	* config/aout_gnu.h (N_WEAKU, N_WEAKA, N_WEAKT, N_WEAKD, N_WEAKB):
	Define as in ../include/aout/aout64.h.
	* config/obj-aout.h (OBJ_SYMFIELD_TYPE): If not BFD_ASSEMBLER,
	define as char.
	(S_GET_WEAK, S_SET_WEAK): Define if not BFD_ASSEMBLER.
	* config/obj-aout.c (obj_pseudo_table): Add "weak".
	(obj_emit_symbols): Adjust type of weak symbols.
	(obj_aout_weak): New static function.
1994-06-11 20:45:49 +00:00