aboutsummaryrefslogtreecommitdiff
path: root/gas/frags.c
AgeCommit message (Collapse)AuthorFilesLines
2006-04-18 * frags.c (frag_offset_fixed_p): Constify args.Alan Modra1-2/+2
* frags.h (frag_offset_fixed_p): Ditto.
2006-04-06 * frags.c (frag_offset_fixed_p): Reinitialise offset beforeAlan Modra1-0/+1
second scan.
2006-04-04 PR 997Alan Modra1-1/+53
* frags.c (frag_offset_fixed_p): New function. * frags.h (frag_offset_fixed_p): Declare. * expr.c (expr): Use frag_offset_fixed_p when simplifying subtraction. (resolve_expression): Likewise.
2005-05-10gas/Michael Matz1-1/+8
* frags.c (frag_grow): Don't be too greedy in allocating memory. * config/tc-hppa.c (pa_block): Check arguments to .block[z]. gas/testsuite/ * gas/hppa/parse/block1.s: Use official limit (0x3fffffff) for .block.
2005-05-05Update the address and phone number of the FSFNick Clifton1-2/+2
2005-03-03update copyright datesAlan Modra1-1/+1
2004-01-23 * frags.h (frag_room): Declare.Richard Sandiford1-0/+8
* frags.c (frag_room): New function. * doc/internals.texi: Document it.
2003-11-22 * ehopt.c: Convert to ISO-C.Kazu Hirata1-45/+20
* emul.h: Likewise. * expr.c: Likewise. * expr.h: Likewise. * flonum-copy.c: Likewise. * flonum-mult.c: Likewise. * flonum.h: Likewise. * frags.c: Likewise. * frags.h: Likewise.
2003-07-15 * frags.c (frag_more): Move segment checks to..Alan Modra1-13/+23
(frag_alloc_check): ..here. New function. (frag_append_1_char): Call frag_alloc_check.
2001-11-15revert last change.Alan Modra1-6/+0
2001-11-14Use frag_make_room() to grow the obstack.Nick Clifton1-0/+6
2001-08-01 * read.c: Standardize error/warning messages - don't capitalise, noAlan Modra1-1/+1
final period or newline, don't say "ignored" or "zero assumed" for as_bad messages. In some cases, change the wording to that used elsewhere for similar messages. * app.c, as.c, atof-generic.c, cgen.c, cond.c, depend.c, dwarf2dbg.c, ecoff.c, expr.c, frags.c, input-file.c, input-scrub.c, listing.c, output-file.c, stabs.c, subsegs.c, symbols.c, write.c: Likewise. * ecoff.c (ecoff_directive_end): Test for missing name by comparing input line pointers rather than reading string. (ecoff_directive_ent): Likewise. * read.c (s_set): Likewise. (s_align): Report a warning rather than an error for alignment too large. (s_comm): Check for missing symbol name. (s_lcomm_internal): Likewise. (s_lsym): Likewise. (s_globl): Use is_end_of_line instead of looking for '\n'. (s_lcomm_internal): Likewise. (ignore_rest_of_line): Report a warning rather than an error.
2001-03-08Fix copyright noticesNick Clifton1-1/+2
2000-12-28 * as.h (rs_align_test): New.Richard Henderson1-0/+33
* frags.c (NOP_OPCODE): Move default from read.c. (MAX_MEM_FOR_RS_ALIGN_CODE): New default. (frag_align_code): New. * frags.h (frag_align_code): Declare. * read.c (NOP_OPCODE): Remove. (do_align): Use frag_align_code. * write.c (NOP_OPCODE): Remove. (get_recorded_alignment): New. (cvt_frag_to_fill): Handle rs_align_test. (relax_segment): Likewise. (subsegs_finish): Align last subseg in section to the section alignment. Use frag_align_code. * write.h (get_recorded_alignment): Declare. * config/obj-coff.c (size_section): Handle rs_align_test. (fill_section, fixup_mdeps): Likewise. (write_object_file): Use frag_align_code. * config/tc-alpha.c (alpha_align): Use frag_align_code. (alpha_handle_align): New. * config/tc-alpha.h (HANDLE_ALIGN): New. (MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-i386.h (md_do_align): Use frag_align_code. (MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment. (ia64_handle_align): New. * config/tc-ia64.h (HANDLE_ALIGN): New. (MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-m32r.c (m32r_do_align): Remove. (m32r_handle_align): New. (fill_insn): Use frag_align_code. * config/tc-m32r.h (md_do_align): Remove. (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-m88k.c, config/tc-m88k.h: Similarly. * config/tc-mips.c, config/tc-mips.h: Similarly. * config/tc-sh.c (sh_cons_align): Use rs_align_test. (sh_handle_align): Likewise. Handle rs_align_code. (sh_do_align): Remove. * config/tc-sh.h (md_do_align): Remove. (MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-sparc.c (sparc_cons_align): Use rs_align_test. (sparc_handle_align): Likewise. Handle rs_align_code. * config/tc-sparc.h (md_do_align): Remove. (MAX_MEM_FOR_RS_ALIGN_CODE): New.
2000-08-312000-08-31 Kazu Hirata <kazu@hxi.com>Kazu Hirata1-77/+56
* frags.c: Fix formatting. * macro.c: Likewise.
2000-07-22Correct absolute section alignment.Alan Modra1-2/+3
2000-05-23Missed copyright update in last patch.Alan Modra1-1/+1
2000-05-23Pass jump reloc in fr_var so it can be used inAlan Modra1-5/+8
md_estimate_size_before_relax, replacing old kludge.
2000-05-02Assorted code cleanup and fixes for hppa. Re-enable elf32-hppa asAlan Modra1-5/+7
it now compiles even if it doesn't work too well.
2000-02-03octets vs bytes changes for GASTimothy Wall1-4/+11
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+359