aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1994-04-05 * config/tc-hppa.c (tc_gen_reloc): Fix thinko in ELF version.Jeff Law2-3/+6
1994-04-04 * config/tc-ppc.c (ppc_insert_operand): Check PPC_OPERAND_SIGNEDIan Lance Taylor1-0/+5
flag rather than signedp field. Only permit extended range if PPC_OPERAND_SIGNOPT flag is set and assembling in 32 bit mode. Based on patch from David Edelsohn (edelsohn@npac.syr.edu).
1994-04-04 * config/tc-ppc.c (ppc_size): New static variable.Ian Lance Taylor2-6/+19
(ppc_arch): Check for PPC_OPCODE_PPC before PPC_OPCODE_POWER. (md_begin): If an instruction has a size specific flag set, only add it if we are assembling that size.
1994-04-01keep internals stuffKen Raeburn1-0/+1
1994-04-01Some internals docs. Not enough to be amazingly helpful yet, not reallyKen Raeburn1-0/+175
used for anything, just checkpointing...
1994-03-31 * config/tc-sparc.c (tc_gen_reloc): Add a gruesome hack to getIan Lance Taylor2-21/+72
cross section PC relative relocs right for COFF and ELF.
1994-03-29Minor formatting fixes. (TeXs OK now.)Roland Pesch1-2/+3
1994-03-29Last-minute updates on Steve's last-minute changes.Roland Pesch1-46/+158
TeX formatting remains to be checked.
1994-03-28* config/obj-coff.h (SEPARATE_STAB_SECTIONS): Always define.Ken Raeburn2-0/+11
(OBJ_PROCESS_STAB): Don't define.
1994-03-28 * config/obj-aout.c (obj_aout_frob_symbols): Don't let BFD clobberIan Lance Taylor1-0/+6
the type of symbol set symbols which happen to be in the absolute or undefined section.
1994-03-28Mon Mar 28 12:35:00 1994 David Edelsohn (edelsohn@npac.syr.edu)Ian Lance Taylor2-0/+2422
* config/tc-ppc.c (md_parse_option): Add -mpwrx (POWER/2 aka RIOS2), -mpwr (POWER aka RIOS1), -mppc (PowerPC aka MPC603/604), and -many (all architectures).
1994-03-27 * gas/hppa/reloc/funcrelocbug.s: New test.Jeff Law3-0/+197
* gas/hppa/reloc/reloc.exp: Run it.
1994-03-27 * config/tc-hppa.c (tc_gen_reloc): Set addend for relocationJeff Law2-24/+38
involving a function symbol which is not a plabel to zero. (md_apply_fix): Never pass a function symbol to field_adjust.
1994-03-26Work around texinfo glitch (@item vs @cindex).Roland Pesch1-24/+25
1994-03-25 * config/obj-aout.c (obj_aout_frob_symbol): If N_EXT is set for anIan Lance Taylor2-5/+36
N_INDR symbol, set BSF_EXPORT and clear BSF_LOCAL.
1994-03-25 * config/tc-mips.c (append_insn): If EMBEDDED_PIC, don't swap aIan Lance Taylor2-7/+71
branch with an instruction that uses $at, in case the branch is later expanded. (macro): If EMBEDDED_PIC, case M_JAL_A may use $at. (md_pcrel_from): If not OBJ_AOUT, return 4 for an undefined symbol to make it pcrel_offset. (tc_gen_reloc): If not OBJ_AOUT, set the reloc addend to reloc->address; another gruesome hack to get gas reloc handling to do the right thing.
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