summaryrefslogtreecommitdiffstats
path: root/gas
Commit message (Collapse)AuthorAgeFilesLines
* Allow GOT, section relative relocations all the time with -mrelocatableMichael Meissner1996-05-101-0/+6
|
* * config/obj-coff.c (yank_symbols): Check that FNAME_OFFSET isIan Lance Taylor1996-05-072-15/+30
| | | | | | | | | non-zero before assuming this is a long file name. (w_strings): Likewise. (c_dot_file_symbol): Set FNAME_OFFSET to 1 for a long file name. * config/obj-coff.c (w_strings): Move declaration of i inside #ifdef block which uses it.
* * config/tc-h8300.c (do_a_fix_imm): Rename last argument toJeff Law1996-05-071-0/+7
| | | | | | | "relaxmode". Output relocs which identify various relaxing possibilities for mov.[bwl] instructions. (build_bytes): Pass in a relaxing mode to do_a_fix_imm. So the linker can identify more potential relaxations. HMSE.
* * config/tc-arm.h (TC_HANDLES_FX_DONE): Define.David Edelsohn1996-05-061-0/+10
| | | | | | | | | (MD_APPLY_FIX3): Define. * config/tc-arm.c (my_get_expression): Only watch for bad segments if OBJ_AOUT. (md_apply_fix3): Renamed from md_apply_fix. If pcrel reloc and symbol is in different section, undo effects of md_pcrel_from.
* * config/tc-hppa.c (hppa_fix_adjustable): Don't adjustJeff Law1996-05-041-0/+5
| | | | | any reloc with an LR% or RR% field selector for SOM. Fixes net bug.
* * Makefile.in: Add subsegs.h to appropriate TARG_CPU_DEP_*Ian Lance Taylor1996-05-041-0/+5
| | | | variables.
* * config/obj-coff.c (coff_frob_symbol): Don't merge a symbol withIan Lance Taylor1996-05-042-0/+8
| | | | | SF_GET_STATICS set. (yank_symbols): Likewise.
* tweak last changeIan Lance Taylor1996-05-022-7/+9
|
* * subsegs.h (segment_info_type): If MANY_SEGMENTS and notIan Lance Taylor1996-05-023-33/+104
| | | | | | | | | | | | | | | | BFD_ASSEMBLER, add name field. * config/obj-coff.c (coff_header_append): Handle long section names. (crawl_symbols): Just use the name field for the symbol name, without worrying about null byte termination. (w_strings): Handle long section names. (write_object_file): Likewise. Also, use the name field, rather than scnhdr.s_name. (obj_coff_add_segment): Permit long section names. (obj_coff_init_stab_section): Use the name field, rather than scnhdr.s_name. (adjust_stab_section): Likewise. * config/te-pe.h (COFF_LONG_SECTION_NAMES): Define.
* * config/tc-i960.c (brtab_emit): Don't set fx_im_disp field.Ian Lance Taylor1996-05-011-0/+6
| | | | | | | (mem_fmt): Likewise. (md_apply_fix): Don't check fx_im_disp field. Fixes problem introduced by September 5, 1995 change to fx_im_disp definition.
* * configure.in: Add * after sparc*-*-vxworks.Ian Lance Taylor1996-04-251-0/+3
| | | | * configure: Rebuild.
* * app.c (do_scrub_begin): If tc_comment_chars is not defined,Ian Lance Taylor1996-04-251-0/+15
| | | | | | | | | | | | | | | define it to comment_chars. Use tc_comment_chars rather than comment_chars. (do_scrub_chars): Use tc_comment_chars rather than comment_chars. * config/tc-m68k.h (tc_comment_chars): Define. (m68k_comment_chars): Declare. * config/tc-m68k.c (m68k_comment_chars): Rename from comment_chars. Change into a pointer rather than an array. (md_longopts): Add "bitwise-or". (md_parse_option): Handle OPTION_BITWISE_OR. (md_show_usage): Mention --bitwise-or. * doc/c-m68k.texi: Document --bitwise-or. PR 9518.
* * gas/m68k/op68000.d: Add statements now caught by gas.Ian Lance Taylor1996-04-241-0/+4
|
* * config/tc-m68k.c (m68k_ip): Prevent attempts to use long offsetsIan Lance Taylor1996-04-242-0/+6
| | | | in 68000 mode.
* * config/obj-coff.c (obj_coff_section): BFD_ASSEMBLER version:Ian Lance Taylor1996-04-242-20/+21
| | | | | | | call demand_empty_rest_of_line. Non BFD_ASSEMBLER version: correct handling of input line pointer, and call demand_empty_rest_of_line. PR 9525.
* * config/tc-sparc.c (in_bitfield_range): New static function.David Edelsohn1996-04-231-0/+9
| | | | | | | | (sparc_ip): New cases X,Y. Use SPARC_OPCODE_ARCH_V9_P. (md_apply_fix, cases BFD_RELOC_32_PCREL_S2, BFD_RELOC_SPARC_{WDISP16,WDISP19}): Fix undefined code. (md_apply_fix): New cases BFD_RELOC_SPARC_[56]. (tc_gen_reloc): New cases BFD_RELOC_SPARC_[56].
* * gas/sparc/sparc.exp: Run them.David Edelsohn1996-04-221-0/+1
|
* Run splet tests.David Edelsohn1996-04-221-2/+12
|
* * gas/sparc/splet.[ds]: New tests for sparclet extensions.David Edelsohn1996-04-221-0/+4
|
* New testcase for sparclet extensions.David Edelsohn1996-04-223-0/+382
|
* * config/obj-coff.c: BFD_ASSEMBLER:Ian Lance Taylor1996-04-182-43/+127
| | | | | | | | | | (coff_last_bf): New static variable. (coff_frob_symbol): Set endndx of a .bf symbol. Non BFD_ASSEMBLER: (obj_coff_endef): Call SF_SET_PROCESS on a .bf symbol. (last_bfP): New static variable. (yank_symbols): Set endndx of a .bf symbol. PR 9467.
* Add -le/-be/-s from Solaris.Michael Meissner1996-04-182-1/+41
|
* * read.c (s_space): Support non-constant fill value. Handle fillIan Lance Taylor1996-04-171-0/+5
| | | | | value correctly for a size other than 1. PR 9474.
* * config/tc-arm.c (my_get_float_expression): Update call toDavid Edelsohn1996-04-161-0/+5
| | | | gen_to_words, X_PRECISION changed from 6 to 5.
* Add -m{,no-}regnames support; Add Solaris/linux supportMichael Meissner1996-04-166-111/+186
|
* * config/tc-mips.c (mips_frob_file): Permit multiple %hi relocs toIan Lance Taylor1996-04-151-0/+3
| | | | be associated with a single %lo reloc.
* * gas/mips/la.d: Updated for April 5 MIPS assembler changes.Ian Lance Taylor1996-04-151-0/+12
| | | | | | * gas/mips/lb.d, gas/mips/ld.d, gas/mips/sb.d: Likewise. * gas/mips/uld.d, gas/mips/ulh.d, gas/mips/ulw.d: Likewise. * gas/mips/usd.d, gas/mips/ush.d, gas/mips/usw.d: Likewise.
* * config/tc-mips.c (load_address): Cast X_add_number to valueTIan Lance Taylor1996-04-152-5/+13
| | | | | | before comparing against MAX_GPREL_OFFSET, so that negative numbers are handled correctly. (macro): Likewise.
* * config/tc-sparc.c (last_insn): New static variable.Ian Lance Taylor1996-04-112-5/+54
| | | | | | | | | | (md_assemble): Warn about putting floating point branches in a delay slot. If architecture is less than v9, insert NOP instructions between floating point instructions and floating point branches. (The SunOS assembler does both these operations.) Save the last instruction opcode. (sparc_ip): Add pinsn parameter. Change caller. PR 355.
* fix typo in commentIan Lance Taylor1996-04-111-6/+7
|
* * config/tc-m68k.c (md_estimate_size_before_relax): Correct checkIan Lance Taylor1996-04-112-7/+25
| | | | | for byte jump to next instruction to skip empty frags. PR 7044.
* * config/tc-alpha.c (alpha_ip): If we are going to call emit_add64Ian Lance Taylor1996-04-101-0/+6
| | | | | | for addq with a 16 bit signed value, just emit a lda instruction instead. PR 6982.
* * config/tc-h8300.c (do_a_fix_imm): Don't cut off high bitsJeff Law1996-04-101-0/+5
| | | | | of a 32bit operand. Fix for mov32bug.s.
* * gas/h8300/mov32bug.s: New test.Jeff Law1996-04-102-0/+5
| | | | | * gas/h8300/h8300.exp: Run it. Testcase for c-torture failure caused by a gas bug.
* * configure.in: Permit --enable-shared to specify a list ofIan Lance Taylor1996-04-081-0/+6
| | | | | directories. * configure: Rebuild.
* * config/tc-h8300.c (get_specific): Remove some #if 0 code.Jeff Law1996-04-062-78/+31
| | | | | (build_bytes): Remove all ABSMOV related code; it's unnecessary. ABSMOV is gone... Cleaning up. hmse.
* * gas/h8300/{addsubh.s,bitops1h.s,bitops2h.s}: New h8300h tests.Jeff Law1996-04-0522-1/+1099
| | | | | | | | | | * gas/h8300/{bitops3h.s,bitops4h.s,branchesh.s}: New h8300h tests. * gas/h8300/{cbranchh.s,compareh.s,decimalh.s}: New h8300h tests. * gas/h8300/{divmulh.s,incdech.s,logicalh.s}: New h8300h tests. * gas/h8300/{misch.s,movbh.s,movwh.s}: New h8300h tests. * gas/h8300/{pushpoph.s,rotshifth.s}: New h8300h tests. * gas/h8300/h8300.exp: Run them. More tests.
* Fri Apr 5 15:13:10 1996 Andreas Schwab ↵Ian Lance Taylor1996-04-051-0/+7
| | | | | | | | | <schwab@issan.informatik.uni-dortmund.de> * config/atof-ieee.c: Fix handling of denormalized extended precision numbers and overflow/underflow detection. (MAX_PRECISION, X_PRECISION, P_PRECISION): Changed from 6 to 5, to not include the 16 bit gap in the m68k extended precision format.
* * configure.in: Add i386-*-freebsdelf* target; from John PolstraIan Lance Taylor1996-04-053-2/+8
| | | | | <jdp@polstra.com>. * configure: Rebuild.
* * gas/h8300/{movb.s,movw.s}: Correct predecrement syntax.Jeff Law1996-04-052-1/+5
| | | | | * gas/h8300/h8300.exp: Fix typos in bitops4 and movb tests. Fixes remaining unexpected failures.
* Fri Apr 5 18:39:28 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion1996-04-051-0/+6
| | | | | | | | | * config/tc-mips.c: Allow non-zero offsets from .sdata symbols to be accessed using the $gp register. * config/tc-mips.h (MAX_GPREL_OFFSET): Added. This ensures that the $gp addressing will continued to be used if the "combine_statics" optimisation is enabled within GCC.
* Fix typo in last change.Jeff Law1996-04-051-1/+1
|
* * gas/h8300/{addsub.s,bitops1.s,bitops2.s}: New h8300 tests.Jeff Law1996-04-0520-1/+819
| | | | | | | | | | * gas/h8300/{bitops3.s,bitops4.s,branches.s}: New h8300 tests. * gas/h8300/{cbranch.s,compare.s,decimal.s}: New h8300 tests. * gas/h8300/{divmul.s,incdec.s,logical.s}: New h8300 tests. * gas/h8300/{misc.s,movb.s,movw.s}: New h8300 tests. * gas/h8300/{pushpop.s,rotshift.s}: New h8300 tests. * gas/h8300/h8300.exp: Run them. To keep me from screwing up the assembler...
* * config/tc-sparc.c (sparc_md_end): Set bfd machine number toDavid Edelsohn1996-04-031-0/+5
| | | | bfd_mach_sparc_sparclet if current_architecture is sparclet.
* * read.c (get_line_sb): Bump line counters based onIan Lance Taylor1996-04-011-0/+9
| | | | | | | | input_line_pointer[-1], not *input_line_pointer. Don't bother to call LISTING_NEWLINE. (s_macro): Don't call demand_empty_rest_of_line. * app.c (do_scrub_chars): When handling C style comments, unget ch2 rather than ch.
* * read.h (enum linkonce_type): Define.Ian Lance Taylor1996-03-292-0/+95
| | | | | | | | | | | | | | | | (s_linkonce): Declare. * read.c (potable): Add "linkonce". (s_linkonce): New function. * subsegs.h (segment_info_type): Add linkonce field to MANY_SEGMENTS && ! BFD_ASSEMBLER section. * config/obj-coff.h (obj_handle_link_once): Define if TE_PE. (obj_coff_pe_handle_link_once): Declare if TE_PE. * config/obj-coff.c: If TE_PE and not BFD_ASSEMBLER, #include "coff/pe.h". (obj_coff_pe_handle_link_once): New function, defined if TE_PE. (c_section_symbol): If TE_PE, set the x_comdat field in the aux entry based on the linkonce field in segment_info. * doc/as.texinfo: Document .linkonce.
* * doc/as.1: Changed to be recognized by catman -w on Solaris.J.T. Conklin1996-03-292-3/+7
|
* * stabs.c (s_stab_generic): Call the listing functions beforeIan Lance Taylor1996-03-281-0/+5
| | | | | | doing the rest of the processing, which may involve freeing the string. Pass string, not string + stroff, to OBJ_PROCESS_STAB in SEPARATE_STAB_SECTIONS case.
* * config/tc-hppa.c: Remove nested comment.Ian Lance Taylor1996-03-281-0/+6
| | | | | | | (tc_gen_reloc): Move label done inside the ifdef in which it is used. (md_apply_fix): Pass pointers to correct types to libhppa.h functions. Always return a value.
* * config/tc-mips.h (tc_frob_file): Define.Ian Lance Taylor1996-03-283-22/+168
| | | | | | | | | | | | | (mips_frob_file): Declare. * config/tc-mips.c (struct mips_hi_fixup): Define. (mips_hi_fixup_list): New static variable. (imm_unmatched_hi): New static variable. (md_assemble): Clear imm_reloc, imm_unmatched_hi, and offset_reloc. Pass imm_unmatched_hi to append_insn. (append_insn): Add unmatched_hi parameter. If it is set, add the new fixup to mips_hi_fixup_list. Change all callers. (mips_ip): Set imm_unmatched_hi when appropriate. (mips_frob_file): New function.
OpenPOWER on IntegriCloud