Jakub Jelinek
c538998c23
* config/tc-ia64.c (dot_endp): Set function symbol sizes.
* config/obj-elf.c (obj_elf_size): When size is constant, free
and clear symbol_get_obj(sym)->size if any.
25 years ago
Thiemo Seufer
1ff54a84b4
* tc_mips.c (md_begin): Warn about incompatibility between -march=FOO
and -mipsN option, continue with default ISA.
25 years ago
Thiemo Seufer
a6bacc8047
* config/tc-mips.c (md_parse_option): #ifdef the
traditional/non-traditional names as it is done in mips_target_format.
25 years ago
Richard Henderson
ca3f769514
* config/tc-alpha.h (MD_APPLY_FIX3): Define.
* config/tc-alpha.c (md_apply_fix3): Rename from md_apply_fix;
use seg parameter instead of now_seg.
25 years ago
H.J. Lu
e87a02842a
2001-08-18 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (show): Add the missing prototype.
25 years ago
Thiemo Seufer
fb1b323293
* config/tc-mips.c (S_EX_*): New enum for my_getSmallExpression()
return values.
(mips_ip): Use the new return values instead of characters. Add
support for %higher and %highest.
(LP): Remove.
(RP): Remove.
(my_getSmallExpression): Make parsing case insensitive and more
reliable. Add support for %higher and %highest. Further support to
parse %gprel and %neg is implemented but currently deactivated.
25 years ago
H.J. Lu
c85229da17
2001-08-17 H.J. Lu <hjl@gnu.org>
* gas/sparc/unalign.d: Support Sparc V9.
25 years ago
Alan Modra
23fe39dfb9
* ecoff.c (ecoff_frob_symbol): Remove casts from bfd_get_gp_size.
(ecoff_build_symbols): Likewise.
* read.c (s_lcomm_internal): Fix signed/unsigned warning.
25 years ago
Thiemo Seufer
be00bdddad
Set MIPS n32 ABI flag in ELF header if appropriate.
25 years ago
Thiemo Seufer
99c14723f3
Add support for MIPS R1[02]000 performance counter opcodes.
25 years ago
Thiemo Seufer
07ae3efa01
Remove obsolete special handling of 64bit Relocations.
25 years ago
Jeff Johnston
c68012fb32
2001-08-14 Jeff Johnston <jjohnstn@redhat.com>
25 years ago
Nick Clifton
5d430f8ba5
Add missing prototypes
25 years ago
Andreas Jaeger
198ce79b6b
* config/tc-s390.c (s390_elf_cons): Correct fixups for PLT
relocations.
25 years ago
Nick Clifton
d8b6305a45
Extend unaligned test to check .uaword with mulitple arguments
25 years ago
Nick Clifton
4ffadb11c8
Fix behaviour of unaligned data directives
25 years ago
Kazu Hirata
f72c8c98df
* config/tc-mips.c: Fix a comment typo.
25 years ago
H.J. Lu
db1c0ae754
2001-08-10 H.J. Lu <hjl@gnu.org>
* gas/mips/e32-rel2.d: Updated for the objdump output change.
* gas/mips/e32el-rel2.d: Likewise.
* gas/mips/elf-rel.d: Likewise.
* gas/mips/elf-rel2.d: Likewise.
* gas/mips/elf-rel3.d: Likewise.
* gas/mips/elf_e_flags1.d: Likewise.
* gas/mips/elf_e_flags2.d: Likewise.
* gas/mips/elf_e_flags3.d: Likewise.
* gas/mips/elf_e_flags4.d: Likewise.
* gas/mips/elfel-rel.d: Likewise.
* gas/mips/elfel-rel2.d: Likewise.
* gas/mips/elfel-rel3.d: Likewise.
* gas/mips/empic.d: Likewise.
* gas/mips/mips16-e.d: Likewise.
* gas/mips/mips16-f.d: Likewise.
* gas/mips/mipsel16-f.d: Likewise.
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.
* gas/mips/tmips16-e.d: Likewise.
* gas/mips/tmipsel16-e.d: Likewise.
* gas/mips/mips16-f.d: Fix the symbol table output.
* gas/mips/mipsel16-f.d: Fix the endian.
* gas/mips/mips.exp; Don't xfail mips16-f/mipsel16-f.
25 years ago
Richard Sandiford
a26f95e77e
* gas/mips/mips-gp32-fp32.d: Expect addu rather than or for moves.
* gas/mips/mips-gp32-fp64.d: Likewise.
* gas/mips/mips-abi32.d: Likewise.
* gas/mips/mips-gp32-fp32-pic.d: Likewise.
* gas/mips/mips-gp32-fp64-pic.d: Likewise.
* gas/mips/mips-abi32-pic.d: Likewise.
25 years ago
Richard Sandiford
ea1fb5dc3b
* config/tc-mips.c (move_register): New function.
(macro_build): Remove OPCODE_IS_MEMBER's gp32 argument.
(mips_ip): Likewise.
(macro2): Use move_register rather than macro_build for moves.
(mips16_macro): Likewise.
(macro): Likewise. Handle M_MOVE.
25 years ago
Andreas Jaeger
0218d1e4c2
* configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
to build warnings.
* configure: Regenerate.
25 years ago
Alan Modra
fa6e93186b
* as.h (alloca): Don't declare if __GNUC__. Remove an old comment.
Comment indentation of #pragma.
* macro.c (alloca): Likewise.
25 years ago
Alan Modra
8a543126f7
Move one entry from gas/ChangeLog to gas/testsuite/ChangeLog.
Remove gas/ from file names. Fix FOPEN_W comment.
25 years ago
Alan Modra
11b37b7b84
Revert 2001-08-08 changes.
25 years ago
Alan Modra
8d28c9d7be
* symbols.c: Add missing prototypes.
* config/e-i386elf.c: Likewise.
* config/e-i386coff.c: Likewise.
* config/e-i386aout.c: Likewise.
* config/obj-coff.c: Likewise.
(def_symbol_in_progress, stack): Move definition.
* config/obj-elf.c: Add missing prototypes.
(obj_elf_change_section): Make static.
(obj_elf_parse_section_letters): Likewise.
(obj_elf_section_word): Likewise.
(obj_elf_section_type): Likewise.
25 years ago
Alan Modra
fce3099f60
* config/tc-ppc.c (md_apply_fix3): Replace haphazard code for
determining reloc type with code reading operands->reloc field.
25 years ago
Alan Modra
8fd3e36b84
* config/obj-elf.c (elf_copy_symbol_attributes): Make it a global
function, and expand old obj-elf.h OBJ_COPY_SYMBOL_ATTRIBUTES here.
* config/obj-elf.h (elf_copy_symbol_attributes): Declare.
(OBJ_COPY_SYMBOL_ATTRIBUTES): Call elf_copy_symbol_attributes.
25 years ago
Alan Modra
d959c450df
* output-file.c (output_file_create): Don't try to open using
FOPEN_W as it's unnecessary and VMS doesn't define FOPEN_W.
25 years ago
Thiemo Seufer
38487616e6
Replace a bunch of magic constants in tc-mips.c with their proper
25 years ago
Thiemo Seufer
9a41af6410
Some formatting fixes and assorted cleanup in tc-mips.c.
25 years ago
Thiemo Seufer
6dce9e24b3
* config/tc-mips.c (md_begin): Take -mcpu value into account even when
25 years ago
Thiemo Seufer
21d34b1c68
* mips-dis.c (print_insn_arg): Don't use software integer registers
25 years ago
H.J. Lu
25a7b89f8b
2001-08-04 H.J. Lu <hjl@gnu.org>
* gas/cris/operand-err-1.s: Updated.
25 years ago
H.J. Lu
aea2ae6e48
2001-08-04 H.J. Lu <hjl@gnu.org>
Chris G. Demetriou <cgd@broadcom.com>
* gas/mips/e32-rel4.s: Removed.
* gas/mips/e32-rel4.d: Use elf-rel4.s.
* gas/mips/mips.exp: Use the same rel4 test for litte endian.
* gas/mips/mips-abi32-pic.d: Add lines for objdump.
* gas/mips/mips-abi32.d: Likewise.
* gas/mips/mips-gp32-fp32-pic.d: Likewise.
* gas/mips/mips-gp32-fp32.d: Likewise.
* gas/mips/mips-gp32-fp64-pic.d: Likewise.
* gas/mips/mips-gp32-fp64.d: Likewise.
* gas/mips/mips-gp64-fp32-pic.d: Likewise.
* gas/mips/mips-gp64-fp32.d: Likewise.
* gas/mips/mips-gp64-fp64-pic.d: Likewise.
* gas/mips/mips-gp64-fp64.d: Likewise.
* gas/mips/mips-abi32-pic.s: Add space for objdump.
* gas/mips/mips-abi32.s: Likewise.
* gas/mips/mips-gp32-fp32-pic.s: Likewise.
* gas/mips/mips-gp32-fp32.s: Likewise.
* gas/mips/mips-gp32-fp64-pic.s: Likewise.
* gas/mips/mips-gp32-fp64.s: Likewise.
* gas/mips/mips-gp64-fp32-pic.s: Likewise.
* gas/mips/mips-gp64-fp32.s: Likewise.
* gas/mips/mips-gp64-fp64-pic.s: Likewise.
* gas/mips/mips-gp64-fp64.s: Likewise.
* gas/mips/mips-abi32-pic.s: Add the missing .end.
* gas/mips/mips-gp32-fp32-pic.s: Likewise.
* gas/mips/mips-gp32-fp64-pic.s: Likewise.
* gas/mips/mips-gp64-fp32-pic.s: Likewise.
* gas/mips/mips-gp64-fp64-pic.s: Likewise.
25 years ago
Richard Sandiford
15ba8cc1de
* gas/mips/elf-rel4.s, gas/mips/elf-rel4.d: New test.
* gas/mips/e32-rel4.s, gas/mips/e32-rel4.s: New test.
* gas/mips/mips.exp: Run new tests.
25 years ago
Richard Sandiford
82146c599f
*** empty log message ***
25 years ago
Richard Sandiford
236bd878b5
* config/tc-mips.c (md_apply_fix): Don't subtract the symbol value
from GPREL addends.
25 years ago
Richard Sandiford
dc4622162a
* gas/mips/mips-gp32-fp32,
* gas/mips/mips-gp32-fp64,
* gas/mips/mips-gp64-fp32,
* gas/mips/mips-gp64-fp64,
* gas/mips/mips-abi32,
* gas/mips/mips-gp32-fp32-pic,
* gas/mips/mips-gp32-fp64-pic,
* gas/mips/mips-gp64-fp32-pic,
* gas/mips/mips-gp64-fp64-pic,
* gas/mips/mips-abi32-pic: New testcases.
* gas/mips/mips.exp: Run them.
25 years ago
Richard Sandiford
ca4e0257d1
* doc/c-mips.tex (-mgp32, -mfp32): Added -mfp32, unified with -mgp32.
* config/tc-mips.c (mips_fp32, mips_32bit_abi): New static variables.
(md_long_opts): Add -mfp32 option.
(md_parse_option): Handle it. Set mips_32bit_abi given -mabi=32.
(md_show_usage): Show usage for -mfp32 and -mgp32.
(HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): New macros.
(HAVE_64BIT_GPRS, HAVE_64BIT_FPRS): New macros, inverse of the above.
(HAVE_32BIT_ADDRESSES): New macro.
(load_register): Use HAVE_32BIT_GPRS to determine the register width.
(load_address): Use HAVE_32BIT_ADDRESSES to determine the address size.
(s_cprestore, s_cpadd): Likewise.
(macro): Use HAVE_32BIT_GPRS to determine the width of registers
used in branch and M_LI_D macros. Use HAVE_64BIT_FPRS to determine
the width registers used in M_LI_DD macros. Use HAVE_32BIT_ADDRESSES
to determine the width of addresses in load, store and jump macros.
(macro2): Use HAVE_32BIT_GPRS to determine the width of registers
used in set instructions; do not check the address size for them.
Use HAVE_32BIT_ADDRESSES to determine the width of addresses in
unaligned load and store macros.
(mips_ip): Use the new macros to check the width of a register when
processing float constants. Force a constant into memory if it is
destined for an FPR and the FPRs are wider than the GPRs. Warn about
odd FPR numbers if HAVE_32BIT_FPRS. Use HAVE_32BIT_GPRS rather
than mips_gp32 to select synthetic instructions.
(macro_build): Use HAVE_32BIT_GPRS rather than mips_gp32 to select
synthetic instructions.
25 years ago
Nick Clifton
28bab82b5a
Cleanups for z8k target
25 years ago
Alan Modra
28f815927f
* config/tc-i386.c (lex_got): Match lower case relocation tokens.
Don't allocate more space than necessary for the input line copy.
25 years ago
Alan Modra
af08bab843
* gas/elf/section2.l: Adjust warning message comparison.
25 years ago
Alan Modra
0e389e770d
* read.c: Standardize error/warning messages - don't capitalise, no
final period or newline, don't say "ignored" or "zero assumed" for
as_bad messages. In some cases, change the wording to that used
elsewhere for similar messages.
* app.c, as.c, atof-generic.c, cgen.c, cond.c, depend.c, dwarf2dbg.c,
ecoff.c, expr.c, frags.c, input-file.c, input-scrub.c, listing.c,
output-file.c, stabs.c, subsegs.c, symbols.c, write.c: Likewise.
* ecoff.c (ecoff_directive_end): Test for missing name by
comparing input line pointers rather than reading string.
(ecoff_directive_ent): Likewise.
* read.c (s_set): Likewise.
(s_align): Report a warning rather than an error for
alignment too large.
(s_comm): Check for missing symbol name.
(s_lcomm_internal): Likewise.
(s_lsym): Likewise.
(s_globl): Use is_end_of_line instead of looking for '\n'.
(s_lcomm_internal): Likewise.
(ignore_rest_of_line): Report a warning rather than an error.
25 years ago
Geoffrey Keating
e138127ab2
* config/tc-ppc.c (ppc_elf_validate_fix): It's OK to have
any kind of relocation against a not-loaded section.
25 years ago
Richard Sandiford
0c4ec1515b
* gas/mips/mips.exp (el): New variable.
Use it to pick ELF reloc tests.
25 years ago
Alan Modra
468cced8b9
* config/obj-elf.c (obj_elf_symver): Temporarily modify lex_type
to include '@' in symbol names when parsing versioned symbols
rather than calling get_symbol_end multiple times.
* config/tc-i370.c (register_name): Format fixes. Don't call
get_symbol_end after parsing number.
* config/tc-mn10200.c (data_register_name): Format fixes. Hoist
code out of conditional.
(address_register_name): Likewise.
(other_register_name): Likewise.
* config/tc-mn10300.c (r_register_name): Likewise.
(xr_register_name): Likewise.
(data_register_name): Likewise.
(address_register_name): Likewise.
(other_register_name): Likewise.
* config/tc-ppc.c (register_name): Likewise.
* config/tc-s390.c (register_name): Likewise.
25 years ago
Stephane Carrez
13283e2df1
* config/tc-m68hc11.c (md_estimate_size_before_relax): Fix bsr
and bra relax: update fragP->fr_fix after the fixup.
25 years ago
Alan Modra
409d19c41a
* read.c (s_set): Check for missing symbol name.
25 years ago
Chris Demetriou
411e0b6d6c
2001-07-26 Chris Demetriou <cgd@broadcom.com>
* gas/mips/lif-empic.d: Add back dollar signs before floating
point register names.
25 years ago
Alan Modra
bc4aa73fe2
* gas/i386/relax.s: Test rs_space.
* gas/i386/relax.d: Update.
25 years ago