Ken Raeburn
4d9a31230f
mips tweaks from vr5400 branch -- deal with cpus w/interlocks a little better
1997-12-16 19:42:01 +00:00
Nick Clifton
085e370b46
Fixed m32rx sanitization
1997-12-16 16:04:57 +00:00
Nick Clifton
d745e6d93d
Added m32rx sanitization.
1997-12-16 14:54:08 +00:00
Michael Meissner
e0882f340d
Better optimize parallel instructions
1997-12-16 13:25:59 +00:00
Jeff Law
4aada8a886
* gas/mips/r5900.s: Add more r5900 tests.
...
* gas/mips/r5900.d: Corresponding changes.
1997-12-16 12:25:39 +00:00
Jeff Law
0f63020ed8
* gas/mips/r5900.s: New testcase for r5900 insns.
...
* gas/mips/r5900.d: Support file for r5900 tests.
* gas/mips/mips.exp: Run r5900 tests too.
1997-12-16 11:54:21 +00:00
Nick Clifton
3b70a88538
Added c-m32r.exi to list of kept files.
1997-12-16 09:31:48 +00:00
Nick Clifton
9efc7d599d
Prevent use of interworking support in non-COFF targets.
1997-12-16 09:23:11 +00:00
Nick Clifton
ee73be4088
Document new --m32rx command line option.
1997-12-16 00:00:30 +00:00
Nick Clifton
a450e9f4d1
Add support for --m32rx command line option.
1997-12-15 23:25:27 +00:00
Jeff Law
8f7df7089a
* gas/mips/vr5400.s: Tweak mfpc, mtpc, mfps, mfps, and mtps for
...
better testing coverage.
* gas/mips/vr5400.d: Corresponding changes.
1997-12-15 19:25:54 +00:00
Jeff Law
09162f6feb
* config/tc-mips.c (mips_ip): Correctly insert 'P' operands into
...
the instruction.
1997-12-15 19:21:25 +00:00
Fred Fish
599ef811c3
* config/tc-tic80.c (build_insn): Handle instructions that have
...
long (32 bit) PC relative offsets. Fix places that previously
misused R_MPPCR for 15 bit offsets to use the new R_MPPCR15W type.
(md_apply_fix): Add case to handle long PC relative offsets.
PR 12927
1997-12-13 00:58:43 +00:00
Nick Clifton
3b7dc33055
Fixed bug in previous delta (strcmp <=> streq)
1997-12-12 22:02:12 +00:00
Nick Clifton
da5715e693
Renamed v850eq -> v850eq
1997-12-12 18:55:50 +00:00
Nick Clifton
f520aaee13
Add support for more ARM processor names.
1997-12-12 18:42:40 +00:00
Richard Henderson
290c51b5cd
* config/tc-m68k.c (m68k_ip): Don't overwrite opcode table data.
...
(insop, m68k_ip): Make `opcode' const so it doesn't happen again.
1997-12-12 01:46:42 +00:00
Gavin Romig-Koch
2a07178851
Don't run mips16 tests for tx49.
1997-12-11 14:28:38 +00:00
Felix Lee
06434f5f16
sanitization fixes. (files not mentioned, fences misspelled)
1997-12-11 04:18:47 +00:00
Nick Clifton
df09ec8d0a
Use special section values for v850 common sections.
1997-12-05 19:29:21 +00:00
Nick Clifton
2f252edab6
Added missing sanitization markers.
1997-12-04 17:30:37 +00:00
Nick Clifton
d4b2cc56c0
Brought up to date with respect to the branch
1997-12-03 01:13:08 +00:00
Joern Rennecke
6fdb746d44
bfd:
...
* coff-sh.c (sh_coff_howtos): Add R_SH_SWITCH8 entry.
(get_symbol_value): Handle R_SH_SWITCH8.
(sh_relax_delete_bytes): Likewise.
include:
* coff/sh.h (R_SH_SWITCH8): New.
gas:
* config/tc-sh.c (SWITCH_TABLE_CONS): Handle (fix)->fx_size == 1.
(SWITCH_TABLE): Handle BFD_RELOC_8.
(md_apply_fix): #ifndef BFD_ASSEMBLER code: Handle fixP->fx_size == 1.
(coff_reloc_map): Add BFD_RELOC_8_PCREL entry.
(sh_coff_reloc_mangle): SWITCH_TABLE case: Handle BFD_RELOC_8.
PR 14155
1997-12-01 20:45:03 +00:00
Nick Clifton
33cb4925be
Brought devo up to date with the branch.
1997-11-22 22:29:08 +00:00
Ian Lance Taylor
8046e281ef
Sat Nov 22 15:50:09 1997 Klaus Kaempf <kkaempf@progis.de>
...
* config-gas.com: Get version info from configure.in.
1997-11-22 21:04:47 +00:00
Ian Lance Taylor
db5bb86ef8
Sat Nov 22 15:50:09 1997 Klaus Kaempf <kkaempf@progis.de>
...
* makefile.vms: include depend.obj in OBJS.
1997-11-22 21:01:27 +00:00
Ian Lance Taylor
6dbf32687d
Sat Nov 22 15:50:09 1997 Klaus Kaempf <kkaempf@progis.de>
...
* config/tc-alpha.c (s_alpha_section): Remove ".lcomm" handling.
1997-11-22 20:54:16 +00:00
Ian Lance Taylor
c699ff0403
Sat Nov 22 15:50:09 1997 Klaus Kaempf <kkaempf@progis.de>
...
* config/tc-alpha.c (alpha_basereg_clobbered): Remove variable and
all corresponding code.
1997-11-22 20:52:29 +00:00
Nick Clifton
19bc147e85
Patch from Richard Earnshaw
1997-11-20 23:08:21 +00:00
Richard Henderson
04b26b0008
* sh-dis.c (print_insn_shx): Recognize all sh4 additions.
...
* sh-opc.h (fmov): Add @<REG_M>+,<DX_REG_N> variant for sh4.
(ftrv): Slay the cut-and-paste monster.
* tc-sh.c (parse_reg): Properly quote for fv4.
pr14044
1997-11-20 22:01:30 +00:00
Ian Lance Taylor
942f33aeb1
* symbols.c (resolve_symbol_value): Add missing breaks in case on
...
symbol value operator.
1997-11-20 04:47:43 +00:00
Ian Lance Taylor
427a886ad1
rebuild
1997-11-20 04:46:19 +00:00
Ken Raeburn
35baf6dded
vr5400 has interlocks
1997-11-19 07:25:47 +00:00
Joern Rennecke
fe00b2ed0f
* include/opcode/d10v.h (OPERAND_FLAG): Split into:
...
(OPERAND_FFLAG, OPERAND_CFLAG) .
* opcodes/d10v-opc.c (OPERAND_FLAG): Split into:
(OPERAND_FFLAG, OPERAND_CFLAG) .
(FSRC): Split into:
(FFSRC, CFSRC).
* gas/config/tc-d10v.c (parallel_ok, find_opcode):
Split OPERAND_FLAG into OPERAND_FFLAG and OPERAND_CFLAG.
Fix for PR 13985.
1997-11-18 19:41:44 +00:00
Fred Fish
8d8693868c
* config/obj-coff.c (fixup_segment): Cast second arg of
...
md_apply_fix3 call to type "valueT *".
1997-11-17 00:23:35 +00:00
Andrew Cagney
15ddb4c9ad
Add FreeBSD/aout target confiiguration. Make it a 386BSD clone.
1997-11-13 22:21:36 +00:00
Gavin Romig-Koch
9bb4d38497
* mips.h (struct mips_opcode): Changed comments to reflect new
...
field usage.
* mips-opc.c: Move the INSN_MACRO ISA value to the membership
field for all INSN_MACRO's.
* mips16-opc.c: same
* config/tc-mips.c (macro_build): Use the membership field
for INSN_MACRO's.
(mips_ip): Same.
1997-11-13 16:13:03 +00:00
Joern Rennecke
832ef2cca2
* config/tc-d10v.c (find_opcode): For OPCODE_FAKE, add check for
...
first argument if it's supposed to be a register.
PR 13952.
1997-11-13 02:19:13 +00:00
Gavin Romig-Koch
42444087ff
config/tc-mips.c (mips_4900): Added.
...
(hilo_interlocks): Added mips_4900.
(md_begin): Set default for mips_4900.
(macro_build,mips_ip): Test for INSN_4900 if mips_4900.
(md_longopts): Add "m4900" and "no-m4900".
(md_parse_option): Handle above options.
1997-11-12 15:09:33 +00:00
Joern Rennecke
f2fafccac2
* app.c (do_scrub_chars): If d10v, re-insert a space before
...
a '#' when in state 10.
Fix for PR 13894.
1997-11-11 19:35:49 +00:00
Ian Lance Taylor
5de020b44e
* config/tc-h8300.c: Include "subsegs.h".
...
(tc_reloc_mangle): Handle references to symbols which are not
being output, so that references to `.' work.
PR 13915.
1997-11-11 18:35:20 +00:00
Ken Raeburn
93d2187d32
fix vr5400 sanitization
1997-11-10 19:24:15 +00:00
Ian Lance Taylor
77635763d6
* config/tc-m68k.c (m68k_ip): Call add_fix when needed for '_'
...
case.
PR 13886.
1997-11-10 19:15:45 +00:00
Ian Lance Taylor
f19d08dc40
* macro.c (sub_actual): If we don't find a parameter for an &,
...
just substitute &.
PR 13868.
1997-11-10 18:45:31 +00:00
Ken Raeburn
b3ed1af38c
* config/tc-mips.c (mips_ip): Added cases for "e", "%", and "P" operand types.
...
(hilo_interlocks): VR5400 has interlocks.
(md_begin): Expect mips64vr5400, not mips64r5400.
* config/tc-mips.c (mips_ip): In default case, call as_bad instead of fprintf,
to get "assembler messages:" message output before instead of after.
1997-11-08 02:44:22 +00:00
Ken Raeburn
4aa424c7a7
* gas/mips/vr5400.s, gas/mips/vr5400.d: New test, for VR5400-specific
...
instructions.
* gas/mips/mips.exp: Run it.
* gas/ieee-fp/x930509a.exp: Don't run IEEE FP tests for Vax targets.
1997-11-08 02:41:48 +00:00
Doug Evans
4afb407dae
* frags.h: Handle multiple inclusion.
1997-11-07 18:37:06 +00:00
Doug Evans
070937ba64
Based on a patch from Ian.Dall@dsto.defence.gov.au.
...
* as.h (struct frag, frag support): Moved from here.
* frags.h: To here.
(struct frag, member tc_frag_data): New member if TC_FRAG_TYPE
is defined.
(struct frag, member fr_cgen): Renamed from fr_targ.cgen.
* cgen.c (cgen_asm_finish_insn): Update.
* config/tc-m32r.c (md_estimate_size_before_relax): Update.
* config/tc-m32r.h (TC_FRAG_INIT): Renamed from md_init_frag.
(md_convert_frag): Ditto.
* config/tc-ns32k.h (TC_FRAG_TYPE): Define.
(frag_opcode_frag,frag_opcode_offset,frag_bsr): Update.
(TC_FRAG_INIT): Update.
1997-11-05 21:05:08 +00:00
Doug Evans
269bbc74e0
(struct frag): Delete docs for fr_opcode_frag, fr_opcode_offset, fr_bsr.
...
Add docs for tc_frag_data.
1997-11-05 18:56:26 +00:00
Doug Evans
44f5c4d7bc
Document TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT.
1997-11-05 01:04:45 +00:00
Doug Evans
d57d82d7e5
* write.c (print_fixup): Use TC_FIX_DATA_PRINT (if defined) to
...
print out MD fields of fix.
* frags.c (frag_var, frag_variant): Use TC_FRAG_INIT macro (if
defined) to initialize MD fields in frag.
* as.h (struct frag, ns32k support): Rename ns32k to fr_ns32k.
Delete pcrel_adjust. Add fr_opcode_fragP, fr_opcode_offset.
* config/tc-ns32k.h: Add comments. Remove obsolete
BFD_FAST_SECTION_FILL definition, change prototypes for
fix_new_ns32k and fix_new_ns32k_exp to add new arguments
opcode_frag and opcode_offset and remove pcrel_adjust.
(TC_FIX_TYPE): add opcode_fragP and opcode_offset fields.
(TC_FIX_DATA_PRINT): new macro to print out TC_FIX_TYPE.
(TC_FRAG_INIT): new macro to initialize machine dependent field in
frags.
(frag_opcode_frag, frag_opcode_offset, frag_bsr): macros to access
MD fields in frag structure.
(fix_im_disp, fix_bit_fixP, fix_opcode_frag, fix_opcode_offset,
fix_bsr): macros to access MD fields in fix structure.
* config/tc-ns32k.c: Avoid overlength lines. Align comments. Don't
use struct opcode_location as these fields are now in the frag
structure.
(convert_iif): Call frag_more as it is needed instead
of trying to allocate for the whole insn. Avoid call of frag_more
with negative argument.
(md_pcrel_adjust, md_fix_pcrel_adjust, md_apply_fix,
md_estimate_size_before_relax, md_pcrel_from,
tc_aout_fix_to_chars): use accessor macros to get md fields in fix
and frag structures.
(fix_new_ns32k, fix_new_ns32k_exp): add new arguments opcode_frag and
opcode_offset and remove pcrel_adjust.
(convert_iif, cons_fix_new_ns32k): call fix_new_ns32k,
fix_new_ns32k_exp with changed arguments.
1997-11-05 00:45:23 +00:00
Doug Evans
86cb8d868d
Update ns32k docs.
1997-11-05 00:15:22 +00:00
Gavin Romig-Koch
d66e8c4bef
Correct sanitation for tx49.
1997-11-03 19:44:49 +00:00
Gavin Romig-Koch
1724c79e75
* tc-mips.c (md_begin): Reorganize setting of default values so
...
that mips_cpu depends on TARGET_CPU, and mips_opts.isa depends on
mips_cpu.
(md_parse_option): Remove all code that sets defaults; md_begin
handles all of this now.
1997-11-03 19:32:42 +00:00
Ian Lance Taylor
0ac53ff04d
* Makefile.am (STAGESTUFF): Change bin_PROGRAMS to
...
noinst_PROGRAMS.
(bootstrap, bootstrap2, bootstrap3): Likewise.
* Makefile.in: Rebuild.
1997-11-02 19:49:24 +00:00
Ken Raeburn
aa2e0460a0
* config/tc-mips.c (mips_5400): New variable.
...
(md_begin, md_parse_option): Handle 5400 options/names.
(macro_build, mips_ip): Check for 5400-specific instructions.
(md_longopts, OPTION_M5400, OPTION_NO_M5400): More command-line support for
5400.
* config/tc-mips.c (validate_mips_insn): New function, checks match versus mask
bits, and also verifies that all bits to be output are actually specified
somewhere.
(md_begin): Call it for 32-bit instructions, instead of doing match/mask check
here. In case of failure, print a message, but check the rest of the opcode
table before exiting.
1997-10-31 23:21:44 +00:00
Nick Clifton
6e3fcdf01c
Fixes to Thumb ADR pseudo op from Tony Thompson at ARM (athompso@arm.com).
1997-10-30 21:44:05 +00:00
Ian Lance Taylor
605ca21a04
add tx49 sanitization
1997-10-30 16:38:29 +00:00
Michael Meissner
42cf65557e
Allow odd registers for ld2w and friends
1997-10-30 16:12:36 +00:00
Gavin Romig-Koch
4ebda395f1
* config/tc-mips.c (hilo_interlocks): True for tx49.
...
(md_begin): Add mips64tx49.
(md_parse_option): Add 4900 cpu.
* gas/mips/mips.exp: Add tx49 configury.
1997-10-29 21:40:09 +00:00
Ian Lance Taylor
e59390a7eb
* config/tc-ppc.c (md_assemble): When handling @l, always sign
...
extend if the operand expects a signed value.
PR 13667.
1997-10-24 21:29:10 +00:00
Ian Lance Taylor
c14d0cc015
* config/tc-mips.h (LOCAL_LABELS_DOLLAR): Don't define; use
...
default which is to permit dollar labels.
PR 13645.
1997-10-24 20:03:16 +00:00
Richard Henderson
1bb6aaad34
Fri Oct 24 11:19:22 1997 Jakub Jelinek <jj@sunsite.mff.cuni.cz>
...
* config/tc-sparc.c (sparc_memory_model): New variable.
(md_longopts): Add -TSO/-PSO/-RMO options.
(md_parse_options): Handle them.
(sparc_elf_final_processing): For 64 ELF, set required
memory ordering in e_flags. Default to RMO and let the user
override it through command line.
* config/tc-sparc.h (elf_tc_final_processing): Add.
1997-10-24 18:20:36 +00:00
Richard Henderson
1277cdda1c
* config/tc-sparc.c (v9a_asr_table): New variable.
...
(sparc_ip): Handle v9a asr's.
Patch from David Miller <davem@vger.rutgers.edu>.
1997-10-23 00:40:25 +00:00
Richard Henderson
7532235c09
* config/tc-sparc.h (md_do_align): New macro.
...
* config/tc-sparc.c (sparc_handle_align): Handle rs_align_code.
Patch from Jakub Jelinek <jj@sunsite.mff.cuni.cz>.
1997-10-23 00:22:51 +00:00
Ken Raeburn
01c655cc45
sanitize law's 15 jul r5900 change
1997-10-22 21:34:33 +00:00
Ian Lance Taylor
82b4217bfd
* config/tc-sh.c (sh_small): New variable.
...
(OPTION_SMALL): Define.
(md_longopts): Add "small".
(md_parse_option): Handle OPTION_SMALL.
(md_show_usage): Mention -small.
* config/tc-sh.h (sh_small): Declare.
(SUB_SEGMENT_ALIGN): Handle sh_small.
* config/obj-coff.h (TARGET_FORMAT): Check sh_small in TC_SH
case.
PR 13580.
1997-10-22 20:13:54 +00:00
Ian Lance Taylor
517640d9b5
* config/tc-mips.c (macro): Correct handling of constant in M_LI_D
...
case in little endian mode.
1997-10-22 16:52:46 +00:00
Doug Evans
61a60a8a70
* config/tc-sparc.c (md_apply_fix3, cases ..._H44, ..._HIX22): Leave
...
overflow signalling to linker.
1997-10-21 17:23:12 +00:00
Doug Evans
70ee778220
* configure.in (sparc64): Set arch to v9-64.
...
* configure: Regenerated.
1997-10-20 20:02:28 +00:00
Ian Lance Taylor
9659c18b39
Various fixes for openvms/alpha.
1997-10-20 19:43:05 +00:00
Ian Lance Taylor
71e0e8f9e8
Mon Oct 20 14:54:06 1997 Klaus K"ampf <kkaempf@progis.de>
...
* config/obj-evax.c: support .weak pseudo-op
1997-10-20 18:56:21 +00:00
Doug Evans
595da85d72
* tc-sparc.c (default_arch_size): New static local.
...
(struct sparc_arch): Rename arch_size to default_arch_size.
New member user_option_p.
(sparc_arch_table): Always include v9, v9a. New entry v9-64.
(init_default_arch): Check whether default arch is valid.
Set default_arch_size in addition to sparc_arch_size.
(OPTION_32,OPTION_64): Define.
(md_longopts): New entries for -32, -64.
(md_parse_option): Handle them.
(md_show_usage): Print them. Ensure init_default_arch called.
1997-10-20 17:23:10 +00:00
Ian Lance Taylor
66a6a38139
* write.c (subsegs_finish): New function, broken out of
...
write_object_file.
(write_object_file): Some code moves into subsegs_finish.
* write.c (subsegs_finish): Declare.
* as.c (main): Call subsegs_finish.
Fixes last frag when generating a listing for a file with an error.
1997-10-19 18:14:01 +00:00
Ian Lance Taylor
891a158431
* read.c (s_include): Check for error return from
...
demand_copy_string.
PR 13566.
1997-10-19 17:51:31 +00:00
Jeff Law
f08be001ae
* gas/ieee-fp/x930509a.s: Tweak slightly to work on the PA.
...
[ pseudo-ops and directives must not start in column zero on the PA. ]
1997-10-15 16:40:48 +00:00
Jeff Law
e35cf6e4e9
* gas/hppa/unsorted/unsorted.exp: Update for recent disassembler
...
changes.
1997-10-15 16:37:03 +00:00
Richard Henderson
08ce71f5c4
* read.c (get_line_sb): Accept any eol marker while scanning macros.
1997-10-15 03:56:30 +00:00
Richard Henderson
10b8f7f036
* config/tc-alpha.h (DIFF_EXPR_OK): Define.
...
* config/tc-i386.h (DIFF_EXPR_OK): Define.
* config/tc-alpha.c (md_apply_fix): Notice fx_pcrel and substitute
the correct relocation when it exists.
* config/tc-i386.c (md_apply_fix3): Likewise.
* config/tc-ppc.h: Correct typo in comment.
* config/tc-v850.h: Likewise.
1997-10-15 02:17:00 +00:00
Andrew Cagney
a0a5f4e2bd
Allow assembler to make parallel instructions where there the seconds
...
(latter) outputs intersect with the first (earlier) inputs.
1997-10-13 23:17:22 +00:00
Richard Henderson
856f843eef
* ecoff.c (PAGE_SIZE): Double to 8k as a hack to allow some C++
...
templated programs to build with -g.
1997-10-13 22:28:35 +00:00
Nick Clifton
de0e22c1bf
Added .tcomon section initialisation.
1997-10-11 01:02:07 +00:00
Nick Clifton
c280609300
Jim fixed the fixups for conditional and unconditional branches.
...
Added code to support the bss and common sections in thr ZDA and SDA areas.
1997-10-11 00:55:57 +00:00
David Edelsohn
e01e18a8b3
* configure.in (sparc): Set DEFAULT_ARCH from correct target.
...
* configure: Regenerated.
1997-10-10 22:02:59 +00:00
Martin Hunt
b83565def8
Fri Oct 10 11:22:45 1997 Martin M. Hunt <hunt@cygnus.com>
...
* config/tc-d10v.c: Fixes to make sure the AT_WORD
expression is not confused with -1.
1997-10-10 18:22:59 +00:00
Andrew Cagney
528859ea3f
Flag SP as modified for @-sp operand - OPERAND_ATMINUS.
1997-10-10 05:59:16 +00:00
Michael Meissner
719ddab4cc
Do not allow auto inc/dec to parallelize with an instruction that uses the index register
1997-10-10 04:50:36 +00:00
David Edelsohn
2feb07dc3f
* gas/sparc/set64.[sd]: `set' doesn't take negative arguments.
1997-10-10 01:19:45 +00:00
Ian Lance Taylor
15ab76e50d
From Robin Kirkham <Robin.Kirkham@mlb.dmt.csiro.au>:
...
* config/tc-m68k.c (archs): Add 68306, 68307, 68322, 68356, 68334,
68336, 68341, 68349.
* doc/c-m68k.texi (M68K-Opts): Add -m68ec000 -m68hc000 -m68hc001
-m68306, -m68307, -m68322, -m68356, -m68ec020, -m68ec030,
-m68ec040, -m68ec060, -m68330, -m68334, -m68336, -m68341,
-m68349.
1997-10-09 19:30:16 +00:00
Ian Lance Taylor
57f269b1c0
* doc/Makefile.am (CPU_DOCS): Define.
...
(as.info): Depend upon $(CPU_DOCS).
* doc/Makefile.in: Rebuild.
1997-10-09 19:22:15 +00:00
Ian Lance Taylor
ed1ed9f9dc
* configure.in: Remove AM_PROG_INSTALL; it's called by
...
AM_INIT_AUTOMAKE.
* configure: Rebuild.
1997-10-09 19:20:14 +00:00
Joern Rennecke
c7b2ac2856
* config/tc-d10v.c (write_2_short): Fix bug that wouldn't allow
...
to pair a branch and link with anything but an exe instruction.
Fix for gas/13494.
1997-10-09 18:37:16 +00:00
Joern Rennecke
d78d367107
* tc-d10v.h (TC_START_LABEL): Don't define.
...
(tc_frob_label): Define.
Fix for gas/13307.
1997-10-09 18:28:59 +00:00
Frank Ch. Eigler
bda3fc0083
* gas/sparc/set64.d: Update for recent disassembler changes.
...
* gas/sparc/splet.d: Likewise.
1997-10-09 18:04:54 +00:00
Ian Lance Taylor
c7020f0843
* gas/arm/arm7t.d: Update for recent disassembler changes.
...
* gas/h8300/ffxx1.d: Likewise.
1997-10-09 17:01:48 +00:00
Richard Henderson
8a8a91a5b7
* config/tc-alpha.c (load_expression): Disable the sym+const .got
...
optimization to reduce the alignment surprises for gcc.
1997-10-08 23:40:54 +00:00
David Edelsohn
8ac26d165e
* gas/sparc/reloc64.[sd]: Add testcases for %hix,%lox.
1997-10-08 23:24:06 +00:00
David Edelsohn
54b9ebdd55
* config/obj-coff.h (TC_SPARC): Don't define TARGET_FORMAT.
...
* config/tc-sparc.c (sparc_target_format): Handle coff here.
(sparc_ip): Add %hix,%lox.
(md_apply_fix3): Call as_bad_where, not as_bad.
Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
(tc_gen_reloc): Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
1997-10-08 23:13:52 +00:00
Ian Lance Taylor
2f0e18834b
* gas/sparc/synth.d: Update for recent disassembler changes.
...
* gas/sparc/synth64.d: Likewise.
1997-10-08 19:57:20 +00:00
Richard Henderson
0170f1c38a
Change alpha-*-* to alpha*-*-*; config.guess now
...
recognizes alphaev5 etc.
1997-10-08 19:36:17 +00:00
Ian Lance Taylor
32ec65d51d
* gas/mips/beq.s: Add .text to .globl to mark the symbol to as a
...
function symbol.
* gas/mips/jal.s: Likewise.
1997-10-08 19:13:38 +00:00
Frank Ch. Eigler
840496f196
Fixed small typo in tcl expr syntax.
1997-10-08 16:28:50 +00:00
Gavin Romig-Koch
6fd819cfff
config/tc-mips.c (md_begin): Replace the TARGET_CPU value
...
of mipsr3900 with mipstx39.
config/tc-mips.c (mips_ip): Don't print the 'opcode requires
-mipsXX message' if the insn isn't an ISA insn.
1997-10-08 04:17:08 +00:00
Gavin Romig-Koch
fdc16ba046
tx19 sanitize fixes.
1997-10-08 01:40:35 +00:00
Frank Ch. Eigler
d8c0268e57
Updated first round of test suite drivers to accept symbol-offset
...
listings from "objdump" disassembly with or without the new "0x"
prefix before hexadecimal numbers.
1997-10-08 01:37:52 +00:00
David Edelsohn
8fab865a94
reloc64.[sd]: New testcase.
1997-10-07 20:29:49 +00:00
David Edelsohn
4913666781
* config/tc-sparc.h (TARGET_FORMAT support): Moved to tc-sparc.c.
...
Redefine TARGET_FORMAT to call sparc_target_format.
* config/tc-sparc.c (in_unsigned_range): New function.
(sparc_arch_size): Make static.
(sparc_target_format): New function.
(sparc_ip): Delete variable immediate_max. Rewrite %hi/etc reloc
handling. Add support for %hh,%hm,%lm,%h44,%m44,%l44.
(output_insn): Set `fx_no_overflow'.
(md_apply_fix3): Handle BFD_RELOC_SPARC_{7,H44,M44,L44}.
(tc_gen_reloc): Likewise.
1997-10-07 19:53:17 +00:00
Stan Shebs
eb9c5f1c7c
Remove sanitized-out Magic Cap support, will never be released
1997-10-06 23:39:29 +00:00
Nick Clifton
a9da34ae13
Remove v850 specific section directive.
1997-10-06 21:02:27 +00:00
Ian Lance Taylor
b15d0449a8
* gas/ieee-fp/x930509a.exp: Accept m68k listing format.
1997-10-04 23:15:26 +00:00
Ian Lance Taylor
a3e8c5b712
* config/tc-mips.c: Undef OBJ_COPY_SYMBOL_ATTRIBUTES before
...
including obj-elf.h in OBJ_MAYBE_ELF case.
(mips_target_format): Return NULL after abort to avoid warning.
1997-10-03 21:46:04 +00:00
Ian Lance Taylor
0e7c7b89b0
* ecoff.c (generate_ecoff_stab): Remove unused static function.
1997-10-03 21:44:41 +00:00
Ian Lance Taylor
1175a6c6da
* expr.c (operator): Accept ==. From Anders Blomdell
...
<anders.blomdell@control.lth.se>.
1997-10-03 21:36:42 +00:00
Ian Lance Taylor
a657bc190c
* gas/ieee-fp/x930509a.exp: Remove setup_xfail; it should now
...
work. Correct for big endian and for tabs in input file.
* gas/alpha/fp.exp: Check for alpha-*-osf*, not alpha-*-osf1*.
* gas/alpha/fp.s: Change comment characters from ! to #.
1997-10-03 19:47:46 +00:00
Ian Lance Taylor
7e5c196e86
* config/atof-ieee.c (gen_to_words): When generating a denormal
...
number, handle an overflow into the smallest normalized number.
1997-10-03 19:43:34 +00:00
Joern Rennecke
002e8e4db2
* as.h, input-scrub.c (new_logical_line): New return value.
...
* read.c (s_app_file): Don't note the same file several times
in a row.
Fix for PR 12277
1997-09-29 15:10:56 +00:00
Ian Lance Taylor
89b308f49c
* config/tc-m68k.c (m68k_ip): Remove ` operand specifier.
1997-09-25 17:11:57 +00:00
Ian Lance Taylor
469adf23a1
* config/tc-m68k.c (m68k_ip): Handle q and v operand specifiers.
1997-09-24 23:02:53 +00:00
Ian Lance Taylor
5e4e4739a7
Wed Sep 24 16:54:40 1997 Joel Sherrill <joel@oarcorp.com>
...
* configure.in (sh*-*-rtems*): New target, like sh-*-elf*.
* configure: Rebuild.
1997-09-24 20:58:30 +00:00
Ian Lance Taylor
c1503b2824
* doc/c-i386.texi (i386-Float): Remove incorrect assertion that
...
fn* instructions do not insert implicit fwait. This was changed
Jan 29, 1996.
1997-09-24 18:14:53 +00:00
Ian Lance Taylor
fdfabd68a2
* config/m68k-parse.y (yylex): Permit an expression to be used for
...
the scale factor.
PR 13393.
1997-09-24 16:50:04 +00:00
Ian Lance Taylor
3d07d76670
* Makefile.am (EXTRA_as_new_SOURCES): Set to config/m68k-parse.y,
...
not m68k-parse.y.
* Makefile.in: Rebuild.
1997-09-24 16:27:14 +00:00
Ian Lance Taylor
b5db0960f3
* aclocal.m4: Rebuild with new libtool.
...
* configure: Rebuild.
1997-09-24 15:34:43 +00:00
Ian Lance Taylor
15cfc4ad72
* app.c (do_scrub_chars): Clear mri_state at end of .mri
...
pseudo-op.
1997-09-23 22:10:55 +00:00
Ian Lance Taylor
d70bab105d
* config/tc-mips.c (hilo_interlocks): Change from a static
...
variable to a macro, so that it varies with the variables upon
which it depends.
(gpr_interlocks, cop_interlocks): Likewise.
(md_begin): Don't initialize them.
1997-09-23 21:49:22 +00:00
Jeff Law
4e96260fd0
vr5900 -> r5900
1997-09-23 16:36:19 +00:00
Ian Lance Taylor
edc8c0897b
only remove more.parse if it exists
1997-09-22 15:29:33 +00:00
Ken Raeburn
6438209c60
don't sanitize out empty directories if they're not here (e.g., 'cvs co -P')
1997-09-22 01:06:25 +00:00
Ken Raeburn
1f4d2212ef
Lose the empty directories only if they exist; otherwise Sanitize complains.
1997-09-22 00:27:36 +00:00
Nick Clifton
ae6ecba5b4
Fixed sanitization bugs.
1997-09-21 17:44:16 +00:00
Nick Clifton
8f3c5ddbde
Removed v850eq sanitization.
...
Added Things-to-loose entries for unspecifed/empty directories.
1997-09-21 00:19:41 +00:00
Nick Clifton
03c41a1cf3
Remove use of sanitization to select target CPU. This is now done based
...
on the contents of the configuration string TARGET_CPU.
1997-09-20 22:46:30 +00:00
Jeff Law
e205ecb8a6
* config/tc-mn10300.c (md_assemble): Use strcasecomp instead
...
of strcmp where appropriate.
Fixes problem in one of mec's prs.
1997-09-19 23:09:08 +00:00
David Edelsohn
945229abcd
Update sparc -A/-xarch docs.
1997-09-19 01:06:57 +00:00
David Edelsohn
2b09622a0d
* config/tc-sparc.c: (lookup_arch,init_default_arch): New functions.
...
(default_arch,default_init_p,sparc_arch_table): New static locals.
(sparc_arch_size): New static local.
(max_architecture): Initialize in init_default_arch.
(md_parse_options): Call init_default_arch if necessary.
Rewrite -xarch/-A processing.
(md_show_usage): Print -A values from sparc_arch_table.
(md_begin): Call init_default_arch if necessary.
(sparc_md_end): Handle both 32 and 64 bit environments.
* config/tc-sparc.h (TARGET_FORMAT): Likewise.
* acconfig.h (SPARC_V9,SPARC_ARCH64): Delete.
(DEFAULT_ARCH): Add.
* config.in: Regenerate.
* configure.in (sparc): Default DEFAULT_ARCH based on target cpu.
(SPARC_V9,SPARC_ARCH64): Delete.
* configure: Regenerate.
* config/vms-conf.h (SPARC_V9,SPARC_ARCH64): Delete.
1997-09-19 00:57:16 +00:00
Nick Clifton
46ad7d6ccb
Reset processor mask if specified by command line switch
1997-09-19 00:43:54 +00:00
David Edelsohn
4a56e55061
* gas/sparc/splet.d: Update to new objdump output format.
...
* gas/sparc/{asi.d,membar.d,prefetch.d,rdpr.d,wrpr.d}: Likewise.
* gas/sparc/set64.[ds]: New testcase.
* gas/sparc/splet-2.[ds]: New testcase.
* gas/sparc/sparc.exp: Run them.
1997-09-18 23:45:12 +00:00
David Edelsohn
33472d2c4d
* gas/sparc/{asi.d,membar.d,prefetch.d,rdpr.d,wrpr.d}: Update to new
...
objdump output format.
* gas/sparc/set64.[ds]: New testcase.
* gas/sparc/splet-2.[ds]: New testcase.
* gas/sparc/sparc.exp: Run them.
1997-09-18 23:44:43 +00:00
Nick Clifton
2b36e4c294
Oops - fixed typos in previous delta.
1997-09-18 23:15:05 +00:00
Nick Clifton
6df3c45f79
Proced error messages when special data are relocations are used on
...
instructions which do not support them.
1997-09-18 22:16:18 +00:00
David Edelsohn
af6f39b4c4
* config/tc-sparc.c: Reorganize file.
...
(SPECIAL_CASE_NONE): New macro.
(md_assemble): Use it.
1997-09-18 21:12:06 +00:00
Nick Clifton
920b87c437
Added code to cope with a constant offset to a ZDA relocation.
1997-09-18 21:09:14 +00:00
David Edelsohn
90a579fafd
* config/tc-sparc.c (parse_keyword_arg): Allow numbers in reg names.
1997-09-18 18:25:50 +00:00
David Edelsohn
71bb7df45d
* gas/sparc/splet.d: Update to new objdump output format.
1997-09-18 18:18:22 +00:00
David Edelsohn
01dae9e24c
Remove arc sanization.
1997-09-18 18:17:07 +00:00
David Edelsohn
bdb836d160
Remove arc sanitization.
1997-09-18 18:15:14 +00:00
Felix Lee
3e906c081a
sanitization fixes. typoes, missing fences, "start" instead of "end", etc.
1997-09-18 06:03:52 +00:00
Felix Lee
88770c1c90
add missing files.
1997-09-18 04:56:22 +00:00
Felix Lee
e1625ed217
v850 files that weren't being removed if !keep-v850
1997-09-18 01:33:24 +00:00
Nick Clifton
00fd8294ca
Corrected spelling mistake!
1997-09-18 00:43:19 +00:00
Nick Clifton
936a8f5549
Added support for ctoff() reloc prefix.
1997-09-17 23:55:26 +00:00
Nick Clifton
752851788a
Add support for a 16 bit relocation against the TDA register!
1997-09-16 21:16:15 +00:00
Ken Raeburn
41f19f2b99
merge from d30v-970225-branch, plus bugfixes for 64-bit host
1997-09-16 19:28:44 +00:00
Jeff Law
896e248fe0
* config/tc-hppa.c (fix_new_hppa): Make declaration match
...
definition.
Net bug.
1997-09-16 03:26:12 +00:00
Nick Clifton
d30a2be45d
Added checking of instructions against target cpu.
1997-09-16 01:34:03 +00:00
Gavin Romig-Koch
3836d0f309
* gas/config/tc-mips.c (mips_1900): Replace with mips_3900 and
...
mips16.
* gas/testsuite/gas/mips/mips.exp: Handle r3900 and r1900.
* gas/testsuite/gas/mips/ld-ilocks: New file.
* gcc/config/mips/mips.h, gcc/config/mips/r1900.h: Implement r1900
as r3900 with mips16.
1997-09-15 21:45:20 +00:00
Ken Raeburn
a611b1c2fd
merge from d30v-970225-branch
1997-09-15 18:43:44 +00:00
Nick Clifton
210c24d6d1
Fixed sanitization
1997-09-10 21:00:03 +00:00
Nick Clifton
756adc97a3
Added v850 emulation.
1997-09-10 17:05:00 +00:00
Ian Lance Taylor
dac3209048
remove mentions of ARC
1997-09-10 15:25:25 +00:00
Gavin Romig-Koch
318b499d8e
Support tx19 sanitation.
1997-09-10 04:53:18 +00:00
David Edelsohn
25533a3822
Remove arc sanitization.
1997-09-10 00:25:16 +00:00
David Edelsohn
29b35953e3
ARC port no longer sanitized.
1997-09-10 00:24:09 +00:00
David Edelsohn
fda193d9e7
* Makefile.am (CPU_TYPES): Add arc.
...
(TARGET_CPU_CFILES): Add tc-arc.c.
(TARGET_CPU_HFILES): Add tc-arc.h.
(dependencies): Rebuild.
* Makefile.in: Rebuild.
1997-09-10 00:16:08 +00:00
David Edelsohn
53bdc990f5
Remove arc sanitization.
1997-09-10 00:00:04 +00:00
Nick Clifton
73a0402821
Correcte dscription of hi() reloc prefix. Added description of hi0() reloc prefix.
1997-09-09 23:54:40 +00:00
Nick Clifton
eb21b6b66b
Added documentation if hilo() reloc prefix.
1997-09-09 23:13:26 +00:00
Nick Clifton
9153e64334
Add new holio() reloc prefix.
1997-09-09 23:12:59 +00:00
Nick Clifton
92fdb58284
Added documentation for new command line options and pseudo ops.
1997-09-09 17:41:55 +00:00
Nick Clifton
1ffec08198
Add new pseudo ops: .v850, .v850e and .v850eq to specify the target processor.
1997-09-09 17:18:42 +00:00
Ian Lance Taylor
47423a9209
Support -alh and -ald for DWARF 1:
...
* listing.c (struct list_info_struct): Add debugging field.
(listing_newline): Initialize the debugging field. If ELF, if the
section starts with .debug or .line, set the debugging field in
the listing structure.
(debugging_pseudo): Add list parameter. Change all callers. If
the debugging field is set, consider it to be a debugging pseudo.
If ELF, skip blank lines between debugging lines.
* read.c (emit_expr): If ELF, look for line numbers.
(stringer): If ELF, look for file names.
PR 13210.
1997-09-09 03:13:29 +00:00
Nick Clifton
b0b262f797
Only test for immediaqte overflow if there is no insertion function.
1997-09-08 23:17:55 +00:00
Nick Clifton
8816811b85
Add command line option to specify processor type.
1997-09-08 22:03:09 +00:00
David Edelsohn
19a1867285
* gas/m32r/high-1.[ds]: New testcase.
...
* gas/m32r/m32r.exp: Run it.
1997-09-08 21:22:11 +00:00
Nick Clifton
1fd5f4fc62
Added -mwarn_unsigned_overflow so that defuault is to treat unsigned
...
values as signed values if they start to overflow.
1997-09-08 19:32:05 +00:00
Ian Lance Taylor
bb43449667
* as.h: Don't declare alloca if it is a macro.
...
* macro.c: Likewise.
1997-09-08 15:34:59 +00:00
Gavin Romig-Koch
b637f306ba
tx19 and related necessary changes.
...
* config.sub: Add tx19/r1900.
* sim/mips/configure.in, sim/mips/gencode: Add tx19/r1900.
* gcc/config.sub, gcc/configure: Add tx19/r1900.
* gcc/config/mips/r1900.h, config/mips/t-r1900: New.
* gas/config/tc-mips.c: Add tx19/r1900.
* gcc/config/mips/mips.c: Don't build 16 bit to 32 bit stubs for
TARGET_SOFT_FLOAT.
* config.sub: Add "marketing-names" patch.
* gcc/config.sub: Add "marketing-names" patch.
* gcc/configure: Change "as" link from "../gas/as.new" to "../gas/as-new";
Same for "ld" link.
1997-09-07 20:33:22 +00:00
Richard Henderson
4a04414ace
* config/tc-alpha.c (md_parse_option): Move m[] out to top level and
...
rename to cpu_types[].
(s_alpha_arch): New function.
(md_pseudo_table): Add "arch".
* config/tc-alpha.c (md_begin): Merge the two loops through the
opcode table.
(s_alpha_proc): Add initial SKIP_WHITESPACE.
(s_alpha_set): Likewise. Use get_symbol_end instead local while loop.
1997-09-07 07:35:50 +00:00
Fred Fish
8183bd07fd
* read.h (s_lcomm_bytes): Add prototype (for real this time).
1997-09-07 02:40:40 +00:00
Ian Lance Taylor
662df350f9
* config/obj-elf.c (elf_frob_symbol): Only set BSF_OBJECT for
...
symbols on Irix.
1997-09-04 16:11:06 +00:00
Nick Clifton
6ff87eadf9
Removed v850 sanitization.
1997-09-03 23:06:11 +00:00
Nick Clifton
2d27848430
Removed the BFD_RELOC_V850_16_PCREL.
1997-09-03 18:19:50 +00:00
Jeff Law
d37ce7639b
* config/tc-mn10200.c (md_convert_frag): PC relative instructions arex
...
relative to the next instruction, not the current instruction.
(md_assemble): Similarly.
pr13171
1997-09-03 00:33:47 +00:00
Nick Clifton
19ebb9e3b8
Explanations of offsets in SDA/ZDA areas fixed.
1997-09-02 23:03:19 +00:00
Nick Clifton
ccf107185d
Support for new relocations added. Support for SDA/TDA/ZDA sections added.
1997-09-02 23:01:27 +00:00
Andrew Cagney
28e1e54d13
* config/tc-v850.c (md_assemble): Use opcode->name instead of
...
opcode->opcode as the sentinal. Zero is a valid opcode.
1997-09-02 05:50:40 +00:00
Joern Rennecke
bf5ac1b8ed
SH4 assembler extensions.
1997-08-29 19:03:06 +00:00
Ian Lance Taylor
11959ebc14
* doc/as.texinfo (Machine Dependencies): Add v850 to menu.
...
* doc/c-v850.texi: Change node name to match other chapter nodes.
1997-08-26 20:52:49 +00:00
Ian Lance Taylor
90b83993d8
* expr.c (integer_constant): If BFD64, don't make a bignum if the
...
number will fit in 64 bits.
1997-08-26 19:25:44 +00:00
Ian Lance Taylor
4b231a267c
* config/tc-alpha.c (load_expression): Check explicitly for O_big,
...
rather than calling abort.
1997-08-26 19:12:10 +00:00
Ian Lance Taylor
a089d2da97
* as.h: Don't define alloca if __GNUC__. Just declare it.
...
* macro.c: Copy alloca handling from as.h.
1997-08-26 19:10:48 +00:00
Ian Lance Taylor
977d53fc87
* config/tc-i386.c (i386_align_code): Correct 16 bit noops. From
...
Gabriel Paubert <paubert@iram.es>.
1997-08-26 17:27:21 +00:00
Nick Clifton
3f221096b9
Corrected name of tiny data area label.
1997-08-26 16:46:05 +00:00
Ian Lance Taylor
625ea5db80
Use address size prefix for loopw as for jcxz.
1997-08-26 16:33:34 +00:00
Ian Lance Taylor
02bdbd8b5d
* config/tc-i386.c (md_assemble): In JumpByte case, when looking
...
for a WORD_PREFIX_OPCODE, change it to ADDR_PREFIX_OPCODE if this
is jcxz.
1997-08-26 16:25:03 +00:00
Nick Clifton
b688e04e29
Set machine architecture and type.
1997-08-25 23:03:24 +00:00
Ian Lance Taylor
2051ec0e35
* symbols.c (resolve_symbol_value): Store the value back into the
...
symbol expression, to handle add or subtract simplification
correctly. Handle O_symbol_rva. Add default case.
1997-08-25 19:55:14 +00:00
Ian Lance Taylor
a77b3837e3
* config/tc-ppc.c (ppc_change_csect): Temporarily lower the
...
chunksize while creating the new subsection.
* as.c (chunksize): Initialize to zero.
* subsegs.c (subseg_set_rest): Change 5000 to chunksize when
calling obstack_begin.
1997-08-25 18:29:11 +00:00
Nick Clifton
cf735d2a93
Support constant expressions as register lists.
1997-08-25 18:21:02 +00:00
David Edelsohn
30249a6ad0
* gas/m32r/relax-1.[ds]: New testcase.
...
* gas/m32r/m32r.exp: Run it.
1997-08-25 18:05:44 +00:00
Nick Clifton
9c506dfb5d
Fixed node name.
1997-08-25 17:18:21 +00:00
Nick Clifton
2b3e0f9e1e
Switch from C++ style comment to C style.
1997-08-25 16:41:18 +00:00
Ian Lance Taylor
f6c44ed302
fix v850 sanitization
1997-08-23 16:34:55 +00:00
Nick Clifton
68eaa14109
Added documentation of v850 assembler options.
1997-08-22 23:37:00 +00:00
Nick Clifton
d72d8c59f9
Make the NUL character be considered to be a line terminator.
1997-08-22 18:14:35 +00:00
Nick Clifton
5f04449977
Add support for curly brace register list syntax.
1997-08-22 17:44:55 +00:00
Nick Clifton
f483cb11c8
Fixed v850_section to cope with original section styles as well.
1997-08-21 21:43:44 +00:00
Nick Clifton
346c75cd4a
Add support for parsing a double dash as the start of a comment that extends to the end of the line.
1997-08-21 17:59:47 +00:00
Nick Clifton
19f40fdca7
Added support for NEC style assembler pseudo ops:
...
.section "name", <type>
.offset <expression>
.bss
1997-08-21 17:54:49 +00:00
David Edelsohn
d8beaa965c
* config/tc-m32r.c (md_estimate_size_before_relax): Update recorded
...
insn when changing to a different instruction.
1997-08-21 08:01:46 +00:00
Fred Fish
015b3352e5
Tue Aug 19 08:59:12 1997 Fred Fish <fnf@cygnus.com>
...
* read.c (s_lcomm_internal): Renamed from s_lcomm, added arg to
flag when alignment is in bytes instead of power of 2, and code to
use that flag to convert alignment to bytes.
(s_lcomm, s_lcomm_bytes): New helpers that call s_lcomm_internal.
* read.h (s_lcomm_bytes): Add prototype.
* config/obj-coff.c (write_object_file): If ALIGNMENT_IN_S_FLAGS is
defined, write alignment to alignment bits in section header s_flags
rather than the s_align field.
start-sanitize-tic80
* config/obj-coff.h (ALIGNMENT_IN_S_FLAGS): Define for TC_TIC80.
* config/tc-tic80.c (md_pseudo_table): Use s_lcomm_bytes for bss
pseudo, instead of s_lcomm which wants a power of two for alignment.
end-sanitize-tic80
PR 12215 and PR 13061
1997-08-19 16:46:03 +00:00
Richard Henderson
c631cd59dd
* macro.c (check_macro): use alloca instead of xmalloc to plug leak.
1997-08-19 03:48:22 +00:00
Richard Henderson
96e0ff4665
* as.c (show_usage): Add -am.
...
* input-scrub.c (input_scrub_include_sb): Don't add leading \n
if we've already got one.
* listing.c (struct list_info_struct): Add line_contents.
(listing_newline): Put unused argument to work: if non-null, save it...
(listing_listing): ... and regurgitate during listing instead of line
from file.
* listing.h (LISTING_MACEXP): New define.
(LISTING_NEWLINE): Argument is NULL.
* read.c (read_a_source_file): If expanding macros, break up input
lines and pass them to listing_newline.
* doc/as.texinfo: Document -ac and -am.
* cond.c (s_ifc): Add missing demand_empty_rest_of_line.
1997-08-19 03:45:56 +00:00
Nick Clifton
a365cd79ee
Add support for v850e and v850eq targets.
...
Add support for BFD_RELOC_V850_16_PCREL.
1997-08-18 18:26:42 +00:00
Ian Lance Taylor
999f358732
* Makefile.am (check-DEJAGNU): Don't cd into testsuite until after
...
setting EXPECT and TCL_LIBRARY.
* Makefile.in: Rebuild.
1997-08-15 23:19:20 +00:00
Ian Lance Taylor
be3d1b6f9e
fix copyrights
1997-08-15 18:26:52 +00:00
Ian Lance Taylor
cd92403305
* as.h (enum debug_info_type): Define.
...
(debug_type): Declare.
* as.c (debug_type): New global variable.
(show_usage): Add --gstabs.
(parse_args): Handle --gstabs.
* read.c (generate_asm_lineno): Remove.
(read_a_source_file): Output stabs debugging if appropriate.
Change checks of generate_asm_lineno to check debug_type. Only
generate ECOFF debugging if ECOFF_DEBUGGING is defined.
* read.h (generate_asm_lineno): Don't declare.
(stabs_generate_asm_lineno): Declare.
* stabs.c (stabs_generate_asm_lineno): New function.
* ecoff.c (add_file): Use debug_type, not generate_asm_lineno.
Don't turn off debugging.
(add_file): Remove old #if 0 code.
(ecoff_new_file): Set debug_type, not generate_asm_lineno.
(ecoff_directive_end): Don't generate stabs line symbols.
(ecoff_generate_asm_lineno): Don't check stabs_seen. Don't set
generate_asm_lineno.
(line_label_cnt): Remove.
(ecoff_generate_asm_line_stab): Remove.
* ecoff.h (ecoff_generate_asm_line_stab): Don't declare.
* doc/as.texinfo, doc/as.1: Document --gstabs.
1997-08-15 18:19:27 +00:00
David Edelsohn
76fc9bac4b
Remove support for insns not in base chip, which is all we support now.
1997-08-15 06:58:48 +00:00
David Edelsohn
6ac387f1f8
Delete testcases, these don't appear in the base chip which is all we
...
support now.
1997-08-15 06:53:50 +00:00
David Edelsohn
3ffb03b170
Remove ARC sanitization.
1997-08-15 06:49:09 +00:00
Nick Clifton
035d8553d7
Fixed typo in previous delta and added more sanitization.
1997-08-14 19:55:03 +00:00
Nick Clifton
323b12f8ce
oops - fixed typo.
1997-08-14 19:48:36 +00:00
Nick Clifton
58036ae4c9
Tidied up the sanitization.
1997-08-14 19:34:58 +00:00
Nick Clifton
32e23ecd9c
Added support for v850e and v850eq instructions.
1997-08-14 02:03:34 +00:00
Richard Henderson
4b67a7199b
* doc/internals.texi: Document rs_leb128.
1997-08-12 17:30:10 +00:00
Ian Lance Taylor
de815f6167
* config/tc-m68k.c (m68k_ip): Give an error message for SIZE_BYTE
...
in ABSL case, rather than calling abort.
1997-08-12 16:17:46 +00:00
Richard Henderson
8cf777d667
* as.h (enum _relax_state): Add rs_leb128.
...
* read.c (potable): Add sleb128 and uleb128.
(sizeof_*leb128, output_*leb128, emit_leb128_expr, s_leb128): New
functions.
* read.h: Update prototypes.
* symbols.c (resolve_symbol_value): Streamline quite a bit. Return
the symbol value, add a second FINALIZE argument that prevents
changes from being comitted. Update all callers.
* write.c (cvt_frag_to_fill, relax_segment): Handle rs_leb128.
* doc/as.texinfo: Document the new pseudos.
1997-08-12 05:42:00 +00:00
Ian Lance Taylor
210e033e19
* Makefile.am (MOSTLYCLEANFILES): Add site.bak, site.exp, stage,
...
stage1, and stage2.
(DISTCLEANFILES): Define.
* doc/Makefile.am (DISTCLEANFILES): Define.
* Makefile.in, doc/Makefile.in: Rebuild.
1997-08-10 18:53:06 +00:00
Ian Lance Taylor
4dc4c45dec
* configure.in: Define TARGET_BYTES_BIG_ENDIAN if endian is set.
...
Don't set targ or gas_target. Define SCO_ELF and
TARGET_SOLARIS_COMMENT when appropriate. Don't substitute for
target_frag.
* Makefile.am: Remove @target_frag@.
(INCLUDES): Remove $(INTERNAL_CFLAGS), $(CROSS), $(HDEFINES), and
$(TDEFINES).
(dep-am): Mark as phony.
* acconfig.h: Add TARGET_BYTES_BIG_ENDIAN, TARGET_SOLARIS_COMMENT,
and SCO_ELF.
* config/arm-big.mt, config/arm-lit.mt: Remove.
* config/mips-big.mt, config/mips-lit.mt: Remove.
* config/ppc-big.mt, config/ppc-lit.mt: Remove.
* config/ppc-sol.mt: Remove.
* config/i386coff.mt, config/m68kcoff.mt: Remove.
* config/m88kcoff.mt: Remove.
* config/sco5.mt: Remove.
* configure, config.in, Makefile.in: Rebuild.
1997-08-06 19:06:49 +00:00
Ian Lance Taylor
2a562314f3
* Makefile.am ($(srcdir)/config/m68k-parse.h): New target, to
...
further try to circumvent the .y.h rule.
* Makefile.in: Rebuild.
1997-08-06 16:01:27 +00:00
Ian Lance Taylor
9fcc5e478c
Sanitize Makefile.am
1997-08-06 15:24:36 +00:00
Ian Lance Taylor
3529c5c385
* config/default.exp: Set AS and GASP to as-new, not as.new.
1997-08-06 04:33:45 +00:00
Ian Lance Taylor
29e28dd647
* doc/Makefile.am: New file, based on old doc/Makefile.in.
...
* doc/Makefile.in: Now built with automake.
1997-08-06 04:32:12 +00:00
Ian Lance Taylor
e2b4bd2ae1
* Makefile.am: New file, based on old Makefile.in.
...
* acinclude.m4: New file, from old aclocal.m4.
* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove
shared library handling; now handled by libtool. Replace
AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC,
AC_PROG_LEX, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE,
AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT.
* config.in: New file, created by autoheader.
* conf.in: Remove.
* acconfig.h: Mention PACKAGE, VERSION, and USING_CGEN.
* stamp-h.in: New file.
* as.c (print_version_id): Change GAS_VERSION to VERSION.
(parse_args): Likewise.
* config/obj-vms.c: (Write_VMS_MHD_Records): Likewise.
* Makefile.in: Now built with automake.
* aclocal.m4: Now built with aclocal.
* configure: Rebuild.
1997-08-06 04:30:05 +00:00
Ian Lance Taylor
0d2ac65711
* config/default.exp: Set NM to nm-new, not nm.new, to match
...
recent change in binutils build directory.
1997-08-05 16:34:03 +00:00
Ian Lance Taylor
e535307acd
* cond.c (s_else): If not listing false conditionals, turn listing
...
off in the false branch of the else.
PR 13033.
1997-08-05 16:33:02 +00:00
Ian Lance Taylor
703f5e6e28
* config/tc-mips.c (macro): Fix handling of a double load from a
...
symbol plus an offset.
This is the test case, with -mips1:
l.d $f0,values+256
1997-08-04 21:00:37 +00:00
Richard Henderson
0426955144
* config/tc-alpha.c (s_alpha_ucons): New function.
...
(md_pseudo_table): Add unaligned data pseudos for DWARF.
1997-08-04 18:02:56 +00:00
Ian Lance Taylor
c5cb7682c6
* ecoff.c (ecoff_build_symbols): Set fMerge to 0 for an FDR which
...
has an associated external symbol.
PR 12962.
1997-08-04 15:29:23 +00:00
Jeff Law
c1b2205e48
* config/tc-v850.c (md_assemble): Ignore the rest of the current
...
line if we encounter an error.
pr13016.
1997-07-31 21:41:35 +00:00
Jeff Law
f0a26f5665
* gas/v850/range.s: New test.
...
* gas/v850/basic.exp: Run it.
testcase for pr12944 related stuff.
1997-07-31 21:18:00 +00:00
Jeff Law
15d8ae9d85
* config/tc-v850.c (md_assemble): Sign extend constants value
...
for hi and hi0 expressions.
(v850_insert_operand): Enable range checking for generic 16bit
operands.
finish work for pr12944.
1997-07-31 21:11:17 +00:00
Rob Savoye
293bc1d506
* Oops, forgot to check this in with the rest of the files.
1997-07-30 22:35:46 +00:00
Jeff Law
9f72a94f72
* gas/v850/hilo2.s: New test.
...
* gas/v850/fepsw.s: New test.
* gas/v850/basic.exp: Run them.
1997-07-29 20:31:41 +00:00
Jeff Law
5236fc72ef
Forgot sanitize markers.
1997-07-29 20:20:12 +00:00
Jeff Law
d222309aef
* config/tc-v850.c (md_assemble): Turn on fx_no_overflow for
...
LO16, HI16 and HI16_S relocs.
pr12979
1997-07-29 20:19:02 +00:00
Rob Savoye
2e37047cf6
* configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
...
win32 dependencies.
* configure: Regenerated with autoconf 2.12.
* Makefile.in: Add $(EXEEXT) to all executables.
1997-07-29 02:46:52 +00:00
Rob Savoye
e42b252084
* configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
...
win32 dependencies.
* configure: Regenerated with autoconf 2.12.
* Makefile.in: Add $(EXEEXT) to all executables.
1997-07-29 00:54:28 +00:00
Jeff Law
e0362be2fc
* tc-hppa.c (md_apply_fix): Improve warnings for out of range
...
unconditional branches.
(hppa_fix_adjustable): Don't adjust anything with a RR% or LR%
field selector.
Part of the 12912 fixes
1997-07-25 16:55:52 +00:00
David Edelsohn
09e1d69565
* tc-sparc.c (md_begin): Cast sparc_opcodes to PTR for hash_insert.
1997-07-24 22:22:27 +00:00
Ian Lance Taylor
280cdd548e
* macro.c (define_macro): Make sure the index is in range before
...
checking for '('.
1997-07-24 21:51:57 +00:00
Fred Fish
e6e676a501
* config/tc-tic80.c (build_insn): Remove "extended" and replace with
...
"fx" and "fxfrag". Add "ffrag". Change code to initialize and use
the right f/ffrag and fx/fxfrag pairs since instruction may be split
across frags.
PR 12899
1997-07-24 20:34:02 +00:00
Ian Lance Taylor
ea1c39ced2
Tue Jul 22 18:38:56 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
...
* configure.in (i386-*-msdosdjgpp*): New target.
(i386-*-go32*): Set em to go32 and targ to coffgo32.
* configure: Rebuild.
1997-07-22 22:45:29 +00:00
Ian Lance Taylor
6829927931
Tue Jul 22 18:38:56 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
...
* config/te-go32.h (USE_ALIGN_PTWO): Define.
* config/tc-i386.c (md_pseudo_table): If USE_ALIGN_PTWO is
defined, use s_align_ptwo for .align.
1997-07-22 22:41:04 +00:00
David Edelsohn
9f6da65302
* config/tc-sparc.c (last_opcode): New static local.
...
(md_assemble): Don't issue "FP branch in delay slot" warning if
the delay slot has been annulled.
1997-07-22 19:52:22 +00:00
David Edelsohn
bd3a1ebae6
* config/tc-sparc.c (last_opcode): New static local.
...
(md_assemble): Don't issue "FP branch in delay slot" warning if
the delay slot has been annulled.
1997-07-22 19:43:16 +00:00
Ian Lance Taylor
1d3036537f
* config/tc-m68k.c (md_apply_fix_2): Check for PC relative reloc
...
code if BFD_ASSEMBLER.
PR 12926.
1997-07-22 17:26:52 +00:00
Jeff Law
47bfb6fce3
* config/tc-v850.c (system_registers): Fix ordering of registers.
...
pr12913 (c/h from nec).
1997-07-21 14:54:49 +00:00
Fred Fish
e53430c439
* config/tc-tic80.c (build_insn): Initialize extended word to zero
...
when it will be filled in later by relocation information.
PR 12796
1997-07-16 05:19:20 +00:00
David Edelsohn
e528bfeca8
* gas/m32r/uppercase.[sd]: New testcase.
...
* gas/m32r/m32r.exp: New file.
1997-07-15 20:04:40 +00:00
Ian Lance Taylor
a652f74c72
* config/tc-mips.c (macro_build): Restore check of fmt argument.
...
(mips_ip): Fix ISA checks.
1997-07-15 17:03:15 +00:00
Jeff Law
9587640a81
* configure.in: Default the r5900 to little endian.
...
* configure: Rebuilt.
1997-07-15 16:13:18 +00:00
Fred Fish
8ae66b94c6
* config/tc-tic80.c (build_insn): Fix endianness problem with
...
O_big operands.
PR 12765
1997-07-15 02:53:47 +00:00
Ian Lance Taylor
4dc8550840
* config/tc-mips.c (check_absolute_expr): Change warning to
...
error.
PR 12849.
1997-07-14 03:45:16 +00:00
Jeff Law
931a1858a6
* config/tc-mips.c (macro_build): Refine code to check if an
...
instruction is available on a particular cpu variant.
(mips_ip): Likewise.
toshiba 5900 stuff
1997-07-11 16:40:14 +00:00
Ian Lance Taylor
76fb6d2f2f
* config/tc-i386.c (tc_i386_fix_adjustable): Change ifndef
...
OBJ_AOUT to ifdef OBJ_ELF.
(md_apply_fix3): When mangling 32 bit PC relative reloc for
BFD_ASSEMBLER, handle one ELF case for COFF as well, and add a PE
case.
* write.c (fixup_segment): Change special case for i386-coff to
not apply for i386-pe.
* config/obj-coff.c (coff_adjust_section_syms): Only count fixups
which were not done.
(coff_frob_file_after_relocs): Rename from coff_frob_file.
(coff_format_ops): Initialize frob_file_after_relocs field rather
than frob_file field.
* config/obj-coff.h (coff_frob_file): Don't declare.
(coff_frob_file_after_relocs): Declare.
(obj_frob_file): Don't define.
(obj_frob_file_after_relocs): Define.
* configure.in: Set bfd_gas to yes for i386-*-cygwin32.
* configure: Rebuild.
1997-07-08 02:57:50 +00:00
Ian Lance Taylor
b709b16fdc
* config/obj-coff.c (fixup_segment): Never subtract section
...
address from PC relative reloc which will be fully resolved.
1997-07-02 16:05:55 +00:00
Jeff Law
db3152efa0
* ecoff.c (page_type): Renamed from page_t to avoid conflict
...
with hpux10 header files.
1997-07-01 21:22:38 +00:00
Ian Lance Taylor
b73fcae86e
From Jason Merrill <jason@cygnus.com>:
...
* read.c (do_align): If BFD_ASSEMBLER, only use NOP_OPCODE if
SEC_CODE is set.
* config/tc-i386.h (md_maybe_text): Define.
(md_do_align): Use md_maybe_text.
1997-06-30 16:38:17 +00:00
Michael Meissner
d006e43527
Remove brokeness in PowerPC asm
1997-06-27 23:19:15 +00:00
Ian Lance Taylor
24a3e62262
Mon Jun 16 19:12:51 1997 Geoff Keating <geoffk@ozemail.com.au>
...
* config/tc-ppc.h (tc_fix_adjustable): Don't let the assembler
calculate relocations to any external symbol, because we might be
linking a shared object and the symbol might be overriden or moved
(for instance, moved into a static executable's .bss section).
(GLOBAL_OFFSET_TABLE_NAME): Delete. This is an i386 wierdness.
* config/tc-ppc.h (tc_fix_adjustable): GOT-based relocations can't
be calculated by the assembler.
* config/tc-ppc.c (md_apply_fix3): Handle @plt or @local branch
whose destination lies in the same file, by ignoring the @plt or
@local and aiming the branch at its destination.
1997-06-16 23:17:22 +00:00
Ian Lance Taylor
3a0358617e
* config/tc-ppc.c (ppc_insert_operand): In 32 bit mode, with a
...
signed operand, sign extend a 32 bit value to the host size.
Permits dubious usage like
addi %r6,%r6,0xfffffeff
to assemble on a 64 bit host as it does on a 32 bit host.
1997-06-16 20:09:35 +00:00
Ian Lance Taylor
e2e4466adb
* Makefile.in (CFLAGS): Subsitute from configure script. From
...
Jeff Makey <jeff@cts.com>.
1997-06-16 19:47:53 +00:00
Ian Lance Taylor
b04d9d8a19
* gas/m68k/pcrel.d: Update for m68k disassembler changes.
...
* gas/m68k/operands.d: Likewise.
1997-06-16 18:34:35 +00:00
Ian Lance Taylor
b0447a0e80
Mon Jun 16 13:59:18 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
...
* symbols.c (copy_symbol_attributes): Copy BSF_OBJECT flag.
* config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Copy size
expression.
* config/obj-multi.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Define instead
of obj_copy_symbol_attributes.
1997-06-16 18:00:10 +00:00
Ian Lance Taylor
a52f90a4c8
* config/tc-i386.c (i386_operand): Use alloca rather than a fixed
...
buffer size to make a copy of the symbol.
1997-06-16 17:31:46 +00:00
Ian Lance Taylor
be2c18bd85
* Makefile.in (OBJS): Put @extra_objects@ on the same line as
...
macro.o.
1997-06-16 16:48:01 +00:00
Ian Lance Taylor
7799bb2c27
* write.c (write_object_file): In non BFD_ASSEMBLER code, as we
...
step through the frags calling cvt_frag_to_fill, switch to
SEG_DATA when we reach data_frag_root.
PR 12580.
1997-06-12 16:17:53 +00:00
Jeff Law
43ee18a06d
* config/tc-mn10300.c (md_assemble): Allow an empty register
...
list for instructions which use register lists.
1997-06-10 23:12:45 +00:00
Ian Lance Taylor
d2e5779b91
Tue Jun 10 11:18:09 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
...
* config/tc-arm.c (md_apply_fix3): Make temp unsigned long.
1997-06-10 15:25:05 +00:00
Ian Lance Taylor
7436e4de5a
Tue Jun 10 11:18:09 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
...
* config/tc-arm.c (arm_adjust_symtab): Only set storage classes if
OBJ_COFF.
1997-06-10 15:21:36 +00:00
Ian Lance Taylor
ccc30467a6
Tue Jun 10 11:18:09 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
...
* config/tc-arm.c: Add prototypes for many static functions.
(struct asm_opcode ): Add prototypes for parms field.
(struct thumb_opcode ): Likewise.
(fp_op2): Remove unused flags parameter.
(output_inst): Make static.
(arm_after_pass_hook): Remove unused ignore parameter.
* config/tc-arm.h (arm_after_pass_hook): Declare.
(arm_start_line_hook): Declare.
(arm_frob_label): Declare.
1997-06-10 15:20:05 +00:00
Ian Lance Taylor
4b4c1e0fb4
* config/tc-sh.c (md_apply_fix): Check for overflow.
...
PR 12530.
1997-06-09 18:05:46 +00:00
Ian Lance Taylor
170cdf75e7
Mon Jun 9 12:55:45 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
...
* depend.c (wrap_output): new prototype.
1997-06-09 16:56:41 +00:00
Ian Lance Taylor
af438bdb10
* config/tc-m68k.c (md_section_align): If a.out and BFD, force
...
section size to be aligned.
1997-06-09 16:53:45 +00:00
Ian Lance Taylor
7257418129
* config/tc-sh.h (md_cons_align): Define.
...
(sh_cons_align): Declare.
* config/tc-sh.c (md_pseudo_table): Add .uaword and .ualong.
(sh_no_align_cons): New static variable.
(s_uacons): New static function.
(sh_cons_align): New function.
(sh_handle_align): Warn about misaligned data.
* doc/c-sh.texi: Document .uaword and .ualong.
PR 12528.
1997-06-06 21:17:46 +00:00
Nick Clifton
48e509bf2c
Merged in changes made in armT-970328-branch
1997-06-04 00:07:07 +00:00
Nick Clifton
f8a2144336
Merged in the changes from the armT-970328-branch.
1997-06-03 23:25:43 +00:00
Nick Clifton
d0badeab7c
Added support for Thumb architecture from armT-970328-branch.
1997-06-03 23:15:49 +00:00
Ian Lance Taylor
902f651590
add c-arm.texi
1997-06-03 15:35:47 +00:00
Nick Clifton
3357a5ab61
Added an enable of the ARM documentation.
1997-06-02 23:43:17 +00:00
Nick Clifton
2903fb6e85
Added ARM documentation from armT-970328-branch
1997-06-02 23:28:16 +00:00
Gavin Romig-Koch
753d2b3eb6
End the tests with no-ops.
1997-06-02 16:04:54 +00:00
Gavin Romig-Koch
5c6f5923c7
Add r3900 support.
1997-06-02 15:56:00 +00:00
Gavin Romig-Koch
2865e9a89c
Improve messages from regexp_diff
1997-06-02 15:49:26 +00:00
Ian Lance Taylor
dccd4d2cf1
Thu May 29 12:58:26 1997 Ben Pfaff <pfaffben@pilot.msu.edu>
...
* as.c: (parse_args) `-t' option requires an argument.
1997-05-29 16:59:46 +00:00
Ian Lance Taylor
1d6f438f49
* Makefile.in: Rebuild dependencies.
1997-05-28 21:58:27 +00:00
Ian Lance Taylor
5ac3db53bb
* config/tc-i386.c (tc_gen_reloc): Don't try to convert the type
...
of a BFD_RELOC_RVA reloc.
1997-05-28 20:17:55 +00:00
Jeff Law
f22950b920
* config/tc-hppa.c (tc_fix_adjustable): Reject absolute calls/jumps.
...
(hppa_force_relocation): Force a relocation for an absolute
call/jump.
part of gcc/12343.
1997-05-28 16:48:32 +00:00
Ian Lance Taylor
1079e76c45
* doc/as.texinfo: Don't use @value in section names or index
...
entries; it confuses texinfo.tex.
1997-05-26 17:25:22 +00:00
Ian Lance Taylor
663282f0dd
add depend.c
1997-05-23 20:15:59 +00:00
Tom Tromey
8a51eeafee
* doc/as.texinfo: Updated for -MD option.
...
* Makefile.in (CFILES): Added depend.c.
(OBJS): Added depend.o.
* as.h (start_dependencies, register_dependency,
print_dependencies): New declarations.
* depend.c: New file.
* as.c (parse_args): Added -MD option.
(main): Call print_dependencies.
(show_usage): Added help for -MD.
* read.c (s_app_file): Call register_dependency.
(s_include): Call register_dependency when file is found.
(read_a_source_file): Call register_dependency.
1997-05-23 19:30:41 +00:00
Ian Lance Taylor
1a7a427ef1
* config/obj-coff.c (symbol_to_chars): If TE_PE, don't add the
...
section address to the symbol value.
1997-05-21 21:40:14 +00:00
Gavin Romig-Koch
e17449bcfd
Move mips INSN_ISA subfield into new membership field.
1997-05-20 15:29:25 +00:00
Nick Clifton
de046e7c42
Fixed bug in previous delta. If no cpu type was specified on the command
...
line then the code used to default to setting an architecture of ARMv4T
rather than ARMv3M in the BFD library. This has now been corrected.
1997-05-15 17:05:24 +00:00
Nick Clifton
46686c7839
Added support for storing ARM Procedure Calling Standard variant, and ARM
...
architecture variant in the BFD and COFF structures. This goes towards
fixing PRs 11709 and 11326 and will integrate with future updates to LD and
GCC.
1997-05-14 17:00:43 +00:00
Jeff Law
2393a96689
* config/tc-mn10200.c (md_convert_frag): Prefix temporary
...
label name with ".".
* config/tc-mn10300.c (md_convert_frag): Likewise.
1997-05-14 04:29:05 +00:00
Fred Fish
af942f1dc2
Fix thinko in previous change.
1997-05-13 19:00:57 +00:00
Ian Lance Taylor
cd05cc5e45
* config/tc-mips.c (set_at): Check for bignum.
...
(check_absolute_expr, macro, mips16_macro): Likewise.
PR 12296.
1997-05-13 18:46:47 +00:00
Fred Fish
7b02bacd3d
* config/tc-tic80.c (md_apply_fix): Check PC relative relocations
...
for overflow/underflow, only insert lower 15 bits into instruction.
1997-05-13 17:55:41 +00:00
Ian Lance Taylor
98b4161aee
Mon May 12 13:33:08 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
...
* config/tc-i386.c (pi): Check for RegMMX.
1997-05-12 20:23:57 +00:00
Ian Lance Taylor
ee42e25b0c
* expr.c (expr): When subtracting values in the same frag,
...
subtract X_add_number rather than adding it.
1997-05-08 15:10:55 +00:00
Ian Lance Taylor
a7b2f95a49
Wed May 7 16:18:30 1997 Manfred Hollstein <manfred@s-direktnet.de>
...
* gas/m88k/init.{s,d}: New checks for proper padding of
.init sections.
* gas/m88k/m88.exp: Run them.
* gas/m68k/t2.d: New file for check of presence of section
symbols on the m68k-motorola-sysv.
* gas/m68k/all.exp: Run t2 if [istarget m68*-motorola-sysv].
1997-05-07 20:45:30 +00:00
Ian Lance Taylor
ae79a20bb8
* gas/mips/lifloat.s: Update for recent changes to floating point
...
handling.
* gas/mips/lif-empic.d, gas/mips/lif-svr4pic.d: Likewise.
* gas/mips/lif-xgot.d, gas/mips/lifloat.d: Likewise.
* gas/mips/mips.exp: Handle Irix 6 like Irix 5.
1997-05-07 20:14:19 +00:00
Ian Lance Taylor
662a6d9e11
* config/obj-coff.c (write_object_file): Just pass NULL to
...
md_do_align, not the address of a char holding NOP_OPCODE.
Fixes a problem with the m88k SVR3 .init section as used by gcc.
1997-05-07 19:46:25 +00:00
Ian Lance Taylor
a5586bdc2f
* config/tc-mips.c (macro): Handle constants for M_LI_D and
...
M_LI_DD.
(mips_ip): For 'F', 'L', 'f', and 'l', generate a constant rather
than an address if the floating point value looks sufficiently
simple.
PR 12237.
1997-05-07 19:41:17 +00:00
Ian Lance Taylor
91951af61f
* config/tc-i386.c (md_section_align): If a.out and BFD, force
...
section size to be aligned.
1997-05-06 16:19:04 +00:00
Ian Lance Taylor
0239838be4
* cond.c: Include "macro.h".
...
(struct conditional_frame): Add macro_nest field.
(initialize_cframe): Initialize macro_nest.
(cond_finish_check): Add nest parameter. Change all callers.
(cond_exit_macro): New function.
* as.h (cond_finish_check): Update declaration.
(cond_exit_macro): Declare.
* input-scrub.c (macro_nest): Make globally visible.
(input_scrub_next_buffer): Call cond_finish_check.
* macro.h (macro_nest): Declare.
* read.c (s_mexit): Call cond_exit_macro.
1997-05-06 00:54:37 +00:00
Ian Lance Taylor
454b0ccda0
* config/tc-i386.h (RegMMX): Define.
...
* config/tc-i386.c (pi): Check for all register types.
(type_names): Add RegMMX.
(md_assemble): Handle RegMMX.
1997-05-05 21:18:17 +00:00
Ian Lance Taylor
85ce56358f
Tue Apr 29 20:23:10 1997 Jim Wilson <wilson@cygnus.com>
...
* config/tc-mips.c (nopic_need_relax): Add new parameter
before_relaxing. Use it when testing ecoff_extern_size.
(load_address, macro, md_estimate_size_before_relax): Fix all
callers.
1997-04-30 00:26:21 +00:00
Ian Lance Taylor
24d4b4e167
Tue Apr 29 19:54:36 1997 Richard Henderson <rth@tamu.edu>
...
* config/obj-elf.c (elf_pseudo_table): Add "subsection".
(obj_elf_subsection): New static function.
1997-04-29 23:55:42 +00:00
Ian Lance Taylor
4a38edaab7
* config/obj-coff.c (coff_header_append): Don't reset string_size
...
each time through the loop.
1997-04-29 23:53:26 +00:00
Ian Lance Taylor
1416631f2f
* Makefile.in (DISTSTUFF): Add itbl-parse.h.
1997-04-25 18:19:53 +00:00
Ian Lance Taylor
8f9b2cea7f
* doc/internals.texi (Porting GAS): Correct documentation for
...
current configure handling of targ-cpu.h, et. al.
(CPU backend): Document listing macros.
1997-04-25 16:15:33 +00:00
Ian Lance Taylor
49f5a035dd
* listing.c (data_buffer): Set size based on other listing macros,
...
rather than always using 100.
(data_buffer_size): Remove static variable.
(calc_hex): Make data_buffer_size a local variable. Don't leave
any slop when filling data_buffer.
1997-04-25 16:04:44 +00:00
Ian Lance Taylor
a21dd1e090
* doc/c-mips.texi: Document .set autoextend.
1997-04-21 19:33:57 +00:00
Ian Lance Taylor
e4f69291e6
Sat Apr 19 23:16:35 1997 Niklas Hallqvist <niklas@petra.appli.se>
...
* gas/mips/mips.exp: Handle OpenBSD like NetBSD.
1997-04-20 03:18:06 +00:00
Ian Lance Taylor
49f90a3443
Sat Apr 19 23:09:25 1997 Niklas Hallqvist <niklas@petra.appli.se>
...
* configure.in (i386-*-openbsd*, m68k-*-openbsd*,
mips-dec-openbsd*, ppc-*-*bsd*, ns32k-pc532-openbsd*,
sparc-*-openbsd*): New targets.
* configure: Rebuild.
1997-04-20 03:15:48 +00:00
Ian Lance Taylor
aff65ed99d
Sat Apr 19 22:52:03 1997 Jim Wilson <wilson@cygnus.com>
...
* config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT
for all undefined symbols.
1997-04-20 02:53:22 +00:00
Ian Lance Taylor
fec391b1b5
* config/tc-ppc.c (ppc_fix_adjustable): Handle zero length csects
...
correctly.
1997-04-18 17:39:33 +00:00
Ian Lance Taylor
894cca2569
Fri Apr 18 11:51:35 1997 Niklas Hallqvist <niklas@appli.se>
...
* configure.in (alpha*-*-openbsd*): New target.
* configure: Rebuild.
1997-04-18 15:52:33 +00:00
Ian Lance Taylor
fc984eb0a3
Thu Apr 17 13:59:47 1997 Per Fogelstrom <pefo@openbsd.org>
...
* configure.in (mips-*-openbsd*): New target.
* configure: Rebuild.
1997-04-17 18:04:34 +00:00
Martin Hunt
4bdb83fcb9
Wed Apr 16 12:31:24 1997 Martin Hunt <hunt@cygnus.com>
...
* config/tc-d30v.c (parallel_ok): Fix parallel checking
for instructions using conditional execution.
1997-04-16 19:35:54 +00:00
Martin Hunt
0a09e92add
Wed Apr 16 12:20:24 1997 Martin Hunt <hunt@cygnus.com>
...
* gas/d30v/d30.exp: Add optimizer test case.
* gas/d30v/opt.s: Add conditional compilation tests.
* gas/d30v/opt.d: Rebuild.
1997-04-16 19:28:31 +00:00
Gavin Romig-Koch
ff55d0fb84
Correct test for fpr pairs.
1997-04-16 13:22:25 +00:00
Gavin Romig-Koch
68952421e6
Correct test for fpr pairs.
1997-04-15 22:46:58 +00:00
Ian Lance Taylor
ded64db806
this file was removed a long time ago
1997-04-15 22:36:26 +00:00
Ian Lance Taylor
ec2f730d86
sanitize out references to v850
1997-04-15 22:34:57 +00:00
Ian Lance Taylor
e366a2d6e8
* Makefile.in (srcroot): Remove.
...
(INSTALL): Set to @INSTALL@.
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(all, dvi): Don't set srcroot.
(install): Depend upon as.new, gasp.new, and installdirs. Use
$(program_transform_name) directly, rather than using
$(INSTALL_XFORM) and $(INSTALL_XFORM1).
(installdirs): New target.
* doc/Makefile.in (INSTALL_XFORM1): Remove.
(install): Depend upon installdirs. Use $(program_transform_name)
directly, rather than using $(INSTALL_XFORM) and
$(INSTALL_XFORM1).
(installdirs): New target.
(install-info-as): Run mkinstalldirs.
(install-info-gasp): Likewise.
1997-04-15 17:11:08 +00:00
Ian Lance Taylor
dca6429fad
From Thomas Graichen <graichen@rzpd.de>:
...
* Makefile.in: Always use $(SHELL) when running move-if-change.
* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
* configure: Rebuild.
1997-04-14 16:05:50 +00:00
David Edelsohn
f3f00e9486
* cgen.c (cgen_parse_operand): Renamed from cgen_asm_parse_operand.
...
New argument `want'. Update enum cgen_parse_operand_result values.
Initialize if CGEN_PARSE_OPERAND_INIT.
* config/tc-m32r.c (md_begin): Set cgen_parse_operand_fn.
(md_assemble): Call cgen_asm_init_parse.
Update call to m32r_cgen_assemble_insn, call as_bad if assembly failed.
1997-04-10 23:40:30 +00:00
David Edelsohn
4e9d8deacb
* config/tc-m32r.c (md_begin): Set cgen_asm_parse_operand_fn.
...
(md_assemble): Call cgen_asm_init_parse.
Update call to m32r_cgen_assemble_insn, call as_bad if assembly failed.
1997-04-10 21:54:15 +00:00
David Edelsohn
841eff9e79
Tweak comment.
1997-04-10 21:51:01 +00:00
Ian Lance Taylor
902a77ac80
* config/tc-m68k.c (m68k_ip): Handle #j.
1997-04-09 15:50:13 +00:00
Jeff Law
967429536d
* config/tc-mn10300.c (md_convert_frag): Create fixup at the
...
right address for call label:32,regs,imm.
Fixes bug exposed by gdb testsuite.
1997-04-08 22:47:42 +00:00
Jeff Law
e41369a45f
* config/tc-hppa.c (pa_subspace_start): If OBJ_ELF, then always return
...
zero.
* config/tc-hppa.h (tc_frob_symbol): Don't reset the value of the
symbol for OBJ_ELF anymore.
Fixes testsuite problem for hppa1.1-hp-*elf*.
1997-04-07 21:01:43 +00:00
David Edelsohn
39ffbb4dcc
* Makefile.in: Regenerate dependencies.
...
(TARG_CPU): New variable.
(cgen.o): Depend on cgen.h, $(TARG_CPU)-opc.h.
(.dep1): Delete creating of cgen-opc.h.
(.tcdep): Put proper contents in cgen-opc.h.
* configure.in (m32r): Delete setting of extra_files, extra_links.
(AC_OUTPUT): Create cgen-opc.h.
* configure: Regenerated.
1997-04-07 18:38:33 +00:00
Ian Lance Taylor
596c5b74fc
Sat Apr 5 13:19:12 1997 Klaus Kaempf <kkaempf@progis.de>
...
* makefile.vms: Update to build gasp.exe.
1997-04-05 18:20:59 +00:00
David Edelsohn
c8cf7e1737
* write.c (relax_frag): Make non-static.
...
* write.h (relax_frag): Add prototype for.
* config/tc-m32r.h (md_do_align): New arg `max'.
* config/tc-m32r.c (m32r_do_align): Likewise.
Update calls to frag_align, frag_align_pattern.
(fill_insn): Update call to m32r_do_align.
(m32r_scomm): Update call to frag_align.
1997-04-05 02:34:40 +00:00
David Edelsohn
403c708e0a
* frags.c (frag_var): fr_pcrel_adjust renamed to
...
fr_targ.ns32k.pcrel_adjust. fr_bsr renamed to fr_targ.ns32k.bsr.
(frag_variant): Likewise.
* Makefile.in: Tweak last entry, cgen.o is in extra_objects!
1997-04-05 00:35:29 +00:00
David Edelsohn
374bdac737
* config/tc-m32r.[ch]: New files.
...
* cgen.c: New file.
* Makefile.in (CPU_TYPES): Add m32r.
(CFILES): Add cgen.c.
(TARGET_CPU_CFILES): Add tc-m32r.c.
(TARGET_CPU_HFILES): Add tc-m32r.h.
(OBJS): Add cgen.o.
(DISTCLEAN_HERE): Add cgen-opc.h.
(.dep1,.tcdep): Create empty cgen-opc.h.
(cgen.o): Add dependencies.
(dependencies): Regenerate.
* as.h (struct frag): New member fr_targ.
(fr_pcrel_adjust,fr_bsr): Move into union fr_targ.ns32k.
* conf.in (USING_CGEN): New macro.
* configure.in (m32r-*-*): Add entry for.
* configure: Regenerate.
* write.c (relax_frag): fr_pcrel_adjust renamed to
fr_targ.ns32k.pcrel_adjust.
* config/tc-ns32k.c (*): Likewise.
fr_bsr renamed to fr_targ.ns32k.bsr.
1997-04-05 00:21:26 +00:00
David Edelsohn
9f719a5652
m32r support.
1997-04-05 00:09:41 +00:00
Ian Lance Taylor
5c57b91389
* gas/all/float.s: Put a tab before .text, to keep the PA happy.
1997-04-04 22:50:43 +00:00
Ian Lance Taylor
dc966dadf7
* config/tc-hppa.h (TC_EOL_IN_INSN): Check explicitly for '!',
...
rather than for any end of line character.
1997-04-04 22:49:21 +00:00
Ian Lance Taylor
5c11dba28a
* config/tc-hppa.c (tc_gen_reloc): If hppa_ren_reloc_type fails,
...
call abort (i.e., as_abort) rather than crashing.
1997-04-04 22:48:24 +00:00
Ian Lance Taylor
8d5f01200f
* gas/arm/arm.exp: Only run inst and arm7t on targets which can
...
handle -EL. Add setup_xfail for thumb.
1997-04-04 21:57:17 +00:00
Ian Lance Taylor
457a20b54a
* config/tc-mips.c: Protect uses of STO_MIPS16 with an ifdef of
...
OBJ_ELF, rather than of S_GET_OTHER.
1997-04-04 21:12:50 +00:00
Ian Lance Taylor
e819d858c9
* Makefile.in (DISTCLEAN_HERE): Add site.exp and site.bak.
1997-04-04 18:26:33 +00:00
Ian Lance Taylor
452eaaca83
* gas/h8300/ffxx1.d: Don't fail if BFD is 64 bits.
1997-04-04 18:24:03 +00:00
David Edelsohn
8d89f3af98
* gas/m32r/allinsn.{exp,s.d}: New testcases.
1997-04-04 02:27:27 +00:00
David Edelsohn
4293fe5c65
m32r "allinsn" testcases
1997-04-04 02:26:33 +00:00
David Edelsohn
a7d373e51e
Keep m32r.
1997-04-03 23:25:42 +00:00
Ian Lance Taylor
3884d17b45
* Makefile.in (VERSION): Set to 2.8.1.
1997-04-03 18:19:26 +00:00
Ian Lance Taylor
64d2004922
* COPYING: Update FSF address.
1997-04-02 19:51:31 +00:00
Ian Lance Taylor
08438bef4a
* config/tc-mips.c (mips16_macro): Handle M_DMUL and M_MUL.
...
PR 11982.
1997-04-02 17:24:44 +00:00
Jim Wilson
3c83da8ac4
* config/tc-mips.c (md_begin): Don't set interlocks for 4100.
1997-04-02 02:33:47 +00:00
Ian Lance Taylor
396e8d7ff0
Tue Apr 1 16:24:28 1997 Klaus Kaempf <kkaempf@progis.de>
...
* config-gas.com: Update to handle both vax and alpha.
* makefile.vms: Update to use config-gas.
* conf-a-gas.com: Remove file.
1997-04-01 21:26:16 +00:00
Ian Lance Taylor
db2377831a
* Makefile.in: Remove unnecessary itbl-parse.h, ibtl-parse.c, and
...
itbl-lex.c dependencies. Remove rules for itbl-lex.o,
itbl-parse.o, and itbl-ops.o; just use the normal .c.o rule.
1997-04-01 21:09:44 +00:00
Michael Meissner
64251de516
Make # a line comment character
1997-04-01 16:29:10 +00:00
Ian Lance Taylor
3c6adeaf93
Mon Mar 31 23:53:44 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
...
* config/tc-ppc.c (register_name): Declare.
1997-04-01 04:54:41 +00:00
Ian Lance Taylor
332d5c4952
Mon Mar 31 16:31:04 1997 Joel Sherrill <joel@oarcorp.com>
...
* configure.in (hppa*-*-rtems*): New target, like hppa-*-*elf*.
* configure: Rebuild.
1997-03-31 21:34:52 +00:00
Ian Lance Taylor
2f2bcadb7d
* config/tc-mips.c (mips_pseudo_table): Add "stabn".
...
(mips16_mark_labels): New static function.
(append_insn): Call mips16_mark_labels.
(mips_emit_delays): Likewise.
(s_insn): Likewise. Don't call mips_clear_insn_labels.
(s_mips_stab): New static function.
1997-03-31 19:45:23 +00:00
Ian Lance Taylor
6d65a06574
* configure.in: Use ELF for mips-*-gnu*.
...
* configure: Rebuild.
1997-03-31 19:16:11 +00:00
Ian Lance Taylor
ca37421ec4
Mon Mar 31 14:01:40 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
...
* config/tc-m68k.h (TARGET_FORMAT): Set to "coff-m68k-sysv" if
TE_DELTA.
1997-03-31 19:11:03 +00:00
Ian Lance Taylor
2e013bb766
Fri Mar 28 18:03:19 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
...
* configure.in: Add AC_ARG_ENABLE for commonbfdlib. If it is set,
set OPCODES_LIB to empty.
* configure: Rebuild.
1997-03-28 23:16:18 +00:00
Ian Lance Taylor
04b8ad8bb2
Fri Mar 28 15:25:24 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
...
* configure.in (sparc-*-linux*aout*, sparc-*-linux*): New
targets.
* configure: Rebuild.
1997-03-28 20:26:26 +00:00
Ian Lance Taylor
ab91e1ef72
* itbl-parse.y (yyerror): Make static. Declare.
1997-03-28 19:40:00 +00:00
Ian Lance Taylor
515c71428d
From Ralf Baechle <ralf@gnu.ai.mit.edu>:
...
* configure.in: Set emulations for mips-*-linux*-*.
* configure: Rebuild.
1997-03-28 19:25:01 +00:00
Ian Lance Taylor
1347404a58
* config/tc-mips.c (struct mips_set_options): Define.
...
(mips_opts): New static variable.
(mips_isa): Remove. Now a field in mips_opts. Change all
references.
(mips16, mips16_autoextend, mips_warn_about_macros): Likewise.
(mips_noreorder, mips_nomove, mips_noat, mips_nobopt): Likewise.
(struct mips_option_stack): Define.
(mips_opts_stack): New static variable.
(s_mipsset): Add support for .set push and .set pop.
* doc/c-mips.texi: Document .set push and .set pop.
1997-03-28 19:18:11 +00:00
Ian Lance Taylor
acdc7ce30e
* config/obj-elf.c (obj_elf_section_change_hook): New function.
...
* config/obj-elf.h (obj_elf_section_change_hook): Declare it.
* config/tc-mips.c (s_change_sec): Call it if OBJ_ELF.
1997-03-28 18:10:09 +00:00
Ian Lance Taylor
e22e79dc43
* as.c (parse_args): Update copyright date in version message.
1997-03-27 22:13:23 +00:00
Ian Lance Taylor
9b8b7e970e
* Makefile.in (clean-here): Remove dependency files.
1997-03-27 18:52:00 +00:00
Ian Lance Taylor
23ac3ca1f0
* read.c (s_comm): Check S_IS_COMMON as well as S_IS_DEFINED.
...
(s_mri_common): Check S_IS_COMMON unconditionally.
* symbols.c (colon): Check S_IS_COMMON as well as S_IS_DEFINED.
* config/tc-alpha.c (s_alpha_comm): Likewise.
* config/tc-mips.c (nopic_need_relax): Likewise.
* config/tc-ppc.c (ppc_elf_lcomm): Likewise.
(ppc_pe_comm): Likewise.
* config/obj-elf.c (obj_elf_common): Likewise. Set segment of
common symbol to bfd_com_section_ptr.
* config/tc-sparc.c (s_common): Likewise.
(tc_gen_reloc): Likewise.
1997-03-27 17:31:06 +00:00
Martin Hunt
8c0714dc0d
Thu Mar 27 00:42:28 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* d30.exp: Add test case reloc.
* reloc.[sd]: New files to test relocations.
1997-03-27 08:44:55 +00:00
Martin Hunt
e35ed894f7
Thu Mar 27 00:42:28 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* gas/d30v/d30.exp: Add test case reloc.
* gas/d30v/reloc.[sd]: New files to test relocations.
1997-03-27 08:44:39 +00:00
Martin Hunt
80834add01
Thu Mar 27 00:29:46 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* config/tc-d30v.c (md_apply_fix3): Get the relocs right.
1997-03-27 08:41:18 +00:00
Ian Lance Taylor
8cd0c287b0
* listing.c (print_lines): Add lineno parameter. Change all
...
callers.
(listing_listing): Only call calc_hex for the right line.
(listing_list): Set the new edict based on the current edict, in
order to handle listing commands in macros correctly.
1997-03-26 22:26:14 +00:00
Ian Lance Taylor
734a9064b6
Wed Mar 26 13:35:15 1997 H.J. Lu <hjl@lucon.org>
...
* config/tc-i386.c (tc_i386_fix_adjustable): Only define if
BFD_ASSEMBLER.
1997-03-26 18:36:17 +00:00
Ian Lance Taylor
e807a57e6f
* config/tc-mips.c (insn_uses_reg): Map register numbers in mips16
...
instructions.
1997-03-26 17:23:34 +00:00
Ian Lance Taylor
efda47f9ff
* cond.c (cond_finish_check): New function.
...
* as.h (cond_finish_check): Declare.
* as.c (main): Call cond_finish_check.
1997-03-26 16:38:42 +00:00
Martin Hunt
710fdf4735
Tue Mar 25 14:45:54 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* config/tc-d30v.c (md_assemble): If two instructions
are supposed to be assembled in parallel and the first one is
long, print an error and stop.
(md_apply_fix3): Don't calculate absolute relocs. Just write
them out.
1997-03-25 22:49:26 +00:00
Ian Lance Taylor
2fb44892b1
* config/tc-i386.h (iclrKludge): Define.
...
* config/tc-i386.c (md_assemble): Handle iclrKludge.
1997-03-24 19:37:05 +00:00
Ian Lance Taylor
1361ba7757
* config/tc-alpha.h (tc_frob_file_before_adjust): Define if
...
OBJ_ECOFF.
(alpha_frob_file_before_adjust): Declare if OBJ_ECOFF.
* config/tc-alpha.c (alpha_debug): New static variable.
(md_parse_option): Set alpha_debug if -g is seen.
(alpha_frob_file_before_adjust): New function if OBJ_ECOFF.
1997-03-24 17:14:06 +00:00
Martin Hunt
2c268a8551
Sun Mar 23 18:03:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* tc-d30v.c (build_insn): Enable range-checking code.
(postfix): Stop at space or comma. Fixes PR 11862.
(md_assemble): Change error message.
1997-03-24 02:27:09 +00:00
Martin Hunt
9c9e75bf03
Sun Mar 23 18:03:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* config/tc-d30v.c (build_insn): Enable range-checking code.
(postfix): Stop at space or comma. Fixes PR 11862.
(md_assemble): Change error message.
1997-03-24 02:26:54 +00:00
Ian Lance Taylor
65d7de4fc2
* Makefile.in: Added automatic dependency building.
...
* dep-in.sed: New file.
1997-03-22 18:53:01 +00:00
Ian Lance Taylor
7cad1a894b
* config/obj-ieee.c (segment_name): Don't define function if this
...
is a macro.
1997-03-21 23:52:29 +00:00
Ian Lance Taylor
f062ec459f
* config/obj-coff.h (DO_STRIP): Don't define.
...
* config/tc-h8300.h (DO_STRIP): Don't define.
* config/tc-h8500.h (DO_STRIP): Don't define.
* config/tc-w65.h (DO_STRIP): Don't define.
* config/tc-z8k.h (DO_STRIP): Don't define.
1997-03-21 23:13:26 +00:00
Ian Lance Taylor
a71dc20461
* symbols.c (colon): Call obj_frob_label if it is defined.
...
* config/obj-vms.h (obj_frob_label): Rename from tc_frob_label.
1997-03-21 23:06:08 +00:00
Ian Lance Taylor
949f1310de
* configure.in: Don't set files and links. Don't call
...
AC_LINK_FILES. Substitute te_file. Create targ-cpu.h,
obj-format.h, targ-env.h, and itbl-cpu.h in AC_OUTPUT.
* configure: Rebuild.
* Makefile.in (TARG_CPU_C): New variable.
(TARG_CPU_O, TARG_CPU_H): New variables.
(OBJ_FORMAT_C, OBJ_FORMAT_O, OBJ_FORMAT_H): New variables.
(TARG_ENV_H, ATOF_TARG_C, ATOF_TARG_O): New variables.
(SOURCES): Rename from REAL_SOURCES. Delete old definition.
(LINKED_SOURCES): Remove.
(HEADERS): Rename from REAL_HEADERS. Delete old definition.
(LINKED_HEADERS): Remove.
(OBJS): Use $(TARG_CPU_O), etc., rather than targ-cpu.o, etc.
($(OBJS)): Depend upon $(TARG_ENV_H), etc., rather than
targ-cpu.h, etc.
($(TARG_CPU_O), $(OBJ_FORMAT_O) $(ATOF_TARG_O)): New targets.
(targ-cpu.o, obj-format.o, atof-targ.o): Remove targets.
(itbl-cpu.h): Remove target.
(DISTCLEAN_HERE): Remove targ-cpu.c, obj-format.c, atof-targ.c,
atof-targ.h.
1997-03-21 20:48:27 +00:00
Ian Lance Taylor
35cfacf0da
* doc/as.texinfo (Symbol Names): Don't use obsolete @ctrl macro.
1997-03-21 00:19:44 +00:00
Ian Lance Taylor
39ab5d3a82
* config/m68k-parse.y (motorola_operand): Allow (zdireg,EXPR).
1997-03-20 22:00:37 +00:00
Ian Lance Taylor
0dfeb41faa
Thu Mar 20 16:49:14 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* config/tc-m68k.c (mri_chip): Replace calls to get_symbol_end by
open coded loop that does not require the name to start with a
name beginner.
1997-03-20 21:51:00 +00:00
Ian Lance Taylor
f59fb6cac7
Thu Mar 20 13:42:01 1997 H.J. Lu <hjl@lucon.org>
...
* frags.c (frag_var): Change offset parameter to offsetT.
(frag_variant): Likewise.
* frags.h (frag_variant, frag_var): Update declarations.
* config/tc-m68k.c (struct m68k_it): Change foff field to
offsetT.
(add_frag): Change off parameter to offsetT.
* Several files: Add casts to calls to frag_var.
1997-03-20 19:08:35 +00:00
Ian Lance Taylor
29bc322d8d
Thu Mar 20 13:42:01 1997 H.J. Lu <hjl@lucon.org>
...
* Makefile.in (m68k-parse.c): Depend upon itbl-parse.c, to
serialize a parallel make.
(itbl-parse.h): Split target out from itbl-parse.c.
1997-03-20 18:43:10 +00:00
Ian Lance Taylor
9afc66310f
Thu Mar 20 12:48:45 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
...
* config/te-delta.h (COFF_COMMON_ADDEND): Define.
* config/obj-coff.c (fixup_segment): Check COFF_COMMON_ADDEND when
storing the value of a common symbol.
1997-03-20 17:50:41 +00:00
Ian Lance Taylor
7dd2696140
Wed Mar 19 11:37:57 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
...
* config/obj-coff.c (glue_symbols): Unused variable symbolP
removed.
(crawl_symbols): Do not modify symbol_rootP and symbol_lastP here;
that is done by symbol_remove and symbol_insert.
* config/obj-coff.h (S_IS_LOCAL): Return 0 for a debugging
symbol.
1997-03-19 17:07:23 +00:00
Ian Lance Taylor
ac766f7080
* config/tc-mips.c (load_register): In 32 bit mode, when not
...
dealing with a 64 bit number, permit the upper 32 bits to be set
even if bit 31 is not set.
This lets `and $2,~0x80000000' succeed.
1997-03-19 16:28:19 +00:00
Ian Lance Taylor
58cfdde3e4
* read.c (potable): Add "equiv".
...
(s_set): Handle .equiv based on argument.
* doc/as.texinfo (Equiv): New node to document .equiv.
(Err): New node to document .err.
PR 11787.
1997-03-19 04:32:56 +00:00
Ian Lance Taylor
7cd06f4400
Tue Mar 18 15:50:13 1997 H.J. Lu <hjl@lucon.org>
...
* Many files: Add function prototypes.
* as.c (show_usage, parse_args): Make static.
* frags.h (frag_alloc): Declare.
* subsegs.c (subseg_set_rest): Don't declare frag_alloc.
* symbols.c (dollar_label_instance): Change return type to long.
* symbols.h (print_symbol_value): Declare.
(print_expr, print_expr_1, print_symbol_value_1): Declare.
* write.c (fix_new_exp): Don't declare make_expr_symbol.
(remove_subsegs, relax_frag): Make static.
* config/atof-vax.c (atof_vax_sizeof): Change letter to int.
(what_kind_of_float): Likewise.
(atof_vax): Make static. Change what_kind to int.
(md_atof): Change what_statement_type to int.
* config/obj-ecoff.h (obj_ecoff_set_ext): Declare.
* config/tc-alpha.c (vax_md_atof): Declare.
(md_atof): Don't declare atof_ieee and vax_md_atof.
* config/tc-i386.c (set_16bit_code_flag): Make static.
* config/tc-i386.h (tc_i386_fix_adjustable): Declare.
* config/tc-m68k.c (add_fix): Change width to int.
(insert_reg): Change regname to const.
(md_atof): Don't declare atof_ieee.
(demand_empty_rest_of_line): Don't declare.
* config/tc-m88k.c (md_atof): Don't declare atof_ieee.
* config/tc-sparc.c (cmp_reg_entry): Change args to const PTR.
(parse_keyword_arg): Change lookup_fn to take const arg.
(md_atof): Don't declare atof_ieee.
* config/tc-sparc.h: Add ifdef for multiple inclusion.
(tc_aout_pre_write_hook): Don't declare.
1997-03-18 21:04:18 +00:00
Ian Lance Taylor
b140021852
fix last patch
1997-03-18 00:24:50 +00:00
Ian Lance Taylor
590c50d82c
* as.h (bfd_alloc_by_size_t): Don't declare.
...
* Many files: Use xmalloc rather than bfd_alloc_by_size_t.
1997-03-17 16:29:29 +00:00
Ian Lance Taylor
4b0895cf56
x
1997-03-16 18:52:01 +00:00
Ian Lance Taylor
e95ef7c1b1
* symbols.c (symbol_new): Don't call debug_verify_symchain.
...
(symbol_append): Set sy_next and sy_previous when adding a single
symbol to an empty list. Call debug_verify_symchain.
(verify_symbol_chain): Use assert, not know.
1997-03-16 18:50:27 +00:00
Fred Fish
5cf4e55e7b
* NEWS: Note BeOS support.
...
* configure.in: (ppc-*-beos): New target, use coff as object format.
* configure: Regenerate with autoconf.
1997-03-16 03:28:53 +00:00
Ian Lance Taylor
18f7e3dc7f
* config/tc-mips.c (md_apply_fix): Improve error message for out
...
of range branch.
1997-03-16 00:16:52 +00:00
Ian Lance Taylor
9591ad402a
* Makefile.in: Add dependencies on obstack.h where needed.
1997-03-16 00:15:01 +00:00
Ian Lance Taylor
46a92fde53
* config/tc-mips.c (md_estimate_size_before_relax): Handle the
...
case of a symbol equated to another symbol when using SVR4_PIC.
1997-03-15 02:14:44 +00:00
Ian Lance Taylor
ef014e090f
* Makefile.in (TARG_CPU_DEP_sparc): Add opcode/sparc.h.
1997-03-14 20:34:08 +00:00
Ian Lance Taylor
d428c89fdf
* read.c (read_a_source_file): Call LISTING_NEWLINE before
...
HANDLE_CONDITIONAL_ASSEMBLY when handling an MRI line label.
PR 11746.
1997-03-13 20:19:43 +00:00
Ian Lance Taylor
2e9974a450
* config/obj-elf.c (obj_elf_data): Call md_flush_pending_output
...
and md_elf_section_change_hook if they are defined.
(obj_elf_text, obj_elf_previous): Likewise.
1997-03-13 16:21:34 +00:00
Ian Lance Taylor
80633e8e2a
* doc/as.texinfo (bss): Improve description of .bss section. In
...
ELF or COFF, you are permitted to switch into the section.
(Comm): Rewrite description of common symbols.
(Lcomm): Mention that some targets permit a third argument.
1997-03-12 16:41:26 +00:00
Ian Lance Taylor
9be8c0f160
* config/tc-ppc.c (ppc_elf_lcomm): Don't call S_CLEAR_EXTERNAL.
...
PR 11847.
1997-03-12 01:39:00 +00:00
Ian Lance Taylor
92b7bfb7b6
* symbols.c (colon): Change type of local to int. From Alan Modra
...
<alan@spri.levels.unisa.edu.au>.
1997-03-11 20:12:37 +00:00
Ian Lance Taylor
e053e8c1e5
* config/tc-m88k.c (m88k_do_align): Don't use a special nop
...
alignment if a zero fill pattern was explicitly specified.
* config/tc-sh.c (sh_do_align): Likewise.
1997-03-11 20:10:20 +00:00
Ian Lance Taylor
842b6b062d
* read.c (equals): Always permit register names to be redefined.
...
PR 11787.
1997-03-11 18:30:11 +00:00
Ian Lance Taylor
ee2c03edf3
* config/tc-mips.c (mips_fix_adjustable): Permit a reloc against a
...
mips16 symbol to be adjusted if a symbol is being subtracted from
it.
1997-03-11 18:16:59 +00:00
Ian Lance Taylor
6d8dfa04d4
From Eric Youngdale <eric@andante.jic.com>:
...
* config/obj-elf.c (obj_elf_symver): Check for duplicate or
illegal symbol version names.
(elf_frob_symbol): Check for external default versions.
1997-03-11 06:14:44 +00:00
Ian Lance Taylor
d88cc85dbb
From Eric Youngdale <eric@andante.jic.com>:
...
* config/obj-elf.h (struct elf_obj_sy): Define.
(OBJ_SYMFIELD_TYPE): Define to elf_obj_sy struct. Change all
users.
* config/obj-elf.c (obj_elf_symver): Just record the name.
(obj_symbol_new_hook): Initialized versioned_name field.
(elf_frob_symbol): If there is a versioned_name, either rename the
symbol, or add an alias with that name.
1997-03-10 04:53:55 +00:00
Jeff Law
ef03fee0e0
* config/tc-mn10300.c (md_relax_table): Define.
...
(md_convert_frag): Implement.
(md_assemble): Handle relaxable operands/instructions correctly.
(md_estimate_size_before_relax): Implement.
* config/tc-mn10300.h (TC_GENERIC_RELAX_TABLE): Define.
Branch relaxing for the mn10300. Reduces the code size of our libraries by
about 11%.
1997-03-07 01:16:33 +00:00
Jeff Law
27103699a9
* config/tc-mn10200.c (md_relax_table): Fix typos.
...
Somthing I noticed while working on mn10300 relaxing code.
1997-03-07 00:04:57 +00:00
Jeff Law
a405bb3eb0
* config/tc-mn10300.c (md_assemble): Don't use any MN10300 specific
...
relocs anymore. Tweak fx_offset for pc-relative relocs.
Cleanup/simplification of mn10300 port. Bring over changes from mn10200 port.
1997-03-06 20:58:22 +00:00
Ian Lance Taylor
d6545e3fc3
* cond.c (s_ifc): Call mri_comment_field and mri_comment_end when
...
in MRI mode.
PR 11788
1997-03-05 23:48:08 +00:00
Jeff Law
a76daba13d
* gas/all/gas.exp: xfail a couple tests for the mn10300.
1997-03-05 20:02:27 +00:00
Fred Fish
1ea5264653
* config/tc-tic80.c (md_pseudo_table): Add "sect" and "section"
...
pseudo-ops.
1997-03-05 06:18:28 +00:00
Fred Fish
e74539b876
* config/tc-tic80.c (md_begin): Declare external variable
...
coff_flags and insert an F_AR32WR bit into it.
1997-03-05 02:35:36 +00:00
Fred Fish
64c21d14eb
* gas/tic80/{add.d, float.d, regops2.d, relocs1.d, relocs1b.d,
...
relocs2.d, relocs2b.d}: Adjust to objdump format tweaks.
1997-03-03 18:41:28 +00:00
Ian Lance Taylor
a941619c0b
* config/tc-mips.c (mips16_extended_frag): Don't assume that we
...
can rely on the frag address to determine whether a frag is
earlier or later.
1997-03-01 06:10:58 +00:00
Ian Lance Taylor
2360492176
* write.h (LOCAL_LABEL): Only define if not BFD_ASSEMBLER.
...
(S_LOCAL_NAME): Likewise.
(FAKE_LABEL_NAME): Define unconditionally.
* symbols.c (colon): Call bfd_is_local_label, not LOCAL_LABEL, if
BFD_ASSEMBLER.
(S_IS_LOCAL): Call bfd_is_local_label_name, not LOCAL_LABEL.
* config/tc-*.h: Only define LOCAL_LABEL if not BFD_ASSEMBLER.
Don't define FAKE_LABEL_NAME.
* config/te-ic960.h: Likewise.
* config/tc-mips.h (tc_frob_file_before_adjust): Define.
(mips_frob_file_before_adjust): Declare.
* config/tc-mips.c (mips_frob_file_before_adjust): New function.
(mips_local_label): Remove.
1997-02-28 20:04:39 +00:00
Ian Lance Taylor
e691320ea4
* config/te-sco386.h: Remove; not used.
1997-02-28 19:42:04 +00:00
Ian Lance Taylor
8a683c6720
remove d10v sanitization
1997-02-27 23:34:14 +00:00
Fred Fish
a88ce21e33
* config/tc-tic80 (md_pseudo_table): Add align pseudo op to do
...
byte alignment rather than power-of-two alignment that is the
GAS default.
1997-02-27 22:55:12 +00:00
Fred Fish
99cd62ed9c
* gas/tic80/{align.d, align.lst, align.s} New test for the
...
".align" pseudop.
* gas/tic80/tic80.exp: Run the align test.
1997-02-27 22:29:33 +00:00
Ian Lance Taylor
f396c4ef4c
* config/tc-m68k.c (md_assemble): Handle a reloc width of 'W'.n
1997-02-27 19:57:10 +00:00
Angela Marie Thomas
54d5e0fb22
fix random missing Sanitize bits
1997-02-27 18:59:07 +00:00
Ian Lance Taylor
0f68bf0a91
* gasp.c (hash_add_to_string_table): Correct misspelling in error
...
message, and add newline.
(process_file): Don't process assignments in the label if this is
a equ or assign pseudo-op.
(process_pseudo_op): Swap first argument to do_assign for K_ASSIGN
and K_EQU, to match documentation.
1997-02-27 18:30:47 +00:00
Michael Meissner
0fe302aced
Add "r" section attribute to denote read-only sections
1997-02-27 17:01:21 +00:00
Ian Lance Taylor
35c64f24d1
* config/obj-elf.c (obj_elf_common): Set BSF_OBJECT in flags.
...
* config/tc-sparc.c (s_common): Likewise, if BFD_ASSEMBLER.
1997-02-27 06:31:12 +00:00
Ian Lance Taylor
30d0557caa
* expr.c (operand): Simplify 0b handling. Don't treat 0b as a
...
binary number if the next character is '+' or '-'.
1997-02-27 05:28:17 +00:00
Fred Fish
1e12595d64
* config/tc-tic80.c (FLT_CHARS): Change from "dD" to "fF".
...
(find_opcode): Match operands that can be floats.
(build_insn): Handle O_big (float) expressions and build
correct opcode.
1997-02-27 04:05:18 +00:00
Fred Fish
cf502a8d9b
* gas/tic80/{float.d, float.lst, float.s}: New tests for
...
simple floating point operands.
* gas/tic80/tic80.exp: Run the float test.
1997-02-27 03:39:10 +00:00
Stan Shebs
d3ecee3912
always keep te-lnews.h
1997-02-27 02:42:38 +00:00
Stan Shebs
af942793a8
* configure.in (mips*-*-lnews*): New target, also make empty
...
emulation list for this target.
* configure: Update.
* tc-mips.c (ECOFF_LITTLE_FORMAT): Define.
(mips_target_format): Use.
* te-lnews.h: New file.
1997-02-27 02:40:44 +00:00
Martin Hunt
9a18fe60f7
Sanitize out D30V stuff.
1997-02-27 01:55:05 +00:00
Fred Fish
f92f247b2d
* config/tc-tic80.c (find_opcode, build_insn): Changes to match
...
operands with :m or :s modifiers and generate the right opcodes
for them.
1997-02-26 22:42:51 +00:00
Fred Fish
6c24f9c190
* gas/tic80/{regops2.d, regops2.lst, regops2.s, regops3.d,
...
regops3.lst, regops3.s, regops4.d, regops4.lst, regops4.s}:
New tests for :m and :s operand modifiers.
* gas/tic80/tic80.exp: Run the regops2, regops3, and regops4 tests.
1997-02-26 22:24:38 +00:00
Ian Lance Taylor
7a5157080c
* Makefile.in (itbl-parse.c itbl-parse.h): Use $(BISON) and
...
$(BISONFLAGS), not $(YACC) and $(YACCFLAGS).
1997-02-26 16:57:38 +00:00
Ian Lance Taylor
034988c662
Based on patches from Robert Lipe <robertl@dgii.com>:
...
* configure.in: Add i386coff and i386elf to emulation list.
* configure: Rebuild.
* as.c (i386coff, i386elf): Declare.
* obj.h (coff_format_ops): Declare.
* config/obj-coff.c (OBJ_HEADER): Define.
(coff_obj_symbol_new_hook): Rename from obj_symbol_new_hook.
(coff_obj_read_begin_hook): Rename from obj_read_begin_hook.
(obj_pseudo_table): Add "version".
(coff_pop_insert): New static function.
(coff_sec_sym_ok_for_reloc): New static function.
(no_func): New static function.
(coff_format_ops): New variable.
* config/obj-coff.h (coff_obj_symbol_new_hook): Declare.
(obj_symbol_new_hook): Define.
(coff_obj_read_begin_hook): Declare.
(obj_read_begin_hook): Define.
* config/tc-i386.h (i386_target_format): Declare.
* config/tc-i386.c: Check OBJ_MAYBE_ELF as well as OBJ_ELF; check
OUTPUT_FLAVOR when appropriate.
(i386_target_format): New function.
* Makefile.in (obj-coff.o): New target.
(e-i386coff.o, e-i386elf.o): New targets.
1997-02-26 04:33:08 +00:00
Ian Lance Taylor
55be99d643
Tue Feb 25 22:02:23 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
...
* config/tc-m68k.c (instring): Useless local declaration of
crack_operand removed.
* expr.h (expressionS): Changed type of X_op field to operatorT if
__GNUC__.
1997-02-26 03:04:05 +00:00
Ian Lance Taylor
a0c4a2413e
From Stephen Williams <steve@icarus.icarus.com>:
...
* config/tc-i960.h (TC_SYMFIELD_TYPE): Define if OBJ_COFF.
(_tc_get_bal_of_call): Don't declare.
(tc_get_bal_of_call): Declare as function, don't define as macro.
* config/tc-i960.c (tc_set_bal_of_call): If OBJ_COFF, store balP
in sy_tc field, not x_balntry field.
(tc_get_bal_of_call): Rename from _tc_get_bal_of_call. Change
return type to symbolS *. If OBJ_COFF, retrieve value from sy_tc
field, not x_balntry field.
1997-02-26 02:55:31 +00:00
Ian Lance Taylor
7a9756bcc2
tweak for alignment
1997-02-25 19:47:05 +00:00
Ian Lance Taylor
a90512ade8
* Makefile.in ($(OBJS)): Don't depend upon $(IT_HDRS).
...
(TARG_CPU_DEP_mips): Depend upon $(srcdir)/itbl-ops.h.
(itbl-lex.o): Depend upon itbl-parse.h.
* itbl-parse.y (yyerror): Change return type to int. Change to
use old style function declaration.
1997-02-25 19:36:18 +00:00
Ian Lance Taylor
ee5cb7fe02
* Makefile.in (itbl-lex.o): Remove -Wall.
...
(itbl-parse.o): Likewise.
1997-02-25 19:28:05 +00:00
Ian Lance Taylor
b1a8b4d814
* gas/macros/semi.s: Force the final alignment to use a fill value
...
of 0.
1997-02-25 18:56:14 +00:00
Ian Lance Taylor
c98bb2d606
* gas/all/cond.s, gas/all/cond.d: New test.
...
* gas/all/gas.exp: Run it.
1997-02-25 18:47:08 +00:00
Ian Lance Taylor
28d8c67124
* cond.c (s_ifdef): If we should omit conditionals from listings,
...
call listing_list.
(s_if, s_ifc, s_endif, s_else, s_ifeqs): Likewise.
* listing.c (list_info_struct): Add EDICT_NOLIST_NEXT.
(listing_listing): Handle EDICT_NOLIST_NEXT.
(listing_list): An argument of 2 means EDICT_NOLIST_NEXT.
* listing.h (LISTING_NOCOND): Define.
(LISTING_SKIP_COND): Define.
* as.c (show_usage): Mention c as a suboption of -a.
(parse_args): Handle c as a suboption of -a.
* doc/as.texinfo: Document -alc.
1997-02-25 18:45:17 +00:00
Fred Fish
b16a8c8e09
* config/tc-tic80.c (md_apply_fix): Handle R_ABS type fixups.
...
(fixes several failures in generic part of GAS testsuite)
1997-02-25 06:37:51 +00:00
Martin Hunt
4d3410fd99
Mon Feb 24 15:19:57 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* config/tc-d10v.c: Change pre_defined_registers to
d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt.
1997-02-24 23:22:13 +00:00
Fred Fish
ec72a26633
* config/obj-coff.c: Fix typo in comment section.
...
start-sanitize-tic80
* config/tc-tic80.c (md_pseudo_table): Add entry for bss, which takes
an additional alignment argument.
(find_opcode): Allow O_symbol relocs for any 32 bit field, not just
base relative ones.
(build_insn): Handle O_symbol relocs for any 32 bit field, not just
base relative ones.
end-sanitize-tic80
1997-02-24 20:21:13 +00:00
Fred Fish
dc40b39121
* gas/tic80/{add.d, bitnum.d, ccode.d, cregops.d, endmask.d,
...
regops.d, relocs1.d,
(relocs1.c): Add file for reference.
(relocs1b.d): Split reloc table contents test to different test file.
(relocs2.c): Add test that uses various types (char, short, int, ...) of
static and global variables with data shuffling to generate lots of ld/st
instructions for the different types.
(relocs2.d): New file, expected code for relocs2 test.
(relocs2.lst): New file, TI assembler listing for reference.
(relocs2.s): New file, assembly source for relocs2 test.
(relocs2b.d): New file, expected reloc table contents for relocs2 test.
(tic80.exp): Run the relocs1b, relocs2, and relocs2b tests.
1997-02-24 18:25:19 +00:00
Dawn Perchik
16aef5b049
* Makefile.in: Remove dependancies on itbl-cpu.h.
...
* as.c: Define stubs for itbl_parse and itbl_init if HAVE_ITBL_CPU
is not defined.
1997-02-24 10:42:50 +00:00
Dawn Perchik
ac6c6bdb34
* itbl-ops.h: Include as.h.
1997-02-24 10:01:19 +00:00
Dawn Perchik
72797ffaa0
* as.c: Remove -t option.
...
* configure, configure.in: Move itbl-cpu.h to mips specific configure.
* itbl-ops.h: Include itbl-cpu.h only if HAVE_ITBL_CPU is defined.
* config/tc-mips.h: Define HAVE_ITBL_CPU.
1997-02-24 09:21:31 +00:00
Dawn Perchik
2f671f8415
* itbl-ops.c: Don't define DEBUG.
1997-02-24 01:57:55 +00:00
Dawn Perchik
de614d4d67
* gas/all/itbl-test.c(main): Update function calls.
...
Remove parameters from itbl_get_reg_val and
change itbl_get_insn_name to itbl_get_field.
1997-02-24 01:51:04 +00:00
Dawn Perchik
f9f0539f36
* Makefile.in: Update itbl-test.c to reflect its new location.
1997-02-24 01:44:47 +00:00
Dawn Perchik
b9d4be84aa
* gas/mips/itbl: Add comments.
...
* gas/mips/itbl.s: Add comments. Prefix register names with $.
* gas/all/itbl: Generic table for testing for itbl support.
* gas/all/itbl.s: Generic assembly for testing for itbl support.
* gas/mips/itbl-test.c: Moved to gas/all.
* gas/all/itbl-test.c: Moved from gas/mips.
1997-02-24 01:17:50 +00:00
Dawn Perchik
8d8a790b81
* itbl-ops.c: Add test for itbl_have_entries.
...
* config/tc-mips.c: Remove test for itbl_have_entries.
* config/tc-mips.h: Define tc_init_after_args to mips_init_after_args.
1997-02-23 23:46:12 +00:00
Ian Lance Taylor
7b9f3d46c6
* Makefile.in (DISTSTUFF): Remove itbl-parse.y, itbl-lex.l, and
...
itbl-ops.c. Add itbl-parse.c and itbl-lex.c.
(LEX, LEXFLAGS): Define.
* itbl-ops.c (append_insns_as_macros): Remove bogus ASSERT.
1997-02-23 23:15:09 +00:00
Ian Lance Taylor
1857d1e67d
fix minor formatting problem
1997-02-23 23:14:39 +00:00
Ian Lance Taylor
9218cee06b
minor formatting fixes
1997-02-23 22:47:20 +00:00
Dawn Perchik
efec4a282c
* itbl-parse.y: Fix indentation mistakes from indent program.
...
* itbl-lex.l: Fix indentation mistakes from indent program.
* itbl-ops.h: Add include for ansidecl.h.
Add PARAMS around function arguments.
Add declaration for itbl_have_entries.
* itbl-ops.c: Add PARAMS around function arguments.
* Makefile.in: Add itbl build rules.
Add dependancies for itbl files to mips target.
* as.c: Add itbl support.
Add new option "--insttbl" for dynamically extending instruction set.
* as.h: Declare insttbl_file_name;
the name of file defining extensions to the basic instruction set
* configure.in, configure: Add itbl-parse.o, itbl-lex.o, and
itbl-ops.o to extra_objects for mips configuration.
Add include file link from itbl-cpu.h to
config/itbl-${target_cpu_type}.h.
* config/tc-mips.c: Allow copz instructions.
Add notes for future additions to the itbl support.
Add debug macros.
(macro): Call itbl_assemble to assemble itbl instructions.
See if an unknown register is specified in an itbl entry.
1997-02-23 22:23:12 +00:00
Fred Fish
d160b69e74
* doc/internals.texi (CPU backend): Fix typo in md_section_align
...
description.
start-sanitize-tic80
* config/tc-tic80.h (NEED_FX_R_TYPE): Define.
* config/tc-tic80.c (find_opcode): Add code to support O_symbol
operands.
(build_insn): Grab a frag early so we can use the address in
fixups. Take one's complement of BITNUM values before insertion
in opcode. Add code to support O_symbol operands.
(md_apply_fix): Replace unimplemented warning with implementation.
(md_pcrel_from): Ditto.
(tc_coff_fix2rtype): Ditto.
end-sanitize-tic80
1997-02-23 04:01:39 +00:00
Fred Fish
ef60d6973c
* gas/tic80/{add.lst, bitnum.lst, ccode.lst, cregops.lst,
...
endmask.lst, regops.lst}: Remove ^M's from end of lines.
* gas/tic80/bitnum.s: Add comment to each line showing value
that symbolic BITNUM assembles to. Add coverage for raw
numeric values for the BITNUM operand.
* gas/tic80/bitnum.d: Update due to bitnum.s changes.
* gas/tic80/regops.d: Update due to opcode library additions
of floating point test BITNUM values that are ambiguous with
the integral ones.
* gas/tic80/relocs1.s: New test case that tests simple relocs.
* gas/tic80/relocs1.d: Expected output for above.
* gas/tic80/relocs1.lst: TI assembler listing for above.
* gas/tic80/tic80.exp: Add relocs1 test.
1997-02-23 03:34:25 +00:00
Martin Hunt
1b52469766
Fri Feb 21 14:34:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* config/tc-d30v.c (parallel_ok): New function.
* config/tc-d30v.h: Define TARGET_BYTES_BIG_ENDIAN.
1997-02-22 00:29:55 +00:00
Martin Hunt
09d9ef26c9
Fri Feb 21 14:34:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* config/tc-d10v.c (md_pcrel_from_section): Return 0 if
relocation is in different section. Fixes PR11574.
1997-02-21 22:36:21 +00:00
Martin Hunt
80e3b2aa53
Fri Feb 21 14:23:14 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* gas/d30v/{align.d, align.s, d30.exp, guard.d, guard.s,
inst.d, inst.s, opt.d, opt.s}: Test files for D30V.
1997-02-21 22:28:16 +00:00
Ian Lance Taylor
b2f7cdd005
* config/tc-m68k.c (line_comment_chars): Add '*'.
1997-02-21 19:54:34 +00:00
Jim Wilson
e2e5acfa75
Fix linker relocation overflow errors for the NEC vr4300/ddb toolchain.
...
These changes are related to Ian's gas/libgloss changes of Dec 13/Dec 18.
* tc-mips.c (mips_ip): If configured for an embedded ELF system,
don't set the section alignment to 2**4.
* mips/ddb.ld: Align the location counter before setting _gp, and
before setting edata. Remove ALIGN from _gp computation.
* mips/idt.ld, mips/pmon.ld: Before setting _gp, use ALIGN(8) instead
of ALIGN(16). Remove ALIGN from _gp computation.
1997-02-21 18:28:36 +00:00
Ian Lance Taylor
830ce6319a
* app.c (LEX_IS_TWOCHAR_COMMENT_2ND): Don't define.
...
(do_scrub_begin): Don't set lex['*'].
(do_scrub_chars): When handling LEX_IS_TWOCHAR_COMMENT_1ST, don't
check for LEX_IS_TWOCHAR_COMMENT_2ND. Instead, just check for
a literal '*'.
1997-02-21 17:21:09 +00:00
Ian Lance Taylor
fee3e248a6
* configure.in: Set em=svr4 for m68k-*-sysv4*.
...
* configure: Rebuild.
* config/te-svr4.h: New file.
* config/tc-m68k.c (m68k_comment_chars): Only include `#' if
TE_SVR4 or TE_DELTA.
1997-02-21 17:00:45 +00:00
Jeff Law
48242b28d6
* config/tc-mn10200.c (md_convert_frag): Create a fixup for the
...
short conditional branch around a long unconditional branch.
Showing the reloc will allow the linker to shorten the long unconditional
branch or remove the long unconditional branch entirely when relaxing.
1997-02-21 05:27:10 +00:00
Ian Lance Taylor
64c5df8d21
* config/obj-coff.c (obj_coff_ln [both versions]): Call
...
new_logical_line.
PR 11725.
1997-02-20 19:12:05 +00:00
Ian Lance Taylor
1af411e17e
* symbols.c (resolve_symbol_value): If both left and right
...
operands are undefined, warn about both of them.
PR 11724.
1997-02-20 18:58:40 +00:00
Michael Meissner
c6c7035cfb
Since d10v is public now, remove all sanitization statements
1997-02-20 16:05:18 +00:00
Ian Lance Taylor
dd7feeb5ce
Based on patches from Eric Youngdale <eric@andante.jic.com>:
...
* config/obj-elf.c (elf_pseudo_table): Add "symver".
(obj_elf_symver): New static function.
* config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Copy the st_other
field.
1997-02-19 21:33:00 +00:00
Ian Lance Taylor
f87ac26665
* gas/macros/semi.s, gas/macros/semi.d: New test.
...
* gas/macros/macros.exp: Run it.
* gas/mri/semi.s, gas/mri/semi.d: New test.
* gas/mri/mri.exp: Run it.
Taken from PR 11715.
1997-02-19 05:57:55 +00:00
Ian Lance Taylor
78673fc661
* read.c (get_line_sb): Don't end the line on a semicolon inside a
...
string.
PR 11715.
1997-02-19 05:54:00 +00:00
Martin Hunt
14f23c288c
Tue Feb 18 18:42:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* config/tc-d30v.c, config/tc-d30v.h: New files.
* configure: Rebuilt.
* configure.in: Add case for d30v.
1997-02-19 02:53:39 +00:00
Martin Hunt
9b1168d6e7
Tue Feb 18 18:42:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* config/tc-d30v.c, config/tc-d30v.h: New files.
1997-02-19 02:47:03 +00:00