aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
1996-02-29fix typoMichael Meissner1-1/+1
1996-02-29All predefined sections to be of NOBITS typeMichael Meissner1-0/+5
1996-02-29 * config/tc-hppa.c (hppa_fix_adjustable): For SOM, don'tJeff Law1-0/+3
reduce relocs using e_nlrsel field selectors.
1996-02-28 * write.c (fix_new_exp): Don't use #elif. Some compilersJeff Law1-1/+4
don't handle it. Fixes build problem with certain versions of the hpux compiler.
1996-02-28 * config/tc-hppa.c (selector_table): Add "n", "nl", and "nlr" toJeff Law1-0/+6
the selector table. (pa_chk_field_selector): Handle new field selectors for SOM. More new stuff for hpux10.
1996-02-27Tue Feb 27 14:42:27 1996 Andreas Schwab ↵Ian Lance Taylor1-0/+10
<schwab@issan.informatik.uni-dortmund.de> * configure.in (m68k-*-linux*aout*, m68k-*-linux*): New targets. * configure: Rebuild. * config/te-linux.h (LOCAL_LABELS_FB): Define. * config/tc-m68k.h (TARGET_FORMAT) [TE_LINUX]: Define to "a.out-m68k-linux". * config/tc-m68k.c (comment_chars): Don't include '#' if TE_LINUX is defined.
1996-02-27 * mpw-make.sed: Update to handle shared library support.Stan Shebs1-0/+4
1996-02-26 * config/tc-sparc.c (sparc_ip): Print all architectures that supportDavid Edelsohn1-0/+5
the insn on mismatch.
1996-02-24 * configure.in: Add support for a29-coff.Rob Savoye1-0/+5
* configure: Rebuild.
1996-02-23 * config/tc-sh.c (sh_coff_frob_file): Don't consider the addressIan Lance Taylor1-0/+4
of the section when looking for the R_SH_USES fixup, because the frag addresses have not yet been adjusted. PR 9072.
1996-02-23 * gdbinit.in: Set a breakpoint on as_warn_where.Ian Lance Taylor1-0/+2
1996-02-23 * config/tc-mips.c (macro): Add missing arguments to macro_buildIan Lance Taylor1-0/+5
omitted in last change. From Jim Wilson <wilson@cygnus.com>.
1996-02-21 * config/tc-h8300.c (tc_reloc_mangle): Change reloc based on sizeIan Lance Taylor1-0/+5
if it is TC_CONS_RELOC. Set a size of 4 to R_RELLONG. PR 5166.
1996-02-21 * config/tc-sparc.c (sparc_ip): Recognize %asr0 for v8.David Edelsohn1-0/+4
1996-02-21 * config/tc-sparc.c (parse_keyword_arg): Accept leading '%'.David Edelsohn1-0/+6
(sparc_ip): Accept %asr[1..31] for v8 and %asr[%16..31] for v9. Recognize [uU] format args as sparclet cpregs.
1996-02-21 * config/tc-sh.c (sh_handle_align): Don't emit R_SH_ALIGN relocsIan Lance Taylor1-0/+5
in bss_section. PR 9044.
1996-02-19 * config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): Check S_IS_WEAK asIan Lance Taylor1-0/+11
well as S_IS_EXTERNAL. (tc_fix_adjustable): Likewise. * config/tc-sparc.c (md_apply_fix): In OBJ_ELF case, check for S_IS_WEAK as well as S_IS_EXTERNAL when deciding whether to return early. (tc_gen_reloc): Check S_IS_WEAK as wel as S_IS_EXTERNAL when deciding whether to convert BFD_RELOC_32_PCREL_S2 if PIC.
1996-02-19 * config/tc-sparc.c (max_architecture): Change to sparclite forDavid Edelsohn1-0/+9
32 bit arch. (default_compatible): Delete. (sparc_ffs): New function. (md_begin): Only call SPARC_OPCODE_CONFLICT_P once. (sparc_ip): Rewrite architecture match and bump logic.
1996-02-18 * configure.in: Check for 'do not mix' from native linker beforeIan Lance Taylor1-0/+6
trying to use -rpath. * configure: Rebuild.
1996-02-16 * config/obj-coff.h (SF_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).Ian Lance Taylor1-0/+10
(SF_GET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER). (SF_SET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER). * config/obj-coff.c (obj_coff_endef): Set ADJ_LNNOPTR when LNNOPTR is set. (w_symbols): If ADJ_LNNOPTR is set, add the section lnnoptr field to the symbol lnnoptr field, to get the correct file offset. PR 7428.
1996-02-15Force all PPC symbols that otherwise do not have a symbol type to be BSF_OBJECTMichael Meissner1-0/+6
1996-02-15 * configure: Set and substitute RPATH_ENVVAR.Ian Lance Taylor1-0/+5
* configure: Rebuild. * Makefile.in (RPATH_ENVVAR): New variable. (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
1996-02-15 * configure.in: Accept i686. From H.J. Lu <hjl@zoom.com>: i386Ian Lance Taylor1-0/+6
doesn't need opcodes. If configuring shared, opcodes needs bfd. * configure: Rebuild.
1996-02-14 From Alan Modra <alan@spri.levels.unisa.edu.au>:Ian Lance Taylor1-0/+6
* configure.in: Remove duplicate setting of cpu_type. Check whether opcodes library is required for on all targets, not just primary one. * configure: Rebuild.
1996-02-14Wed Feb 14 16:33:12 1996 Martin Anantharaman ↵Ian Lance Taylor1-0/+11
<martin@mail.imech.uni-duisburg.de> * read.c (s_mri_sect): Don't return '\0' in type. Set all appropriate flags in BFD section. * configure.in (m68k-*-psos*): New target. * configure: Rebuild. * config/te-psos.h: New file. * config/tc-m68k.c (comment_chars): Don't include '#' if TE_PSOS is defined.
1996-02-14 * config/tc-mips.c (mips_big_got): New static variable.Ian Lance Taylor1-0/+18
(s_extern): Don't declare. (reg_needs_delay): New static function. (macro_build): Permit GOT/CALL_HI/LO relocs. (macro_build_lui): If place is not NULL, use the number in the expression. (load_address): Handle mips_big_got case. (macro): Handle mips_big_got for M_LA_AB, M_JAL_A, and load and store macros. (OPTION_XGOT): Define. (md_longopts): Add "xgot" if OBJ_ELF. (md_parse_option): Handle -xgot. (md_show_usage): Mention -xgot. (md_apply_fix): Permit GOT/CALL_HI/LO relocs. (tc_gen_reloc): Handle GOT/CALL_HI/LO relocs.
1996-02-14Wed Feb 14 11:22:27 1996 Andreas Schwab ↵Ian Lance Taylor1-0/+5
<schwab@issan.informatik.uni-dortmund.de> * config/tc-m68k.c (m68k_ip) [operand kind '#']: When fixing the byte relocation, point it to the low byte of the word.
1996-02-13 * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.Ian Lance Taylor1-0/+5
* configure: Rebuild.
1996-02-13 * read.c (potable): Add "mri" and ".mri".Ian Lance Taylor1-0/+26
(s_mri): New function. * read.h (s_mri): Declare. * app.c (scrub_m68k_mri): New static variable. (mri_pseudo): New static variable. (do_scrub_begin): Add m68k_mri parameter. Use it rather than flag_m68k_mri. Initialize scrub_m68k_mri. (mri_state, mri_last_ch): New static variables. (struct app_save): Add scrub_m68k_mri, mri_state, and mri_last_ch fields. (app_push): Save new fields. (app_pop): Restore new fields. (do_scrub_chars): Check scrub_m68k_mri rather than flag_mri_mri. If TC_M68K, use a trivial state machine to look for occurrences of the .mri pseudo-op, and change the mode appropriately. * as.h (do_scrub_begin): Update prototype. * input-scrub.c (input_scrub_begin): Pass flag_m68k_mri to do_scrub_begin. * config/tc-m68k.c (reg_prefix_optional_seen): New static variable. (m68k_mri_mode_change): New function. (md_parse_option): Set reg_prefix_optional_seen. * config/tc-m68k.h (m68k_mri_mode_change): Declare. (MRI_MODE_CHANGE): Define. * doc/as.texinfo: Document .mri pseudo-op.
1996-02-12 * configure.in: Recognize any sparc* cpu.David Edelsohn1-0/+5
* configure: Regenerated.
1996-02-12 * app.c (do_scrub_chars): In MRI mode, don't treat '#' as aIan Lance Taylor1-0/+5
comment character.
1996-02-12Mon Feb 12 15:16:29 1996 Andreas Schwab ↵Ian Lance Taylor1-0/+28
<schwab@issan.informatik.uni-dortmund.de> Support for OBJ_ELF on m68k, mostly inside #ifdef OBJ_ELF: * config/m68k-parse.h (enum pic_relocation): Define. (struct m68k_exp): Add pic_reloc field. * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Define. (tc_fix_adjustable): Define to call tc_m68k_fix_adjustable. (NO_RELOC): Define to BFD_RELOC_NONE if BFD_ASSEMBLER, to zero otherwise. * config/tc-m68k.c: Delete definition of NO_RELOC. (struct m68k_it): Add pic_reloc field. (add_fix): Copy over pic_reloc field. (md_pseudo_table): Interpret .align parameter as byte count. (mote_pseudo_table): Likewise. (tc_m68k_fix_adjustable): New function. (get_reloc_code): New function. (md_assemble): Use it as last argument to fix_new_exp. (md_apply_fix_2): For a relocation against a symbol don't put the addend into the data. (tc_gen_reloc): Different addend computation for OBJ_ELF. (m68k_ip): Don't relax an operand that requires pic relocation. (md_begin): Align .text, .data and .bss on 4 byte boundary by default. * write.c (fixup_segment): Don't add symbol value to addend if TC_M68K and OBJ_ELF. * config/m68k-parse.y (yylex): Handle @PLTPC, etc. (motorola_operand): Add rule for `(zapc, EXPR)'.
1996-02-12Mon Feb 12 10:07:33 1996 David Mosberger-Tang <davidm@azstarnet.com>Ian Lance Taylor1-0/+5
* ecoff.c (ecoff_directive_weakext): Fixed so that whitespace *really* is permissible before the comma.
1996-02-12 * config/tc-sh.c (sh_do_align): Align to a 2 byte boundary beforeIan Lance Taylor1-0/+5
inserting nop instructions. PR 8974.
1996-02-09 * config/te-aux.h: Change include of aux.h to aux-coff.h.Ian Lance Taylor1-0/+4
1996-02-09 * config/tc-i960.c (tc_coff_symbol_emit_hook): Correct storageIan Lance Taylor1-0/+3
class setting for a CALLNAME symbol in COFF.
1996-02-09 * read.c (potable): Pass negative numbers for new .balign[wl] andIan Lance Taylor1-0/+8
.p2align[wl] pseudo-ops. (s_align_bytes): Treat a negative argument as specifying the fill length. (s_align_ptwo): Likewise.
1996-02-08 * read.c (potable): Add balignw, balignl, p2alignw, and p2alignl.Ian Lance Taylor1-0/+17
(do_align): Take new len parameter. Change all callers. Pass it to md_do_align. (s_align_bytes): Arg now indicates the length of the fill pattern. (s_align_ptwo): Likewise. * config/obj-coff.c (write_object_file): Pass length to md_do_align. * config/tc-i386.h (md_do_align): Take new len parameter. * config/tc-m88k.h (md_do_align): Likewise. * config/tc-m88k.c (m88k_do_align): Likewise. * config/tc-sh.h (md_do_align): Likewise. * config/tc-sh.c (sh_do_align): Likewise. * doc/as.texinfo: Document new pseudo-ops. * config/obj-coff.c (fixup_mdeps): Divide offset by fr_var, as is done in cvt_frag_to_fill. PR 8974.
1996-02-07 * config/tc-sh.h (sh_do_align): Declare.Ian Lance Taylor1-0/+4
(md_do_align): Define. * config/tc-sh.c (sh_do_align): New function. PR 8974.
1996-02-07 * ecoff.c (ecoff_build_lineno): Don't try to store the addressIan Lance Taylor1-0/+3
difference if the next address is before the current one.
1996-02-07 * config/tc-m68k.c (struct m68k_cpu): Add alias field.Ian Lance Taylor1-0/+12
(archs): Initialize new field. (m68k_ip): Don't list alias names when listing CPUs which support an instruction.
1996-02-07 * configure.in: Check for --enable-shared. If linking againstIan Lance Taylor1-0/+15
shared BFD and opcodes, fix library name on SunOS, and try to set -rpath reasonably. * configure: Rebuild.
1996-02-05 * config/tc-i960.c (ARCH_HX): Define.Ian Lance Taylor1-0/+11
(arch_tab): Add HX. (targ_has_sfr): Handle ARCH_HX. (targ_has_iclass): Handle ARCH_HX. (tc_coff_fix2rtype): Add return 0 to avoid warning. (tc_headers_hook): If the architecture was specified explicitly, use it when setting the flags. Set the extern variable coff_flags rather than headers->filehdr.f_flags, since the latter is set unconditionally in obj-coff.c. (i960_handle_align): Remove unused variable fixp.
1996-02-05 Support for building bfd and opcodes as shared libraries, based onIan Lance Taylor1-0/+19
patches from Alan Modra <alan@spri.levels.unisa.edu.au>: * configure.in: Set OPCODES and BFD to search directories. Substitute OPCODES_DEP and BFDDEP. On SunOS, set HLDFLAGS. * configure: Rebuild. * Makefile.in (LDFLAGS, HLDFLAGS): New variables. (LIBDEPS): New variable. (as.new0: Depend upon $(LIBDEPS) rather than $(LIBS). Use $(HLDFLAGS) in link. (check): Set LD_LIBRARY_PATH in the environment.
1996-02-02Fri Feb 2 14:09:25 1996 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor1-0/+4
* Makefile.in (INSTALL_XFORM): Remove -e.
1996-02-02 * write.c (write_relocs): Use S_IS_DEFINED and S_IS_COMMON ratherIan Lance Taylor1-0/+29
than comparing S_GET_SEGMENT to undefined_section. (write_object_file): Skip symbols which were equated to an undefined or common symbol. * symbols.c (resolve_symbol_value): Use S_IS_DEFINED and S_IS_COMMON rather than comparing S_GET_SEGMENT to undefined_section. (S_GET_VALUE): Likewise. Avoid recursion problems if S_IS_DEFINED or S_IS_COMMON call S_GET_VALUE. * config/obj-aout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER. * config/obj-aout.c (obj_emit_relocations): If a reloc is equated to an undefined or common symbol, convert the reloc to be against the target symbol. (obj_crawl_symbol_chain): Skip symbols which were equated to an undefined or common symbol. * config/obj-bout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER. * config/obj-bout.c (obj_emit_relocations): If a reloc is equated to an undefined or common symbol, convert the reloc to be against the target symbol. (obj_crawl_symbol_chain): Skip symbols which were equated to an undefined or common symbol. * config/obj-coff.c (do_relocs_for): Use S_IS_DEFINED and S_IS_COMMON rather than comparing S_GET_SEGMENT to undefined_section. (yank_symbols): Skip symbols which were equated to an undefined or common symbol.
1996-02-01 * config/obj-aout.h (S_IS_LOCAL): Check for \002 as well as \001.Ian Lance Taylor1-1/+4
* config/obj-bout.h (S_IS_LOCAL): Likewise.
1996-02-01 * configure.in: Make sure we only add m68k-parse.o toIan Lance Taylor1-0/+7
${extra_objects} once, no matter how many m68k targets have been enabled. * configure: Rebuild.
1996-02-01 * configure.in (i386-*-cygwin32, ppc-*-cygwin32): New.Steve Chamberlain1-0/+6
* configure: Rebuild.
1996-01-31 * config/obj-coff.h (S_IS_LOCAL): Check for \001 as well as \002.Ian Lance Taylor1-0/+2