Alan Modra
d3b7d141ac
This lot mainly cleans up `comparison between signed and unsigned' gcc
...
warnings. One usused var, and a macro parenthesis fix too. Also check
input sections are elf when doing gc in elflink.h.
2000-02-21 12:01:26 +00:00
Joern Rennecke
4415a7ef3e
bfd:
...
Reinstate bits of sh4 support that got accidentally deleted.
Add sh-dsp support.
bfd:
* archures.c (bfd_mach_sh2, bfd_mach_sh_dsp): New macros.
(bfd_mach_sh3_dsp): Likewise.
(bfd_mach_sh4): Reinstate.
(bfd_default_scan): Recognize 7410, 7708, 7729 and 7750.
* bfd-in2.h: Regenerate.
* coff-sh.c (struct sh_opcode): flags is no longer short.
(USESAS, USESAS_REG, USESR8, SETSAS, SETSAS_REG): New macros.
(sh_opcode41, sh_opcode42): Integrate as sh_opcode41.
(sh_opcode01, sh_opcode02, sh_opcode40): Add sh-dsp opcodes.
(sh_opcode41, sh_opcode4, sh_opcode80): Likewise.
(sh_opcodes): No longer const.
(sh_dsp_opcodef0, sh_dsp_opcodef): New arrays.
(sh_insn_uses_reg): Check for USESAS and USESR8.
(sh_insn_sets_reg, sh_insns_conflict): Check for SETSAS.
(_bfd_sh_align_load_span): Return early for SH4.
Modify sh_opcodes lookup table for sh-dsp / sh3-dsp.
Take into account that field b of a parallel processing insn
could be mistaken for a separate insn.
* cpu-sh.c (arch_info_struct): New array elements for
sh2, sh-dsp and sh3-dsp.
Reinstate element for sh4.
(SH2_NEXT, SH_DSP_NEXT, SH3_DSP_NEXT): New macros.
(SH4_NEXT): Reinstate.
(SH3_NEXT, SH3E_NEXT): Adjust.
* elf-bfd.h (_sh_elf_set_mach_from_flags): Declare.
* elf32-sh.c (sh_elf_set_private_flags): New function.
(sh_elf_copy_private_data, sh_elf_set_mach_from_flags): Likewise.
(sh_elf_merge_private_data): New function.
(elf_backend_object_p, bfd_elf32_bfd_set_private_bfd_flags): Define.
(bfd_elf32_bfd_copy_private_bfd_data): Define.
(bfd_elf32_bfd_merge_private_bfd_data): Change to
sh_elf_merge_private_data.
gas:
* config/tc-sh.c ("elf/sh.h"): Include.
(sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables.
(md.begin): Initialize target_arch.
Only include opcodes in has table that match selected architecture.
(parse_reg): Recognize register names for sh-dsp.
(parse_at): Recognize post-modify addressing.
(get_operands): The leading space is now optional.
(get_specific): Remove FDREG_N support. Add support for sh-dsp
arguments. Update valid_arch.
(build_Mytes): Add support for SDT_REG_N.
(find_cooked_opcode): New function, broken out of md_assemble.
(assemble_ppi, sh_elf_final_processing): New functions.
(md_assemble): Use find_cooked_opcode and assemble_ppi.
(md_longopts, md_parse_option): New option: -dsp.
* config/tc-sh.h (elf_tc_final_processing): Define.
(sh_elf_final_processing): Declare.
include/elf:
* sh.h: (EF_SH_MACH_MASK, EF_SH_UNKNOWN, EF_SH1, EF_SH2): New macros.
(EF_SH3, EF_SH_HAS_DSP, EF_SH_DSP, EF_SH3_DSP): Likewise.
(EF_SH_HAS_FP, EF_SH3E, EF_SH4, EF_SH_MERGE_MACH): Likewise.
opcodes:
* sh-dis.c (print_movxy, print_insn_ddt, print_dsp_reg): New functions.
(print_insn_ppi): Likewise.
(print_insn_shx): Use info->mach to select appropriate insn set.
Add support for sh-dsp. Remove FD_REG_N support.
* sh-opc.h (sh_nibble_type): Add new values for sh-dsp support.
(sh_arg_type): Likewise. Remove FD_REG_N.
(sh_dsp_reg_nums): New enum.
(arch_sh1, arch_sh2, arch_sh3, arch_sh3e, arch_sh4): New macros.
(arch_sh_dsp, arch_sh3_dsp, arch_sh1_up, arch_sh2_up): Likewise.
(arch_sh3_up, arch_sh3e_up, arch_sh4_up, arch_sh_dsp_up): Likewise.
(arch_sh3_dsp_up): Likewise.
(sh_opcode_info): New field: arch.
(sh_table): Split up insn with FD_REG_N into ones with F_REG_N and
D_REG_N. Fill in arch field. Add sh-dsp insns.
2000-02-17 00:33:35 +00:00
Nick Clifton
483b47749b
Add prototypes for ARM register name functions.
2000-02-16 18:20:10 +00:00
Andrew Cagney
8baddc6e19
wait.h was replaced by gdb/gdb_wait.h.
2000-02-10 04:37:34 +00:00
Andrew Cagney
bd9beca711
(sim_resume): Clarify use of SIGGNAL.
...
(sim_stop_reason): Clarify meaning of sim_signalled.
2000-02-09 07:44:03 +00:00
Jeff Law
93d5fa31a7
Reinstate the following lost patches:
...
Wed Dec 15 11:22:56 1999 Jeffrey A Law (law@cygnus.com )
* hp-symtab.h (HP_LANGUAGE_FORTRAN): New enumeration constant.
(HP_LANGUAGE_F77): Define using HP_LANGUAGE_FORTRAN.
1999-11-04 Jimmy Guo <guo@cup.hp.com>
* hp-symtab.h (dntt_type_fparam): Add doc_ranges, misc_kind
fields, change location type to CORE_ADDR from int.
(dntt_type_const): Name the 5th field location_type.
2000-02-08 06:39:54 +00:00
Jason Molenda
b9b0b761a6
2000-02-06 Jason Molenda (jsm@bugshack.cygnus.com)
...
* ChangeLog: Whitespace change to test logging.
* bfd/ChangeLog, dejagnu/ChangeLog, include/ChangeLog, tcl/ChangeLog: Same.
2000-02-07 02:22:31 +00:00
Nick Clifton
6c04ae2085
Apply H>J's patch to propogate changes made by Thomas de Lellis to arm.h
2000-02-03 19:20:37 +00:00
Tim Wall
f41d3f0687
octets vs bytes changes for binutils
2000-02-03 18:12:54 +00:00
Nick Clifton
7306628577
Add prototype for parse_arm_diassembler_option
2000-01-28 01:54:05 +00:00
Nick Clifton
9703529f4b
Add ATPCS support to ARM disassembler.
...
Document ARM disassembler options.
2000-01-27 22:17:12 +00:00
Nick Clifton
0d28a12178
Add support for documenting target specific disassembler options
2000-01-27 21:44:26 +00:00
Nick Clifton
11404e9c8c
Apply Thoams de Lellis's patch to fic disassembly of Thumb instructions when
...
bounded by non-function labels.
2000-01-27 20:05:27 +00:00
Nick Clifton
c66e796ff2
fix spelling of Motorola
2000-01-20 19:08:43 +00:00
Alan Modra
1a80e0b5d2
Cosmetic changes to tc-i386.[ch] + extend x86 gas testsuite jmp and
...
call tests + tweak intel mode far call and jmp.
2000-01-15 12:06:03 +00:00
Nick Clifton
6b83e05737
fix comments on some EM numbers.
2000-01-13 20:13:13 +00:00
Nick Clifton
d28f5b66f3
Fix mistakes made about interpretation of ELF ABI spec
2000-01-11 17:53:33 +00:00
Nick Clifton
64e25a8b4f
Add definition of NT_WIN32PSTATUS
2000-01-10 18:51:33 +00:00
Nick Clifton
f44373988b
add missing definitions
2000-01-05 23:42:56 +00:00
Nick Clifton
39cf906ea1
Redefine STO_* value sin terms of STV_* values
1999-12-28 18:41:47 +00:00
Nick Clifton
2fda289f85
Add new constants specified in Oct 4 1999 Draft of ELF ABI spec
1999-12-28 18:40:48 +00:00
Alan Modra
a3717e6ce0
x86 indirect jump/call syntax fixes. Disassembly fix for lcall.
1999-12-27 16:10:31 +00:00
Ian Lance Taylor
6b55bdd0c0
1999-12-15 Doug Evans <dje@transmeta.com>
...
* dis-asm.h: Enclose in extern "C" ifdef __cplusplus.
1999-12-16 01:23:39 +00:00
Nick Clifton
5faf7e0b95
Fix include paths
1999-12-09 18:23:45 +00:00
Jim Blandy
cf81f689e2
*** empty log message ***
1999-12-07 23:56:53 +00:00
Jim Blandy
6d7173556b
* common.h (NT_PRXFPREG): New definition.
1999-12-07 23:51:14 +00:00
Jeff Law
a694f802c6
* mn10300.h (E_MN10300_MACH_AM33): Define.
1999-12-01 10:06:15 +00:00
Jeff Law
488e1589f7
* mn10300.h: Add new operand types. Add new instruction formats.
1999-12-01 10:05:24 +00:00
Jeff Law
cef484e503
* hppa.h (pa_opcodes): Correctly handle immediate for PA2.0 "bb"
...
instruction.
1999-11-25 03:28:22 +00:00
Gavin Koch
10ab31ca59
For include/opcode:
...
* mips.h (INSN_ISA5): New.
For opcodes:
* mips-opc.c (I5): New.
(abs.ps,add.ps,alnv.ps,c.COND.ps,cvt.s.pl,cvt.s.pu,cvt.ps.s
madd.ps,movf.ps,movt.ps,mul.ps,net.ps,nmadd.ps,nmsub.ps,
pll.ps,plu.ps,pul.ps,puu.ps,sub.ps,suxc1,luxc1): New.
1999-11-18 19:53:48 +00:00
Michael Meissner
086e54a96d
Add sim-d10v.h
1999-11-11 12:57:11 +00:00
Gavin Koch
7372e38bfd
For include/opcode:
...
* mips.h (OPCODE_IS_MEMBER): New.
For gas:
* config/tc-mips.c (macro_build): Use OPCODE_IS_MEMBER.
(mips_ip): Use OPCODE_IS_MEMBER.
For opcodes:
* mips-dis.c (_print_insn_mips): Use OPCODE_IS_MEMBER.
1999-11-01 19:29:55 +00:00
Nick Clifton
f1a1e10e18
Define SHORT_AR (fix for CR: 101340)
1999-10-29 09:49:04 +00:00
Michael Meissner
da516da191
Add md expression support; Cleanup alpha warnings
1999-10-18 22:29:14 +00:00
Jeff Law
b85737aadf
* hppa.h (PF_HP_PAGE_SIZE): Define.
...
(PF_HP_FAR_SHARED, PF_HP_NEAR_SHARED, PF_HP_CODE): Likewise.
(PF_HP_MODIFY, PF_HP_LAZYSWAP, PF_HP_SBP): Likewise.
1999-10-12 04:48:23 +00:00
Jeff Law
756b080175
* hppa.h (pa_opcodes): Add load and store cache control to
...
instructions. Add ordered access load and store.
* hppa.h (pa_opcode): Add new entries for addb and addib.
* hppa.h (pa_opcodes): Fix cmpb and cmpib entries.
* hppa.h (pa_opcodes): Add entries for cmpb and cmpib.
1999-10-10 07:55:25 +00:00
Diego Novillo
e1286a3825
Added seven new instructions ld, ld2w, sac, sachi, slae, st and
...
st2w for d10v. Created new testsuite for d10v to verify new
instructions.
1999-10-07 06:17:04 +00:00
Doug Evans
da3a7aa1b6
* m32r.h (E_M32RX_ARCH): Define.
1999-10-05 00:43:14 +00:00
Ulrich Drepper
02bd4206a8
1999-09-15 Ulrich Drepper <drepper@cygnus.com>
...
* hppa.h: Add DT_HP_GST_SIZE, DT_HP_GST_VERSION, and DT_HP_GST_HASHVAL.
1999-10-04 18:58:41 +00:00
Jeff Law
bf27795cff
Add missing initializer lost in last change.
1999-09-23 15:46:33 +00:00
Jeff Law
1a6447612f
* hppa.h (pa_opcodes): Add "call" and "ret". Clean up "b", "bve"
...
and "be" using completer prefixes.
1999-09-23 14:29:10 +00:00
Jeff Law
3118b34c80
* hppa.h (pa_opcodes): Add initializers to silence compiler.
1999-09-23 13:14:33 +00:00
Jeff Law
f026123d83
* hppa.h: Update comments about character usage.
1999-09-23 13:10:07 +00:00
Jeff Law
27421fd084
* hppa.h (pa_opcodes): Fix minor thinkos introduced while cleaning
...
up the new fstw & bve instructions.
1999-09-20 09:57:19 +00:00
Alan Modra
0c9aad7095
Delete bogus R_PCLONG. Tidy R_*.
1999-09-20 08:45:53 +00:00
Jeff Law
9eff6c959f
* hppa.h (pa_opcodes): Add remaining PA2.0 integer load/store
...
instructions.
1999-09-19 20:05:00 +00:00
Jeff Law
c7b64ad4f0
* hppa.h (pa_opcodes): Add remaining PA2.0 FP load/store instructions.
1999-09-19 19:43:06 +00:00
Jeff Law
675e0509d0
* hppa.h (pa_opcodes): Add long offset double word load/store
...
instructions.
1999-09-19 19:19:50 +00:00
Jeff Law
45faedf39e
* hppa.h (pa_opcodes): Add FLAG_STRICT variants of FP loads and
...
stores.
1999-09-19 18:54:23 +00:00
Jeff Law
02a209f9b5
* hppa.h (pa_opcodes): Handle PA2.0 fcnv, fcmp and ftest insns.
1999-09-19 18:44:13 +00:00
Jeff Law
4832d84f3d
* hppa.h (pa_opcodes): Finish support for PA2.0 "b" instructions.
1999-09-19 18:10:28 +00:00
Jeff Law
af5442f198
* hppa.h (pa_opcodes): Handle PA2.0 "bve" instructions.
1999-09-19 17:39:17 +00:00
Jeff Law
24e0770908
* hppa.h (pa_opcodes): Add new syntax "be" instructions.
1999-09-19 17:16:08 +00:00
Jeff Law
84e7327d75
* hppa.h (pa_opcodes): Note use of 'M' and 'L'.
1999-09-19 17:12:55 +00:00
Jeff Law
1ddec1532b
* hppa.h (pa_opcodes): Add support for "b,l".
1999-09-19 16:55:09 +00:00
Jeff Law
4969046449
* hppa.h (pa_opcodes): Add support for "b,gate".
1999-09-19 16:41:51 +00:00
Jeff Law
5566981684
* hppa.h (pa_opcodes): Use 'fX' for first register operand
...
in xmpyu.
1999-09-18 18:08:34 +00:00
Jeff Law
67faa9adc2
* hppa.h (pa_opcodes): Fix mask for probe and probei.
1999-09-18 17:49:43 +00:00
Jeff Law
578f46be35
* hppa.h (pa_opcodes): Fix mask for depwi.
1999-09-18 17:43:47 +00:00
Jeff Law
6338a22379
* hppa.h (pa_opcodes): Add "addil" variant which has the %r1 as
...
an explicit output argument.
1999-09-07 19:46:47 +00:00
Ian Lance Taylor
4809740b1b
1999-09-06 Donn Terry <donn@interix.com>
...
* internal.h (DTYPE): Define.
* pe.h (struct external_PEI_filehdr): Rename from
external_PE_filehdr. Define even if COFF_IMAGE_WITH_PE is not
defined.
1999-09-07 03:28:54 +00:00
Jeff Law
6935f65eff
* hppa.h: Add strict variants of PA1.0/PA1.1 loads and stores.
...
Add a few PA2.0 loads and store variants.
1999-09-06 10:42:11 +00:00
Ian Lance Taylor
de5d479dde
1999-09-04 Steve Chamberlain <sac@pobox.com>
...
* dis-asm.h (print_insn_pj): Declare.
1999-09-04 17:17:37 +00:00
Ian Lance Taylor
12ed226cc7
1999-09-04 Steve Chamberlain <sac@pobox.com>
...
* pj.h: New file.
1999-09-04 17:16:21 +00:00
Ian Lance Taylor
a300318f3a
1999-09-04 Steve Chamberlain <sac@pobox.com>
...
* pj.h: New file.
* common.h (EM_PJ): Define.
1999-09-04 17:15:44 +00:00
Jeff Law
ff727b36c1
* hppa.h: Add HPUX specific symbol type definitions.
1999-09-03 02:23:08 +00:00
Jeff Law
e62f10ab8c
* hppa.h: Add HPUX specific dynamic and program header table
...
specific definitions.
1999-09-02 20:17:33 +00:00
Nick Clifton
c2683af661
oops - omitted from previous delta
1999-08-31 16:57:03 +00:00
Nick Clifton
30486985fe
Patch from Scott Bambrough <scottb@netwinder.org> to define NT_TASKSTRUCT.
1999-08-31 16:56:26 +00:00
Alan Modra
a4972584a4
Allow spaces in i386 FP reg names, eg. %st ( 1 ).
1999-08-29 23:44:27 +00:00
Jeff Law
9b2c866771
* hppa.h (pa_opcodes): Replace 'f' by 'v'. Prefix float register args
...
by 'f'.
1999-08-29 07:51:43 +00:00
Jeff Law
b7fdf3c074
* hppa.h (pa_opcodes): Add extrd, extrw, depd, depdi, depw, depwi.
...
Add supporting args.
1999-08-28 10:58:26 +00:00
Jeff Law
ab3ce6303a
* hppa.h: Document new completers and args.
...
* hppa.h (pa_opcodes): Add 64 bit patterns and pa2.0 syntax for uxor,
uaddcm, dcor, addi, add, sub, subi, shladd, rfi, and probe. Add pa2.0
extensions for ssm, rsm, pdtlb, pitlb. Add performance instructions
pmenb and pmdis.
1999-08-28 10:16:15 +00:00
Jeff Law
b4063b31d4
Fix minor bug in last change.
1999-08-28 09:28:31 +00:00
Jeff Law
a7192fe0ab
* hppa.h (pa_opcodes): Add pa2.0 instructions hadd, hshl,
...
hshr, hsub, mixh, mixw, permh.
1999-08-28 08:46:57 +00:00
Jeff Law
ad9cdcce7b
* hppa.h (pa_opcodes): Change completers in instructions to
...
use 'c' prefix.
1999-08-28 08:16:55 +00:00
Jeff Law
5193c502b0
* hppa.h (pa_opcodes): Add popbts, new forms of bb, havg,
...
hshladd, hshradd, shrpd, and shrpw instructions. Update arg comments.
1999-08-28 06:41:11 +00:00
Jeff Law
39484d8592
* hppa.h (pa_opcodes): Change fmpyfadd, fmpynfadd, fneg,
...
fnegabs to use 'I' instead of 'F'.
1999-08-28 06:27:12 +00:00
Alan Modra
e5af6ca113
Add AMD athlon support to x86 assembler and disassembler.
1999-08-21 12:40:35 +00:00
Doug Evans
d0c72719e5
* cgen.h (CGEN_INSN_MACH_HAS_P): New macro.
1999-08-19 05:45:30 +00:00
Jeff Law
85038a8a7f
* hppa.h (pa_opcodes): Add 64 bit versions of or, xor, and,
...
and andcm. Add 32 and 64 bit version of cmpclr, cmpiclr.
1999-08-06 16:03:53 +00:00
Jeff Law
55c98dbaae
* hppa.h: Document 64 bit condition completers.
1999-08-06 15:49:29 +00:00
Jeff Law
978c8e91e3
* hppa.h (pa_opcodes): Change condition args to use '?' prefix.
1999-08-05 22:58:08 +00:00
Alan Modra
0274eb115d
Support for gcc to generate 16-bit i386 code. (.code16gcc)
1999-08-04 10:07:41 +00:00
Jeff Law
83849fdd14
* hppa.h (pa_opcodes): Add "pushnom" and "pushbts".
...
* hppa.h (pa_opcodes): Mark all PA2.0 opcodes with FLAG_STRICT.
1999-07-28 10:31:15 +00:00
Jeff Law
733df03348
* hppa.h (pa_opcodes): Change xmpyu, fmpyfadd,
...
and fmpynfadd to use 'J' and 'K' instead of 'E' and 'X'.
1999-07-28 08:06:30 +00:00
Nick Clifton
34301951e0
Rename F_SOFTFLOAt to F_SOFT_FLOAT for compatability with include/elf/arm.h
1999-07-17 15:40:17 +00:00
Richard Henderson
ae2271b23a
Jakub Jelinek <jj@ultra.linux.cz>
...
* sparc.h (EF_SPARC_SUN_US3): Define in Cheetah extensions
flag (as per SCD2.4.1).
1999-07-16 21:36:38 +00:00
Richard Henderson
8647c02950
Jakub Jelinek <jj@ultra.linux.cz>
...
* sparc.h (ELF64_R_TYPE_DATA): Only use ELF64_R_TYPE bits, not
ELF64_R_SYM bits.
1999-07-16 21:26:39 +00:00
Nick Clifton
939a5db65a
1999-06-21 Philip Blundell <pb@nexus.co.uk>
...
* arm.h (EF_SOFT_FLOAT, F_SOFT_FLOAT): Define.
1999-07-15 01:35:40 +00:00
Nick Clifton
2dbc8e9c1e
1999-06-21 Philip Blundell <pb@nexus.co.uk>
...
* arm.h (F_SOFTFLOAT): Define.
1999-07-15 01:34:30 +00:00
Alan Modra
02309525c5
8
...
include/opcode/i386.h: Add "undocumented" AMD 3DNow! pf2iw, pi2fw, pswapw
1999-07-13 07:41:47 +00:00
Alan Modra
bec8046d67
o
...
include/opcode/i386.h: Add "undocumented" AMD 3DNow! pf2iw, pi2fw, pswapw
1999-07-13 07:41:46 +00:00
Andreas Schwab
de58574b9b
* m68k.h (EF_CPU32): Move definition inside multiple inclusion
...
guard.
1999-07-13 00:50:47 +00:00
Ian Lance Taylor
1e2fe5b32d
* aout64.h (N_SHARED_LIB): Define as 0 if TEXT_START_ADDR is
...
defined as 0.
1999-07-12 11:12:37 +00:00
Ian Lance Taylor
19e94c3e01
* ansidecl.h: Copy attribute support macros from egcs.
1999-07-11 19:15:01 +00:00
Richard Henderson
192e3343c3
* sparc.h (ELF64_R_TYPE_DATA): Sign extend the value.
...
(ELF64_R_TYPE_INFO): Mask out all but low 24 bits of data.
(DT_SPARC_PLTFMT): Delete.
1999-07-08 16:01:06 +00:00
Nick Clifton
bdc7824ee5
Define F_ARM_5
1999-07-05 07:29:04 +00:00
Jeff Law
ca7cd5dc64
* hppa.h (struct pa_opcode): Add new field "flags".
...
(FLAGS_STRICT): Define.
1999-06-30 23:20:56 +00:00
Jeff Law
386449a2f8
* hppa.h (pa_opcodes): Add pa2.0 clrbts instruction.
1999-06-25 03:29:45 +00:00