aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1993-09-16 * tc.h: Declare tc_gen_reloc differently depending upongIan Lance Taylor2-11/+50
RELOC_EXPANSION_POSSIBLE. * config/obj-elf.c (obj_elf_section): Only set flags when first creating the section.
1993-09-14 * config/obj-elf.c (obj_elf_data, obj_elf_text): New functions;Ian Lance Taylor1-0/+9
set previous_section and previous_subsection and then call s_data and s_text, respectively. (obj_pseudo_table): Add data and text. (obj_elf_section): Add SEC_LOAD to default initialization of flags. Treat .rodata1 like .rodata. Set SEC_LOAD as well as SEC_ALLOC for "alloc" string. Don't bother trying to find the section; just use subseg_new.
1993-09-14Some more gcc lint, and:Ian Lance Taylor9-821/+116
* 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-09-13 * subsegs.c: Renamed non-BFD_ASSEMBLER subseg_new to subseg_set.Ian Lance Taylor16-547/+729
Wrote non-BFD_ASSEMBLER subseg_new. Now subseg_new always takes a section name, and subseg_set always takes a segT. Changed all callers as appropriate. * config/obj-coffbfd.c (change_to_section): Renamed to obj_coff_add_segment. Corrected. Made callers use subseg_new. * config/obj-coffbfd.h (obj_segment_name, obj_add_segment): Define. Also some more gcc warning removal.
1993-09-13config/tc-sparc.h (LOCAL_LABEL): Remove test for name[0] == 'L'.David Edelsohn1-7/+70
1993-09-11More gcc lint with harsher warning options.Ian Lance Taylor3-26/+14
1993-09-10gcc lint. See ChangeLog for details. Also:Ian Lance Taylor15-817/+897
* config/obj-elf.h (S_SET_SIZE): Actually set the size.
1993-09-09gcc -Wall cleanups from UtahKen Raeburn2-33/+26
1993-09-09 * read.c (get_stab_string_offset, s_stab_generic): IfIan Lance Taylor2-4/+13
BFD_ASSEMBLER, call subseg_set rather than subseg_new.
1993-09-08 * config/obj-elf.c (obj_elf_section): Set SEC_LOAD when usingIan Lance Taylor2-2/+7
default flag values.
1993-09-08Add missing ifdef to make m68k-aout targets happy.Stan Shebs2-0/+4
1993-09-07Changes to support stabs-in-coffStan Shebs6-95/+536
1993-09-03PA and ELF changesKen Raeburn1-0/+64
1993-09-03obj-elf.h changeKen Raeburn1-0/+5
1993-09-03more Utah changes, some cleanup of mineKen Raeburn3-380/+537
1993-09-03(elf_symbol): Fixed name of elf_symbol_type.Ken Raeburn1-8/+9
No longer conditionalized on sparcv9.
1993-09-02Reverted previous change, and added this one instead:Ian Lance Taylor2-15/+20
* config/tc-mips.c (macro_build): Accept 'z', and ignore it. (macro): Use "z,s,t" for div instructions to match corresponding change in opcode table. (mips_ip): Added 'z'--must be zero register.
1993-09-02 * config/tc-mips.c (macro): If $0 is destination of divide, justIan Lance Taylor2-0/+40
generate the simple machine instruction, for compatibility with the MIPS assembler.
1993-09-01write.c, configure.in changesKen Raeburn1-0/+8
1993-09-01(write_relocs) [RELOC_EXPANSION_POSSIBLE]: Declare tc_gen_reloc correctly.Ken Raeburn1-69/+70
1993-09-01Deleted explicit "return" statements without values at the ends of functions.Ken Raeburn1-15/+20
1993-09-01add an alias for data section typeK. Richard Pixley2-0/+15
1993-08-25recognize m88110K. Richard Pixley1-0/+4
1993-08-25more hppa elf support from utahKen Raeburn1-0/+93
1993-08-23 * config/tc-mips.c (set_at): Added unsignedp argument. UseIan Lance Taylor2-250/+313
load_register. (set_at_unsigned): Removed; changed callers to use set_at. (load_register): Removed unused ip argument. Changed callers. (append_insn): Don't swap branch and branch likely. (macro_build): Handle 'u'. (load_register): Handle 64 bit constants. (macro): Added M_DABS, removed M_ABSU. Numerous changes to support 64 bit constants. (mips_ip): Use hex constants in range checks for clarity. (md_number_to_chars): Support 8 byte values.
1993-08-20comments for tc-m88k.h changeK. Richard Pixley1-0/+5
1993-08-20updated copyrights, declare TC_CONS_RELOCK. Richard Pixley1-1/+2
1993-08-20 * config/tc-mips.c (mips_isa): New static variable.Ian Lance Taylor2-148/+688
(md_begin): Initialize mips_isa based on TARGET_CPU. Don't sanity check macros. Set text alignment and GP size here. (md_assemble): Don't set text alignment and GP size here. (append_insn): Don't insert NOPs for load delays if mips_isa >= 2. Use the right mask and shift for WRITE_FPR_T and WRITE_FPR_S. Add a NOP after a branch likely. (mips_emit_delays): Don't insert NOPS for load delays if mips_isa >= 2. (macro): Support r6000 and r4000 macros. (mips_ip): Check insn ISA level against mips_isa before using it. Added 'x' case for ignored register. (md_parse_option): Handle -mipsN and -mcpu=XX.
1993-08-20tc-i386, tc-sparc, obj-elf, tc.h changesKen Raeburn1-0/+33
1993-08-20* tc-sparc.c (s_local): Function moved and renamed...Ken Raeburn1-0/+166
* obj-elf.c (obj_elf_local): ...to here. * tc-sparc.c (md_pseudo_table), obj-elf.c (obj_pseudo_table): Move handling of ".local".
1993-08-19* tc-i386.h (NO_RELOC) [BFD_ASSEMBLER]: Define as BFD_RELOC_NONE.Ken Raeburn1-32/+43
(md_parse_option): New macro, converted from function. * tc-i386.c (md_parse_option): Function deleted. (comment_chars) [OBJ_ELF]: Include "/". (line_comment_chars) [OBJ_ELF || TE_I386AIX]: Don't include "/". (md_assemble): Cast 0xe9 to char explicitly, to avoid compiler warning. (md_assemble, md_estimate_size_before_relax, md_create_long_jump): Call reloc for fix_new type, or use correct enumerator, instead of always using NO_RELOC. (i386_operand): Change "ifndef I386COFF" to "ifdef OBJ_AOUT" for tests for valid section. (md_convert_frag) [BFD_ASSEMBLER]: Compensate for frag start address. (md_apply_fix_1) [BFD_ASSEMBLER]: For pc-relative reloc with symbol, compensate for location of reloc. (reloc, BFD_RELOC_32, BFD_RELOC_32_PCREL) [!BFD_ASSEMBLER]: Define to return zero.
1993-08-18remove rcs cruftDavid D. Zuhn1-51/+0
1993-08-18obj-elf, write, symbols, read changesKen Raeburn1-0/+24
1993-08-18Undef NO_RELOC before including aout/aout64.h.Ken Raeburn1-2/+48
(obj_elf_weak): New function. (obj_pseudo_table): Handle ".weak". (obj_elf_section): If section directive includes a string, ignore it for now. Accept "progbits" flag. (obj_elf_type): Accept `@' before flag name.
1993-08-18(potable): Treat "string" like "asciz".Ken Raeburn1-7/+8
1993-08-18updated to-do listKen Raeburn1-4/+23
1993-08-18 * config/tc-mips.c (append_insn): Don't swap branch instructionsIan Lance Taylor2-32/+148
if .set nobopt or .set volatile. (gp_reference): .lit8 and .lit4 are accessed via the GP register. (macro): Added cases M_LI_S, M_LI_SS. Fixed M_LI_D and M_LI_DD. (mips_ip): Added cases 'F', 'L', 'f', 'l' for floating point. * config/obj-ecoff.c: Renamed some variables to avoid shadow warnings.
1993-08-16use coffbfd for z8kDavid D. Zuhn1-0/+5
1993-08-12 * config/tc-mips.c (mips_ip): Suggested byIan Lance Taylor2-46/+96
davidj@ICSI.Berkeley.EDU (David Johnson): Don't accept symbolic names for 'E' and 'G' argument types (coprocessor registers) and don't warn if $1 is used on the coprocessor.
1993-08-09 * write.c (merge_data_into_text): Define only if BFD_ASSEMBLER isKen Raeburn1-0/+6
defined or BFD is not. (relax_and_size_all_segments): Declare local variable fragP.
1993-08-06changes to write.c, obj-elf.c, tc-sparc.cKen Raeburn1-0/+12
1993-08-06v9 changesKen Raeburn1-0/+6
1993-08-06 * configure.in (mips-*-riscos*, mips-*-sysv*): New (untested)Ian Lance Taylor1-0/+3
targets, using ecoff and mips-big.
1993-08-06(md_apply_fix): Fill in values for BFD_RELOC_{32,64}, not zeros.Ken Raeburn1-12/+15
(md_pseudo_table): Handle .uaxword.
1993-08-06 * config/tc-mips.c (mips_ip): From davidj@ICSI.Berkeley.EDU (DavidIan Lance Taylor1-0/+5
Johnson): Added case for 'C' for coprocessor instruction codes.
1993-08-05(write_object_file): Test DEBUG_SYMS instead of DEBUG for verifying sym chain.Ken Raeburn1-121/+131
(merge_data_into_text, relax_and_size_all_segments): New fns, split out from write_object_file.
1993-08-05read.c change; yesterdays elf/sparc changesKen Raeburn1-0/+22
1993-08-05(emit_expr): Use BFD_RELOC_64 fr 8-byte expressions.Ken Raeburn1-6/+14
1993-08-04v9 changesKen Raeburn1-0/+6
1993-08-04* obj-elf.c (obj_elf_stab_generic, in disabled code): IfKen Raeburn2-46/+131
debug section is new, allocate an extra 12 bytes at its start. If ".stabs" type is N_SO, fill in filename symbol field of that first entry. Return early if "goof", to simplify later code slightly. (adjust_stab_sections): New function. (elf_frob_file): Apply adjust_stab_sections to each section. * obj-elf.c (obj_elf_section, obj_elf_previous): No longer static. * obj-elf.h (obj_elf_section, obj_elf_previous): Declare. * tc-sparc.c (md_pseudo_table): Call them for "pushsection" and "popsection", and call cons for "uaword" and "uahalf". * obj-elf.c (obj_elf_version): Use English in error messages. * tc-sparc.c (md_apply_fix, case BFD_RELOC_64): New case, parallel to BFD_RELOC_32. (tc_gen_reloc): Accept BFD_RELOC_64.