aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
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.
2000-02-282000-02-27 Hans-Peter Nilsson <hp@axis.com>Ian Lance Taylor2-14/+31
* doc/internals.texi (CPU backend): Mention that line_separator_chars do not break up comments. Fix typos for LEX_AT and LEX_NAME descriptions. Document operands for TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct description of md_create_short_jump usage. Document argument for md_undefined_symbol.
2000-02-282000-02-27 Jakub Jelinek <jakub@redhat.com>Ian Lance Taylor2-1/+17
* config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option. (md_parse_option): Handle it. (md_show_usage): Document it.
2000-02-28 * config/tc-alpha.c (md_assemble): Accept `1' and `9' in anIan Lance Taylor2-1/+7
opcode, for the instruction `pal19'. From Andrea Arcangeli <andrea@suse.de>.
2000-02-27rebuild with current toolsIan Lance Taylor6-2487/+2389
2000-02-26Catch some more cases where we can represent a 16 bit immediate operand asAlan Modra2-15/+82
8 bit sign extended.
2000-02-26 * doc/c-mips.texi (MIPS Opts): Fix typo in last patch.Jeff Law2-1/+5
2000-02-262000-02-25 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+6
* gas/i386/general.l: Support a.out and coff.
2000-02-25Fix silly thinko in gas/i386/intel.s Mention i386.exp in ChangeLogAlan Modra2-4/+5
2000-02-25Extend the i386 gas testsuite to do some tests for intel_syntax. Fix allAlan Modra8-188/+1385
the errors exposed by this addition. These were intel mode "fi... word ptr", "fi... dword ptr", "jmp Imm seg, Imm offset", "out dx,al". The failure with intel "out dx,al" was also present in att "out al,dx". Extend testsuite to catch this case too.
2000-02-24Add support for WinCE targeted toolchains.Nick Clifton10-8/+105
2000-02-24Yet more .intel_syntax fixes.Alan Modra2-12/+52
2000-02-24 * config/obj-som.c (obj_pseudo_table): Add "weak".Catherine Moore2-2/+39
(obj_som_weak): New routine.
2000-02-24Correct intel_syntax fsub* and fdiv* handling. Oh, how I'd like to be ridAlan Modra2-19/+28
of UNIXWARE_COMPAT.
2000-02-24config/tc-i386.c (struct _i386_insn): Combine disps, imms, regs intoAlan Modra3-156/+110
a union. Use throughout file. Delete TC_RELOC macro.
2000-02-24Remove dead code when not TC_M68K.Alan Modra9-40/+88
2000-02-24Mention IBM 370 supportAlan Modra1-0/+2
2000-02-24 * config/tc-i386.c (md_assemble): When swapping operands forRichard Henderson2-15/+21
intel_syntax, assume everything that's not Imm or Disp is a register.
2000-02-23Add new feature notices for changes made on 2/8 and 2/10/00.Timothy Wall1-0/+4
2000-02-23Add IBM 370 support.Alan Modra14-172/+3488
2000-02-22 * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp toChandra Chavva2-4/+10
determine if an instruction can be used in parallel with an ADDppp or SUBppp instruction.
2000-02-222000-02-22 Andrew Haley <aph@cygnus.com>Andrew Haley2-0/+17
* doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.
2000-02-221999-12-30 Andrew Haley <aph@cygnus.com>Andrew Haley2-2/+40
* config/tc-mips.c (mips_gp32): New variable. (macro_build) Use mips_gp32. (mips_ip): Ditto. (md_longopts): Add "-mgp32" and "-mgp64". (md_parse_option): Add OPTION_GP32 and OPTION_GP64.
2000-02-222000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>Ian Lance Taylor2-3/+8
* config/obj-coff.c (add_lineno): Accept non-positive lineno with warning, and bump it to 1.
2000-02-22 From Brad Lucier <lucier@math.purdue.edu>:Ian Lance Taylor2-2/+9
* dwarf2dbg.c (print_stats): Add cast to force printf argument to match format.
2000-02-21 * config/tc-mips.c (MF_HILO_INSN): Define.Catherine Moore3-0/+67
(mips_7000_hilo_fix): Declare. (append_insn): Conditionally insert nops after an mfhi/mflo insn. (md_parse_option): Check for 7000_HILO_FIX options. (OPTION_M7000_HILO_FIX): Define. (OPTION_NO_M7000_HILO_FIX): Define. * doc/c-mips.texi (-mfix7000): Describe.
2000-02-21This lot mainly cleans up `comparison between signed and unsigned' gccAlan Modra3-31/+45
warnings. One usused var, and a macro parenthesis fix too. Also check input sections are elf when doing gc in elflink.h.
2000-02-18Add a symbol's value to the computed frag offset, rather than overwriting it.Nick Clifton2-1/+6