DJ Delorie
6112b8746a
merge from gcc
26 years ago
Jakub Jelinek
579f31ac74
* 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.
26 years ago
DJ Delorie
457161bf17
merge from gcc
26 years ago
DJ Delorie
e00bc6a7ba
merge from gcc
26 years ago
Alan Modra
ae990a1af3
* 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.
26 years ago
Alan Modra
992aaec9a9
Assorted fixes to pinsrw, pextrw, pmovmskb, movmskp, maskmovq.
26 years ago
Nick Clifton
87e6d78217
Add openRISC support in opcodes
26 years ago
DJ Delorie
7674a3df37
* sparc.h: Fix typo.
26 years ago
Nick Clifton
b3baf5d0a8
Add OpenRISC support
26 years ago
Andreas Jaeger
fe4770f478
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.
26 years ago
Daniel Berlin
400ee7e1e2
2001-04-15 Daniel Berlin <dan@cgsoftware.com>
26 years ago
Jakub Jelinek
f5fa8ca231
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.
26 years ago
Hans-Peter Nilsson
4ef7f0bf1c
* cris.h (enum cris_insn_version_usage): Correct comment for
cris_ver_v3p.
26 years ago
DJ Delorie
d969735448
merge from gcc
26 years ago
DJ Delorie
129e8d96a5
merge from gcc
26 years ago
Alan Modra
0f17484fd3
Small tweaks to sse2 instructions.
26 years ago
Nick Clifton
cc51ea7952
Remove extraneous whitespace
26 years ago
Nick Clifton
e3806b3775
Fix compile time warnings.
26 years ago
Hans-Peter Nilsson
7ccb52381a
* cris.h (ADD_PC_INCR_OPCODE): New macro.
26 years ago
Hans-Peter Nilsson
e079041e2f
* 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.
26 years ago
Kazu Hirata
361bfa20e5
2001-03-21 Kazu Hirata <kazu@hxi.com>
* h8300.h: Fix formatting.
26 years ago
Alan Modra
87890af05c
paddq and psubq support.
26 years ago
Jim Blandy
e61231f114
* 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.
26 years ago
Alan Modra
2e98d2de04
Fix register name printed in warning message.
26 years ago
H.J. Lu
951b392098
Fix a typo.
26 years ago
DJ Delorie
5df9ca2b80
merge from gcc
26 years ago
DJ Delorie
7a008bcb7b
Fix minor formatting bugs.
26 years ago
Nick Clifton
526c3e1208
Synchronise with copyright dates on FSF GCC versions of these files
26 years ago
Nick Clifton
120aa76a7f
formatting fix
26 years ago
Nick Clifton
4f1d9bd8e2
Fix typos in ChangeLogs; add coff/external.h; fix copyright dates
26 years ago
DJ Delorie
8aa30e60ce
merge from gcc
26 years ago
DJ Delorie
30673bf511
merge from gcc
26 years ago
DJ Delorie
d84829cc79
merge from gcc
26 years ago
Nick Clifton
80a523c2e1
new defines for Coldfire V4.
26 years ago
Phil Blundell
2a7a46249e
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.
26 years ago
Nick Clifton
e135f41bc2
Add PDP-11 support
26 years ago
DJ Delorie
c9430732f0
* include/coff/pe.h: Rename PEP64AOUTHDR to PEPAOUTHDR. Rename
PEP64AOUTSZ to PEPAOUTSZ.
26 years ago
Jan Hubicka
76f227a511
* 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'
26 years ago
Nick Clifton
e02fedb69d
Remove annoying entry....:-)
26 years ago
Nick Clifton
8eaec934e2
Remove extraneous whitespace
26 years ago
Nick Clifton
a85d7ed0f0
Add s390 support
26 years ago
H.J. Lu
9853629004
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.
26 years ago
Patrick Macdonald
0715dc88cf
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.
26 years ago
DJ Delorie
bc9bf2596e
merge from gcc
26 years ago
Alan Modra
296bc5686a
Fix swapgs instruction.
26 years ago
Alan Modra
1328dc9844
Adds assembly and dis-assembly support for the HPPA wide
mode, 16 bit forms of ldi, ldo, ldw and stw instructions.
26 years ago
Jan Hubicka
e2914f484e
* i386.c (md_assemble): Check cpu_flags even for nullary instructions.
26 years ago
Nick Clifton
0d2bcfafbf
Updated ARC assembler from arccores.com
26 years ago
Jan Hubicka
7c2b079e27
* i386.h (pinsrw): Add.
26 years ago
Alan Modra
079966a8ad
Fix "movnti"
26 years ago