aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
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
1993-11-30 * config/obj-ecoff.c (ecoff_frob_file): Don't call bfd_set_symtab.Ian Lance Taylor1-0/+4
1993-11-28 * gas/hppa/more.parse/appbug.s: New test.Jeff Law7-0/+13
* gas/hppa/more.parse/parse.exp: Run it.
1993-11-28 * app.c (do_scrub_next_char): Output a TAB before anyJeff Law1-0/+3
.app* directive.
1993-11-28 * config/tc-hppa.c (fix_new_hppa): Make sure a sub_symbolJeff Law2-52/+10
exists before trying to peek at its name. (pa_space): Do not call pa_align_subseg. See hppa/unsorted/align3.s for testcase. (pa_align_subseg): Delete unused/unwanted function.
1993-11-28 * gas/hppa/unsorted/align3.s: New test.Jeff Law3-0/+26
* gas/hppa/unsorted/unsorted.exp: Run it.
1993-11-28Fix typo in last change.Jeff Law1-1/+1
1993-11-28 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define.Jeff Law1-5/+13
1993-11-28 * read.c (read_a_source_file): Fix test for when to stick a colonJeff Law3-374/+43
on the end of a label. Make code conditional on either MRI or LABELS_WITHOUT_COLONS. * app.c (do_scrub_next_char): If a line begins with whitespace, leave the single whitespace character alone. Eat all others. * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define.
1993-11-28 * gas/all/p2425.s: Insert a tab before assembler directives soJeff Law1-0/+11
that the directives are not interpreted as labels. * gas/hppa/basic/weird.s: Sync with GDB version. * gas/hppa/more.parse/labelbug.s: New test. * gas/hppa/more.parse/parse.exp: Run it.
1993-11-28 * gas/hppa/more.parse/labelbug.s: New test.Jeff Law6-0/+44
* gas/hppa/more.parse/parse.exp: Run it.
1993-11-24 * gas/hppa/reloc/fixupbug.s: New test.Jeff Law4-0/+61
* gas/hppa/reloc/reloc.exp: Run it.
1993-11-24 * gas/hppa/reloc/exitbug.s: New test.Jeff Law4-7/+74
* gas/hppa/reloc/reloc.exp: Run it.
1993-11-24 * config/tc-hppa.c (pa_procend): Do not call process_exit.Jeff Law2-9/+8
(exit_processing_complete): Delete unwanted variable and all references.
1993-11-24 * ecoff.c (ecoff_setup_ext): Renamed from ecoff_build_ext.Ian Lance Taylor3-4914/+254
Changed to not actually build the external symbol information, as that is now done by the ECOFF back end. (ecoff_build_debug): Changed accordingly. * ecoff.h (obj_ecoff_set_ext): Declare. obj-format.c function called by ecoff_setup_ext. * config/obj-ecoff.c (ecoff_frob_file): If debug_info count is 0, set corresponding pointer to NULL. Don't set raw_size and raw_syments. (obj_ecoff_set_sym_index): Removed. (obj_ecoff_set_ext): New function. * config/obj-ecoff.h (obj_set_sym_index): Don't define. (obj_ecoff_set_sym_index): Don't declare. * config/obj-elf.c (obj_ecoff_set_ext, elf_get_extr, elf_set_index): New functions used for ECOFF_DEBUGGING. (elf_frob_file): Reworked ECOFF debug generation to use new functions in bfd/ecofflink.c.
1993-11-22 * gas/hppa/reloc/reloc.exp: Minor fixes so that SOM & ELF canJeff Law1-1/+1
share the same test code. * gas/hppa/reloc/relocreduce.s: Likewise.
1993-11-22 * gas/hppa/basic/fmem.s: Add quadword FP store instructions.Jeff Law1-0/+8
* gas/hppa/basic/basic.exp: Test quadword FP store instructions.
1993-11-22Add stabs.c to things-to-keep.Jeff Law1-1/+5
1993-11-19 * config/obj-coffbfd.c: Use PARAMS rather than EXFUN.Ian Lance Taylor2-25/+30
(yank_symbols): Don't call S_SET_EXTERNAL if the storage class is already set. Fixes .def var; .val external_var; .scl 3; .endef. (adjust_stab_section): Make static. Declare return type. Remove unused variables. * config/tc-i386.h: Declare tc_coff_fix2rtype and tc_coff_sizemachdep.
1993-11-19sparc-coff related changesKen Raeburn1-0/+38
1993-11-18Get ECOFF gas to work again after this morning's checkins.Ian Lance Taylor1-1/+1
1993-11-18Various entries.Ian Lance Taylor1-0/+129
1993-11-18 * config/tc-mips.c: Check ECOFF_DEBUGGING rather thanIan Lance Taylor1-635/+1462
OBJ_ECOFF in many cases. (mips_any_noreorder): New variable. (mips_cprestore_offset): Initialize to -1. (mips_frame_reg): New variable. (RELAX_ENCODE, RELAX_OLD, RELAX_NEW, RELAX_RELOC1, RELAX_RELOC2, RELAX_RELOC3, RELAX_WARN): New macros. (md_pseudo_table): Handle "gpword" and "cpadd". (md_begin): Initialize ok to false. If OBJ_ELF, set alignment of text, data and bss sections to 4. Set alignment of .reginfo section to 2. If ECOFF_DEBUGGING, create .mdebug section. (ALIGN_ERR, ALIGN_ERR2): Removed unused and useless alignment check. (append_insn, macro_build, macro_build_lui): Take place argument. Changed all callers. (append_insn): If appending a nop, don't emit one. (macro_build): Changed assertion for 'i', 'j', 'o' case. (gp_reference): Removed. (load_address): New function. (macro): If mips_noreorder is used, set mips_any_noreorder. Extensive changes to handle GP and PIC symbols differently. Build both possible code choices using a variant frag, and make a final decision at the end of assembly when all information is known. Added PIC support for all symbol references. (mips_ip): Don't permit anything but a number after $ for a coprocessor register. Don't use .lit4 or .lit8 sections when generating PIC code. If OBJ_ELF, set alignment of .lit4 or .lit8 section to 4. (md_apply_fix): Accept and ignore GOT16 and GPREL32 relocs. (s_change_sec): Set alignment of ELF .rodata or .sdata section to 4. (s_mipsset): If .set noreorder, set mips_any_noreorder. (s_cpload): Ignore .cpload if not generating PIC code. Warn if .cpload is not in noreorder section. (s_cprestore): Ignore .cprestore if not generating PIC code. (s_gpword, s_cpadd): New functions. (tc_get_register): Added frame argument; if true, set mips_frame_reg to return value. Changed all callers. (md_estimate_size_before_relax): Don't error out, but instead determine how much a frag should grow. (tc_gen_reloc): Return multiple relocs if appropriate, as determined by md_estimate_size_before_relax. (md_convert_frag): New function. (mips_elf_final_processing): Set ELF header flags based on mips_any_noreorder and mips_pic. * config/tc-mips.h (RELOC_EXPANSION_POSSIBLE): Define. (MAX_RELOC_EXPANSION): Define to be 3. (md_relax_frag): Define to be 0. (md_convert_frag): Don't define. (tc_get_register): Changed declaration.
1993-11-17 * configure.in (mips-*-irix5*): New target. Use elf and mips-big.Ian Lance Taylor1-1/+1
1993-11-17 * Makefile.in (REAL_SOURCES): Added ecoff.c.Ian Lance Taylor1-2/+11
(REAL_HEADERS): Added ecoff.h. (OBJS): Added ecoff.o. (ecoff.o): New target.
1993-11-17New files for ECOFF debugging split out of config/obj-ecoff.c.Ian Lance Taylor2-1/+4940
1993-11-17 * write.c (is_dnrange): Do not define if md_relax_frag is defined.Ian Lance Taylor1-34/+38
(relax_segment): If md_relax_frag is defined, use it to handle a frag of type rs_machine_dependent rather than looking through md_relax_table. * write.c (relax_and_size_seg): Don't set SEC_HAS_CONTENTS for a bss section. Set SEC_RELOC if there are any relocations, even for a zero size section. * write.c (write_relocs): In RELOC_EXPANSION_POSSIBLE case, based data offset on reloc[0]->address rather than reloc[j]->address, so that multiple relocs can affect different memory locations. * write.c (chain_frchains_together, relax_and_size_seg, adjust_reloc_syms, write_relocs): Make third argument PTR, not char *, to match definition of bfd_map_over_sections.
1993-11-17 * read.c (read_a_source_file): If we find a bad pseudo-op,Ian Lance Taylor1-16/+14
do a continue to go on to the next line rather than a break. Removed duplicate bad pseudo-op code which was never executed. * read.c (s_lcomm): Do not require a comma after the name. * read.c (s_lcomm): Set bss flag for .sbss section if used.
1993-11-17 * config/tc-hppa.c (pa_ip): Fix thinko in 21bit range check.Jeff Law2-129/+141
1993-11-13 * config/tc-hppa.[ch]: Fix assorted trivial indention problems.Jeff Law1-0/+1
1993-11-13 * config/obj-som.c (obj_som_version): Add missing ';'.Jeff Law1-0/+5
(som_frob_file): Delete whitespace at EOL.
1993-11-12version number updated following 2.2 releaseKen Raeburn1-0/+4
1993-11-12 * config/tc-hppa.c (hppa_fix_struct): Use a real type for theJeff Law2-7/+29
field selector, rather than an int. All uses of field selectors fixed. (tc_gen_reloc): For SOM PLABELs, always set addend to zero for now. (md_apply_fix_1): Do not call hppa_field_adjust for any PLABEL field.
1993-11-11 * config/tc-hppa.c (pa_type_args): For .import statements,Jeff Law2-2/+16
silently ignore attempt to change the symbol type for a function from ST_ENTRY to ST_CODE on .import
1993-11-10 * write.h (fixS): Rename fx_callj field to fx_tcbit.Ian Lance Taylor2-2/+8
* write.c, config/obj-coff.c, config/obj-coffbfd.c, config/tc-i960.c: Corresponding changes.
1993-11-09 * Makefile.in (distclean): Delete config-stamp and config.hJeff Law2-32/+44
1993-11-09 * config/tc-hppa.c (evaluate_absolute): Avoid relying onJeff Law2-1/+5
ANSI-C features.
1993-11-09 * config/tc-hppa.c (pa_type_args): Renamed from pa_export_args.Jeff Law2-497/+379
Accept new argument "is_export". All callers changed. When processing a .export directive for a function, do not allow the user to set the type to "CODE", instead warn and set the type to "ENTRY".
1993-11-08 * config/tc-mips.c (mips_ip, printInsn): Handle 'k' (from TedIan Lance Taylor2-108/+360
Lemon <mellon@pepper.ncd.com>). (mips_ip): Permit odd numbered floating point registers if -mips3.
1993-11-08* configure.in: Remove h8300h, we have multilib now.David Edelsohn1-0/+4
1993-11-08netware target support.David Henkel-Wallace2-7/+30
1993-11-07 * First cut at cleaning up PA instruction parsing.Jeff Law1-0/+18
* config/tc-hppa.c (pa_get_absolute_expression): Accept pointer to insn structure as an argument, and a pointer to a string. All callers changed. Always read any field selector here. Call evaluate absolute to get a return value. (evaluate_absolute): Addept pointer to insn structure as its argument. All callers changed. (INSERT_FIELD_AND_CONTINUE): New macro for inserting a bitfield into an instruction and continuing the main pa_ip loop. (CHECK_FIELD): New macro for simple range checking of fields. (pa_ip): Delete unused variables. Use INSERT_FIELD_AND_CONTINUE and CHECK_FIELD. All immediate fields now pass through pa_get_absolute_expression which will also handle field selectors. Delete dead code. Simplify. (md_apply_fix_1): Use CHECK_FIELD to verify any fixes that are applied are in range. Use bfd_put_32 rather than inserting each byte of the fixed instrution into the buffer ourselves.
1993-11-07 * write.c (fixup_segment): Delete {SEG,GLOBAL}_DIFF_ALLOWED code,Jeff Law1-0/+8
it was PA specific and is no longer needed (it's now handled within the PA backend). * config/tc-hppa.h (SEG_DIFF_ALLOWED): Delete definition. * config/tc-hppa.c (fix_new_hppa): If the subtract symbol for a fixup is $global$ change it to NULL as $global$ is really only needed long enough to determine the base type of relocation to use.
1993-11-07 * config/tc-hppa.h (SEG_DIFF_ALLOWED): Delete definition.Jeff Law1-0/+6
* config/tc-hppa.c (fix_new_hppa): If the subtract symbol for a fixup is $global$ change it to NULL as $global$ is really only needed long enough to determine the base type of relocation to use.
1993-11-07 * config/tc-hppa.c (create_new_subspace): Initialize subspace_defined.Jeff Law2-0/+6
1993-11-07 * config/tc-hppa.c (pa-ip, case 'z'): Make field selectors workJeff Law2-1/+8
for 'z' operands (target of ble branch).