Commit graph

1062 commits

Author SHA1 Message Date
Jeff Law
96f147a095 * gas/hppa/more.parse/procbug.s: Add test for another bug relating
to having a function's label follow the .PROC directive.
1994-01-12 21:42:55 +00:00
Ian Lance Taylor
4a99cebf62 Remove CVS merge markers. 1994-01-12 19:18:56 +00:00
Ian Lance Taylor
bbf7e43ddc * read.c (read_a_source_file): Cast array argument to unsigned
char.
	* write.c (adjust_reloc_syms): Remove unused variable symseginfo.
	(write_object_file): Don't define punt_it if it won't be used.
	(fixup_segment): Don't define skip if it won't be used.
1994-01-12 18:40:11 +00:00
Jeff Law
a1c91916e8 * app.c (do_scrub_next_char): Another attempt to fix bugs
dealing with labels without colons (for HPPA and MRI).
1994-01-12 05:55:09 +00:00
Jeff Law
61bfefd79a * gas/hppa/reloc/reloc.exp: Add test for cross-subspace call bug
found while working on multiple $CODE$ subspace support.
1994-01-12 05:49:12 +00:00
David Edelsohn
e9ca7a1951 * config/tc-sparc.c (sparc_ip): Truncate args to %hi/%lo to 32 bits. 1994-01-12 01:11:26 +00:00
David Edelsohn
44ce2f3221 * expr.c (integer_constant): Fix computation of too_many_digits. Variable
digit_2 renamed to start.  Fix check for whether number will fit in 32 bits.
* read.c (emit_expr): Use valueT instead of long.
1994-01-12 01:04:10 +00:00
Ian Lance Taylor
f34e27a18a * config/obj-elf.c: If TC_MIPS, include elf/mips.h.
(special_sections): Define.
	(obj_elf_special_section): Get default types and attributes from
	list of special sections.
	* config/tc-mips.c (ELF_TC_SPECIAL_SECTIONS): Define.
1994-01-11 22:35:16 +00:00
Ian Lance Taylor
4e76ae53fc * config/obj-ecoff.c (ecoff_frob_file): Force .sdata and .sbss
sections to be close together.
1994-01-11 21:31:30 +00:00
Ken Raeburn
6f1c6a6796 log for netbsd changes checked in a couple of days ago 1994-01-11 19:53:28 +00:00
Ian Lance Taylor
8197b58995 * config/tc-mips.c (macro): Corrected $at warnings in a couple of
spots.
1994-01-11 19:18:45 +00:00
Ian Lance Taylor
af255ca0bb * listing.c (listing_prev_line): New function.
* listing.c: Include subsegs.h.
	(listing_prev_line): New function.
	(calc_hex): Reset byte_in_frag to zero for each new frag.
	* config/tc-mips.c (append_insn): Call listing_prev_line after
	emitting nop instructions.
	* Makefile.in (listing.o): Depends upon subsegs.h.
1994-01-11 18:06:01 +00:00
Stan Shebs
2a79b2028e Set lose_these_too correctly 1994-01-11 02:55:30 +00:00
Jeff Law
378cbfe1c9 * gas/hppa/more.parse/parse.exp: procbug.s is no longer expected
to fail.
        * gas/hppa/more.parse/procbug.s: Add missing .procend.
1994-01-10 17:55:19 +00:00
Jeff Law
4047ff1d24 * config/tc-hppa.c (pa_ip): Put check for missing label on .PROC
here.  Handle case where label may be defined after the .PROC.
        (pa_proc): It is not an error if the procedure's label isn't
        defined before the .PROC directive.
1994-01-10 17:54:01 +00:00
Ken Raeburn
34e4120b45 keep te-netbsd.h 1994-01-09 21:03:39 +00:00
Ken Raeburn
91176af626 te-netbsd.h: New file.
tc-i386.h (TARGET_FORMAT) [TE_NetBSD]: Use a.out-netbsd-386 for this config.
1994-01-09 20:49:23 +00:00
Ian Lance Taylor
fe4e32905b * ecoff.c (ecoff_stab): Don't clobber the ECOFF symbol information
with the associate stabs information.
	(ecoff_build_symbols): Never set the type of stabs symbols to
	st_Global.  Don't update the symbol index or ifd if the gas symbol
	is not the same as the ECOFF symbol (which is now the case for
	stabs symbols).
1994-01-07 22:42:23 +00:00
Stan Shebs
0f8cb88de1 Fri Jan 7 11:18:48 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-make.in: Replace 8-bit chars with their names.
	* config/ho-mpw.h (LOSING_COMPILER): Define.
1994-01-07 19:22:15 +00:00
Stan Shebs
917fae09f9 Fri Jan 7 11:14:07 1994 Stan Shebs (shebs@andros.cygnus.com)
* config/tc-mips.c (macro): Add a LOSING_COMPILER ifdef that
	splits the function.
	(macro2): New function, if LOSING_COMPILER defined.
1994-01-07 19:18:16 +00:00
Steve Chamberlain
03a372ed70 * config/obj-coffbfd.c (fill_section): Don't ever fill past the
end of a section. (write_object_file): Temporary fix - setup
	stdoutput.
1994-01-07 17:42:34 +00:00
Ken Raeburn
fd0e2cf2d5 fix sparc-solaris reloc bug 1994-01-06 23:17:44 +00:00
Ian Lance Taylor
13fe1379a6 * config/tc-mips.c (mips_ip): Warn about using $1 as well as $at
without .set noat.
1994-01-06 06:09:22 +00:00
Ken Raeburn
d4aad2b441 Makefile.in, as.h changes 1994-01-06 01:17:18 +00:00
Ken Raeburn
dffc8b9eb4 include literal.c, .o 1994-01-06 01:16:51 +00:00
Ken Raeburn
2d29d89dcf new file literal.c 1994-01-06 01:14:04 +00:00
Ken Raeburn
311ff8d65d tc-mips.h, subsegs.c changes 1994-01-06 01:11:05 +00:00
Ken Raeburn
166d9f909a (TARGET_FORMAT) [OBJ_AOUT]: Fix for new names in bfd. 1994-01-06 01:10:35 +00:00
Rob Savoye
fce98d637f * config/ho-vsta.h, configure.in, .Sanitize: Add support for VSTa
micro-kernel.
1994-01-05 05:26:47 +00:00
Rob Savoye
5fdb3602a6 Add default values for AS and ASFLAGS. 1994-01-05 05:21:34 +00:00
Stan Shebs
5a0517735a Tue Jan 4 15:12:43 1994 Stan Shebs (shebs@andros.cygnus.com)
* Makefile.in (INCLUDES): Add $(srcdir)/.. to places to search.
	* config/obj-ecoff.c: Include files as "bfd/" instead of "../bfd/".
	* app.c, flonum.h, hex-value.c (const): Change #if to be more
	portable.
1994-01-04 23:35:56 +00:00
Stan Shebs
a10dcb2f7e need GM ChangeLog 1994-01-04 21:20:25 +00:00
Stan Shebs
4f5d16c7d3 fix the .Sanitize 1994-01-04 21:18:15 +00:00
Stan Shebs
ea838f998a Mon Jan 3 10:47:37 1994 Stan Shebs (shebs@andros.cygnus.com)
* config.sub:	  Add MPW-related aliases.
	* mpw-configure:  New file, MPW version of configure.
	* mpw-config.in:  New file, MPW version of configure.in.
	* mpw-xconfig.in:  New file, addon to configure.in.

Mon Jan  3 12:42:45 1994  Stan Shebs  (shebs@andros.cygnus.com)

	* mpw-xconfig.in: New file, mpw x mips configuration bits.
1994-01-04 21:14:04 +00:00
Jeff Law
07ec88b67f * gas/hppa/more.parse/labelbug.s: Add testcase for bug in last
app.c change
1994-01-03 18:08:43 +00:00
Jeff Law
6816e053e6 Revert last change. It loses. 1993-12-30 07:00:31 +00:00
Ken Raeburn
9314b3a125 * write.h (struct fix): Field tc_fix_data should be type PTR, not void*, for
compatibility with non-ANSI compilers.  Added single-bit field "fx_done".
1993-12-29 21:21:21 +00:00
Ken Raeburn
1c0f9b3ecc put a breakpoint in as_bad_where too 1993-12-29 21:19:41 +00:00
Jeff Law
88b245830a * gas/hppa/more.parse/labelbug.s: Add more colonless label
tests.
1993-12-29 19:37:20 +00:00
Jeff Law
001581c784 * app.c (do_scrub_next_char): Fix more bugs dealing with
labels without colons (For HPPA and MRI).
1993-12-29 19:33:31 +00:00
Torbjorn Granlund
45db9cafcf Making HPPA assembler case sensitive where it should be, and speeding it up
a factor of 2.
1993-12-26 22:36:02 +00:00
Ken Raeburn
0c3cab7aac Add TODO list item from observing Solaris assembler. 1993-12-21 17:54:38 +00:00
Ken Raeburn
0a75cb6cd8 sparc-coff reloc, symbols.c BSF_* changes 1993-12-20 21:54:33 +00:00
Ken Raeburn
e67a0640a0 * write.c (adjust_reloc_syms) [RELOC_REQUIRES_SYMBOL]: If no symbol is present
(i.e., relocation against absolute), create a phony local symbol, and use it in
the reloc.
(fixup_segment): When adjusting a reloc with an absolute symbol, have
TC_FORCE_RELOCATION control clearing add_symbolP too.

* config/tc-sparc.h (RELOC_REQUIRES_SYMBOL): Define.
1993-12-20 21:53:01 +00:00
Ken Raeburn
d3e3010b0b md_end, listing, obj-coff changes 1993-12-20 16:58:19 +00:00
Ken Raeburn
6868afe647 * as.c (main): Only invoke md_end if it's defined as a macro.
* tc.h (md_end): Don't declare it.
* config/tc-*.[ch] (md_end): Deleted, in cases where it doesn't do anything.
* config/tc-vax.c (vip_end): Deleted null function.
* config/tc-mips.c (md_mips_end): Renamed from md_end.
* config/tc-mips.h (md_mips_end): Declare.
(md_end): New macro, calls md_mips_end.

* write.c (write_object_file): Don't close output file.
* as.c (main): Close output file (if needed) after calling listing_print, which
should be after calling write_object_file, which sets the frag addresses.
1993-12-20 16:48:00 +00:00
Ken Raeburn
7e1766ba87 whitespace 1993-12-20 16:43:37 +00:00
Ken Raeburn
8b13fa4e5c * as.c (main): Call listing_print before BFD gets closed, when symbol data
hasn't been freed up yet.
1993-12-20 15:43:23 +00:00
Jeff Law
5ea18b5dd9 * config/tc-hppa.c (md_begin): Initialize "dummy_label".
(tc_gen_reloc, SOM version): For relocations which have no symbol,
        set sym_ptr_ptr to dummy_label.  Avoids lossage in generic BFD code.
1993-12-17 05:16:01 +00:00
Ken Raeburn
50f75add59 recent config/* & section_symbol changes 1993-12-16 21:56:03 +00:00