Ian Lance Taylor
945a1a6b98
* write.c (write_relocs): Call SET_SECTION_RELOCS if it is
...
defined.
* config/obj-coff.h (SET_SECTION_RELOCS): Define.
* doc/internals.texi (Object format backend): Document
SET_SECTION_RELOCS.
1999-09-12 03:44:42 +00:00
Ian Lance Taylor
79d292aaa2
1999-09-11 Donn Terry <donn@interix.com>
...
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
relocations against global symbols if TE_PE.
1999-09-12 03:18:54 +00:00
Ian Lance Taylor
7a6284c477
1999-09-11 Donn Terry <donn@interix.com>
...
* config/obj-coff.c (obj_coff_ident): Add BFD_ASSEMBLER version.
(obj_pseudo_table): Always handle ".ident" with obj-coff_ident.
1999-09-12 03:07:49 +00:00
Ian Lance Taylor
8828d86202
1999-09-11 Donn Terry <donn@interix.com>
...
* config/obj-coff.c (coff_frob_symbol): Prohibit weak common
symbols.
1999-09-12 02:59:54 +00:00
Ian Lance Taylor
9690c54dda
1999-09-11 Donn Terry <donn@interix.com>
...
* config/obj-coff.c (obj_coff_endef): Don't merge labels, or
symbols which do not have a constant value, or tags with
non-tags. Remove the symbol from the list before adding it at the
end.
1999-09-12 02:55:58 +00:00
Ian Lance Taylor
23dab925ad
1999-09-11 Donn Terry <donn@interix.com>
...
* config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Handle .ef
C_FCN symbol differently if TE_PE.
(obj_coff_line) [BFD_ASSEMBLER]: Always use the line number which
appears in the pseudo-op, rather coff_line_base which is only set
for a .bf symbol.
1999-09-12 02:49:28 +00:00
Ian Lance Taylor
28428223eb
1999-09-11 Donn Terry <donn@interix.com>
...
* config/obj-coff.c (obj_coff_loc): New static function.
(obj_pseudo_table): Add "loc".
1999-09-12 02:39:52 +00:00
Ian Lance Taylor
e8a3ab752d
1999-09-11 Donn Terry <donn@interix.com>
...
* config/obj-coff.c (add_lineno): Check that the line number is
positive.
1999-09-12 02:34:00 +00:00
Ian Lance Taylor
0561a208f8
1999-09-11 Donn Terry <donn@interix.com>
...
* expr.c (expr): Change first parameter to int.
* config/obj-coff.c: Add declarations for static functions.
(coff_frob_symbol): Use SYM_AUXENT.
* config/tc-i386.h (flag_16bit_code): Don't declare.
1999-09-12 02:27:58 +00:00
Ian Lance Taylor
2ab9b79ef9
1999-09-11 Donn Terry <donn@interix.com>
...
* config/atof-ieee.c (atof_ieee): Change what_kind to int.
* config/atof-vax.c (flonum_gen2vax): Change format_letter to
int.
(md_atof): Return NULL rather than 0.
* config/tc-i386.c (md_atof): Change type to int.
1999-09-12 02:12:38 +00:00
Ian Lance Taylor
5881e4aab3
1999-09-11 Donn Terry <donn@interix.com>
...
* config/obj-coff.c (obj_coff_section): Default to setting
SEC_LOAD. Don't set SEC_DATA for 'w' modifier.
1999-09-12 02:08:55 +00:00
Ian Lance Taylor
e723ef7c5f
* write.c (dump_section_relocs): Call print_symbol_value_1 to
...
print the symbol, rather than printing it here.
1999-09-11 Donn Terry <donn@interix.com>
* write.c (adjust_reloc_syms): Print adjusted fixup.
1999-09-11 14:59:14 +00:00
Ian Lance Taylor
fa16d38700
1999-09-11 Donn Terry <donn@interix.com>
...
* expr.c (integer_constant): Correct too_many_digits calculation
in base 10 case.
1999-09-11 14:24:59 +00:00
Andreas Schwab
13a830b61a
* doc/c-arm.texi: Fix arguments of @var to not contain
...
punctuation.
1999-09-09 16:09:52 +00:00
Nick Clifton
325188ecac
Only support interworking and pic for ELF or COFF targets
1999-09-08 13:10:28 +00:00
Jeff Law
4964086a66
* config/tc-hppa.c (pa_ip): Support 'Z' argument.
1999-09-07 19:48:13 +00:00
Jeff Law
e7c1f43c29
* config/tc-hppa.c (pa_ip): Put strict register checks before
...
call to pa_parse_number.
1999-09-07 19:30:14 +00:00
Ian Lance Taylor
c4bf532f53
* config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for
...
BFD_ASSEMBLER code.
1999-09-07 03:26:58 +00:00
Ian Lance Taylor
a33132fd8e
1999-09-06 Donn Terry <donn@interix.com>
...
* as.c (perform_an_assembly_pass): Set SEC_DATA for data_section.
1999-09-07 02:23:44 +00:00
Jeff Law
0f4f8b56e7
* config/tc-hppa.c (pa_ip): Get strict/non-strict mode from the
...
candidate instruction. Require registers for register arguments
when in strict mode. Require assemble-time constants for
constants when in strict mode.
(pa_get_absolute_expression): Require a constant when in strict
mode.
1999-09-06 10:28:21 +00:00
Nick Clifton
d33886536c
Fix value for -Wnuh command line option
1999-09-06 10:24:19 +00:00
Ian Lance Taylor
041dd5a9f4
1999-09-04 Steve Chamberlain <sac@pobox.com>
...
* config/tc-pj.c: New file, supports picoJava in ELF.
* config/tc-pj.h: Ditto.
* configure.in (pjl*, pj*): New targets.
* Makefile.am: Rebuild dependencies.
(CPU_TYPES): Add pj.
(TARGET_CPU_CFILES): Add config/tc-pj.c.
(TARGET_CPU_HFILES): Add config/tc-pj.h.
* doc/c-pj.texi: New file.
* doc/as.texinfo: Add some PJ specifics.
* doc/all.texi: Add PJ to the list of all architectures, sort them
all alphabetically.
* doc/Makefile.in (CPU_DOCS): Add c-pj.texi.
* configure, Makefile.in, doc/Makefile.in: Rebuild.
1999-09-04 17:29:22 +00:00
Alan Modra
4ca72d3829
Enable --emulation={i386coff,i386elf} for i386 gas.
1999-09-02 15:12:01 +00:00
Nick Clifton
bcef92fa23
Do not dump literal pool when a .section .line directive is encountered.
1999-09-02 10:39:18 +00:00
Nick Clifton
5856c19ac4
Do not align sectins when producing ELF format objects.
1999-09-01 10:57:19 +00:00
Nick Clifton
cdf82bcf48
Document new command line switches.
1999-09-01 09:28:07 +00:00
Alan Modra
af6bdddf8c
i386 gas code cleanups: combine i386_is_reg and parse_register.
1999-08-30 13:12:54 +00:00
Alan Modra
5f47d35be1
Allow spaces in i386 FP reg names, eg. %st ( 1 ).
1999-08-29 23:44:27 +00:00
Doug Evans
1174497c8a
* config/tc-m32r.c (md_parse_option): Delete unrecognized option
...
error message (done elsewhere).
1999-08-29 20:45:22 +00:00
Jeff Law
97e1581b3f
* config/tc-hppa.c (pa_ip): Replace 'f' by 'v'. Prefix float register
...
args by 'f'.
1999-08-29 07:52:32 +00:00
Jeff Law
9e4f2d3a85
* config/tc-hppa.c (pa_ip): Add args q, %, and |.
1999-08-28 10:59:37 +00:00
Jeff Law
680ef6de90
* config/tc-hppa.c (pa_ip): Absorb white space in instructions
...
between args.
Add new completers. Fix bug in 64 bit condition handling.
1999-08-28 10:18:12 +00:00
Jeff Law
413c94baca
* config/tc-hppa.c (pa_ip): Add completer codes 'a', 'ch', 'cH',
...
'cS', and 'c*'.
1999-08-28 08:48:40 +00:00
Jeff Law
28252e6156
* config/tc-hppa.c (pa_ip): Place completers behind prefix 'c'.
1999-08-28 08:16:30 +00:00
Jeff Law
17d9105c0a
* config/tc-hppa.c (pa_ip): Do not allow '*' in 32bit completers.
1999-08-28 07:23:42 +00:00
Jeff Law
a97685e901
* config/tc-hppa.c (pa_ip): Add cases for '.', '~'. '$'. and '!'
1999-08-28 06:42:06 +00:00
Jeff Law
9ecc05f0de
* config/tc-hppa.c (pa_ip): Add case for 'I'.
1999-08-28 06:28:21 +00:00
Nick Clifton
cb30237e0f
Apply Jim Wilson's patch to track current frag for line number changes.
1999-08-27 09:03:18 +00:00
Nick Clifton
09a798eacc
This makes the line number info for the end of a function match what the
...
standard specifies. The current code could confuse a debugger.
1999-08-26 12:13:01 +00:00
Nick Clifton
e1c05f12ca
Applied patch from Jim Wilson to fix several bugs in line table generation.
1999-08-26 11:11:43 +00:00
Alan Modra
b23bac3600
*gas/config/tc-i386.c: Fix errors in displacement size when
...
automatically inferring an address prefex.
1999-08-20 11:59:19 +00:00
Nick Clifton
50f4163fd6
If an offset is invalid, display it.
1999-08-18 09:12:11 +00:00
Ian Lance Taylor
f589a541dc
* config/tc-ppc.c (md_assemble): Trim @ha constant to 16 bits, to
...
handle 0xffffNNNN constants correctly.
1999-08-17 18:26:49 +00:00
Nick Clifton
114502711b
Look for register conflicts on stores as well as loads.
1999-08-16 17:47:29 +00:00
Nick Clifton
276b1dc2a2
Only pass positive values to validate_offset_imm()
1999-08-13 08:38:20 +00:00
Nick Clifton
ae5ad4adf9
Tidy up formatting.
...
Fix Thubm weak function support.
1999-08-12 10:32:42 +00:00
Alan Modra
bf6d389561
config/tc-i386.c: Remove dead code
1999-08-11 14:10:07 +00:00
Jeff Law
b100be6695
* config/tc-hppa.c (pa_build_unwind_subspace): Use sane section
...
flags for the unwind subspace.
1999-08-11 09:41:28 +00:00
Jeff Law
46031ca9e4
* config/tc-hppa.c (UNWIND_SECTION_NAME): Define for ELF.
...
(pa_build_unwind_subspace): Remove #if 0 wrapper. Select a
suitable relocation based on the size of the target's pointer.
Always Use subsegment zero for the unwinders.
(pa_level): Handle "2.0w".
1999-08-10 19:02:30 +00:00
Joern Rennecke
0825afba5d
* config/tc-d30v.c (write_2_short): Don't group repeat instructions
...
with the following instruction unless this was specified.
1999-08-09 19:04:27 +00:00