Doug Evans
27f6715d30
* config/tc-m32r.c (m32r_do_align): Only fill code sections with
...
nops if fill pattern not specified.
1998-06-01 19:48:48 +00:00
Ian Lance Taylor
8b398c5354
From Andrew Crabtree <andrewc@typhoon.rose.hp.com>:
...
* config/te-go32.h (TE_GO32): Define.
* config/tc-i386.h (LOCAL_LABEL): Don't define if TE_GO32.
1998-06-01 18:10:16 +00:00
Doug Evans
082a41fc7c
Implement .func/.endfunc pseudo-ops.
...
* read.h (stabs_generate_asm_func,stabs_generate_asm_endfunc): Declare.
(s_func): Declare.
* read.c (potable): Add .func,.endfunc.
(s_func): New function.
* stabs.c (stabs_generate_asm_func,stabs_generate_asm_endfunc): New
functions.
(in_doc_func_p,current_function_label): New static globals.
(stabs_generate_asm_lineno): Emit function relative stabs if in .func.
1998-06-01 04:44:48 +00:00
Doug Evans
dbef2779c0
* config/tc-dvp.c (create_vuoverlay_section): Set SEC_CODE flag for
...
overlay sections.
1998-06-01 03:53:57 +00:00
Doug Evans
c3b51879b3
* config/tc-dvp.h (ELF_TC_SPECIAL_SECTIONS): Delete .vuoverlay_table.
...
(VUOVERLAY_SECTION_PREFIX,VUOVERLAY_TABLE_SECTION_NAME): Delete.
* config/tc-dvp.c (vuoverlay_string_section): New static global.
(md_begin): Create overlay string section.
(create_vuoverlay_section): Put section name in overlay string section.
Put string's offset in overlay table entry.
1998-05-31 22:46:56 +00:00
Ian Lance Taylor
04e6b63b72
* config/tc-a29k.h (WORKING_DOT_WORD): Define.
...
* config/tc-alpha.h (WORKING_DOT_WORD): Define.
* config/tc-arm.h (WORKING_DOT_WORD): Define.
* config/tc-h8300.h (WORKING_DOT_WORD): Define.
* config/tc-h8500.h (WORKING_DOT_WORD): Define.
* config/tc-hppa.h (WORKING_DOT_WORD): Define.
* config/tc-i860.h (WORKING_DOT_WORD): Define.
* config/tc-i960.h (WORKING_DOT_WORD): Define.
* config/tc-tic30.h (WORKING_DOT_WORD): Define.
* config/tc-w65.h (WORKING_DOT_WORD): Define.
* config/tc-z8k.h (WORKING_DOT_WORD): Define.
* config/tc-a29k.c: Don't define md_short_jump_size,
md_long_jump_size, md_create_short_jump or md_create_long_jump.
* config/tc-alpha.c: Likewise.
* config/tc-alpha.h: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-h8300.c: Likewise.
* config/tc-h8500.c: Likewise.
* config/tc-hppa.c: Likewise.
* config/tc-i860.c: Likewise.
* config/tc-i960.c: Likewise.
* config/tc-ppc.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-sparc.h: Likewise.
* config/tc-tic30.c: Likewise.
* config/tc-w65.c: Likewise.
* config/tc-z8k.c: Likewise.
1998-05-29 22:25:56 +00:00
Ian Lance Taylor
ca16ec5c81
* symbols.c (symbol_find_base): Fix case insensitive symbol name
...
code. From Chris Moller <moller@bops.com>.
1998-05-29 21:22:00 +00:00
Ian Lance Taylor
1a20177a13
Fri May 29 16:03:26 1998 Pat Rankin <rankin@eql.caltech.edu>
...
* config/tc-vax.c (_): Delete this macro used for placeholder
values in vax_operand_width_size; it conflicts with the _() macro
used for internationalization.
1998-05-29 20:08:25 +00:00
Ian Lance Taylor
4ea4905324
Based on patch from Klaus Kaempf <kkaempf@progis.de>:
...
* struc-symbol.h (struct broken_word): Add seg and subseg fields.
* read.c (emit_expr): Initialize seg and subseg fields of a new
broken word.
* write.c (write_object_file): Switch to the appropriate segment
and subsegment when processing a broken word.
1998-05-29 19:59:55 +00:00
Ian Lance Taylor
dcb76edbb8
* config/tc-m68k.c (mri_assemble): New static function.
...
(build_mri_control_operand): Call mri_assemble rather than
md_assemble.
(s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise.
(s_mri_endf, s_mri_endw): Likewise.
1998-05-29 17:48:03 +00:00
Doug Evans
1554baf3cb
* config/tc-dvp.h (ELF_TC_SPECIAL_SECTIONS): Add .vuoverlay_table.
...
(dvp_frob_file): Declare.
(tc_frob_file): Define.
(VUOVERLAY_SECTION_PREFIX,VUOVERLAY_TABLE_SECTION_NAME): New macros.
* config/tc-dvp.c (VUOVERLAY_START_PREFIX): New macro.
(vuoverlay_section_name,create_vuoverlay_section): New functions.
(vuoverlay_section,vuoverlay_table_section): New static globals.
(ovlysym_table): New static global.
(md_begin): Create .vuoverlay_table section.
(assemble_vif): Call create_vuoverlay_section for each mpg.
(dvp_frob_label): Record vu labels in ovlysym_table for later
movement from absolute section to their overlay section.
(dvp_frob_file): New function.
(md_apply_fix3): For 8/16/32/64 bit relocs, only process if fx_done.
1998-05-28 23:29:19 +00:00
Doug Evans
899c697bfe
* config/tc-dvp.c (assemble_one_insn): Parse suffix operands
...
even when missing in input string.
Forgot to check ChangeLog entry in.
1998-05-28 23:23:14 +00:00
Ian Lance Taylor
8a9c148140
* config/tc-sparc.c (md_show_usage): Add \n\ to new string.
1998-05-27 15:17:07 +00:00
Stan Cox
fc23c14efc
sparclite 86x big endian instruction / little endian data support.
1998-05-27 01:06:20 +00:00
Nick Clifton
9c92d37083
Fixes to allow testsuite to pass (modulo problems with cofftag).
1998-05-21 22:04:56 +00:00
Nick Clifton
5519850dea
Fix for PR15642 - apply label alignment adjustment to all labels at the given address.
1998-05-20 00:03:01 +00:00
Catherine Moore
7ccd2d11c4
*** empty log message ***
1998-05-19 13:20:47 +00:00
Nick Clifton
59bb547b06
Fix PR 15948
1998-05-19 00:12:10 +00:00
Doug Evans
93624d0b55
* write.c (fixup_segment): Change "segment" to "section" in
...
error message.
1998-05-18 23:06:10 +00:00
Michael Meissner
e13d507e0f
Change subtraction of two symbols message; At end of file flush any debug_sym links
1998-05-18 20:56:45 +00:00
Jeff Law
1190b223b8
* config/tc-mips.c (validate_mips_insn): Handle ';' opcode completer.
...
(mips_ip): Likewise.
1998-05-18 17:51:56 +00:00
Nick Clifton
98c5cd5a5a
Changed command line switch from --m32rx-enable-special to --hidden
...
Removed documentation about the switch.
1998-05-18 17:34:24 +00:00
Frank Ch. Eigler
d9c2c0c569
* Followup for SCEI PR 15853.
...
Mon May 18 12:37:38 1998 Frank Ch. Eigler <fche@cygnus.com>
* config/tc-mips.c (macro): For R5900, use "B" operand format for
"break" instructions generated in macro (div etc.) instructions.
1998-05-18 13:33:26 +00:00
Michael Meissner
99fcd8a007
Improve error message
1998-05-18 13:33:25 +00:00
Nick Clifton
ca6a899da7
Change command line switch fron --enable-special to --m32rx-enable-special
1998-05-14 20:54:47 +00:00
Doug Evans
7c62987898
* config/tc-m32r.c (warn_unmatched_high): New static local.
...
(OPTION_WARN_PARALLEL): Rename from OPTION_WARN.
(OPTION_NO_WARN_PARALLEL): Rename from OPTION_NO_WARN.
(md_longopts): Recognize --{no-,}warn-unmatched-high.
(md_parse_option): Likewise.
(md_show_usage): Likewise.
(m32r_frob_file): Likewise.
1998-05-13 22:10:12 +00:00
Doug Evans
95d33c131a
* read.c (generate_file_debug,generate_lineno_debug): New functions.
...
(read_a_source_file): Call them.
* read.h (stabs_generate_asm_file): Declare.
* stabs.c (stabs_generate_asm_file): New function.
(generate_asm_file): New function.
(stabs_generate_asm_lineno): Move file name handling into
generate_asm_file.
1998-05-13 17:19:22 +00:00
Nick Clifton
32c2be7633
Add --enable-special command line switch.
1998-05-12 20:38:36 +00:00
Richard Henderson
ab26b0497a
PR 15889 was also in the previous tc-d30v.c commit, but
...
missed bringing over the log message from the branch.
1998-05-12 19:06:14 +00:00
Richard Henderson
7d515759c9
* config/tc-d30v.c (cur_mul32_p, prev_mul32_p): Make static.
...
(d30v_current_align, d30v_current_align_seg): New variables.
(d30v_last_label): New variable.
(d30v_align, s_d30v_align, s_d30v_text): New functions.
(s_d30v_data, s_d30v_section): Likewise.
(md_pseudo_table): Call them.
(md_begin): Initialize d30v_current_align_seg.
(md_assemble): Call d30v_align when needed by known current alignment.
(d30v_frob_label, d30v_cons_align): New functions.
* config/tc-d30v.h (md_do_align): Remove.
(tc_frob_label): Call d30v_frob_label.
(md_cons_align): New.
PR 15642
1998-05-12 19:04:29 +00:00
Doug Evans
cb74aaa54c
* config/tc-dvp.c (md_begin): Set type of output file to mips:r5900.
1998-05-11 19:49:29 +00:00
Jeff Law
c8f90c731e
* po/Make-in (install-info): New target.
1998-05-11 04:36:09 +00:00
Doug Evans
d67094c621
* Makefile.am: Update with `make dep-am'.
...
(HFILES): Add cgen.h.
(cgen.o): Depend on cgen.h.
* Makefile.in: Regenerate.
1998-05-07 23:40:41 +00:00
Jeff Law
d41e1fba52
* config/tc-mn10200.c (md_assemble): Handle "bra" just like "jmp"
...
instructions.
* config/tc-mn10300.c (md_assemble): Likewise.
1998-05-07 21:50:14 +00:00
Doug Evans
f19f301d0c
* cgen.c (cgen_md_apply_fix3): Don't pass newline to as_warn_where.
1998-05-07 18:47:57 +00:00
Frank Ch. Eigler
a5c3c53c34
* Converted conditional-trap MIPS opcodes to extra-operand variety also.
...
* Bonus test cases to confirm behavior.
[ChangeLog]
Thu May 7 12:50:33 1998 Frank Ch. Eigler <fche@cygnus.com>
* config/tc-mips.c (validate_mips_insn): Removed hack
for previously inaccessible bitfields in some INSN_TRAP
instructions.
[testsuite/ChangeLog]
Thu May 7 13:05:25 1998 Frank Ch. Eigler <fche@cygnus.com>
* gas/mips/break20.[sd]: New tests for 20-bit operand break and
sddbp instructions.
* gas/mips/trap20.[sd]: New tests for 20-bit operand trap
instructions.
* gas/mips/mips.exp: Run them.
1998-05-07 17:45:24 +00:00
Ian Lance Taylor
82df8834c9
Thu May 7 13:20:56 1998 Anders Blomdell <anders.blomdell@control.lth.se>
...
* gasp.c (grab_label): Permit a label to be a preprocessor
variable by permitting a label to start with a backslash.
1998-05-07 17:22:30 +00:00
Frank Ch. Eigler
40f0c90498
* Fixes for d30v PR 15627.
...
* First batch of fixes for sky PR 15853 (20-bit break/sdbbp)
* Fixes for d30v test suite.
1998-05-07 15:27:13 +00:00
Michael Meissner
b70d53742c
Fix typo
1998-05-07 11:48:27 +00:00
Doug Evans
defc70bf2b
* cgen.h: New file.
...
* cgen.c: Include it.
(MAX_FIXUPS): Renamed to CGEN_MAX_FIXUPS.
(cgen_asm_finish_insn): Result is now void. New arg `result'.
All callers updated.
* config/tc-m32r.c: Include cgen.h.
(m23r_insn): New members num_fixups,fixups.
(assemble_parallel_insn): Initialize debug_sym_link for each insn.
(md_assemble): Simplify code to pack two insns in parallel.
When swapping two insns, update their fixups.
1998-05-07 09:31:42 +00:00
Doug Evans
2ac0ca44d3
* config/tc-dvp.c: Delete inclusion of "sysdep.h".
1998-05-06 23:30:32 +00:00
Jeff Law
8be4960fe8
* config/tc-hppa.c (md_apply_fix): Slightly rework some code
...
to avoid compiler warning.
1998-05-06 22:28:53 +00:00
Ian Lance Taylor
10779648f8
Wed May 6 15:26:34 1998 Klaus Kaempf <kkaempf@progis.de>
...
* makefile.vms: Run dec c with /nodebug. Pass CC value when
calling make.
1998-05-06 19:32:31 +00:00
Ian Lance Taylor
21e2eeaaf1
Wed May 6 15:26:34 1998 Klaus Kaempf <kkaempf@progis.de>
...
* makefile.vms (OBJS): Add ehopt.obj
1998-05-06 19:27:05 +00:00
Ian Lance Taylor
6a1421c662
Wed May 6 15:11:12 1998 Klaus Kaempf <kkaempf@progis.de>
...
* doc/c-vax.texi: Correct and extend vax/vms documentation.
1998-05-06 19:12:59 +00:00
Richard Henderson
daaef8f8df
* config/tc-d30v.c (do_assemble): Accept a new parameter requesting
...
a short format insn.
(md_assemble): Set it for explicitly packed insns.
PR 14601
1998-05-06 18:56:08 +00:00
Gavin Romig-Koch
6ef925e86e
* config/tc-mips.c (macro,macro2): Implement
...
M_DMULO_I, M_MULO_I, M_DMULOU_I, and M_MULOU_I.
1998-05-05 17:12:41 +00:00
Ian Lance Taylor
c8f28d295d
Mon May 4 17:49:14 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Changed to keep
relocations against globally visible symbols.
* config/tc-m68k.c (relaxable_symbol): New macro.
(m68k_ip, md_estimate_size_before_relax): Use it.
(tc_m68k_fix_adjustable): Also handle weak symbols.
1998-05-04 21:53:49 +00:00
Ian Lance Taylor
d4931e7801
remove unnecessary blank line
1998-05-04 21:28:38 +00:00
Ian Lance Taylor
f3d491b171
* config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Keep relocs for all
...
references to externally visible symbols.
* config/tc-i386.c (md_apply_fix3): When OBJ_ELF, don't add the
values in twice for a PC relative reloc if the symbol is
externally defined.
1998-05-04 21:10:49 +00:00