aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
AgeCommit message (Collapse)AuthorFilesLines
1992-12-13Sat Dec 12 15:26:34 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-92/+91
* listing.c: Call xmalloc, not malloc; don't declare malloc. * Changes to support SCO 3.2v4: * read.c (s_align_bytes, s_align_ptwo): If not SEG_DATA or SEG_BSS, fill with NOP_OPCODE. * config/i386coff.mt: Add opcode/i386.h to TARG_CPU_DEPENDENTS. * config/obj-coffbfd.c (do_relocs_for): Increment addr even if not using ZERO_BASED_SEGMENTS. (fill_section): If ZERO_BASED_SEGMENTS, set segment addresses, but never set segment address for SEG_E2 (.bss) and don't write out SEG_E2 contents. Set .init and .fini sections to STYP_TEXT. (obj_coff_endef): Don't merge labels or symbols awaiting forward definitions, and don't merge tags with non-tags. Check for .bf rather than just checking whether the second character is b and the third character is f. (obj_coff_val): gcc can generate values which we don't handle correctly; discard information for now, since it only affects the debugging information. (tag_find_or_name): Don't insert tags in the symbol table. (yank_symbols): Don't merge labels. (write_object_file): Don't define SUB_SEGMENT_ALIGN if it is already defined. Fill subsegments with NOP_OPCODE, not 0. Don't set segment address if ZERO_BASED_SEGMENTS. (obj_coff_section): Accept and ignore a trailing quoted string, as used in AT&T i386 syntax. (fixup_segment): Take segment as argument. On the i386, adjust PC relative addends by the segment vaddr. * tc-i386.h: Define SUB_SEGMENT_ALIGN. * tc-a29k.h: Define ZERO_BASED_SEGMENTS. * tc-i386.c: (i386_operand): If I386COFF, accept any segment type.
1992-11-23Ran "indent", for GNU coding style; some code & comments still need fixup.Ken Raeburn1-1455/+1658
Removed some unneeded files. configure.in: Don't look for te-386bsd.h, which doesn't exist...
1992-09-09Wed Sep 9 11:06:25 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-1/+7
* Makefile.in: use gas_target instead of modifying target_cpu. From Steve Chamberlain: Makefile.in: Handle m68*-*-coff*. read.c, read.h: add mult argument to s_space
1992-08-06 * read.c (s_fill): make the .fill size clamped error a warn andSteve Chamberlain1-2/+2
fix bug where 0's were always placed.
1992-06-24Wed Jun 24 10:57:54 1992 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain1-14/+14
* app.c (process_escape): new function to handle escapes the right way, (do_scrub_next_char): use new function * cond.c (s_ifdef): do ifdef/ifndef right * read.c (s_fill): make the , expressions optional like the doc says * config/tc-h8300.[ch]: better warnings
1992-06-04Thu Jun 4 11:59:13 1992 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain1-1265/+1479
* expr.c(expr): allow SEG_REGISTER in expressions. * read.c(pseudo_set): register expressions can be the source of a set. * subsegs.c (subseg_new): Now -R forces all changes to SEG_DATA to goto SEG_TEXT (if a.out) * write.c (write_object_file): If a.out don't use the old way for -R. * config/obj-a.out (s_sect): complain if the user tries to use a subsegment with a value which might interfere with out -R hackery. * config/tc-m68k.c (m68k_reg_parse): lookup names in symbol table rather than use ugly if tree. (init_regtable): insert register names into symbol table.
1992-02-21changes from Minh Tran-Le <TRANLE@INTELLICORP.COM> to support i386K. Richard Pixley1-18/+26
coff as it appears to be used on aix386.
1992-02-17fighting bitrot in a major wayK. Richard Pixley1-181/+70
1992-02-15White space and comment changes. #ifdef __STDC__ becomes #if __STDC__K. Richard Pixley1-3/+4
== 1. Get the declarations right in listing.[hc].
1992-02-13White space and comments only. The devo tree prior to this delta isK. Richard Pixley1-1006/+1050
tagged as "vanilla" for your convenience. There are also some comment changes.
1991-04-04Initial revisionK. Richard Pixley1-0/+2281