aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
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
2000-04-25Cope with PE relocs.Alan Modra3-4/+9
2000-04-25Really fix last IA-64 gas testsuite failure.Jim Wilson4-14/+27
* gas/ia64/opc-i.d: Change pmin2.u to pmin2. Change pmax2.u to pmax2. Change MLI to MLX. Switch operands for output matching tbit.z.orcm, tbit.z.andcm, tbit.nz.orcm, tbit.nz.andcm, tnat.z.orcm, tnat.z.andcm, tnat.nz.orcm, tnat.nz.andcm inputs. * gas/ia64/opc-i.pl: Insert padding nops before last dep. * gas/ia64/opc-i.s: Regenerate.
2000-04-24Document behaviour of .align 0 for ARM targets.Nick Clifton4-9/+42
Remove incomplete v5e code from tc-arm.c
2000-04-24Fix last remaining IA-64 gas testsuite failure.Jim Wilson3-200/+27
* gas/ia64/opc-i.s: Regenerate. * gas/ia64/opc-f.pl: Add explicit stop at end.
2000-04-24 * obj-som.c: Terminate obj_pseudo_table.Jeff Law2-1/+6
2000-04-23Clean up F-unit assembly and tests.Timothy Wall5-13/+37
2000-04-21 * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.Jeff Law3-217/+227
* configure: Rebuilt.
2000-04-21 * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.Jeff Law2-2/+135
* config/tc-hppa.c (CHECK_ALIGN): New macro. Added handling of new operand types l,y,&,fe,fE,fx.
2000-04-21IA-64 ELF support.Jim Wilson56-0/+22111
2000-04-21 * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc whenRichard Henderson2-191/+195
bundling a non-delayed branch type instruction.
2000-04-20* config/tc-mn10300.c (HAVE_AM30): Define.Alexandre Oliva2-1/+8
(md_assemble): Use it.
2000-04-20Check for changed section attributes.Alan Modra2-38/+61
2000-04-19Fix the multi-obj dependency rules.Alan Modra3-82/+147
2000-04-19Get LEX,FLEX from configure.Alan Modra3-5/+13
2000-04-182000-04-18 H.J. Lu (hjl@gnu.org)H.J. Lu2-6/+11
* config/tc-i386.c (offset_in_range): Use addressT instead of bfd_vma for none bfd assemblers.
2000-04-1764 bit bfd fix.Alan Modra2-4/+14
2000-04-14Portability fixes.Alan Modra2-0/+8
2000-04-13Remove U suffix from constants for K&R compilers.Alan Modra2-6/+11
Fix a couple of 64 bit nits.
2000-04-12Apply patch to fix compuation of frag offsets for symbolsNick Clifton2-12/+38
2000-04-12Apply Andrew Cagney's patch to fix use of 'struct fix'.Nick Clifton3-3/+16
2000-04-10Fix 64-bit nits.Alan Modra2-64/+75
2000-04-09Add 'avr' to Makefile.amNick Clifton3-1/+52
Add M32R docs to as.texinfo
2000-04-09Remove ``-W -Wall'' from top-level Makefile/configure.Andrew Cagney5-622/+570
Add ``-W -Wall'' to sub-directories bfd, binutils, gas gprof, ld and opcodes by the addition of WARN_CFLAGS to Makefile.am and configury to set it. Add configure option --enable-build-warnings. Re-generate all and sundry using auto*-000227.
2000-04-08Add support for BFD_RELOC_{ARM|THUMB}_PCREL_BLX relocs.Nick Clifton2-1/+34
2000-04-05opcodes:Joern Rennecke2-1/+12
* sh-opc.c (sh_table): Use A_DISP_PC / PCRELIMM_8BY2 for ldre & ldrs. stc GBR,@-<REG_N> is available for arch_sh1_up. Group parallel processing insn with identical mnemonics together. Make three-operand psha / pshl come first. gas: * config/tc-sh.c (get_operands): There's no third operand if the first operand is an immediate.
2000-04-05sh-dsp REPEAT support:Joern Rennecke2-42/+145
opcodes: * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4. Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. (sh_arg_type): Add A_PC. (sh_table): Update entries using immediates. Add repeat. * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4. Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. gas: * config/tc-sh.c (immediate): Delete. (sh_operand_info): Add immediate member. (parse_reg): Use A_PC for pc. (parse_exp): Add second argument 'op'. All callers changed. (parse_at): Expect pc to be coded as A_PC. Use immediate field in *op. (insert): Add fourth argument 'op'. All callers changed. (build_relax): Add second argument 'op'. All callers changed. (insert_loop_bounds): New function. (build_Mytes): Remove DISP_4. Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. (assemble_ppi): Use immediate field in *operand. (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}. (md_apply_fix): Likewise. (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL. include/coff: * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): Define. include/elf: * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): New RELOC_NUMBERs. bfd: * reloc.c (_bfd_relocate_contents): Add BFD_RELOC_SH_LOOP_START and BFD_RELOC_SH_LOOP_END. * elf32-sh.c (sh_elf_howto_tab): Change special_func to sh_elf_ignore_reloc for all entries that sh_elf_reloc used to ignore. Add entries for R_SH_LOOP_START and R_SH_LOOP_END. (sh_elf_reloc_loop): New function. (sh_elf_reloc): No need to test for always-to-be-ignored relocs any more. (sh_rel): Add entries for BFD_RELOC_SH_LOOP_{START,END}. (sh_elf_relocate_section): Handle BFD_RELOC_SH_LOOP_{START,END}. * bfd-in2.h, libbfd.h: Regenerate.
2000-04-05* config/tc-sparc.c (sparc_ip): Avoid string pasting.Alexandre Oliva2-2/+5
2000-04-04 * internals.texi (CPU backend): DocumentHans-Peter Nilsson2-0/+11
TC_CHECK_ADJUSTED_BROKEN_DOT_WORD.
2000-04-04Move translated part of bug report string back into .c files soAlan Modra4-713/+735
xgettext can find it. Regnerate .pot files.
2000-04-04Use "gcc -MM" for dependencies, and update them.Alan Modra4-1380/+1630
2000-04-03* config/tc-mn10300.c (md_pseudo_table): Use constant names.Alexandre Oliva2-14/+25
(md_begin): Likewise. (HAVE_AM33): New macro. (md_assemble): Use it. Match r_regs and xr_regs only if HAVE_AM33.
2000-04-03Move bug report string to one place.Alan Modra5-3/+15
2000-04-03Add 16-bit immediate tests.Alan Modra3-301/+334
2000-04-03 * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,Hans-Peter Nilsson2-0/+9
call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after adjustments.