Commit Graph

1658 Commits

Author SHA1 Message Date
Bill Cox
587dc994ed * .Sanitize: Add gasp subdirectory to the keepers list. 1994-11-08 19:48:17 +00:00
Bill Cox
9f899c7c78 * .Sanitize: New file for gasp testcases. 1994-11-08 19:46:44 +00:00
Ken Raeburn
3e7acf981d * configure.in: Compare generic cpu name against "sparc", not "sparc*", since
sparc variants should be changed to "sparc".
* configure: Regenerated with autoconf 2.1.
1994-11-07 20:29:46 +00:00
Ken Raeburn
f4c01c9548 tc-a29k.c: some cleanup; range-checking on JUMPTARG relocs 1994-11-07 07:04:09 +00:00
Ken Raeburn
cd8aca1996 note go32 file additions, keep ppc nw 1994-11-04 21:43:00 +00:00
Ken Raeburn
04050d57d2 note file deletions, additions 1994-11-04 16:44:58 +00:00
Ken Raeburn
b4123234f0 remove unused file config/go32.mh 1994-11-04 01:29:10 +00:00
Ken Raeburn
5b162d3777 * read.c (get_absolute_expression): Indicate that the error may merely be that
the expression can't currently be reduced.
1994-11-04 01:22:47 +00:00
Ken Raeburn
1d63ac6a8f regenerated after jt's netbsd changes 1994-11-04 01:20:06 +00:00
J.T. Conklin
0cb42d6f8e * config/tc-m68k.h (TARGET_FORMAT): If TE_NetBSD define as
"a.out-m68k-netbsd".
* config/tc-sparc.h (TARGET_FORMAT): If TE_NetBSD define as
  "a.out-sparc-netbsd".

* config/te-nbsd.h: New file, NetBSD target emulation
* config/te-netbsd.h: Removed.
* configure.in (i[345]86-*-netbsd*,m68*-*-netbsd*,sparc*-*-netbsd*):
  Set bfd_gas.  Use nbsd emulation.
1994-11-04 00:13:13 +00:00
Ken Raeburn
f28891108c Changes from net 2.5.2 release branch:
* configure.in: Put AC_DEFINE(sparcv9) on its own line, so that the shell
variable settings associated with it are permanent.  For CPUs requiring
bfd_gas=yes, select it based on CPU only, not individual target names.  Handle
m68k-hp-hpux*, not just -hpux.

* config/tc-z8k.c (tc_coff_symbol_emit_hook): Add dummy argument to match
prototype in obj-coff.h.

* configure.in: Skip tests for defining WANT_FOPEN_BIN and IBM_COMPILER_SUX.
* acconfig.h: Deleted them.
* configure, conf.in: Rebuild with autoconf 2.0.
* config/go32.cfg, config/vms-conf.h: Updated.

* config/tc-m68k.c (md_apply_fix_2, md_convert_frag_1): Always use
IBM_COMPILER_SUX version of code, with comments indicating why.

* listing.c (file_info): Use text mode when opening file for read.  Use "r"
directly, no macro.
* input-file.c (input_file_open): Don't use FOPEN_RT, just use "r".
* read.c (s_include): Ditto.
* output-file.c (output_file_create): Try both "wb" and "w", don't bother with
FOPEN_* macros.
* as.h: Don't include fopen-*.h.

* config/alpha-opcode.h: Make "ret" with no operands equivalent to "ret
zero,(ra)", to match OSF1 and to be consistent with both one-operand forms.

Patches from DJ Delorie:
* as.h (alloca): undef alloca before defining it just in case
* config/go32.cfg: new file for autoconf values
* config/te-go32.h: new file
* configure.bat: new for autoconf

* config/tc-i386.c (md_assemble): Fix typo in GOTPC check; had = for ==.

* configure.in: If target_frag doesn't exist, use /dev/null.

* as.c (parse_args): For non-VMS systems, re-add `v' to std_shortopts.  Add
"verbose" to list of long options.

* write.c (adjust_reloc_syms): When generating an absolute section symbol as a
placeholder, don't mark it as used in a relocation entry, here.

* Makefile.in (comparison): Compare using makefile code from gcc, stripped down
to discard subdir stuff and adapted to give a non-zero exit status if either
file differs.
1994-11-03 23:15:54 +00:00
Ian Lance Taylor
71da20b741 * gas/mips/ulh.d, gas/mips/ulw.d, gas/mips/ush.d, gas/mips/usw.d:
Correct test cases.
1994-11-03 20:52:11 +00:00
Ian Lance Taylor
a2c49209cf * config/tc-mips.c (load_address): Fix RELAX_ENCODE arguments for
NO_PIC case.
1994-11-03 20:50:07 +00:00
Ian Lance Taylor
da15a93ea1 * config/tc-mips.c (s_change_sec): If not GPOPT, don't permit
switching to the readonly data section.
1994-11-01 22:07:46 +00:00
Ian Lance Taylor
2622a6c256 * ecoff.c (ecoff_directive_type): Fix warning message. 1994-11-01 21:39:38 +00:00
Jeff Law
ec11c09cf8 * config/tc-hppa.c (pa_proc): Delete disabled code to put each
proc in its own subspace, we're not going to use it.
1994-10-30 07:00:14 +00:00
Ian Lance Taylor
94b68f040c * config/tc-mips.c (macro): Ensure that mips2 case of M_LI_DD in
.rdata does not become a variant frag.
1994-10-25 21:24:02 +00:00
Ian Lance Taylor
4bb0cc41f2 * config/tc-mips.c (mips_cpu): Initialize to -1.
(md_begin): Don't mips_cpu if it was already set.
	(md_parse_option): For -mipsN, don't set mips_cpu if it was
	already set.  For -mcpu=, just set mips_cpu, not mips_isa.
1994-10-25 18:47:09 +00:00
Ian Lance Taylor
9da4c5d130 * config/tc-mips.c (md_pseudo_table): If OBJ_ELF, handle .section.
(s_elf_section): New static function.
	* ecoff.c (ecoff_build_symbols): Don't abort if we don't recognize
	the section when setting the storage class; default to sc_Data.
1994-10-22 00:51:53 +00:00
Jeff Law
a7f1f2a8ea * gas/hppa/reloc/blebug3.s: New test.
* gas/hppa/reloc/reloc.exp: Run it.
1994-10-20 06:56:55 +00:00
Jeff Law
e443a02120 * config/tc-hppa.c (md_apply_fix): Set new_val to 8 for all
fixups to branch instructions (not just pc-relative ones) which
	will generate SOM relocations.
1994-10-20 06:45:55 +00:00
Ian Lance Taylor
030915dc25 * config/tc-a29k.c: Include ctype.h with angle brackets.
(define_some_regs): Add new special register names defined on the
	29040.
	(parse_operand): Add argument opt.  If non-zero, don't warn about
	a missing operand.
	(machine_ip): If handling argument type 'I', pass opt as non-zero
	to parse_operand.  Handle new optional operand type 'I'.
	(md_undefined_symbol): Handle special register names (srNN).
1994-10-19 17:46:43 +00:00
Ian Lance Taylor
683f474317 * write.c (renumber_sections): New static BFD_ASSEMBLER function.
(write_object_file): Call it after removing gas created sections.
1994-10-18 04:46:45 +00:00
Ian Lance Taylor
62d396892b * symbols.c (symbol_create): Use udata.p, not just udata.
* config/obj-elf.c (obj_ecoff_set_ext): Likewise.
	(elf_get_extr): Likewise.
1994-10-17 23:52:27 +00:00
Ian Lance Taylor
f10a96cbec * read.c (read_a_source_file): The second argument to as_where is
unsigned int *, not int *.
1994-10-17 22:07:16 +00:00
Jeff Law
ea315e99d6 * gas/hppa/reloc/reduce3.s: New test.
* gas/hppa/reloc/reloc.exp: run it.
1994-10-17 08:45:18 +00:00
Jeff Law
71b07521c6 * gas/hppa/reloc/reloc.exp (r_no_reloc): Tweak output to match
current reality.
1994-10-17 04:27:13 +00:00
Ken Raeburn
2d928291b6 From 2.5 release:
* Makefile.in (BISON): Use bison -y, not bison.

* Makefile.in (VERSION): Updated to 2.5.
(clean-here): Delete stamp-mk.com.
(distclean): Delete .gdbinit.

Also, note release in changelog.
1994-10-14 23:08:21 +00:00
Ken Raeburn
d5a0eeacfc te-netbsd532.h -> te-nbsd532.h 1994-10-13 15:45:43 +00:00
Ken Raeburn
ba49e48d26 Renamed config/te-netbsd532.h to te-nbsd532.h. 1994-10-13 00:33:21 +00:00
J.T. Conklin
4992dbc960 * config/cplus-dem.c: Removed. It isn't used. Even if it was,
it's better to use the one in libiberty.
1994-10-12 23:35:54 +00:00
Ken Raeburn
2cc0357f7f * symbols.c (resolve_symbol_value, case O_symbol): Undo last change; it breaks
the rs6000 support, and doesn't seem to be needed.
1994-10-12 22:53:26 +00:00
J.T. Conklin
eab55c1cef * config/tc-i386.h,te-netbsd532.h (TARGET_FORMAT): Changed to
a.out-<arch>-netbsd to match corresponding changes in BFD.
1994-10-12 19:01:58 +00:00
Ian Lance Taylor
f0b556a2d3 * config/tc-ppc.c (ppc_fix_adjustable): Resolve symbol values
rather than explicitly adding the frag address.
	* config/obj-coff.c (coff_frob_symbol): Add a zero entry to mark
	the end of the line numbers; this replaces the zero entry which
	used to be added by coff_add_linesym, removed Oct 7.
	(coff_adjust_section_syms): Ignore sections with no seginfo.
Update the RS/6000 assembler for recent gas changes.
1994-10-12 18:11:52 +00:00
Ken Raeburn
3256c4b58e * Makefile.in (bootstrap, bootstrap2, bootstrap3): Create a "stage" symlink to
the appropriate stage* directory, and use it instead in the -B options.
(comparison): Revert yesterday's change.
1994-10-12 05:46:05 +00:00
Ken Raeburn
15dc8a201f * config/tc-sparc.c (tc_gen_reloc): For non-a.out relocations, if pc-relative,
use fx_offset only, ignore address of relocation.
1994-10-12 05:41:45 +00:00
Ian Lance Taylor
c8caa6c5f2 * config/tc-mips.c (mips_ip): Don't use S_IS_LOCAL when checking
for an embedded PIC switch expression, since the definition of
	S_IS_LOCAL was changed.
1994-10-11 19:25:42 +00:00
Ken Raeburn
6d60424f34 * Makefile.in (comparison): When comparing as.new or gasp.new, try running the
binary through sed to avoid differences due to "stage1" or "stage2" having been
written into the binary.
1994-10-11 19:12:55 +00:00
Ken Raeburn
15a90f75cb elf fixes 1994-10-08 07:55:52 +00:00
Ken Raeburn
ecee402702 coff aux/lineno, m88k, vms/flagseen changes 1994-10-07 22:06:01 +00:00
Ken Raeburn
4325bcb990 * config/obj-coff.c (do_relocs_for): Test only TC_KEEP_FX_OFFSET, rather than
both it and TC_M88K.
(coff_adjust_section_syms): New function.
(coff_frob_section): For non-empty sections, create aux entry for the section
symbol, indicating the size.
(n_line_nos): New variable.
(add_lineno): Increment it.
(coff_add_linesym): Increment n_line_nos, don't call add_lineno.
(coff_frob_file): New function; map coff_adjust_section_syms over sections.
(obj_coff_line): Only reset line_base for .bf symbols.
* config/obj-coff.h (coff_adjust_section_syms, coff_frob_file): Declare.
(obj_frob_file): New macro.

* config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Renamed from
obj_frob_forward_symbol, and rewritten for new parameter list.
1994-10-07 22:02:54 +00:00
Ken Raeburn
d58bbca1b5 define TC_KEEP_FX_OFFSET 1994-10-07 22:00:18 +00:00
Ken Raeburn
352d36185d Mon Oct 3 21:02:38 1994 Pat Rankin (rankin@eql.caltech.edu)
* config/obj-vms.h (S_IS_LOCAL): fix obsolete flagseen[] reference.
1994-10-07 22:00:01 +00:00
Ian Lance Taylor
b2d7b32596 * config/obj-coff.c (coff_frob_section): Remove assert about
section alignment.
	* config/tc-sparc.c (md_section_align): Use section alignment, not
	xvec align_power_min field.
1994-10-05 04:13:29 +00:00
Jeff Law
05d0c2cce6 Add ChangeLog entry that (apparently) I nuked. 1994-10-04 23:30:39 +00:00
Ken Raeburn
13a336c4a1 Rewrote make-gas.com handling so that only "make realclean" will remove it. 1994-10-01 04:30:10 +00:00
Ken Raeburn
f54b111403 got rid of make-gas.com 1994-10-01 04:24:38 +00:00
Ken Raeburn
dc87e0ce66 vms make-gas.com stuff 1994-10-01 04:20:16 +00:00
Ken Raeburn
df36a2aa30 Now gets rebuilt by "make diststuff". 1994-10-01 04:18:46 +00:00
Ken Raeburn
367d6244da (diststuff): Build make-gas.com.
(clean, mostlyclean): Delete make-gas.com.
(realclean): Separate target, depend on clean and distclean.
1994-10-01 04:17:56 +00:00