aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-bout.h
AgeCommit message (Collapse)AuthorFilesLines
1996-02-07update copyrightsIan Lance Taylor1-1/+2
1996-02-02 * write.c (write_relocs): Use S_IS_DEFINED and S_IS_COMMON ratherIan Lance Taylor1-0/+4
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-6/+6
* config/obj-bout.h (S_IS_LOCAL): Likewise.
1995-07-07 * app.c (do_scrub_next_char): Always accept \v. Don't make itIan Lance Taylor1-3/+0
conditional on BACKSLASH_V. * read.c (next_char_of_string): Likewise. * config/obj-bout.h (BACKSLASH_V): Don't define. * config/tc-mips.h (BACKSLASH_V): Don't define. PR 5604.
1995-07-06fsf address updateKen Raeburn1-1/+1
1995-05-04* stabs.c (get_stab_string_offset): Always define. If SEPARATE_STAB_SECTIONSKen Raeburn1-0/+2
isn't set, abort. (SEPARATE_STAB_SECTIONS): Default to zero. (aout_process_stab): New function, split out from s_stab_generic. (OBJ_PROCESS_STAB) [AOUT_STABS]: Define to call aout_process_stab, if not already defined. (s_stab_generic): Test SEPARATE_STAB_SECTIONS at run time. If it's not set, and OBJ_PROCESS_STAB isn't defined, abort. Always pass six arguments to OBJ_PROCESS_STAB. * config/obj-aout.h (AOUT_STABS): Define. * config/obj-bout.h (AOUT_STABS): Define.
1995-05-01* read.c (s_app_file): If obj_app_file is defined, call it with string as ↵Ken Raeburn1-0/+2
argument. Don't call c_dot_file_symbol or elf_file_symbol. * config/obj-coff.h (obj_app_file): Define as c_dot_file_symbol. * config/obj-elf.h (obj_app_file): Define as elf_file_symbol. * as.h (OUTPUT_FLAVOR): Don't define here. * config/obj-aout.h (OUTPUT_FLAVOR) [BFD_ASSEMBLER]: Define. * config/obj-bout.h (OUTPUT_FLAVOR): Define. * config/obj-coff.h (OUTPUT_FLAVOR) [BFD_ASSEMBLER]: Define. * config/obj-ecoff.h (OUTPUT_FLAVOR): Define. * config/obj-elf.h (OUTPUT_FLAVOR): Define.
1994-06-03 * as.h: Replace flagseen with separate variables.David MacKenzie1-1/+1
* as.c (parse_args): Set them. Don't accept -1 option, or -v explicitly (it's a synonym for --version). * as.c, input-scrub.c, messages.c, read.c, symbols.c, write.c, config/obj-aout.c, config/obj-aout.h, config/obj-bout.c, config/obj-bout.h, config/obj-coff.c, config/obj-coff.h, config/obj-vms.c, config/tc-hppa.c, config/tc-i386.c, config/tc-i960.c, config/tc-m68k.c, config/tc-mips.c, config/tc-vax.c: Use the new flag variables instead of flagseen. * config/tc-vax.c [OBJ_VMS]: Recognize -+, -1, -v, and document in usage.
1993-09-14Some more gcc lint, and:Ian Lance Taylor1-4/+9
* read.c (change_to_section): Removed. This is now done by subseg_new. (get_stab_string_offset): Rearranged somewhat. Create the section using subseg_new. Store the string index in seg_info, rather than in a static variable. Force the first string to be empty. Use frag_more rather than FRAG_APPEND_1_CHAR. (s_stab_generic): Rewrote. * subsegs.h (segment_info_type): Added stabu union. * subsegs.c (subseg_new): Initialize stab_string_size to 0. * config/obj-aout.c: Don't include aout/stab_gnu.h. (obj_aout_stab, obj_aout_desc): Removed. (obj_pseudo_table): Removed desc and stabX entries. * config/obj-bout.c: Same changes as config/obj-aout.c. * config/obj-bout.h (S_SET_TYPE): Define. (tc_bout_fix_to_chars): Declare. * config/obj-coff.c (obj_coff_stab): Removed. (obj_pseudo_table): Removed desc and stabX entries. * config/obj-coff.h (SEPARATE_STAB_SECTIONS): Define. * config/obj-coffbfd.c (current_stab_symbol): Removed. * config/obj-coffbfd.h (obj_symbol_type): Removed n_strx, n_type, n_other, n_desc and n_value fields. (S_{S,G}ET_{OFFSET,OTHER,TYPE,DESC}): Removed. (MAKE_STAB_SYMBOL): Removed. * config/obj-ecoff.c (obj_ecoff_stab): Renamed to ecoff_stab. Changed arguments and removed parsing code. (obj_pseudo_table): Removed stabX entries. * config/obj-ecoff.h (ecoff_stab): Declare. (OBJ_PROCESS_STAB): Define. * config/obj-elf.c: Don't include aout/stab_gnu.h. (obj_elf_stab, obj_elf_xstab, obj_elf_desc, elf_stab_symbol_string, elf_stab_symbol, obj_elf_stab_generic): Removed. (obj_pseudo_table): Removed desc, stabX and xstabs entries. (obj_elf_version): Use subseg_new, not bfd_make_section. Don't set SEC_LOAD for .note section. (adjust_stab_sections): Get frag pointer from seg_info, rather than looking through frags. * config/obj-elf.h (S_{S,G}ET_{OTHER,TYPE,DESC}): Removed. (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB): Define. * config/obj-vms.c (obj_aout_stab): Removed. (obj_pseudo_table): Removed stabX entries. * config/obj-vms.h (S_SET_TYPE): Define.
1993-07-14 * Changes to keep a full expression as the value of a symbol, notIan Lance Taylor1-4/+0
just a longword: * struc-symbol.h: New field sy_value. * as.h: Include expr.h before struc-symbol.h. * expr.h: Use struct symbol rather than symbolS. * symbols.c (S_GET_VALUE, S_SET_VALUE): Rewrote to retrieve value of sy_value field; compile unconditionally, not just if BFD_ASSEMBLER. * symbols.h: Compile S_{SG}ET_VALUE prototypes unconditionally. * write.c (write_object_file): Set BFD symbol value to gas symbol value. * config/obj-aout.h, config/obj-bout.h, config/obj-coff.h, config/obj-coffbfd.h, config/obj-generic.h, config/obj-vms.h (S_GET_VALUE, S_SET_VALUE): Removed macro definitions. * config/obj-ieee.c (S_GET_VALUE, S_SET_VALUE): Removed. * config/obj-coff.h, obj-coffbfd.h: Rewrote several macros to use S_GET_VALUE rather than ost_entry.n_value. * config/obj-aout.c (obj_symbol_to_chars), config/obj-bout.c (obj_symbol_to_chars), config/obj-coff.c (obj_symbol_to_chars), config/obj-coffbfd.c (symbol_to_chars): Get value to write out using S_GET_VALUE--don't assume it is already set. * config/obj-ieee.c (do_symbols): Set BFD symbol value to gas symbol value. * config/obj-vms.c (various): Don't assign directly to S_GET_VALUE; use S_SET_VALUE instead.
1993-05-25 * config/obj-bout.h (S_GET_VALUE): Removed unnecessary cast.Ian Lance Taylor1-1/+1
1993-01-04delete decls of segment_name, seg_nameKen Raeburn1-14/+0
1992-11-23Ran "indent", for GNU coding style; some code & comments still need fixup.Ken Raeburn1-63/+71
Removed some unneeded files. obj-coff.c (obj_coff_endef): Use as_warn, not fprintf. tc-m68k.c (md_assemble): 68000+68881 is okay -- could be emulating.
1992-08-29Fri Aug 28 16:25:22 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-5/+3
* obj-bout.h, obj-bout.c (obj_header_append, obj_symbol_to_chars), tc-i960.c (md_ri_to_chars): Always output bout object file in little endian byte order (used to use endianness of host).
1992-07-16 * write.c (fixup_segment): if relaxing, don't do anything.Steve Chamberlain1-6/+6
* config/obj-bout.[ch] : maintain the a_relaxable file header info * config/tc-i960.c: new option -linkrelax
1992-02-15White space and comment changes, and #ifdef __STDC__ becomes #ifK. Richard Pixley1-3/+3
__STDC__ == 1.
1992-02-13All files over ~5 lines get copylefted. All copylefted files getK. Richard Pixley1-1/+1
copylefted 1992.
1992-02-13remove all rcs keywordsK. Richard Pixley1-2/+0
1992-02-13White space and comments only. The devo tree prior to this delta isK. Richard Pixley1-38/+38
tagged as "vanilla" for your convenience. There are also some comment changes.
1991-11-06adjust STRIP_UNDERSCOREK. Richard Pixley1-6/+0
1991-10-26Fixed ".reserve", and added toolversion for sparc + some nitpicks.K. Richard Pixley1-2/+2
1991-08-14* no more relocation_info structures. We now squirt directly fromK. Richard Pixley1-3/+13
fixS's. * i960-bout and i960-coff "tested" against their predecessors.
1991-06-14Version 2 GPL.K. Richard Pixley1-1/+1
1991-05-18Buying into ../include and ../libiberty.K. Richard Pixley1-1/+1
1991-04-08CROSS_ASSEMBLE becomes CROSS_COMPILE to make config simpler. i386K. Richard Pixley1-3/+3
support for aout now tested against an installed customers sun4 cross. Added REVERSE_SORT_RELOCS.
1991-04-04Initial revisionK. Richard Pixley1-0/+312