aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2000-05-26 * config/tc-sparc.c (sparc_relax): New.Jakub Jelinek2-1/+109
(md_longopts): Add -relax and -no-relax options. (md_parse_options, md_show_usage): Likewise. (md_apply_fix3): Optimize tail call into branch always if possible.
2000-05-25New short-conditional-branch packing rules for D10V.Donald Lindsay2-46/+93
2000-05-25IA-64 unwind info changes, fix errors, add missing pieces, and some cleanup.Jim Wilson3-328/+1191
* config/tc-ia64.c (dot_restorereg_p): New function. (md_pseudo_table): Add restorereg.p. ...
2000-05-23Oops. Forgot to say "configure: Regenerate".Hans-Peter Nilsson1-0/+1
2000-05-23 * configure.in (i386-*-freebsd a.out entry): Quote properly.Hans-Peter Nilsson3-1/+7
2000-05-23Missed copyright update in last patch.Alan Modra2-2/+2
2000-05-23Pass jump reloc in fr_var so it can be used inAlan Modra4-36/+46
md_estimate_size_before_relax, replacing old kludge.
2000-05-23 * config/tc-ia64.c (FUNC_PC_RELATIVE): New.Richard Henderson2-77/+153
(pseudo_func): Add pcrel. (operand_match): Handle IA64_OPND_TGT64. (build_insn): Likewise. (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE]. (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE. (fix_insn): Handle all three 64-bit relocation types.
2000-05-22 * obj.h (struct format_ops): New members begin, app_file,Hans-Peter Nilsson9-18/+289
s_set_other, s_set_desc, s_get_type, s_set_type, separate_stab_sections, init_stab_section. * config/obj-multi.h: Update GPL notice to v2. (obj_begin): New. (obj_app_file): New. (S_SET_SIZE): Test s_set_size for NULL before calling. (S_SET_ALIGN): Similar for s_set_align. (S_SET_OTHER): New. (S_SET_DESC): New. (S_GET_TYPE): New. (S_SET_TYPE): New. (SEPARATE_STAB_SECTIONS): New. (INIT_STAB_SECTION): New. (EMIT_SECTION_SYMBOLS): New. (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define. * config/obj-elf.h: Update GPL notice to v2. Mention that this file is included from obj-multi.h. (obj_begin): Wrap definition in ifndef. (elf_file_symbol): Constify declaration. (obj_app_file): Ditto. (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB): Wrap in ifndef SEPARATE_STAB_SECTIONS. * config/obj-elf.c (elf_s_set_other): New. (elf_file_symbol): Constify argument. (elf_separate_stab_sections): New. (elf_init_stab_section): New. (elf_format_ops): Add new members. Remove comma at end. * config/obj-ecoff.c (ecoff_separate_stab_sections): New. (ecoff_format_ops): Add new fields. Remove comma at end. Mention inconsistency for emit_section_symbols. * config/obj-coff.h (c_dot_file_symbol): Constify declaration. * config/obj-coff.c (c_dot_file_symbol): Constify argument. (coff_separate_stab_sections): New. (coff_format_ops): Add new members. * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New. (obj_aout_s_set_other): New. (obj_aout_s_set_desc): New. (obj_aout_s_get_type): New. (obj_aout_s_set_type): New. (obj_aout_separate_stab_sections): New. (aout_format_ops): New members added. Use obj_aout_process_stab, not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0. (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as appropriate. (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
2000-05-22Keep a reloc for jumps to weak and external symbols.Alan Modra2-10/+23
2000-05-21 * stabs.c (aout_process_stab): Make global.Hans-Peter Nilsson6-223/+245
(s_desc): Add ATTRIBUTE_UNUSED to args as appropriate. * read.h (aout_process_stab): Declare. * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]: Generalize to *aout, *coff *elf. * configure: Regenerated. * doc/internals.texi (Object format backend): Say SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
2000-05-21 * gas/elf/elf.exp: Exclude *-*-linux*coff* as non-elf.Hans-Peter Nilsson2-0/+5
2000-05-20 * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.Hans-Peter Nilsson3-2/+5
* Makefile.in: Regenerated.
2000-05-19 * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.Catherine Moore2-0/+6
2000-05-19 * config/tc-hppa.c (md_apply_fix): Mask out immediate bits ofJeff Law2-4/+9
instruction to reflect change in re_assemble_*.
2000-05-18 * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, thenJeff Law3-235/+226
build PA64 ELF tools. * configure: Rebuilt.
2000-05-17Update dependencies.Alan Modra3-1354/+1637
2000-05-15Add support for _x and _s flags to MSR instructionNick Clifton4-138/+200
2000-05-14Apply David O'Brien's comment patch.Phil Blundell17-68/+65
2000-05-14Kazu Hirata's output reloc for mov.Alan Modra2-17/+27
Don't rely on short being 16 bits.
2000-05-14New fileAlan Modra2-0/+34
2000-05-13Quell some gcc warnings by defining textdomain and bindtextdomainAlan Modra2-6/+9
as intl/libgettext.h does.
2000-05-13Add x86 gas -q option to quiet some x86 gas warnings.Alan Modra4-56/+75
Remove useless -m flag_do_long_jump from x86 gas. If BFD_ASSEMBLER, store --defsym value in a bfd_vma, and use scan_bfd_vma.
2000-05-13`.arch cpu_type' pseudo for x86.Alan Modra4-116/+255
2000-05-12* config/tc-mn10300.h (md_end): Define.Alexandre Oliva3-1/+40
(mn10300_finalize): Declare. * config/tc-mn10300.c: Include dwarf2dbg.h. (debug_line): Define. (md_assemble): Generate dwarf2 line info. (mn10300_finalize): New function. Finalize dwarf2 info.
2000-05-11Ulf Carlsson's patches:Alan Modra5-10/+34
Include *-*-linux* in svr4pic tests Test weak symbol handling.
2000-05-11(md_estimate_size_before_relax): Use the external version ofAlan Modra2-1/+11
the relocation for weak symbols.
2000-05-09Unwind info bug fixes from David Mosberger.Jim Wilson2-7/+13
* config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed frame size in units of 16 bytes, as required per SW Conventions manual. (output_unw_records): Output info-block header as a dword to get byte-order right.
2000-05-08Michael Sokolov's 68000 patches + assorted compiler warning fixes.Alan Modra3-47/+71
2000-05-08Fix breakage from 2000-03-31 bfd/srec.c change.Alan Modra2-2/+6
2000-05-04Just mention current year in printed copyright message.Alan Modra2-2/+6
2000-05-03* config/tc-ppc.c (pre_defined_registers): Add entries for vectorJ.T. Conklin2-1/+78
unit registers. (md_parse_option): Recognize -m7400.
2000-05-03 * config/atof-ieee.c (gen_to_words): When adding carry back in,Ian Lance Taylor2-2/+9
don't permit lp to become less than the words array.
2000-05-03Fix little endian relocsNick Clifton2-25/+24
2000-05-03Update copyright message.Alan Modra2-1/+6
2000-05-03go32 bss alignment.Alan Modra2-0/+6
2000-05-02Assorted code cleanup and fixes for hppa. Re-enable elf32-hppa asAlan Modra10-274/+201
it now compiles even if it doesn't work too well.
2000-05-01Duplicate hppa*-*-*elf* behaviour for hppa*-*-linux*.Alan Modra10-48/+67
Fix elf tests for targets that define LABELS_WITHOUT_COLONS.
2000-05-01Fix tests to remove leading zeroes from labelsNick Clifton3-52/+57
2000-05-01* macro.c (macro_expand_body): Don't prepend macro number with zeroes.Catherine Moore2-1/+5
2000-05-01 * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.Denis Chertykov2-59/+62
More comments added. (md_begin): Removed "construct symbols for each register name". Because register names conflicts with GCC generated function names. (avr_operand): Now constant numbers can be used as a register identifiers (0 as r0, 31 as r31). (md_assemble): use skip_space () before parsing instruction operands.
2000-05-01 * config/tc-avr.c: New AVR_ISA_ defined.Denis Chertykov2-48/+197
(md_assemble): Handle opcodes with optional operands (lpm,elpm). (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed for `fmul', `movw' and `lpm R,Z' instructions. (avr_operands): Warn if current opcode is a two-word instruction and previous opcode was cpse/sbic/sbis/sbrc/sbrs. (avr_opcodes): New commands added. (REGISTER_P): Check 'a' and 'v' constraint letters. (mcu_types): New MCU added.
2000-05-01Ensure all pe targets use bfd.Alan Modra3-212/+230
2000-04-29Correctly check gcc version.Alan Modra2-2/+6
2000-04-26 Add XCOFF64 support.Clinton Popetz5-24/+94
bfd: * Makefile.am (coff64-rs6000.lo): New rule. * Makefile.in: Regenerate. * coff-rs6000.c (xcoff_mkobject, xcoff_copy_private_bfd_data, xcoff_is_local_label_name, xcoff_rtype2howto, xcoff_reloc_type_lookup, xcoff_slurp_armap, xcoff_archive_p, xcoff_read_ar_hdr, xcoff_openr_next_archived_file, xcoff_write_armap, xcoff_write_archive_contents): No longer static, and prefix with _bfd_. (NO_COFF_SYMBOLS): Define. (xcoff64_swap_sym_in, xcoff64_swap_sym_out, xcoff64_swap_aux_in, xcoff64_swap_aux_out): New functions; handle xcoff symbol tables internally. (MINUS_ONE): New macro. (xcoff_howto_tabl, xcoff_reloc_type_lookup): Add 64 bit POS relocation. (coff_SWAP_sym_in, coff_SWAP_sym_out, coff_SWAP_aux_in, coff_SWAP_aux_out): Map to the new functions. * coff64-rs6000.c: New file. * libcoff.h (bfd_coff_backend_data): Add new fields _bfd_coff_force_symnames_in_strings and _bfd_coff_debug_string_prefix_length. (bfd_coff_force_symnames_in_strings, bfd_coff_debug_string_prefix_length): New macros for above fields. * coffcode.h (coff_set_arch_mach_hook): Handle XCOFF64 magic. Set machine to 620 for XCOFF64. Use bfd_coff_swap_sym_in instead of using coff_swap_sym_in directly. (FORCE_SYMNAMES_IN_STRINGS): New macro, defined for XCOFF64. (coff_set_flags) Set magic for XCOFF64. (coff_compute_section_file_positions): Add symbol name length to string section length if bfd_coff_debug_string_prefix_length is true. (coff_write_object_contents): Don't do reloc overflow for XCOFF64. (coff_slurp_line_table): Use bfd_coff_swap_lineno_in instead of using coff_swap_lineno_in directly. (bfd_coff_backend_data): Add _bfd_coff_force_symnames_in_strings and _bfd_coff_debug_string_prefix_length fields. * coffgen.c (coff_fix_symbol_name, coff_write_symbols): Force symbol names into strings table when bfd_coff_force_symnames_in_strings is true. * coffswap.h (MAX_SCNHDR_NRELOC, MAX_SCNHDR_NLNNO, GET_RELOC_VADDR, SET_RELOC_VADDR): New macros. (coff_swap_reloc_in, coff_swap_reloc_out): Use above macros. (coff_swap_aux_in, coff_swap_aux_out): Remove RS6000COFF_C code. (coff_swap_aouthdr_in, coff_swap_aouthdr_out): Handle XCOFF64 changes within RS6000COFF_C specific code. (coff_swap_scnhdr_out): Use PUT_SCNHDR_NLNNO, PUT_SCNHDR_NRELOC, MAX_SCNHDR_NRELOC, and MAX_SCNHDR_NLNNO. * reloc.c (bfd_perform_relocation, bfd_install_relocation): Extend existing hack on target name. * xcofflink.c (XCOFF_XVECP): Extend existing hack on target name. * coff-tic54x.c (ticof): Keep up to date with new fields in bfd_coff_backend_data. * config.bfd: Add bfd_powerpc_64_arch to targ_arch and define targ_selvecs to include rs6000coff64_vec for rs6000. * configure.in: Add rs6000coff64_vec case. * cpu-powerpc.c: New bfd_arch_info_type. gas: * as.c (parse_args): Allow md_parse_option to override -a listing option. * config/obj-coff.c (add_lineno): Change type of offset parameter from "int" to "bfd_vma." * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine." (ppc_mach, ppc_subseg_align, ppc_target_format): New. (ppc_change_csect): Align correctly for XCOFF64. (ppc_machine): New function, which discards "ppc_machine" line. (ppc_tc): Cons for 8 when code is 64 bit. (md_apply_fix3): Don't check operand->insert. Handle 64 bit relocations. (md_parse_option): Handle -a64 and -a32. (ppc_xcoff64): New. * config/tc-ppc.h (TARGET_MACH): Define. (TARGET_FORMAT): Move to function. (SUB_SEGMENT_ALIGN): Use ppc_subseg_align. include: * include/coff/rs6k64.h: New file. opcodes: * configure.in: Add bfd_powerpc_64_arch. * disassemble.c (disassembler): Use print_insn_big_powerpc for 64 bit code.
2000-04-25Remove '/' from comment_chars for FreeBSD so divide operator works.Alan Modra3-4/+12
Fix as.1 typo.
2000-04-25Mention IA-64.Jim Wilson1-0/+4
2000-04-25 * configure.in: Configury support for PA64 (currently disabled).Jeff Law3-166/+191
* configure: Rebuilt.
2000-04-25Use record_alignment, not bfd_set_section_alignment.Alan Modra2-2/+7
2000-04-25Keep shift count smaller than 32.Alan Modra2-2/+7