summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-25Automatic date update in version.inGDB Administrator
2022-05-24Automatic date update in version.inGDB Administrator
2022-05-23Automatic date update in version.inGDB Administrator
2022-05-22Automatic date update in version.inGDB Administrator
2022-05-21Automatic date update in version.inGDB Administrator
2022-05-20Automatic date update in version.inGDB Administrator
2022-05-19AArch64: Enable FP16 by default for Armv9-A.Tamar Christina
In Armv9-A SVE is mandatory, and for SVE FP16 is mandatory. This fixes a disconnect between GCC and binutils where GCC has FP16 on by default and gas doesn't. include/ChangeLog: 2022-05-16 Tamar Christina <tamar.christina@arm.com> * opcode/aarch64.h (AARCH64_ARCH_V9_FEATURES): Add AARCH64_FEATURE_F16. (cherry picked from commit e1e15284481896505eab0cbc556f2348ef8fffbf) Signed-off-by: Tamar Christina <tamar.christina@arm.com>
2022-05-19Automatic date update in version.inGDB Administrator
2022-05-18Automatic date update in version.inGDB Administrator
2022-05-17Automatic date update in version.inGDB Administrator
2022-05-16Automatic date update in version.inGDB Administrator
2022-05-15Automatic date update in version.inGDB Administrator
2022-05-14Automatic date update in version.inGDB Administrator
2022-05-13Automatic date update in version.inGDB Administrator
2022-05-12PR29142, segv in ar with empty archive and libdeps specifiedAlan Modra
PR 29142 * ar.c (main): Properly handle libdeps for zero file_count. (cherry picked from commit fa445221958a9b8c8c4a804a339bc54cedfd83b9)
2022-05-12Automatic date update in version.inGDB Administrator
2022-05-11Automatic date update in version.inGDB Administrator
2022-05-10Automatic date update in version.inGDB Administrator
2022-05-09M68K: avoid quadratic slowdlow in label alignment checkSergei Trofimovich
Before the change tc-m68k maintained a list of seen labels. Alignment check traversed label list to resolve symbol to label. This caused quadratic slowdown as each symbol was checked against each label. Worst affected files are the ones built with debugging enabled as DWARF generates many labels. The change embeds auxiliary label information right into symbol using TC_SYMFIELD_TYPE. Before the change test from PR 29058 did not finish in 10 minutes. After the change it finishes in 2 seconds. gas/ChangeLog: PR 29058 * config/tc-m68k.h (TC_SYMFIELD_TYPE): define as m68k_tc_sy. * config/tc-m68k.c (m68k_frob_label): Use TC_SYMFIELD_TYPE to store label information. (cherry picked from commit c641fe0dcb886dc1b8a235ab2b236275ee46510a)
2022-05-09Adjust ld ctf test for 32-bit targetsAlan Modra
powerpc-linux, and I suspect other 32-bit targets, report "aligned at 0x4" for this test. * testsuite/ld-ctf/nonrepresentable.d: Accept any alignment. (cherry picked from commit db120fb808dc24538e89b851d6dda1890aad5a1f)
2022-05-09Automatic date update in version.inGDB Administrator
2022-05-08Automatic date update in version.inGDB Administrator
2022-05-07Automatic date update in version.inGDB Administrator
2022-05-06Automatic date update in version.inGDB Administrator
2022-05-05Automatic date update in version.inGDB Administrator
2022-05-04Automatic date update in version.inGDB Administrator
2022-05-03Automatic date update in version.inGDB Administrator
2022-05-02Automatic date update in version.inGDB Administrator
2022-05-01Automatic date update in version.inGDB Administrator
2022-04-30Automatic date update in version.inGDB Administrator
2022-04-29Automatic date update in version.inGDB Administrator
2022-04-28x86: Properly handle function pointer referenceH.J. Lu
Update commit ebb191adac4ab45498dec0bfaac62f0a33537ba4 Author: H.J. Lu <hjl.tools@gmail.com> Date: Wed Feb 9 15:51:22 2022 -0800 x86: Disallow invalid relocation against protected symbol to allow function pointer reference and make sure that PLT entry isn't used for function reference due to function pointer reference. bfd/ PR ld/29087 * elf32-i386.c (elf_i386_scan_relocs): Don't set pointer_equality_needed nor check non-canonical reference for function pointer reference. * elf64-x86-64.c (elf_x86_64_scan_relocs): Likewise. ld/ PR ld/29087 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/29087 tests. * testsuite/ld-x86-64/protected-func-3.c: New file. (cherry picked from commit 68c4956b1401de70173848a6bdf620cb42fa9358)
2022-04-28s390: Add DT_JMPREL pointing to .rela.[i]plt with static-pieStefan Liebler
In static-pie case, there are IRELATIVE-relocs in .rela.iplt (htab->irelplt), which will later be grouped to .rela.plt. On s390, the IRELATIVE relocations are always located in .rela.iplt - even for non-static case. Ensure that DT_JMPREL, DT_PLTRELA, DT_PLTRELASZ is added to the dynamic section even if htab->srelplt->size == 0. See _bfd_elf_add_dynamic_tags in bfd/elflink.c. bfd/ elf64-s390.c (elf_s390_size_dynamic_sections): Enforce DT_JMPREL via htab->elf.dt_jmprel_required. (cherry picked from commit d942d8db12adf4c9e5c7d9ed6496a779ece7149e)
2022-04-28s390: Avoid dynamic TLS relocs in PIEStefan Liebler
No dynamic relocs are needed for TLS defined in an executable, the TP relative offset is known at link time. Fixes FAIL: Build pr22263-1 bfd/ PR ld/22263 * elf64-s390.c (elf_s390_tls_transition): Use bfd_link_dll instead of bfd_link_pic for TLS. (elf_s390_check_relocs): Likewise. (allocate_dynrelocs): Likewise. (elf_s390_relocate_section): Likewise. (cherry picked from commit 26b1426577b5dcb32d149c64cca3e603b81948a9)
2022-04-28Automatic date update in version.inGDB Administrator
2022-04-27Automatic date update in version.inGDB Administrator
2022-04-26Automatic date update in version.inGDB Administrator
2022-04-25Automatic date update in version.inGDB Administrator
2022-04-24Automatic date update in version.inGDB Administrator
2022-04-23Automatic date update in version.inGDB Administrator
2022-04-22Automatic date update in version.inGDB Administrator
2022-04-21Automatic date update in version.inGDB Administrator
2022-04-20Automatic date update in version.inGDB Administrator
2022-04-19Automatic date update in version.inGDB Administrator
2022-04-18Automatic date update in version.inGDB Administrator
2022-04-17Automatic date update in version.inGDB Administrator
2022-04-16Automatic date update in version.inGDB Administrator
2022-04-15Automatic date update in version.inGDB Administrator
2022-04-14Automatic date update in version.inGDB Administrator
2022-04-13LoongArch: Update ABI eflag in elf header.Liuzhen Song