Alan Modra
4c63da97a7
This set of patches add support for aout emulation on the x86
...
assembler. ie. You will be able to do "as --em=i386aout" on an x86
linux-elf assembler to generate aout format object files, rather than
using a separate assembler. The aout emulation is enabled by giving
"--enable-targets=i386-linuxaout" to configure.
Oh yeah, there's a couple of fixes too. Error messages shouldn't be
passed to printf in the format arg just in case someone puts a `%' in
the message.
2000-01-26 22:48:31 +00:00
Alan Modra
dfad2e408f
Fix gas x86 testsuite for a.out
2000-01-21 22:58:04 +00:00
Alan Modra
a3d1c52b07
gas/testsuite/ChangeLog
...
* gas/i386/general.{s,l}: Move 16 bit jmp and call tests from here
* gas/i386/jump16.{s,d}: To here.
* gas/i386/jump.{s,d}: New files. Duplicate 32 bit jmp and call
tests in general.s so that objdump is exercised.
* gas/i386/i386.exp: Call new tests.
2000-01-21 10:18:33 +00:00
Alan Modra
add0c67765
Cosmetic changes to tc-i386.[ch] + extend x86 gas testsuite jmp and
...
call tests + tweak intel mode far call and jmp.
2000-01-15 12:06:03 +00:00
Alan Modra
a8de59980c
Add jmp and call tests to prevent intel mode lossage creeping in again.
2000-01-15 04:46:00 +00:00
Clinton Popetz
a19d8eb03e
2000-01-13 Clinton Popetz <cpopetz@cygnus.com>
...
* config/tc-mips.c (mips_do_align): New function.
* config/tc-mips.h (md_do_align): Define.
2000-01-14 17:58:29 +00:00
Nick Clifton
550262c43d
fixup ARM documentation
2000-01-10 22:22:56 +00:00
Nick Clifton
0decc84046
Add arm-conix target
2000-01-10 19:48:27 +00:00
Nick Clifton
2e13b76485
ELF visibility patch from Martin Loewis
2000-01-03 18:34:24 +00:00
Alan Modra
3138f287b1
x86 indirect jump/call syntax fixes. Disassembly fix for lcall.
1999-12-27 16:10:31 +00:00
Nick Clifton
858f4ff6ff
fix formatting
1999-12-22 19:54:41 +00:00
Nick Clifton
df32bc61b0
Apply patch from Philip Blundell to allow .previous to work for arm-elf
1999-12-22 19:44:15 +00:00
Nick Clifton
b4d0b2b3ab
Add support for -marm720 command line switch
1999-12-14 19:40:59 +00:00
Jeff Law
433b86296f
Tue Nov 30 23:02:01 1999 Jeffrey A Law (law@cygnus.com)
...
* gas/mn10300/{am33.s, am33_2.s, am33_3.s}: New test files.
* gas/mn10300/{am33_4.s, am33_5.s, am33_6.s}: Likewise.
* gas/mn10300/{am33_7.s, am33_8.s}: Likewise.
* gas/mn10300/basic.exp: Run the am33 tests.
1999-12-01 10:41:44 +00:00
Jeff Law
85cb2cf971
* config/tc-mn10300.c (md_pseudo_table): Add ".am33" pseudo-op.
...
(r_registers, xr_registers): Define.
(r_register_name, xr_register_name): New functions.
(md_assemble): Handle new am33 operand types and instruction
formats.
(mn10300_insert_operand, check_operand): Likewise.
1999-12-01 10:40:07 +00:00
Nick Clifton
a64bcdd8d3
Fix .force_thumb
1999-11-29 15:29:34 +00:00
Michael Meissner
43b4c25efc
Add support for !literal and !lituse_base
1999-11-29 00:46:16 +00:00
Jeff Law
afbf211f5a
* config/tc-hppa.c (pa_ip): Handle PA2.0 unit completers. Handle
...
'B' operand for PA2.0 bb instruction.
1999-11-25 03:27:35 +00:00
Nick Clifton
f11900d058
Fix generation of RVA relocs
1999-11-18 18:38:18 +00:00
Alan Modra
2daf4fd896
* config/tc-i386.c (i386_immediate): Disallow O_big immediates.
...
(i386_displacement): Disallow O_big displacements.
1999-11-16 12:27:25 +00:00
Donald Lindsay
92a66162a2
tc-arm.c: minor changes and support for upcoming V5E variant.
1999-11-16 04:15:55 +00:00
Donald Lindsay
eb726e5db1
log entry for config/tc-arm.c change
1999-11-16 04:14:57 +00:00
Gavin Romig-Koch
73c89d4876
* gas/mips/la.d: Adjust for new la macro expansion.
...
Change matches for explicit addresses to matches for
any address.
* gas/mips/la-xgot.d: Same.
* gas/mips/la-svr4pic.d: Same.
1999-11-15 15:47:48 +00:00
Nick Clifton
92fa3950ea
fix typo.
1999-11-12 15:39:46 +00:00
Nick Clifton
035349a40d
do not look beyond the end of the buffer
1999-11-12 11:02:56 +00:00
Nick Clifton
c1eae11499
Look for seperator after TO and FROM tokens when exploring nested structures
1999-11-11 16:35:12 +00:00
Andrew Haley
c5c834aac9
1999-11-08 Andrew Haley <aph@cygnus.com>
...
* app.c (do_scrub_chars): When in State 10, treat backslash
characters in the same way as as symbol characters.
1999-11-09 17:14:45 +00:00
Richard Henderson
98007ce7b0
* config/tc-alpha.c (alpha_align): Check, don't assert, that
...
the previous label was in the current section before playing
with auto-alignment.
1999-11-08 00:44:52 +00:00
Nick Clifton
d6c497c760
Do not attempt to fixup relocs relative to weak symbols
1999-11-06 14:05:24 +00:00
Michael Meissner
dd33dc0f45
Add more md operators
1999-11-05 21:50:54 +00:00
Ian Lance Taylor
53b0d3971a
* read.c (pseudo_set): Reject attempts to set the value of a
...
section symbol.
1999-11-03 22:14:47 +00:00
Ian Lance Taylor
5f91fe03ba
* config/obj-elf.c (obj_elf_ident): Call md_flush_pending_output
...
if it is defined.
* config/obj-elf.c (elf_set_index): Add ATTRIBUTE_UNUSED.
* config/obj-elf.c (elf_frob_file_after_relocs): Don't pass NULL
to bfd_set_section_contents.
1999-11-03 22:13:33 +00:00
Nick Clifton
829ce3071e
Change the default endianness to little.
1999-11-03 18:19:22 +00:00
Gavin Romig-Koch
2bd7f1f332
For include/opcode:
...
* mips.h (OPCODE_IS_MEMBER): New.
For gas:
* config/tc-mips.c (macro_build): Use OPCODE_IS_MEMBER.
(mips_ip): Use OPCODE_IS_MEMBER.
For opcodes:
* mips-dis.c (_print_insn_mips): Use OPCODE_IS_MEMBER.
1999-11-01 19:29:55 +00:00
Nick Clifton
509033932c
fixes for arm-aout....
1999-11-01 17:10:27 +00:00
Nick Clifton
603eea0846
Fix test results for arm-pe toolchain
1999-11-01 16:42:16 +00:00
Jeff Law
acb5662391
* config/tc-arm.c (reg_required_here): Improve comments.
1999-10-28 03:03:53 +00:00
Jeff Law
b49cfa5dae
* config/tc-arm.c (thumb_opcode): Add "variants" field.
...
(tinsns): Initialize variants field.
1999-10-28 02:53:42 +00:00
Jeff Law
90ca882f04
* tc-arm.c (bad_args, bad_pc): Renamed to BAD_ARGS and BAD_PC
...
respectively.
1999-10-27 22:52:35 +00:00
Nick Clifton
29c4c6b539
fix compile time warnings
1999-10-27 18:13:28 +00:00
Nick Clifton
4c1102fd19
revert part of previous delta which had accidentally snarfed some experimental
...
code.
1999-10-25 16:48:26 +00:00
Nick Clifton
452a37f009
revert previous delta
1999-10-25 16:30:37 +00:00
Nick Clifton
9cac79d30b
Apply patch supplied for case 102229 to implement new insns psrclr and psrset.
1999-10-25 15:28:44 +00:00
Nick Clifton
f084181a5b
oops - omitted from previous delta
1999-10-25 15:27:51 +00:00
Diego Novillo
d9fd985254
* tc_d10v.c (find_opcode): Allow ATSIGN to match expressions of the
...
form @abs16, @(abs16) and @(abs16 + imm).
1999-10-21 13:49:38 +00:00
Gavin Romig-Koch
9ce8a5dd8e
* config/tc-mips.c (ISA_HAS_COPROC_DELAYS) : New.
...
(ISA_HAS_64_BIT_REGS) New.
(gpr_interlocks,md_begin,reg_needs_delay,append_insn,
mips_emit_delays,macro_build,load_register,load_addresss,
macro,macro2,mips_ip,s_cprestore,s_cpadd): Simplify
and/or use new ISA_xxx macros in expressions involving
ISA, particularly mips_opts.isa.
1999-10-21 13:23:31 +00:00
Nick Clifton
e591b0ea67
Fix assembler testsuite for ARM
1999-10-21 10:44:39 +00:00
Michael Meissner
446a06c9b8
Add md expression support; Cleanup alpha warnings
1999-10-18 22:29:15 +00:00
Jeff Law
476cdcb88f
* config/tc-hppa.c (md_apply_fix): Make "fmt" an int.
1999-10-17 23:19:13 +00:00
Alan Modra
c388dee89b
Nit fix.
1999-10-12 11:07:34 +00:00