aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1994-04-19doc, obj-vms.c, ho-sysv.h changesKen Raeburn1-0/+17
1994-04-19added info on warning functions &cKen Raeburn1-0/+55
1994-04-19* Makefile.in, as.texinfo: Renamed asdoc-config.texi to asconfig.texi.Ken Raeburn1-13/+13
* Makefile.in (install-info-as, install-info-gasp): Get file names from source directory without pathname.
1994-04-19(VMS_write_object_file): While looking for register mask, skip empty fill fragsKen Raeburn1-0/+5
caused by enabling listing output.
1994-04-19Include string.h.Ken Raeburn1-0/+1
1994-04-18 * config/tc-hppa.c (pa_parse_space_stmt): Use the built-inJeff Law2-8/+45
defaults for defined, private, and spnum fields for the $TEXT$ and $PRIVATE$ spaces. Do not clobber spnum. Do not reset the segment if just updating a space. (pa_spaces_begin): Set BFD section flags for all built-in subspaces.
1994-04-15 * ecoff.c (first_proc_ptr): New static variable.Ian Lance Taylor1-0/+5
(add_procedure): Set first_proc_ptr if it hasn't been set. (ecoff_build_lineno): If the first procedure does not start at address zero, insert a dummy line to compensate.
1994-04-15 * Makefile.in (bootstrap, bootstrap2, bootstrap3): Make gasp.newIan Lance Taylor1-0/+5
as well as as.new.
1994-04-14* Makefile.in: Make $(OBJS) depend on $(ALL_OBJ_DEPS).Ken Raeburn7-52/+94
* configure.in: Set ALL_OBJ_DEPS in output Makefile. Based on suggestions from <BAILEY@hmivax.humgen.upenn.edu> (Charles Bailey): * vmsconf.sh: In generated file, get ".obj" suffix right, build source files from other directories into objects in the current directory, and specify PSECT attributes explicitly to linker. Also added missing label. * Makefile.in (stamp-mk.com): Reference new variable VMS_OTHER_OBJS for list of non-local object files, instead of listing them here. (VMS_OTHER_OBJS): New variable, added more libiberty files. * make-gas.com: Regenerated. * config/ho-vms.h (unlink): Define as delete. * config-gas.com: Fix quoting on TARGET_CANONICAL definition. Delete files before creating them.
1994-04-14* expr.c (operand): Try to parse "0f" and "0b" sequences as floating point andKen Raeburn1-0/+6
binary numbers respectively; if it doesn't work, treat them as local labels.
1994-04-14 * Makefile.in (de-stage1, de-stage2, de-stage3): Use rm -f.Ian Lance Taylor2-7/+12
1994-04-14Remove assertion that was not intended to be checked in.Ian Lance Taylor1-1/+0
1994-04-14config/tc-mips.[ch] changes.Ian Lance Taylor1-0/+17
1994-04-14 * config/tc-mips.h (DIFF_EXPR_OK): Define.Ian Lance Taylor1-8/+112
* config/tc-mips.c (macro_build): Permit BFD_RELOC_PCREL_LO16 for certain cases of 'i', 'j' and 'o'. Change 'u' to take an argument, the reloc type. (load_register): Pass reloc type to macro_build for 'u'. (macro): Likewise. For M_LA_AB permit a difference expression when generating embedded PIC code between an arbitrary symbol and a symbol in the .text section. (mips_force_relocation): Force BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16 to be emitted. (md_apply_fix): Check that most relocs are not PC relative. Handle BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16. (tc_gen_reloc): Change #error to as_fatal. Handle BFD_RELOC_PCREL_LO16 and BFD_RELOC_PCREL_HI16_S.
1994-04-13Tue Apr 12 18:25:13 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-18/+36
* subsegs.c (subsegs_begin): Call memset with args in the correct order. (subseg_get): Clear newly allocated seginfo, set its pointer slots to NULL instead of 0. Fixes a problem observed in sparc-lynx progressive.
1994-04-11 * Makefile.in (check): Set TCL_LIBRARY for runtest.Bill Cox2-1/+36
1994-04-11 * config/tc-hppa.c (pa_procend): Handle case where label wasJeff Law2-2/+40
defined after the .proc directive.
1994-04-11 * gas/hppa/more.parse/callinfobug.s: Add missing name for procedure.Jeff Law1-0/+3
1994-04-11 * gas/hppa/more.parse/callinfobug.s: Add missing name for procedure.Jeff Law1-0/+1
1994-04-11 * config/tc-hppa.c (pa_procend): Give an error if we encounter aJeff Law2-0/+8
procend for a procedure without a name.
1994-04-11 * gas/hppa/reloc/funcrelobug.s: Place the trampoline in theJeff Law1-0/+5
$DATA$ rather than the $LIT$ subspace.
1994-04-07note deleted .mt filesKen Raeburn1-4/+0
1994-04-07 * config/tc-mips.c (macro): Pass NULL for expression argument toIan Lance Taylor2-6/+48
macro_build for nori case. (SWITCH_TABLE): Define. (mips_force_relocation): Force a relocation for a switch table entry. (md_apply_fix): Write switch table entry value into file. (tc_gen_reloc): Use BFD_RELOC_GPREL32 for a switch table entry, and set the addend to the difference between the reloc address and the subtrahend.
1994-04-07 * config/tc-hppa.h (elf_tc_symbol): Delete. No longer used.Jeff Law2-24/+14
(elf_tc_make_sections): Likewise. (hppa_tc_make_sections, hppa_tc_symbol): Delete extern decls. * config/tc-hppa.c (hppa_tc_make_sections): Delete function. (hppa_tc_symbol): Likewise. * config/obj-elf.c (elf_frob_file): Delete elf_tc_symbol and elf_tc_make_sections stuff. It was there to support PA braindamage which has been fixed, and in the case of elf_tc_make_sections is redundant with elf_tc_final_processing.
1994-04-07 * configure.in (hppa*-*-*elf*): Don't require "-hp-" for theJeff Law2-9/+17
manufacturer.
1994-04-05 * config/tc-mips.c (mips_ip): For case 'o', when generatingIan Lance Taylor2-11/+54
embedded PIC code, accept the difference between two local symbols as being constant. (mips_force_relocation): Only force a reloc to be generated for a PC relative fixup. (md_apply_fix): For BFD_RELOC_32 and BFD_RELOC_LO16, put the fixup value into the file if the fixup will not generate a reloc.
1994-04-05sparc, doc/Makefile.in changesKen Raeburn1-0/+11
1994-04-05(install-info-as, install-info-gasp): New targets, now explicitly checkingKen Raeburn1-23/+41
$(srcdir) for info files. (install-info): Depend on both of them; do nothing more.
1994-04-05(s_reserve): If section passed isn't bss, don't spew remainder of input file inKen Raeburn1-2/+8
error message. (tc_gen_reloc): If bfd_reloc_type_lookup returns null, print error message with reloc type and try to process remainder of file.
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