aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1995-05-09 * config/tc-hppa.c (md_apply_fix): Cast *valp to an integer whenJeff Law1-0/+6
comparing against signed values. (hppa_force_relocation): Make "distance" an integer.
1995-05-09* obj.h (struct format_ops) [BFD_ASSEMBLER]: New type.Ken Raeburn2-43/+43
(this_format) [BFD_ASSEMBLER]: Declare new variable, if not already defined as a macro.
1995-05-09* subsegs.h (seg_info): Provide dummy version for non-BFD_ASSEMBLER,Ken Raeburn1-0/+9
non-MANY_SEGMENTS configuration. It should never get invoked, but this is easier than conditionalizing some of the uses. (struct seg_info_trash): Dummy type used by above to make code compile.
1995-05-05SEPARATE_STAB_SECTIONS should be defined to 1, not empty.Ken Raeburn3-2/+18
1995-05-04* read.h (get_stab_string_offset): Declare unconditionally.Ken Raeburn2-14/+20
1995-05-04* config/obj-ecoff.h (OBJ_PROCESS_STAB): Add new first argument, ignored.Ken Raeburn2-17/+20
* config/obj-elf.h (OBJ_PROCESS_STAB) [ECOFF_DEBUGGING]: Ditto. * config/obj-ecoff.h (ECOFF_DEBUGGING): Define to 1, not empty. * config/obj-elf.h (ECOFF_DEBUGGING): Ditto. Test value, not whether it's defined.
1995-05-04* stabs.c (get_stab_string_offset): Always define. If SEPARATE_STAB_SECTIONSKen Raeburn2-0/+23
isn't set, abort. (SEPARATE_STAB_SECTIONS): Default to zero. (aout_process_stab): New function, split out from s_stab_generic. (OBJ_PROCESS_STAB) [AOUT_STABS]: Define to call aout_process_stab, if not already defined. (s_stab_generic): Test SEPARATE_STAB_SECTIONS at run time. If it's not set, and OBJ_PROCESS_STAB isn't defined, abort. Always pass six arguments to OBJ_PROCESS_STAB. * config/obj-aout.h (AOUT_STABS): Define. * config/obj-bout.h (AOUT_STABS): Define.
1995-05-04* as.h (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): If not already defined, defineKen Raeburn8-35/+59
them to zero. * config/tc-*.h, config/te-*.h: If defining them, define them to be 1 instead of empty. * expr.c (integer_constant, operand): Test them at run time instead of compile time. * read.c (read_a_source_file): Ditto. * symbols.c (colon): Ditto. (dollar_*, define_dollar_label, fb_*): Define unconditionally. * symbols.h (dollar_*, define_dollar_label, fb_*): Declare unconditionally.
1995-05-03 * gas/hppa/reloc/longcall.s: New test.Jeff Law2-0/+41
* gas/hppa/reloc/reloc.exp: Run it.
1995-05-03 * config/tc-hppa.c (md_apply_fix): Do nothing for an out of rangeJeff Law2-60/+88
PC relative call since those only occur in cases where the linker can fix them up. (hppa_force_relocation): Force relocations for out of range PC relative calls.
1995-05-02Add hppa1.1-hp-lites support.Jeff Law3-0/+7
1995-05-02* gas/mips/ld.d: Modified for gas delay-slot fixes.Ken Raeburn1-0/+7
1995-05-02read.c, tc-mips changesKen Raeburn1-0/+37
1995-05-02* config/tc-mips.c: Use USE_STDARG and USE_VARARGS instead of NO_STDARG &c.Ken Raeburn2-278/+227
* config/tc-mips.c (mips_target_format): Changed to a function, checking flavor and byte order at run time. (md_parse_option, cases OPTION_EB and OPTION_EL): Set target_big_endian here. (md_begin): Not here. * config/tc-mips.h (mips_target_format): Adjust declaration. (TARGET_FORMAT): Call mips_target_format. * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Define in terms of OUTPUT_FLAVOR. * config/tc-mips.c (g_switch_value, g_switch_seen): Define unconditionally. (md_begin, mips_ip, md_parse_option, s_change_sec, s_option, s_abicalls, nopic_need_relax): Check USE_GLOBAL_POINTER_OPT at run time, instead of compiling conditionally on GPOPT. (GPOPT): Don't define. (md_shortopts): Always include -G. (RDATA_SECTION_NAME): Select at run time. (md_begin): Test for ELF format at run time instead of compile time. (mips_ip, s_change_sec): Ditto. (md_parse_option, cases OPTION_CALL_SHARED and OPTION_NON_SHARED): Ditto. (OPTION_CALL_SHARED, OPTION_NON_SHARED, mips_regmask_frag): Define unconditionally.
1995-05-02(pop_insert): New function.Ken Raeburn1-56/+46
(pop_override_ok, pop_table_name): New variables. (md_pop_insert, obj_pop_insert): New macros. (pobegin): Use them. (target_big_endian): If TARGET_BYTES_BIG_ENDIAN is defined, initialize to 1.
1995-05-02Move cpu-specific dependencies into Makefile.in, instead of having sometimesKen Raeburn19-273/+255
multiple copies in config/*.mt. Select between several make variables with autoconf substitution of cpu_type into a variable name reference.
1995-05-02deleting more unused macrosKen Raeburn3-3/+4
1995-05-02delete some unused TE_* macrosKen Raeburn7-33/+43
1995-05-01* read.c (s_app_file): If obj_app_file is defined, call it with string as ↵Ken Raeburn1-0/+2
argument. Don't call c_dot_file_symbol or elf_file_symbol. * config/obj-coff.h (obj_app_file): Define as c_dot_file_symbol. * config/obj-elf.h (obj_app_file): Define as elf_file_symbol. * as.h (OUTPUT_FLAVOR): Don't define here. * config/obj-aout.h (OUTPUT_FLAVOR) [BFD_ASSEMBLER]: Define. * config/obj-bout.h (OUTPUT_FLAVOR): Define. * config/obj-coff.h (OUTPUT_FLAVOR) [BFD_ASSEMBLER]: Define. * config/obj-ecoff.h (OUTPUT_FLAVOR): Define. * config/obj-elf.h (OUTPUT_FLAVOR): Define.
1995-04-30(gas-dg-test): Detect invalid values of `do_what'.David Edelsohn1-0/+4
1995-04-30New testcase to test ARC specific warnings.David Edelsohn2-0/+11
1995-04-30 * lib/gas-dg.exp: New file.David Edelsohn1-0/+9
1995-04-30New file (interfaces to dg.exp).David Edelsohn2-0/+44
1995-04-30Initial pass at ARC docs.David Edelsohn1-0/+41
1995-04-30ARC stuff.David Edelsohn1-0/+9
1995-04-30Avoid "8 byte insn in delay slot" warning message.David Edelsohn2-0/+120
1995-04-28 * Makefile.in (RUNTEST): Use one in srcdir if present.David Edelsohn1-0/+5
(RUNTESTFLAGS): Define.
1995-04-26Support for more portable alignment handling in assembly code, based on patchesKen Raeburn3-73/+176
from Bryan Ford <baford@schirf.cs.utah.edu>: * read.c (potable): Added balign and p2align, for aligning by bytes or powers of two independent of what ".align" does for a given target. * doc/as.texinfo: Document them.
1995-04-25 * configure, configure.in: Look for m68k-*-vxworks* rather thanRob Savoye1-0/+21
just m68k-wrs-vxworks so gas can be configured for m68k-vxworks5.1.
1995-04-13Fix for PR 6732.Ken Raeburn1-0/+4
* config/tc-sh.c (md_convert_frag): Instead of aborting on large displacements, print an error message. Don't invoke the code that followed the abort call until it's been verified.
1995-04-13* config/tc-m68k.c (md_show_usage): Add 68060 to list. Split cpu list intoKen Raeburn1-0/+22
three lines.
1995-04-12Always keep MPW supportStan Shebs1-6/+2
1995-04-12Merge MPW ChangeLog with generic ChangeLogStan Shebs2-94/+54
1995-04-12 * config/tc-arc.c (delay_slot_type): New function.David Edelsohn1-40/+97
(md_assemble): Use hashed list of insns. Print warning if 8 byte insn appears in delay slot. (md_operand): Handle %st(sym1-sym2). (get_arc_exp_reloc_type): Likewise. (md_apply_fix, case BFD_RELOC_ARC_B26): Now using implicit addends so must store them here.
1995-04-12ARC stuff.David Edelsohn1-0/+12
1995-04-11* configure.in: Require at least autoconf 2.3, because earlier versions lose onKen Raeburn1-0/+21
some AIX versions. * configure: Regenerated. * configure.in: Add m68k-*-elf. * config/tc-m68k.c (comment_chars) [OBJ_ELF]: Include '#'. (md_pseudo_table) [OBJ_ELF]: Ignore "swbeg". (md_begin): Set alt_notend_table['&'], so svr4-style immediate operands are accepted. (md_apply_fix): Argument VALP should point to valueT. (md_convert_frag): Argument SEC should be type segT. (md_shortopts) [OBJ_ELF]: Accept 'Q' with an argument. (md_parse_option): Ignore it. (md_convert_frag_1): Add in frag address for the symbol in the displacement calculation. * config/tc-m68k.h (TARGET_FORMAT) [OBJ_ELF]: Use "elf32-m68k". (TARGET_ARCH): Define. (REGISTER_PREFIX_OPTIONAL) [OBJ_ELF]: Default to 0. (LOCAL_LABEL, FAKE_LABEL_NAME, REGISTER_PREFIX_OPTIONAL): Handle these the same way for OBJ_ELF as for M68KCOFF.
1995-04-11* as.h (struct relax_type): Add forward declaration for type.Ken Raeburn1-0/+1
1995-04-11note doc changesKen Raeburn1-0/+4
1995-04-11bunch o changesKen Raeburn1-0/+64
1995-04-11write.c: Complain about .space or .org moving backwards.Ken Raeburn11-26/+19
Do generic rs_machine_dependent relaxation only if TC_GENERIC_RELAX_TABLE is defined. Use its value as the base of the table, so the actual declaration can be cpu-specific (and const or not as appropriate). For other cpus where this isn't done (the majority), delete md_relax_table altogether. For machines with WORKING_DOT_WORD, delete md_{short,long}_jump_size.
1995-04-11(PCINDEX): New macro.Ken Raeburn1-17/+135
(md_relax_table): No longer const. Add PCINDEX entries. (m68k_ip): For AINDX with simple symbol operand, generate a PCINDEX frag if PC is used, or do normal non-AINDX processing for address register. (m68k_init_after_args): If cpu is 68000 or 68010, fix md_relax_table to prevent relaxation of PCINDEX/BYTE mode to SHORT, since they don't support that mode. (md_convert_frag_1, case PCLEA/LONG): Add 4 to offset, not 2. Add support for new PCINDEX modes. (md_estimate_size_before_relax): Process PCINDEX/SZ_UNDEF mode. (md_convert_frag_1, case PCLEA/SHORT): Add 2 to offset. (m68k_ip, case most punctuation/AOFF): If using PC, call add_frag using PCLEA.
1995-04-11Fix for PR6697:Ken Raeburn1-115/+265
(nopic_need_relax): New static function, split out from md_estimate_size_before_relax. (md_estimate_size_before_relax): Call it. (load_address, macro): In NO_PIC branches, if nopic_need_relax returns nonzero, don't attempt GP optimization.
1995-04-11Don't explicitly include config.h. Deleted a bunch of "#if 0" code and uselessKen Raeburn1-240/+163
comments. (struct m68k_cpu): New type. (archs, n_archs): New variables, with single list of name/enum mapping and aliases. (m68k_ip): Delete the table here. (m68k_init_after_args): Use the new table here instead of open-coding it. (md_parse_option, case 'm'): Ditto.
1995-04-10doc changesKen Raeburn1-0/+16
1995-04-10* doc/internals.texi: Add loud disclaimer. Refill to 79 columns, specifyKen Raeburn1-96/+592
fill-column in local-variables section. Change subheadings to subsections so they can be cross-referenced. Describe broken words, frags, frag chains, generic relaxation, relax table, m68k relaxation, m68k addressing modes, test suite code. Add a few words about various file formats.
1995-04-10* lib/gas-defs.exp (pass_phase): New proc.Ken Raeburn1-0/+7
(run_dump_test): Note passing or failing of each phase of this test, instead of failure of phases or passing of complete test. Ensure test file name is in reported message.
1995-04-10Nuke RCS string. Fix comment.Ken Raeburn1-2/+1
1995-04-10Fix patterns.David Edelsohn2-28/+26
1995-04-10Delete illegal insns.David Edelsohn1-2/+0
1995-04-10(test_template_insn): Delete .s/.d files afterwards.David Edelsohn1-5/+6
(main body): Run ld, st tests.