Ken Raeburn
c37f6138d4
* Makefile.in (config-stamp): If `defs' is defined, emit a preprocessor
...
directive to create a macro named by this value into config.new; don't
explicitly go for BFD_ASSEMBLER.
* configure.in: Define `defs', not `BFDDEF'. Set it to MANY_SEGMENTS for any
obj-coffbfd target.
* config/obj-coffbfd.h (BFD_HEADERS, BFD): Define.
* config/i386coff.mt (TDEFINES): Don't define BFD, MANY_SEGMENTS, BFD_HEADERS.
(LOCAL_LOADLIBES): Deleted.
* config/m68kcoff.mt (TDEFINES): Don't define those macros.
* config/m88kcoff.mt (TDEFINES): Ditto.
* config/ebmon29k.mt: Deleted.
* config/h8300hds.mt: Deleted.
* config/ic960coff.mt: Deleted.
* config/sparc.mt: Deleted.
* config/h8300.mt (LOCAL_LOADLIBES, TDEFINES): Deleted.
* config/h8500.mt (LOCAL_LOADLIBES, TDEFINES): Deleted.
* config/sh.mt (LOCAL_LOADLIBES, TDEFINES): Deleted.
* config/z8k.mt (LOCAL_LOADLIBES): Deleted.
(TDEFINES): Don't define the coffbfd macros.
* Makefile.in: Insert makefile fragments before OBJS definition.
(OBJS): Add $(TE_OBJS).
1994-03-20 21:13:59 +00:00
Ken Raeburn
3680de746a
* config/obj-coff.c (obj_pseudo_table): Supply "section" unconditionally.
1994-03-20 21:07:43 +00:00
Ken Raeburn
1871f91a91
* write.c (set_symtab): Define only if BFD_ASSEMBLER.
1994-03-20 21:01:31 +00:00
Jeff Law
c20c75060d
* Makefile.in (STAGESTUFF): Add gasp.new.
1994-03-20 20:06:53 +00:00
Ken Raeburn
1cf7548efc
* write.c (symbol_table_frozen): New variable, to be set after bfd_set_symtab
...
is called.
(dump_section_relocs): Note whether a symbol is a section symbol or not.
(adjust_reloc_syms): For now, always supply an absolute symbol for fixups
without symbols but not yet `done'. Use section_symbol to get the symbol,
instead of going directly for abs_symbol.
(write_relocs) [DEBUG4]: Abort if any symbol referred to by a reloc is not a
section symbol and is not in the symbol table.
(set_symtab): New function, broken out from write_object_file. Counts symbol
table instead of relying on an earlier count.
(write_object_file): Call set_symtab, but do it after potentially invoking the
*_frob_file macros. Don't bother counting symbols. Call symbol_remove,
instead of expanding it in place. Moved the conditionalized `object_file_size'
declaration down to conditionalized block where it's used. When using the
absolute symbol for a fixup without a symbol, set sy_used_in_reloc.
(write_object_file) [BFD_ASSEMBLER]: Call section_symbol to get the correct
symbol for the absolute section.
1994-03-19 02:36:09 +00:00
Ken Raeburn
ec3c65e19b
sparc *13 relocs, obj_sec_sym_ok_for_reloc stuff
1994-03-19 02:02:23 +00:00
Ken Raeburn
1be3cf74ed
ic960coff.mt typo fix
1994-03-19 01:29:36 +00:00
Ken Raeburn
a9997275f9
(TDEFINES): Fixed typo (MANY_SECTIONS, not MANY_SEGMENTS).
1994-03-19 01:26:55 +00:00
Ken Raeburn
634233a31b
* configure.in: Eliminated all targets using obj-coff but not defining
...
BFD_ASSEMBLER; I think all such targets that are supported will be matched by
real CPU-OS combinations earlier in the case statement.
(targets *-*-coff*, *-sysv*, *-*-sco*, *-*-sysv32): Deleted. Made some
comments about the dpx2 configuration, but left it disabled, since it couldn't
be reached before.
(target a29k-amd-ebmonold): Deleted.
1994-03-19 01:24:19 +00:00
Jeff Law
80b849167a
* gas/hppa/unsorted/importbug.s: New test.
...
* gas/hppa/unsorted/unsorted.exp: Run it.
1994-03-17 21:40:06 +00:00
Jeff Law
49ccc55510
* config/tc-hppa.c (pa_import): Correctly handle importing of an
...
already defined symbol.
1994-03-17 21:37:42 +00:00
Jeff Law
067654f143
* gas/hppa/more.parse/regpopbug.s: Add trivial .equ test.
1994-03-17 00:50:41 +00:00
Jeff Law
c38c91dadb
* config/tc-hppa.c (pa_equ): Handle both .reg and .equ correctly.
1994-03-17 00:49:30 +00:00
Ian Lance Taylor
614a3211d4
* config/tc-mips.c (mips_ip): Only accept overly large values for
...
the 'j' operand if there are no further alternatives for this
instruction.
1994-03-16 23:49:55 +00:00
Jeff Law
f04a9a1ea1
* gas/hppa/unsorted/globalbug.s: New test (expected to fail).
...
* gas/hppa/unsorted/unsorted.exp: Run it.
1994-03-16 23:24:53 +00:00
Jeff Law
7f8b9d66f5
* gas/hppa/more.parse/callinfobug.s: New test.
...
* gas/hppa/omre.parse/parse.exp: Run it.
1994-03-16 22:44:14 +00:00
Jeff Law
f2ada9106d
* config/tc-hppa.c (pa_callinfo): Accept "millicode" as an
...
argument to a .callinfo directive. Don't loop forever on errors.
1994-03-16 22:42:51 +00:00
Ian Lance Taylor
d6e6bc1c52
* config/obj-coffbfd.c (adjust_stab_section): Initialize
...
stabstrseg to SEG_UNKNOWN, not -1. After loop, check whether it
is not SEG_UNKNOWN rather than checking whether it is >= 0.
1994-03-16 22:22:17 +00:00
Ian Lance Taylor
23dc1ae33d
* config/tc-mips.c (mips_align): Take new argument, label, and use
...
it instead of global insn_label.
(s_align, s_cons, s_float_cons, s_gpword): Save insn_label before
call to mips_emit_delay and pass it to mips_align.
1994-03-16 22:16:02 +00:00
Jeff Law
2573e71c0e
* gas/hppa/more.parse/regpopbug.s: New test.
...
* gas/hppa/more.parse/parse.exp: Run it.
1994-03-16 19:58:31 +00:00
Ken Raeburn
f1b4e13156
version 2.0 -> 2.2.1
1994-03-15 20:39:26 +00:00
Ken Raeburn
54ce399a27
keep ic960coff.mt
1994-03-15 03:36:27 +00:00
Ken Raeburn
be2fc7ec38
keep vmsconf.sh
1994-03-15 03:35:59 +00:00
Ken Raeburn
dbc529c4c8
today's changes for vms, misc bugs
1994-03-15 03:08:40 +00:00
Ken Raeburn
abf434d83d
(VMS_Initialized_Data_Size): Cache symbol values to reduce number of lookups
...
with S_GET_VALUE. Skip debug symbols to avoid "a really nasty bug". (From
Holger Teutsch, holger@botbso.rhein-main.de.)
(VMS_write_object_file): For "__vt.*" symbols, set S_GET_OTHER field. (Also
from Holger Teutsch.) Watch for a would-be register mask that spans frags.
1994-03-15 03:05:24 +00:00
Ken Raeburn
8304c303d6
(obj_coff_line): Set symbol lnno field with this_base, not line_base. (Patch
...
from Andreas Arens, ari@obelix.av.rwth-aachen.de.)
1994-03-15 03:02:17 +00:00
Ken Raeburn
c3b0ae93d2
Scan Makefile.in, not version.c, for current version number. Delete all
...
versions of temp files when finished with them. Create config.h.
Not yet tested.
1994-03-15 02:10:32 +00:00
Ken Raeburn
954979ca8b
various configuration changes, obj-coff change
1994-03-14 20:20:00 +00:00
Ken Raeburn
f6570d6010
rewritten, untested
1994-03-14 19:56:47 +00:00
Ken Raeburn
eee7810fc9
new script, for regenerating make-gas.com
1994-03-14 19:50:00 +00:00
Ian Lance Taylor
62ea79742a
* config/tc-ppc.c (md_pcrel_from): Return 0 for undefined ELF
...
symbols.
(ppc_is_toc_sym): Change .toc to .got.
(md_apply_fix): Change handling of ELF relocs.
(tc_gen_reloc): Likewise.
1994-03-12 03:28:13 +00:00
Ken Raeburn
63ca2e81fd
Some alpha-ecoff and vax-vms related changes.
1994-03-11 23:13:37 +00:00
Ken Raeburn
7d5366dd28
Include aout/stab_gnu.h.
...
(N_GSYM, ..., N_LENG): Deleted.
(NO_RELOC): Undefine before defining as part of enum reloc_type.
1994-03-11 23:07:26 +00:00
Ken Raeburn
c17f46667a
(Close_VMS_Object_File): Add comment pointing out some code that doesn't belong
...
in this file.
1994-03-11 23:07:00 +00:00
Ian Lance Taylor
be22008b2c
* config/tc-mips.c (mips_ip): Accept numbers between 0x8000 and
...
0xffff for 'j' to be compatible with MIPS assembler. These
numbers are actually treated as negative.
1994-03-11 23:00:17 +00:00
David Edelsohn
2c6db5a158
* config/tc-sparc.h (LOCAL_LABEL): Local labels are .Lfoo.
1994-03-10 21:37:21 +00:00
Stan Shebs
623d4854fc
a belated reflection of changed MPW files
1994-03-09 20:32:48 +00:00
Ken Raeburn
9e12fbbc67
alpha, coff, i386 changes
1994-03-09 02:45:29 +00:00
Ken Raeburn
40cd35fffd
Handle Alpha load-immediate-FP pseudo-instructions:
...
* config/alpha-opcode.h (ldif, ldig, ldis, ldit): New patterns.
* config/tc-alpha.c (lit8_sec, lit4_sec, lit8_sym, lit4_sym): New variables.
(create_literal_section): New function.
(create_lita_section): Now a macro.
(get_lit8_offset, get_lit4_offset): New functions.
(maybe_set_gp): New function.
(select_gp_value): Call it.
(load_expression): Preserve addend if symbol is a section symbol.
(alpha_ip): Handle new operand type `F' for floating-point constants; store
them in .lit{4,8} sections.
(alpha_ip, case 'G'): Emit LITUSE relocations for symbol exprs.
1994-03-09 02:44:00 +00:00
Ken Raeburn
055a75ef75
* config/obj-coff.c: Minor formatting/stylistic changes, plus:
...
(obj_coff_section): Declare.
(obj_pseudo_table): Make it available only if MANY_SECTIONS.
(obj_symbol_to_chars) [CROSS_COMPILE]: Some attemps to make this work. It
still doesn't. It now fails to compile, instead of silently compiling to do
nothing.
* config/obj-coff.h (SEPARATE_STAB_SECTIONS): Define only if MANY_SECTIONS.
(OBJ_PROCESS_STAB) [! MANY_SECTIONS]: New macro, just emits a warning.
1994-03-09 02:42:57 +00:00
Steve Chamberlain
2bac8c544f
* config/obj-coffbfd.c (w_strings): Only copy strings out if
...
their symbols are going to be written.
1994-03-08 22:30:58 +00:00
Ian Lance Taylor
33e61c95a2
Set Emacs local variables to never use version control.
1994-03-08 19:16:31 +00:00
Ian Lance Taylor
d16938f52e
* messages.c (as_perror): Declare arguments const.
...
* as.h (as_perror): Change declaration.
1994-03-08 16:51:28 +00:00
Ian Lance Taylor
8ea7f4e854
* config/tc-mips.c (load_address): When calling frag_grow, allow
...
for the (up to) two nops which may be inserted by append_insn if
mips_optimize is 0.
(macro): Likewise.
1994-03-07 21:12:26 +00:00
David Edelsohn
fa47b47eee
* config/atof-ieee.c (make_invalid_floating_point_number):
...
Add cast to avoid warning from gcc.
1994-03-03 19:39:12 +00:00
Ken Raeburn
1535ff15c7
Removed comment about internals documentation in as.texi; just say that the
...
internals need documenting.
1994-03-03 02:31:21 +00:00
Ken Raeburn
74a88e8b27
Add some notes from tege on .align for alpha and i386 that I want to deal with
...
sometime, when I've got time.
1994-03-02 22:43:28 +00:00
Jeff Law
fb338f1d79
* config/tc-hppa.c: Add a few casts to make HP C compiler happy.
...
* config/obj-som.c (obj_som_version, obj_som_copyright): Be prepared
to handle an error from bfd_som_attach_aux_hdr.
1994-03-02 20:02:17 +00:00
Jeff Law
34b1685053
* config/tc-hppa.h: Wrap ELF specific decls inside an ifdef.
1994-03-02 18:31:57 +00:00
Rob Savoye
d8e882a899
Change "error" to "perror".
1994-03-02 05:00:26 +00:00