aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
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.
2000-04-03Correct 2000-02-26 change.Alan Modra2-4/+11
2000-04-02 * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bitRichard Henderson2-15/+26
quantities. Correct right shift sign extension. (build_insn): Make `number' unsigned long. Mask top 6 bits of 32-bit value when shifting into place.
2000-04-02 * app.c: Add ATTRIBUTE_UNUSED as needed.Ian Lance Taylor3-15/+22
* config/tc-ppc.c: Likewise. (ppc_size): Make unsigned long. (ppc_insert_operand): Add casts to avoid warnings.
2000-04-01* gas/mn10300/am33_5.s: Check that negative SP offsets are encodedAlexandre Oliva3-1/+43
with 32 bits, not with the unsigned shorter opcodes. * gas/mn10300/basic.exp: Likewise.
2000-04-01Flush any pending instructiuons before emitting data into the instruction ↵Nick Clifton2-0/+5
stream.
2000-03-31* lib/gas-defs.exp (regexp_diff): Don't break on the firstAlexandre Oliva2-2/+7
difference, list them all.
2000-03-29Fix SUB_SEGMENT_ALIGN macor for BFD_ASSEMBLERNick Clifton2-9/+17
2000-03-29Add "bal" instruction pattern.Nick Clifton4-0/+21
Add test of assembling "bal" instruction
2000-03-27Default LISTING_LHS_WIDTH to depend on LISTING_WORD_SIZE so that bytes perAlan Modra6-19/+31
line is 4. Fix tests for LISTING_WORD_SIZE==1.
2000-03-27 * config/tc-sh.c (md_show_usage): Use backslash before newline inIan Lance Taylor2-2/+7
string literal.
2000-03-27ATMEL AVR microcontroller support.Alan Modra6-392/+1874
2000-03-26Add macro handling extensions and line substitution support.Timothy Wall9-82/+160
2000-03-26Mostly cosmetic. Fixes to comments. Don't start as_bad and as_warnAlan Modra2-38/+44
messages with capital. Don't malign Unixware, malign SysV386 instead.
2000-03-19fix bug detecting pc-rel overflowNick Clifton2-2/+6
2000-03-17Fix adr pseudo op for Thumb.Nick Clifton2-7/+20
2000-03-17minor formatting improvementsNick Clifton1-111/+116
2000-03-17fix compile time warning messagesNick Clifton2-23/+24
2000-03-17Handle same-section relocations where the destination is at an address >=Nick Clifton2-4/+59
0x00400000.
2000-03-16 * config/tc-sh.c (md_begin): When encountering insn that areJoern Rennecke2-1/+12
not supported by the current arch, only change the name if its contents are the same as prev_name. (get_specific): If the the architecture doesn't match, fail.
2000-03-16 * config/tc-sh.c (IDENT_CHAR): Define.Joern Rennecke2-48/+56
(parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand matching back where it came from.
2000-03-16 * config/tc-sh.c (md_show_usage): Add description of -dsp.Joern Rennecke2-1/+6
2000-03-16Match r[0..7]_bank operands before normal operands.Nick Clifton2-7/+12
2000-03-15 * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate.Jeff Law2-14/+18
2000-03-13 * expr.c (operand) [case 'f']: When testing if '0f' can start aHans-Peter Nilsson2-1/+7
floating-point-number, make sure 'f' is in FLT_CHARS.
2000-03-13 * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.Hans-Peter Nilsson4-16/+41
(s_lcomm_internal): Use it. * doc/internals.texi (CPU backend): Document it. * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3 bytes.
2000-03-11In bfd/:Geoffrey Keating10-26/+457
* elf32-mips.c (mips_elf_next_relocation): Rename from mips_elf_next_lo16_relocation, and generalize to look for any relocation type. (elf_mips_howto_table): Make R_MIPS_PC16 pcrel_offset. (elf_mips_gnu_rel_hi16): Howto for R_MIPS_GNU_REL_HI16. (elf_mips_gnu_rel_lo16): Howto for R_MIPS_GNU_REL_LO16. (elf_mips_gnu_rel16_s2): Howto for R_MIPS_GNU_REL16_S2. (elf_mips_gnu_pcrel64): Howto for R_MIPS_PC64. (elf_mips_gnu_pcrel32): Howto for R_MIPS_PC32. (bfd_elf32_bfd_reloc_type_lookup): Add new relocs. (mips_rtype_to_howto): Likewise. (mips_elf_calculate_relocation): Handle new relocs. (_bfd_mips_elf_relocate_section): REL_HI16/REL_LO16 relocs are paired. The addend for R_MIPS_GNU_REL16_S2 is shifted right two bits. In gas/: * config/tc-mips.c (mips_ip): Don't put stuff in .rodata when embedded-pic. * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic implementation doesn't have special handling for switch statements. (macro_build): Allow for code in sections other than .text. (macro): Likewise. (mips_ip): Likewise. (md_apply_fix): Do pc-relative relocation madness for MIPS ELF. Don't perform relocs if we will be outputting them. (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when embedded-pic. In gas/testsuite/: * gas/mips/empic.d: New file. * gas/mips/empic.s: New file. * gas/mips/mips16-e.d: New file. * gas/mips/mips16-e.s: New file. * gas/mips/mips16-f.d: New file. * gas/mips/mips16-f.s: New file. * gas/mips/mips.exp: Add empic, mips16-e. Add mips16-f as an expected failure. In include/elf: * mips.h: Add R_MIPS_GNU_REL_HI16, R_MIPS_GNU_REL_LO16, R_MIPS_GNU_REL16_S2, R_MIPS_PC64 and R_MIPS_PC32 relocation numbers.
2000-03-09 * config/tc-m32r.c (m32r_fix_adjustable): Look up theCatherine Moore2-2/+19
relocation type based on the entry in the fixup structure.
2000-03-092000-03-08 H.J. Lu (hjl@gnu.org)H.J. Lu3-2/+8
* Makefile.am (install-exec-tooldir): Depend on install-exec-bindir for parallel make. * Makefile.in: Regenerated.
2000-03-07Document new -m32r command line switchNick Clifton5-0/+17
2000-03-06treat -m32r as a seperate, specific command line switch.Nick Clifton2-9/+21
2000-03-02fix sign extension problem with d30vMichael Meissner2-4/+5
2000-03-022000-03-02 H.J. Lu (hjl@gnu.org)H.J. Lu3-166/+219
* configure.in: Support --enable-targets=all on ia32. * configure: Regenerated.
2000-03-01Remove bigus .align checkNick Clifton2-5/+4
2000-02-282000-02-27 Thomas de Lellis <tdel@windriver.com>Ian Lance Taylor2-3/+11
* config/obj-elf.c (elf_frob_symbol): Remove code which when TC_PPC was defined forced the type of a symbol with no other type to be BSF_OBJECT.