aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1994-03-25* config/tc-alpha.c (alpha_ip): Only set GP prolog size if using PV register.Ken Raeburn1-0/+40
(T12): New macro. (emit_insn): New function. (md_assemble): Call it. (alpha_force_relocation): Handle BFD_RELOC_26, for call_pal instructions. (lituse_pending): New variable. Set by anything that generates a LITERAL reloc, cleared by anything that generates a LITUSE reloc, tested by code that might want to emit a LITUSE reloc. (emit_unaligned_io): New function. Currently calls md_assemble, but it should eventually be converted to generate the insn itself and call emit_insn directly. (emit_load_unal, emit_store_unal, emit_byte_manip_r, emit_extract_r, emit_insert_r, emit_mask_r, emit_sign_extend, emit_bis_r): Likewise. (alpha_ip, case 'I'): Handle with BFD_RELOC_23. (alpha_ip, label get_macro): Don't emit the final instruction if the opcode is zero. (alpha_ip, case 'B', subcase 'd'): New case, for subword and unaligned memory access macros. (md_apply_fix): Handle BFD_RELOC_26. Generate an error message if the value can't be resolved.
1994-03-23Simplification of GM-specific config bits.Stan Shebs2-23/+18
1994-03-23Handle .gpword and .cpadd only for SVR4_PIC, not != NO_PIC. StillIan Lance Taylor1-2/+2
covered by last ChangeLog entry.
1994-03-22 * config/tc-mips.c (enum mips_pic_level): New enum.Ian Lance Taylor2-124/+340
(mips_pic): Change from int to enum mips_pic_level. Change all uses (0 becomes NO_PIC, 2 becomes SVR4_PIC). (load_address): Handle EMBEDDED_PIC. (macro): Handle EMBEDDED_PIC in all PIC cases. (md_parse_option): Accept -membedded-pic to use EMBEDDED_PIC. If OBJ_ELF, accept -KPIC and -call_shared to use SVR4_PIC and accept -non_shared to use NO_PIC (this is how the Irix 5 assembler works). Do not permit -G with SVR4_PIC. (s_abicalls): Warn if -G was used, and force -G 0. (tc_gen_reloc): Set reloc->addend to 0 for a PC relative reloc for anything but a.out, not just for ELF. For ECOFF, don't generate a BFD_RELOC_16_PCREL_S2 reloc unless using EMBEDDED_PIC.
1994-03-22 * config/obj-ecoff.h (obj_sec_sym_ok_for_reloc): Define to be 1.Ian Lance Taylor1-0/+10
1994-03-20* Makefile.in (config-stamp): If `defs' is defined, emit a preprocessorKen Raeburn13-24/+31
directive to create a macro named by this value into config.new; don't explicitly go for BFD_ASSEMBLER. * configure.in: Define `defs', not `BFDDEF'. Set it to MANY_SEGMENTS for any obj-coffbfd target. * config/obj-coffbfd.h (BFD_HEADERS, BFD): Define. * config/i386coff.mt (TDEFINES): Don't define BFD, MANY_SEGMENTS, BFD_HEADERS. (LOCAL_LOADLIBES): Deleted. * config/m68kcoff.mt (TDEFINES): Don't define those macros. * config/m88kcoff.mt (TDEFINES): Ditto. * config/ebmon29k.mt: Deleted. * config/h8300hds.mt: Deleted. * config/ic960coff.mt: Deleted. * config/sparc.mt: Deleted. * config/h8300.mt (LOCAL_LOADLIBES, TDEFINES): Deleted. * config/h8500.mt (LOCAL_LOADLIBES, TDEFINES): Deleted. * config/sh.mt (LOCAL_LOADLIBES, TDEFINES): Deleted. * config/z8k.mt (LOCAL_LOADLIBES): Deleted. (TDEFINES): Don't define the coffbfd macros. * Makefile.in: Insert makefile fragments before OBJS definition. (OBJS): Add $(TE_OBJS).
1994-03-20* config/obj-coff.c (obj_pseudo_table): Supply "section" unconditionally.Ken Raeburn1-0/+3
1994-03-20 * write.c (set_symtab): Define only if BFD_ASSEMBLER.Ken Raeburn1-0/+4
1994-03-20 * Makefile.in (STAGESTUFF): Add gasp.new.Jeff Law2-9/+22
1994-03-19* write.c (symbol_table_frozen): New variable, to be set after bfd_set_symtabKen Raeburn2-72/+130
is called. (dump_section_relocs): Note whether a symbol is a section symbol or not. (adjust_reloc_syms): For now, always supply an absolute symbol for fixups without symbols but not yet `done'. Use section_symbol to get the symbol, instead of going directly for abs_symbol. (write_relocs) [DEBUG4]: Abort if any symbol referred to by a reloc is not a section symbol and is not in the symbol table. (set_symtab): New function, broken out from write_object_file. Counts symbol table instead of relying on an earlier count. (write_object_file): Call set_symtab, but do it after potentially invoking the *_frob_file macros. Don't bother counting symbols. Call symbol_remove, instead of expanding it in place. Moved the conditionalized `object_file_size' declaration down to conditionalized block where it's used. When using the absolute symbol for a fixup without a symbol, set sy_used_in_reloc. (write_object_file) [BFD_ASSEMBLER]: Call section_symbol to get the correct symbol for the absolute section.
1994-03-19sparc *13 relocs, obj_sec_sym_ok_for_reloc stuffKen Raeburn1-0/+22
1994-03-19ic960coff.mt typo fixKen Raeburn1-0/+3
1994-03-19(TDEFINES): Fixed typo (MANY_SECTIONS, not MANY_SEGMENTS).Ken Raeburn1-1/+1
1994-03-19* configure.in: Eliminated all targets using obj-coff but not definingKen Raeburn2-14/+36
BFD_ASSEMBLER; I think all such targets that are supported will be matched by real CPU-OS combinations earlier in the case statement. (targets *-*-coff*, *-sysv*, *-*-sco*, *-*-sysv32): Deleted. Made some comments about the dpx2 configuration, but left it disabled, since it couldn't be reached before. (target a29k-amd-ebmonold): Deleted.
1994-03-17 * gas/hppa/unsorted/importbug.s: New test.Jeff Law2-0/+43
* gas/hppa/unsorted/unsorted.exp: Run it.
1994-03-17 * config/tc-hppa.c (pa_import): Correctly handle importing of anJeff Law2-17/+36
already defined symbol.
1994-03-17 * gas/hppa/more.parse/regpopbug.s: Add trivial .equ test.Jeff Law2-0/+5
1994-03-17 * config/tc-hppa.c (pa_equ): Handle both .reg and .equ correctly.Jeff Law2-2/+7
1994-03-16 * config/tc-mips.c (mips_ip): Only accept overly large values forIan Lance Taylor1-0/+4
the 'j' operand if there are no further alternatives for this instruction.
1994-03-16 * gas/hppa/unsorted/globalbug.s: New test (expected to fail).Jeff Law4-1/+26
* gas/hppa/unsorted/unsorted.exp: Run it.
1994-03-16 * gas/hppa/more.parse/callinfobug.s: New test.Jeff Law7-0/+25
* gas/hppa/omre.parse/parse.exp: Run it.
1994-03-16 * config/tc-hppa.c (pa_callinfo): Accept "millicode" as anJeff Law2-1/+15
argument to a .callinfo directive. Don't loop forever on errors.
1994-03-16 * config/obj-coffbfd.c (adjust_stab_section): InitializeIan Lance Taylor2-2/+6
stabstrseg to SEG_UNKNOWN, not -1. After loop, check whether it is not SEG_UNKNOWN rather than checking whether it is >= 0.
1994-03-16 * config/tc-mips.c (mips_align): Take new argument, label, and useIan Lance Taylor2-23/+44
it instead of global insn_label. (s_align, s_cons, s_float_cons, s_gpword): Save insn_label before call to mips_emit_delay and pass it to mips_align.
1994-03-16 * gas/hppa/more.parse/regpopbug.s: New test.Jeff Law7-0/+41
* gas/hppa/more.parse/parse.exp: Run it.
1994-03-15version 2.0 -> 2.2.1Ken Raeburn1-114/+403
1994-03-15keep ic960coff.mtKen Raeburn1-0/+1
1994-03-15keep vmsconf.shKen Raeburn1-0/+1
1994-03-15today's changes for vms, misc bugsKen Raeburn1-0/+36
1994-03-15(VMS_Initialized_Data_Size): Cache symbol values to reduce number of lookupsKen Raeburn1-19/+29
with S_GET_VALUE. Skip debug symbols to avoid "a really nasty bug". (From Holger Teutsch, holger@botbso.rhein-main.de.) (VMS_write_object_file): For "__vt.*" symbols, set S_GET_OTHER field. (Also from Holger Teutsch.) Watch for a would-be register mask that spans frags.
1994-03-15(obj_coff_line): Set symbol lnno field with this_base, not line_base. (PatchKen Raeburn1-2/+1
from Andreas Arens, ari@obelix.av.rwth-aachen.de.)
1994-03-15Scan Makefile.in, not version.c, for current version number. Delete allKen Raeburn1-20/+12
versions of temp files when finished with them. Create config.h. Not yet tested.
1994-03-14various configuration changes, obj-coff changeKen Raeburn1-0/+18
1994-03-14rewritten, untestedKen Raeburn1-21/+50
1994-03-14new script, for regenerating make-gas.comKen Raeburn1-0/+81
1994-03-12 * config/tc-ppc.c (md_pcrel_from): Return 0 for undefined ELFIan Lance Taylor1-0/+8
symbols. (ppc_is_toc_sym): Change .toc to .got. (md_apply_fix): Change handling of ELF relocs. (tc_gen_reloc): Likewise.
1994-03-11Some alpha-ecoff and vax-vms related changes.Ken Raeburn1-0/+17
1994-03-11Include aout/stab_gnu.h.Ken Raeburn1-20/+2
(N_GSYM, ..., N_LENG): Deleted. (NO_RELOC): Undefine before defining as part of enum reloc_type.
1994-03-11(Close_VMS_Object_File): Add comment pointing out some code that doesn't belongKen Raeburn1-0/+3
in this file.
1994-03-11 * config/tc-mips.c (mips_ip): Accept numbers between 0x8000 andIan Lance Taylor2-1/+11
0xffff for 'j' to be compatible with MIPS assembler. These numbers are actually treated as negative.
1994-03-10* config/tc-sparc.h (LOCAL_LABEL): Local labels are .Lfoo.David Edelsohn1-0/+4
1994-03-09a belated reflection of changed MPW filesStan Shebs1-2/+2
1994-03-09alpha, coff, i386 changesKen Raeburn1-0/+29
1994-03-09Handle Alpha load-immediate-FP pseudo-instructions:Ken Raeburn2-29/+136
* config/alpha-opcode.h (ldif, ldig, ldis, ldit): New patterns. * config/tc-alpha.c (lit8_sec, lit4_sec, lit8_sym, lit4_sym): New variables. (create_literal_section): New function. (create_lita_section): Now a macro. (get_lit8_offset, get_lit4_offset): New functions. (maybe_set_gp): New function. (select_gp_value): Call it. (load_expression): Preserve addend if symbol is a section symbol. (alpha_ip): Handle new operand type `F' for floating-point constants; store them in .lit{4,8} sections. (alpha_ip, case 'G'): Emit LITUSE relocations for symbol exprs.
1994-03-09* config/obj-coff.c: Minor formatting/stylistic changes, plus:Ken Raeburn1-110/+204
(obj_coff_section): Declare. (obj_pseudo_table): Make it available only if MANY_SECTIONS. (obj_symbol_to_chars) [CROSS_COMPILE]: Some attemps to make this work. It still doesn't. It now fails to compile, instead of silently compiling to do nothing. * config/obj-coff.h (SEPARATE_STAB_SECTIONS): Define only if MANY_SECTIONS. (OBJ_PROCESS_STAB) [! MANY_SECTIONS]: New macro, just emits a warning.
1994-03-08 * config/obj-coffbfd.c (w_strings): Only copy strings out ifSteve Chamberlain1-0/+5
their symbols are going to be written.
1994-03-08Set Emacs local variables to never use version control.Ian Lance Taylor1-0/+5
1994-03-08 * messages.c (as_perror): Declare arguments const.Ian Lance Taylor1-0/+5
* as.h (as_perror): Change declaration.
1994-03-07 * config/tc-mips.c (load_address): When calling frag_grow, allowIan Lance Taylor2-56/+170
for the (up to) two nops which may be inserted by append_insn if mips_optimize is 0. (macro): Likewise.
1994-03-03* config/atof-ieee.c (make_invalid_floating_point_number):David Edelsohn1-0/+5
Add cast to avoid warning from gcc.