aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1993-12-30Revert last change. It loses.Jeff Law1-5/+0
1993-12-29* write.h (struct fix): Field tc_fix_data should be type PTR, not void*, forKen Raeburn1-0/+6
compatibility with non-ANSI compilers. Added single-bit field "fx_done".
1993-12-29put a breakpoint in as_bad_where tooKen Raeburn1-0/+1
1993-12-29 * gas/hppa/more.parse/labelbug.s: Add more colonless labelJeff Law3-0/+48
tests.
1993-12-29 * app.c (do_scrub_next_char): Fix more bugs dealing withJeff Law2-6/+30
labels without colons (For HPPA and MRI).
1993-12-26Making HPPA assembler case sensitive where it should be, and speeding it upTorbjorn Granlund1-0/+19
a factor of 2.
1993-12-21Add TODO list item from observing Solaris assembler.Ken Raeburn1-0/+6
1993-12-20sparc-coff reloc, symbols.c BSF_* changesKen Raeburn1-0/+10
1993-12-20* write.c (adjust_reloc_syms) [RELOC_REQUIRES_SYMBOL]: If no symbol is presentKen Raeburn1-2/+21
(i.e., relocation against absolute), create a phony local symbol, and use it in the reloc. (fixup_segment): When adjusting a reloc with an absolute symbol, have TC_FORCE_RELOCATION control clearing add_symbolP too. * config/tc-sparc.h (RELOC_REQUIRES_SYMBOL): Define.
1993-12-20md_end, listing, obj-coff changesKen Raeburn1-2/+33
1993-12-20* as.c (main): Only invoke md_end if it's defined as a macro.Ken Raeburn7-73/+17
* tc.h (md_end): Don't declare it. * config/tc-*.[ch] (md_end): Deleted, in cases where it doesn't do anything. * config/tc-vax.c (vip_end): Deleted null function. * config/tc-mips.c (md_mips_end): Renamed from md_end. * config/tc-mips.h (md_mips_end): Declare. (md_end): New macro, calls md_mips_end. * write.c (write_object_file): Don't close output file. * as.c (main): Close output file (if needed) after calling listing_print, which should be after calling write_object_file, which sets the frag addresses.
1993-12-20whitespaceKen Raeburn1-1/+0
1993-12-20* as.c (main): Call listing_print before BFD gets closed, when symbol dataKen Raeburn2-10/+16
hasn't been freed up yet.
1993-12-17 * config/tc-hppa.c (md_begin): Initialize "dummy_label".Jeff Law1-0/+6
(tc_gen_reloc, SOM version): For relocations which have no symbol, set sym_ptr_ptr to dummy_label. Avoids lossage in generic BFD code.
1993-12-16recent config/* & section_symbol changesKen Raeburn1-0/+13
1993-12-16* config/tc-vax.c (tc_aout_fix_to_chars): Local variable NBYTES_R_LENGTH nowKen Raeburn8-217/+69
const. * config/obj-*.c, config/tc-*.c: Omit superfluous "return" statements at ends of functions. Don't check for null return from hash_new, since it won't return at all if there's no memory available. Also, check for null return from hash_insert, rather than zero-length string, as success indicator.
1993-12-16read.c(lex_type): Don't make '[' a valid symbol name char.Ken Raeburn1-0/+5
1993-12-15Makefile.in (RUNTEST): New variable.Ken Raeburn1-0/+3
(CHECKFLAGS): Pass it down.
1993-12-15forgot to check in some log messages last weekKen Raeburn1-0/+11
1993-12-15Some changes from trying to run test suite in California last week:Ken Raeburn1-7/+4
* Makefile.in (site.exp): Don't set ASFLAGS. Quote value of OBJDUMPFLAGS in case it's empty. Use temporary names until the end; make creating site.exp the final step. (check): Pass in ASFLAGS. * gas/all/gas.exp: Use all_ones proc. Change regexp for matching C comments to avoid bugs in latest expect code.
1993-12-15removed an unnecessary commentKen Raeburn1-2/+2
1993-12-15 * configure.in (hppa*-*-osf*): Do not consider this a developmentalJeff Law1-0/+3
configuration.
1993-12-15 * config/tc-hppa.c (md_apply_fix): Handle cases where noJeff Law2-1/+13
relocation will be emitted for 32bit formats.
1993-12-14 * config/tc-hppa.c (md_apply_fix): Do not call hppa_field_adjustJeff Law2-1/+9
for any of the 'T' field selectors.
1993-12-11 * config/tc-h8500.c (build_bytes): Get reloc type right for aSteve Chamberlain4-237/+287
%page operation. (md_assemble): Don't modify input_line_pointer. (mdcoff_sizemachdep): New function. * config/tc-h8500.h (TC_COFF_SIZEMACHDEP): New macro. * config/tc-z8k.c (get_operand): Delete bogus check.
1993-12-11Recognise SH.Steve Chamberlain1-2/+5
1993-12-09output-file.c, write.c changesKen Raeburn1-0/+6
1993-12-09(number_to_chars_*): Delete bogus range checks.Ken Raeburn1-249/+269
1993-12-08 * gas/m68k/disperr.s: New test.Jeff Law3-0/+22
* gas/m68k/all.exp: Run it.
1993-12-08Tue Dec 7 16:02:53 1993 Steve Chamberlain (sac@jonny.cygnus.com)Steve Chamberlain1-0/+6
* config/tc-sh.c (md_convert_frag): Truncate disps before calling md_number_to_chars. (md_assemble): Don't modify input_line_pointer.
1993-12-06* config/tc-h8300.c (md_assemble): Don't update input_line_pointer.David Edelsohn1-0/+4
1993-12-06 * config/obj-som.[ch] (obj_read_begin_hook): Remove last change.Jeff Law2-244/+23
Breaks with the HP compilers. * config/tc-hppa.c (struct call_info): Remove fields which were set but never used. Remove all code which sets those fields. (struct subspace_dictionary_chain): Likewise. (struct space_dictionary_chain): Likewise. (pa_desc): Delete useless function. Delete all references. (hppa_tc_make_sections): No need to count the number of symbols for the symbol extension section.
1993-12-06 * config/obj-som.c (obj_som_version): Pass version string toJeff Law3-37/+85
SOM BFD backend. (obj_som_copyright): New function. Much like obj_som_version. * config/tc-hppa.c (obj_copyright): Define as appropriate for SOM and ELF. (pa_copyright): Just a stub now.
1993-12-06 * config/obj-som.c (obj_read_begin_hook): Delete unused function.Jeff Law3-20/+83
* config/obj-som.h (obj_read_begin_hook): Provide dummy definition. (TARGET_SYMBOL_FIELDS): Delete. SOM isn't making use of them.
1993-12-06 * gas/hppa/reloc/roundmode.s: New test.Jeff Law3-0/+34
* gas/hppa/reloc/reloc.exp: Run it. Fix typo in last change.
1993-12-06 * config/tc-hppa.c (tc_gen_reloc, SOM version): Handle relocationJeff Law2-21/+22
expansion due to rounding mode selectors. Handle R_[RDSN]_MODE relocations for selecting the current rounding mode.
1993-12-06 * config/tc-hppa.c (evaluate_absolute): Support e_rrsel andJeff Law2-8/+22
e_rlsel field selectors.
1993-12-03 Fri Dec 3 09:47:30 1993 Pete Hoogenboom (hoogen@cs.utah.edu)Jeff Law1-0/+6
* tc-hppa.c: (tc_gen_reloc): Addend for a plabel relocation should be either 0 or 2 (no static link or static link required). Always assume no static link.
1993-12-03 * config/tc-hppa.c (md_apply_fix): Delete old wrapper function.Jeff Law2-44/+40
(md_apply_fix_1): Rename to md_apply_fix. Fix argument decls. Fix comments in various places. Always return a value. Avoid dereferencing a NULL fx_addsy. (hppa_force_relocation): Avoid dereferencing a NULL fx_addsy.
1993-12-03Deleted RCS crap, since it frequently seems to wind up being the onlyKen Raeburn1-178/+0
thing "changed", and somehow cvs thinks the file has really been modified.
1993-12-03Lots of changes for:Ken Raeburn7-74/+164
- sparc[lite]-coff as well as sparc-lynx - producing coff (including debug info) under BFD_ASSEMBLER option - cleanup of cpu-specific code in non-cpu-specific files (especially write.c) - providing common code to avoid duplication in cpu-specific files (specifically, md_number_to_chars) - stylistic changes & misc cleanup ================ * config/tc-sparc.c (tc_gen_reloc): Make adjustment to addend be dependent on howto fields, not on format flavour. * struc-symbol.h (struct symbol): New fields sy_obj and sy_tc, defined as types OBJ_SYMFIELD_TYPE and TC_SYMFIELD_TYPE, if those macros are defined. * config/obj-coff.h (TC_SYMFIELD_TYPE, OBJ_SYMFIELD_TYPE): Define. (TARGET_SYMBOL_FIELDS, I960_SYM_FIELDS): Don't define. (sy_tc, sy_obj): Define so that the fields look like they used to, until all references get changed. * write.c (fixup_segment): Lots of variables no longer register. Reordered some code for easier reading. * config/obj-coff.c (obj_coff_dim): dim_index no longer register. Deleted superfluous return statement. (obj_coff_line, obj_coff_size, obj_coff_scl, obj_coff_type, obj_coff_val, tag_init, tag_insert): Deleted superfluous return statement. (align, obj_coff_section): Deleted debugging printfs. * config/tc-i386.c (md_assemble): Discard some register decls. Use assignment rather than memcpy to copy template. (op_hash, reg_hash, prefix_hash): Default C initialization of statics is sufficient. * config/tc-sparc.c (print_insn): Array Reloc is now const, and points to const. * config/obj-coff.h (TARGET_FORMAT): Only use coff-sparc-lynx if TE_LYNX; use coff-sparc otherwise. [USE_NATIVE_HEADERS]: Delete this code; it isn't used. * write.c (fixup_segment): Call TC_VALIDATE_FIX, if defined, before processing a fixup. Call TC_ADJUST_RELOC_COUNT just before returning. Remove some i960-coff-specific code. (TC_ADJUST_RELOC_COUNT): Default to doing nothing. * config/tc-i960.h (TC_ADJUST_RELOC_COUNT) [OBJ_COFF]: Define. (i960_validate_fix): Declare. (TC_VALIDATE_FIX): Define. * config/tc-i960.c (i960_validate_fix): New function. * write.c (number_to_chars_littleendian): New function. Write out bytes in little endian order, doing size and range checking. (number_to_chars_bigendian): New function, similar. * write.h: Declare them. * config/tc-*.c (md_number_to_chars): Use them. * config/tc-vax.c (md_apply_fix): Ditto. * config/tc-i386.c (md_apply_fix): Ditto. * config/obj-coff.c: Rearranged code for handling line number data. (line_fsym): Renamed from function_lineoff in BFD_ASSEMBLER case, since the usage is different from non-BFD_ASSEMBLER case. (in_function, clear_function, set_function): New macros, to combine some of the functionality implemented in differnet ways in BFD_ASSEMBLER and non-... code. Used in other functions that used to check function_lineoff &c. (obj_emit_lineno): Split into two copies, one for BFD_ASSEMBLER, one for not. Non-BFD_ASSEMBLER version now has temporary variable to contain char* pointer pointed to by char** argument. Always follow CROSS_COMPILE code; easier to read that way. (obj_coff_ln): Don't call add_lineno or c_line_new if appline is set. (obj_coff_endef) [BFD_ASSEMBLER]: Don't do anything special for ".bf", it's been done elsewhere. (coff_frob_symbol): If ilne number data is pending, call add_linesym to flush it. (coff_frob_file): Don't do that here. * config/obj-coff.h (coff_frob_file): Declare. (obj_frob_file): Define, to call it. * config/tc-sparc.h (md_create_short_jump, md_create_long_jump, md_estimate_size_before_relax: Define them as macros calling as_fatal. * config/tc-sparc.c: Don't define them as functions.
1993-12-02 * Makefile (clean): Depend on clean-here.Jeff Law1-0/+4
1993-12-01changes so farKen Raeburn1-0/+21
1993-12-01include fopen-bin.hKen Raeburn1-0/+2
1993-12-01 * config/tc-mips.c (macro): From wilson@cygnus.com: for M_L_DAB,Ian Lance Taylor2-2/+3
set coproc before doing goto ld.
1993-12-01 * config/tc-hppa.c (hppa_elf_mark_end_of_function): New function.Jeff Law2-43/+76
(pa_process_exit, pa_procend): Call it for ELF objects.
1993-12-01 * config/tc-mips.c (macro): Subtract 8 from offset in non PIC l.dIan Lance Taylor2-1/+18
case. See comment.
1993-11-30 * gas/hppa/more.parse/parse.exp: Test for error on for subspaceJeff Law4-1/+12
directive is an XFAIL for SOM assmeblers. * gas/hppa/reloc/reloc.exp: Remove XFAIL for relocation on cross-subspace call test.
1993-11-30 * write.c (TC_FORCE_RELOCATION): Provide a default definition.Jeff Law3-56/+117
(fixup_segment): Allow the target machine to specify that a relocation must be generated for a particular fixup. Remove #ifndef TC_HPPA hack. * config/tc-hppa.h (TC_FORCE_RELOCATION): Define. * config/tc-hppa.c (md_apply_fix_1): Never change fx_addsy to be NULL. Only fixup_segment is supposed to do that. (hppa_force_relocation): New function.
1993-11-30 * Makefile.in (stabs.o): Added dependencies.Ian Lance Taylor2-0/+8