Ian Lance Taylor
b9d55d9634
* Makefile.in ($(OBJS)): Depend upon libiberty.h.
1996-10-17 22:00:04 +00:00
Jeff Law
548ddc7174
* config/tc-v850.c (v850_reloc_prefix): Recognize zdaoff, tdaoff
...
and sdaoff expressions.
1996-10-17 04:48:07 +00:00
Jeff Law
148b365e90
* gas/v850/reloc.s: New tests.
...
* gas/v850/basic.exp: Run them.
1996-10-17 04:41:24 +00:00
Jeff Law
0f8e50bb76
* write.c (fixup_segment): Don't add symbol value to addend if
...
TC_V850 and OBJ_ELF.
* config/tc-v850.h (tc_fix_adjustable): Don't adjust any
pc-relative fixups.
Fixing more failures in the g++ testsuite.
1996-10-16 17:32:39 +00:00
Jeff Law
f964b01d90
* config/tc-v850.c (md_pcrel_from): Delete unused function.
...
(md_pcrel_from_section): New function.
* config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
So we don't screw up pc-relative jumps/calls from one section
into another section within the same .o file.
Fixes global ctors/dtors to work with DECL_ONE_ONLY stuff.
1996-10-16 06:21:23 +00:00
Ian Lance Taylor
0267c6c9c2
* config/tc-mips.c (load_register): Add cast to offsetT when using
...
a constant with &~.
1996-10-14 18:00:19 +00:00
Ian Lance Taylor
f5587846ed
* gas/mips: Add symbols to several testsuites, since the ELF
...
assembler now always builds a symbol table, which means that
objdump will no longer report `No symbols in FILE'. Change the
expected output accordingly.
1996-10-14 17:54:49 +00:00
Ian Lance Taylor
5d0cd0b87e
Mon Oct 14 11:24:28 1996 Richard Henderson <rth@tamu.edu>
...
* config/obj-elf.c (elf_frob_file): Move ECOFF debug processing to ...
(elf_frob_file_after_relocs): ... here. New function.
* config/obj-elf.h (obj_from_file_after_relocs): New macro.
* write.c (write_object_file): Call *frob_after_relocs after the
call to write_relocs.
* config/tc-alpha.c: Use new BFD_RELOC_ALPHA_ELF_LITERAL reloc.
* config/tc-alpha.c (load_expression): Don't SET_VALUE on the section
symbol, as this messes up linking. Instead, expand the recursive call
inline and change up the appropriate bits to get the 0x8000 offset
in the reloc addend.
1996-10-14 15:40:15 +00:00
Ian Lance Taylor
1491f2eaee
* config/tc-sparc.h (tc_fix_adjustable): Permit the difference of
...
two symbols in the same segment to be adjusted.
1996-10-10 22:34:06 +00:00
Jeff Law
301ee34af4
* gas/mn10300/basic.exp: Check bit patterns for instructions
...
with a single 8bit or 16bit immediate operand.
We should correctly assemble just about everything except opcodes with:
multiple immediate operands,
3 register operands,
really weird stuff
1996-10-10 22:05:54 +00:00
Jeff Law
3ab9337b4b
* config/mn10300.c (md_assemble): Pass an extra shift count
...
to mn10300_insert_operand based on the opcode format.
(mn10300_insert_operand): Accept and use extra shift count
parameter.
Matsushita
1996-10-10 22:03:16 +00:00
Ian Lance Taylor
914f899869
* configure.in: Don't get confused by CPU-VENDOR-linux-gnu.
...
* configure: Rebuild.
1996-10-10 21:31:27 +00:00
Michael Meissner
f8a011cfa5
Turn most warnings into errors
1996-10-10 21:26:59 +00:00
Jeff Law
778c521b85
* config/tc-mn10300.c (md_assemble): Use FMT_* macros for
...
formats rather than hard-coded constants.
Minor cleanup.
1996-10-10 20:33:47 +00:00
Jeff Law
d9f4450770
* gas/mn10300/basic.exp: Check bit patterns for many
...
instructions. Add missing test in do_mov1.
* gas/mn10300/mov1.s: Add missing test.
We should now assemble just about anything without any
immediate operands.
1996-10-10 19:13:48 +00:00
Jeff Law
1c3ae169f7
* config/tc-mn10300.c (md_assemble): Format D5 instructions
...
are 7 bytes long. Write out instructions in big-endian format.
Matsushita.
1996-10-10 18:07:37 +00:00
Jeff Law
c3fa8cd69c
* gas/mn10300/{add.s, bcc.s, bit.s, cmp.s, ext.s}: New tests.
...
* gas/mn10300/{extend.s logical.s, loop.s, mov1.s}: Likewise.
* gas/mn10300/{mov2.s, mov3.s, mov4.s, movbu.s}: Likewise.
* gas/mn10300/{movhu.s, movm.s, muldiv.s, other.s}: Likewise.
* gas/mn10300/{shift.s, sub.s}: Likewise.
* gas/mn10300/basic.exp: Run them.
Beginnings of gas testsuite for mn10300. Matsushita.
1996-10-09 20:19:00 +00:00
Jeff Law
a6be605a1a
* config/tc-mn10300.h (md_assemble): Tweak further so
...
that all instructions are parsed correctly.
1996-10-08 20:59:28 +00:00
Ian Lance Taylor
5e1e8f23cf
* as.h: Include libiberty.h.
...
(xmalloc, xrealloc): Don't declare.
* as.c: Don't include libiberty.h.
* expr.c, read.c, stabs.c, config/obj-coff.c: Likewise.
* config/tc-mips.c: Likewise.
* messages.c: Likewise.
(xstrerror): Don't declare.
* xmalloc.c: Remove.
1996-10-08 17:15:20 +00:00
Jeff Law
1217102f2c
* config/tc-mn10300.h (pre_defined_registers) Remove.
...
(system_registers, cc_names): Likewise.
(address_registers, data_registers, other_registers): New register
arrays.
(register_name, system_register_name, cc_name): Remove.
(mn10300_reloc_prefix): Likewise.
(data_register_name): New function.
(address_register_name, other_register_name): Likewise.
(md_assemble): Rough cut at parsing operands. Remove lots of
unwanted code.
(md_apply_fix3): Disable for now.
Checkpointing today's Matsushita work.
1996-10-07 22:59:04 +00:00
Jeff Law
7d6669623a
Dummy .Sanitize files. Should also fix snapshot problems.
1996-10-07 22:55:13 +00:00
Ian Lance Taylor
99e3ccb64c
Mon Oct 7 11:38:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* config/tc-m68k.c (select_control_regs): New function, extracted
out of m68k_init_after_args.
(m68k_init_after_args): Use it.
(mri_chip): Use it here as well to update set of allowed control
regs for movec.
1996-10-07 15:40:59 +00:00
Ian Lance Taylor
0bd28bc4f4
* config/obj-elf.c (elf_begin): New function.
...
(obj_elf_section): Add the section symbol to the symbol table.
* config/obj-elf.h (obj_begin): Define.
(elf_begin): Declare.
* as.c (perform_an_assembly_pass): Call obj_begin if it is
defined.
1996-10-07 15:25:58 +00:00
Ian Lance Taylor
eb0dafdc04
* config/obj-coff.c (fixup_segment): Subtract the section address
...
from a PC relative reloc if TC_M68K.
1996-10-04 22:38:44 +00:00
Ian Lance Taylor
76f841e600
* config/tc-sparc.c (md_pseudo_table): Make .uahalf, .uaword, and
...
.uaxword available even if not OBJ_ELF.
(md_atof): Remove unused local variable wordP.
1996-10-03 19:16:36 +00:00
Jeff Law
ae1b99e42d
Grrr. The mn10200 and mn10300 are _not_ similar enough to easily support
...
with a single generic configuration. So break them up into two different
configurations. See the individual ChangeLogs for additional detail.
1996-10-03 16:42:22 +00:00
Jeff Law
0f91d7632c
* config/tc-mn10x00.c, config/tc-mn10x00.h: New files
...
for Matsushita MN10x00 support.
* configure.in: Recognize mn10x00-*-*
* configure: Rebuilt.
More Matsushita stuff.
1996-10-03 06:19:06 +00:00
Jeff Law
b5bfedbe6c
* gas/mn10x00: New directory for Matsushita 10x00 tests.
...
Keep stubbing out Matsushita stuff.
1996-10-03 06:16:13 +00:00
Ian Lance Taylor
7c328bc7ff
Wed Oct 2 15:54:03 1996 Klaus Kaempf <kkaempf@progis.de>
...
* obj-evax.h: move openvms definitions from here to tc-alpha.c.
* tc-alpha.c: add support for vms_case_hack like in vax/vms.
(load_expression): track clobbering of base reg before jmp/jsr.
(s_alpha_file): pass case_hack flags and source filename via
symbol table to bfd.
* tc-alpha.h (TC_CONS_FIX_NEW): define
1996-10-02 19:55:33 +00:00
Ian Lance Taylor
a69e5977e2
* read.c (s_macro): Warn if a macro has the same name as a
...
pseudo-op.
(s_space): In m68k MRI mode, align to a word boundary.
* macro.c (define_macro): Add namep parameter. Change all
callers.
* macro.h (define_macro): Update declaration.
1996-10-01 21:51:15 +00:00
Ian Lance Taylor
fed13a5ec9
Tue Oct 1 16:16:01 1996 Joel Sherrill <joel@oarcorp.com>
...
* configure.in (mips-*-rtems*): New target, like mips-*-elf*.
* configure: Rebuild.
1996-10-01 20:17:23 +00:00
Ian Lance Taylor
673cb062e9
update copyright
1996-10-01 19:55:02 +00:00
Ian Lance Taylor
819a5edafd
* lib/gas-defs.exp (gas_version): Fix for current version
...
printing.
1996-10-01 19:39:21 +00:00
Ian Lance Taylor
bfc94743ea
* as.c (show_usage): Print bug report address.
...
(parse_args): Change version printing to match current GNU
standards.
* gasp.c (show_usage): Print bug report address.
(main): Change version printing to match current GNU standards.
1996-10-01 19:31:06 +00:00
Ian Lance Taylor
0b810a6ee0
* config/tc-m68k.c (init_table): Correct access control unit
...
register numbers. From Ken Rose <rose@netcom.com>.
1996-10-01 17:59:56 +00:00
Ian Lance Taylor
ffef69a368
* config/tc-alpha.c: Add some static function prototypes.
...
(alpha_macros): Move to top of file. Make static.
(alpha_num_macros): Move to top of file.
1996-10-01 16:41:19 +00:00
Stu Grossman
8940a5834f
* tc-v850.h: Define LOCAL_LABEL to recognise _.L_* symbols
...
generated by DWARF.
1996-10-01 16:38:44 +00:00
David Edelsohn
a98ddff362
* gas/sparc/splet.d: Fix typo in cpusha result.
1996-09-29 14:57:04 +00:00
Ian Lance Taylor
4fc2c99a4a
* expr.c (expr): Change >>= to >> (fix typo). (From meissner).
1996-09-26 20:04:56 +00:00
Ian Lance Taylor
97f8e6ff76
* read.c (float_cons): Call md_flush_pending_output if it is
...
defined.
PR 10716.
1996-09-24 23:06:05 +00:00
Martin Hunt
3547832c08
Tue Sep 24 12:22:18 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* tc-d10v.c (md_operand): Created. Allows operands to
start with '#'.
* tc-d10v.h (md_operand): Undefined.
1996-09-24 19:24:38 +00:00
Ian Lance Taylor
6e4f3f096f
* config/tc-m68k.c (add_fix): Treat a width of '3' like 'B'.
...
(md_assemble): A fixup width of '3' means a 1 byte reloc.
1996-09-23 16:32:24 +00:00
Ian Lance Taylor
72f70020f3
* config/obj-coff.c (fixup_segment): Don't adjust PC relative
...
reloc for the i960 for a reloc in the same section. This undoes
one of the two changes made Aug 19.
PR 10672.
1996-09-19 16:25:11 +00:00
Ian Lance Taylor
913d896f5b
* gas/all/cofftag.s: Use .p2align rather than .align.
1996-09-18 16:15:10 +00:00
Ian Lance Taylor
ab2998440b
* config/obj-coff.c (obj_coff_endef): Both versions: Move C_STAT
...
symbols to the position of the debugging information.
PR 10668.
1996-09-18 16:14:29 +00:00
Ian Lance Taylor
1540599959
* expr.c (expr): Always use unsigned right shifts for >>.
...
PR 10630.
1996-09-16 15:42:47 +00:00
Jeff Law
1b3b1c2d3c
* gas/h8300/macs.s: Add "stmac" instructions.
...
* gas/h8300/basic.exp: Test them.
Somehow I forgot to test "stmac".
1996-09-13 21:27:22 +00:00
Jackie Smith Cashion
f17be6588b
Thu Sep 12 10:25:45 1996 James G. Smith <jsmith@cygnus.co.uk>
...
* config/tc-arm.c (md_apply_fix3): Update two thumb instruction
slots when processing BL fixups.
* config/tc-arm.c (output_inst): Ensure Thumb BL fixup is marked
on the first half of the instruction.
Thu Sep 12 10:28:44 1996 James G. Smith <jsmith@cygnus.co.uk>
* gas/arm/thumb.s (back): Check assembly of Thumb BL.
1996-09-12 09:31:02 +00:00
Ian Lance Taylor
1decafee51
* ecoff.c (ecoff_stab): Create an expression symbol for a complex
...
stabs expression, rather than giving an error.
1996-09-11 18:40:25 +00:00
Ian Lance Taylor
475c826bb4
* ecoff.c (ecoff_new_file): Don't do anything if we are still in
...
the same file.
PR 10595.
1996-09-11 04:14:35 +00:00