Alan Modra
24a474a4aa
Correct cvtps2dq, movdq2q, movq2dq, and movq problems.
2001-05-12 09:52:39 +00:00
DJ Delorie
37922e1277
merge from gcc
2001-05-11 20:22:28 +00:00
Jakub Jelinek
0b671586c0
* elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
...
sections as well.
(elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO
to .gnu.linkonce.t.FOO text section.
* readelf.c (process_unwind): Print all unwind sections, not just
one.
* config/tc-ia64.c (special_linkonce_name): New.
(make_unw_section): Map .gnu.linkonce.t.FOO text section into
.gnu.linkonce.ia64unw{,i}.FOO.
(ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
(dot_endp): Add comment about it.
* elf/ia64.h (ELF_STRING_ia64_unwind_once): Define.
(ELF_STRING_ia64_unwind_info_once): Define.
* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
.gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
output sections.
* emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2001-05-11 12:36:47 +00:00
DJ Delorie
791cada5a2
merge from gcc
2001-05-08 14:34:36 +00:00
DJ Delorie
8f2e6ee891
merge from gcc
2001-05-07 16:19:25 +00:00
Alan Modra
c9b76619ac
* external.h: Fix typo.
...
* mips.h: Add/Extend many comments with reference to the MIPS ELF64
spec v. 2.4, available at e.g.
ftp://oss.sgi.com/pub/linux/mips/doc/ABI/ELF64.ps.
(EF_MIPS_UCODE): Define.
(EF_MIPS_OPTIONS_FIRST): Define.
(EF_MIPS_ARCH_ASE): Define.
(EF_MIPS_ARCH_ASE_MDMX): Define.
(EF_MIPS_ARCH_ASE_M16): Define.
(SHF_MIPS_ADDR): Renamed SHF_MIPS_ADDR32.
(SHF_MIPS_STRING): Renamed SHF_MIPS_ADDR64.
(SHF_MIPS_NODUPES): Define.
(ELF64_MIPS_R_SSYM): New MIPS ELF 64 relocation info access macro.
(ELF64_MIPS_R_TYPE3): Likewise.
(ELF64_MIPS_R_TYPE2): Likewise.
(ELF64_MIPS_R_TYPE): Likewise.
(OHW_R10KLDL): Define.
2001-05-07 09:18:52 +00:00
Alan Modra
268fad77db
Assorted fixes to pinsrw, pextrw, pmovmskb, movmskp, maskmovq.
2001-05-04 11:10:53 +00:00
Nick Clifton
9572ecf979
Add openRISC support in opcodes
2001-04-27 13:33:26 +00:00
DJ Delorie
96d16d1c11
* sparc.h: Fix typo.
2001-04-24 18:32:27 +00:00
Nick Clifton
19a90cfeaf
Add OpenRISC support
2001-04-24 15:08:16 +00:00
Andreas Jaeger
4ba81bbab2
2001-04-23 Bo Thorsen <bo@suse.de>
...
* x86-64.h: Add vtable support.
2001-04-23 Bo Thorsen <bo@suse.de>
* elf64-x86-64.c: Add c++ vtable hack.
Small whitespace and comment changes.
2001-04-23 08:00:14 +00:00
Daniel Berlin
881afbda5a
2001-04-15 Daniel Berlin <dan@cgsoftware.com>
...
* ternary.c: New file - Ternary search tree implementation.
2001-04-15 Daniel Berlin <dan@cgsoftware.com>
* ternary.h: New file - Ternary search tree header.
2001-04-16 14:10:14 +00:00
Jakub Jelinek
cf620a6912
bfd/
...
* libbfd-in.h (_bfd_merge_section): New.
(_bfd_write_merged_section): New.
(_bfd_merged_section_offset): New.
* libbfd.h: Rebuilt.
* linker.c (_bfd_generic_link_output_symbols): Handle
discard_sec_merge.
* aoutx.h (aout_link_write_symbols): Likewise.
* pdp11.c (aout_link_write_symbols): Likewise.
* elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section.
(elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE
sections.
(elf_link_sec_merge_syms): New.
(elf_link_input_bfd): Call _bfd_merged_section_offset
and _bfd_write_merged_section.
Handle discard_sec_merge.
* elf-bfd.h (struct elf_link_hash_table): Add merge_info
field.
(struct bfd_elf_section_data): Likewise.
* elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and
SEC_STRINGS section flags and entsize from their ELF counterparts.
(_bfd_elf_link_hash_table_init): Initialize merge_info.
(elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize
from their BFD counterparts.
* merge.c: New file.
* Makefile.am: Add strtab.lo.
* Makefile.in: Rebuilt.
include/
* bfdlink.h (bfd_link_discard): Add discard_sec_merge.
gas/
* config/obj-elf.c (obj_elf_change_section): Add entsize argument,
handle SHF_MERGE and SHF_STRINGS.
(obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS.
(obj_elf_section): Allow additional argument specifying entity size.
* write.c (adjust_reloc_syms): Keep relocations against local symbols
in SEC_MERGE sections.
ld/
* ldmain.c (main): Default to discard_sec_merge.
* lexsup.c (OPTION_DISCARD_NONE): Define.
(ld_options): Add --discard-none.
(parse_args): Handle OPTION_DISCARD_NONE.
* ldlang.c (wild_doit): SEC_MERGE should be set in the output
section only if SEC_MERGE and SEC_STRINGS flags and entsize of
all its input sections match.
2001-04-13 00:34:36 +00:00
Hans-Peter Nilsson
b25c2ad730
* cris.h (enum cris_insn_version_usage): Correct comment for
...
cris_ver_v3p.
2001-04-05 19:35:17 +00:00
DJ Delorie
51fc3813e9
merge from gcc
2001-04-04 01:15:59 +00:00
DJ Delorie
aa38a0227c
merge from gcc
2001-03-31 19:05:20 +00:00
Alan Modra
e380bf39ff
Small tweaks to sse2 instructions.
2001-03-24 06:29:15 +00:00
Nick Clifton
5c3393d227
Remove extraneous whitespace
2001-03-24 00:46:00 +00:00
Nick Clifton
5fa78238cb
Fix compile time warnings.
2001-03-24 00:45:11 +00:00
Hans-Peter Nilsson
21ebbf8ecf
* cris.h (ADD_PC_INCR_OPCODE): New macro.
2001-03-22 16:09:20 +00:00
Hans-Peter Nilsson
e086534fc6
* cris.h: Add leading comment about PC-relative location.
...
(R_CRIS_COPY, R_CRIS_GLOB_DAT, R_CRIS_JUMP_SLOT, R_CRIS_RELATIVE,
R_CRIS_16_GOT, R_CRIS_32_GOT, R_CRIS_16_GOTPLT, R_CRIS_32_GOTPLT,
R_CRIS_32_GOTREL, R_CRIS_32_PLT_GOTREL, R_CRIS_32_PLT_PCREL):
New relocs.
2001-03-22 13:03:58 +00:00
Kazu Hirata
10654b8555
2001-03-21 Kazu Hirata <kazu@hxi.com>
...
* h8300.h: Fix formatting.
2001-03-22 02:51:19 +00:00
Alan Modra
46b107fb28
paddq and psubq support.
2001-03-22 02:27:53 +00:00
Jim Blandy
8e65e2d398
* libiberty/cp-demangle.c (struct demangling_def): New fields:
...
is_constructor and is_destructor.
(demangling_new): Initialize them.
(demangle_ctor_dtor_name): Set them, if we detect a constructor
or destructor.
(demangle_v3_with_details, is_gnu_v3_mangled_ctor,
is_gnu_v3_mangled_dtor): New functions.
* include/demangle.h (enum gnu_v3_constructor_kinds,
is_gnu_v3_mangled_ctor, enum gnu_v3_destructor_kinds,
is_gnu_v3_mangled_dtor): New declarations.
2001-03-20 18:22:38 +00:00
Alan Modra
ca05a71296
Fix register name printed in warning message.
2001-03-19 11:28:20 +00:00
H.J. Lu
b9a1ad5f28
Fix a typo.
2001-03-18 02:56:20 +00:00
DJ Delorie
8308bf58f7
merge from gcc
2001-03-14 21:30:22 +00:00
DJ Delorie
996452f433
Fix minor formatting bugs.
2001-03-14 20:17:36 +00:00
Nick Clifton
ae2a41e5cb
Synchronise with copyright dates on FSF GCC versions of these files
2001-03-14 19:45:29 +00:00
Nick Clifton
fc41708502
formatting fix
2001-03-14 02:33:30 +00:00
Nick Clifton
c77e3e5481
Fix typos in ChangeLogs; add coff/external.h; fix copyright dates
2001-03-14 02:27:44 +00:00
DJ Delorie
6a6a6fa2ae
merge from gcc
2001-03-10 22:23:16 +00:00
DJ Delorie
25ee9ae285
merge from gcc
2001-03-06 18:26:32 +00:00
DJ Delorie
d08d72adff
merge from gcc
2001-03-02 02:12:03 +00:00
Nick Clifton
35fc781b4b
new defines for Coldfire V4.
2001-02-28 23:47:10 +00:00
Phil Blundell
cf2fe7531d
2001-02-27 Philip Blundell <pb@futuretv.com>
...
* arm.h: Add new definitions from ARM document SWS ESPC 0003 B-01.
(EF_PIC, et al.): Rename to EF_ARM_xx.
2001-02-28 10:11:36 +00:00
Nick Clifton
72a82eaa20
Add PDP-11 support
2001-02-18 23:33:07 +00:00
DJ Delorie
6279373cae
* include/coff/pe.h: Rename PEP64AOUTHDR to PEPAOUTHDR. Rename
...
PEP64AOUTSZ to PEPAOUTSZ.
2001-02-13 21:01:44 +00:00
Jan Hubicka
343329bac2
* i386.h (i386_optab): SSE integer converison instructions have
...
64bit versions on x86-64.
* i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison
instructions.
(putop): Handle 'Y'
2001-02-12 16:42:49 +00:00
Nick Clifton
70bf79a017
Remove annoying entry....:-)
2001-02-10 22:30:07 +00:00
Nick Clifton
da2da20f20
Remove extraneous whitespace
2001-02-10 22:26:55 +00:00
Nick Clifton
1e667f61b7
Add s390 support
2001-02-10 00:58:38 +00:00
H.J. Lu
b1417ae1cc
2001-01-23 H.J. Lu <hjl@gnu.org>
...
* include/coff/pe.h (struct external_PEI_DOS_hdr): New.
(struct external_PEI_IMAGE_hdr): New.
2001-02-06 19:35:48 +00:00
Patrick Macdonald
30da4f3d29
Binutils portion of fix for syntax array elements when max
...
operands is greater than 127.
2001-02-02 Patrick Macdonald <patrickm@redhat.com>
* cgen.h (CGEN_SYNTAX_CHAR_TYPE): Typedef as unsigned short.
(CGEN_MAX_SYNTAX_ELEMENTS): Rename from CGEN_MAX_SYNTAX_BYTES.
(CGEN_SYNTAX): Define using CGEN_MAX_SYNTAX_ELEMENTS.
* fr30-desc.h: Regenerate with CGEN_MAX_SYNTAX_ELEMENTS.
* m32r-desc.h: Regenerate.
2001-02-02 23:04:39 +00:00
DJ Delorie
6c9d74d3fe
merge from gcc
2001-02-02 18:58:10 +00:00
Alan Modra
77ab85cb32
Fix swapgs instruction.
2001-01-24 07:32:34 +00:00
Alan Modra
b0c8c95b1e
Adds assembly and dis-assembly support for the HPPA wide
...
mode, 16 bit forms of ldi, ldo, ldw and stw instructions.
2001-01-14 05:14:45 +00:00
Jan Hubicka
ad3faf61ab
* i386.c (md_assemble): Check cpu_flags even for nullary instructions.
...
* i386.h (i386_optab): Fix pusha and ret templates.
* i386-dis.c (dis386_att, disx86_64_att): Fix ret, lret and iret
templates.
2001-01-13 09:05:55 +00:00
Nick Clifton
c9bd08bcb2
Updated ARC assembler from arccores.com
2001-01-11 21:20:19 +00:00
Jan Hubicka
d9d921952c
* i386.h (pinsrw): Add.
...
(pshufw): Remove.
(cvttpd2dq): Fix operands.
(cvttps2dq): Likewise.
(movq2q): Rename to movdq2q.
2001-01-10 14:31:46 +00:00