From patchwork Tue Sep 1 02:33:07 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Turner X-Patchwork-Id: 60702 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DE3B54BA799B for ; Tue, 1 Sep 2026 02:34:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DE3B54BA799B Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=nfGsleZz X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-yx1-xb133.google.com (mail-yx1-xb133.google.com [IPv6:2607:f8b0:4864:20::b133]) by sourceware.org (Postfix) with ESMTPS id F026A4BA5434 for ; Tue, 1 Sep 2026 02:33:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F026A4BA5434 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F026A4BA5434 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::b133 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788230002; cv=none; b=qQw554t3f/yK8+NRM3SxPyvHt0IJR2ImtiYhUZgdmU0iojK/sIDsU0zP76BbduKkG+BBX+NLoJvXFxhEIDFltkHICvOBGrJzkKU+3l0tky+Um78tMmYA2Rio03PrAbvwjYSa/W+A3gJHZkByPB4zWRztFyhnLj6GLQADZeSnm9U= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788230002; c=relaxed/simple; bh=r4wfh6SlX3ZJR1lJRgKa15FJGHS+KOi5GPj3uG1YLco=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=SEJUn7+gzltogn+iz9C1YfTaPGh/srjFqRvIFUnJI6Ds62NpvgMdJ/5z5y2Wl9/yYCdBoZCBnGyRRV7ncqzGSTemf8hUYViO8Jo7iGGAA7gXOlOFiSR7dDnM7N4mNVbi3gIzL5LPfXLPTeZwbsRTuclM0s1DUVt84NcbXcEoWuA= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=nfGsleZz DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F026A4BA5434 Received: by mail-yx1-xb133.google.com with SMTP id 956f58d0204a3-66dbce0b639so2403737d50.1 for ; Mon, 31 Aug 2026 19:33:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788230001; x=1788834801; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=Z7qOcS01E6SRG+hutnkqNk+w7hGhKmWNYZAuWa5N79Q=; b=nfGsleZzgkUMxj1LPm59CCuzDxyFxJGGTb/A7IrstI+vB3gwoYzo6Hd+ZMBdNtnHS1 PWSbo9MvTHhJF2sFtkDVgBLkvxq2Hc0XTQGXmfbIyunlRbgwTG1wvvWoEgAYXE2WvGG1 R824TlmHBe39SzbuM3v0yJZ6YE4DEdOvP/LmmmKYut+sgK3fjOREp5SlbYkg8CjruXYx EA/UsTtMUgJ8tcrBYFS2T1FB1mijNGAvIdpXYVhX9vrvCIKY+3GAIEiwyqPL3S2uYIKL xxLuK/URELT46LG4uLNqNoeqEiJsan21L9sY9ud2Je4JlH5D/9JKwyZLFjg1bRa6F2IJ 3Txw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788230001; x=1788834801; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Z7qOcS01E6SRG+hutnkqNk+w7hGhKmWNYZAuWa5N79Q=; b=oKHNnW+Ccs0+4mqfRCVUF31x6vUlmj8ENikEOg1HgnhEZEiQhrXm47jAap96Lvp7FP TBYeswWmhaDpikwgURjJxcTYKbi+nNk3d2SJ0uQRWy54mUH5z1ToRn6XmH9WtRh+yuFo KdJILwvDzioeZaOVNHvxYwzZ1oWexcMho0fnUDSoM/UDyn/USGvw8OiJu82FbZaxjmR3 T70W73/ZAF36LuFbhiDReH4OJzvk02fC0EKfmx9cQ4dwXdMBzNQGnYrckAllfFbAHxGT clI3hgNo7QsNarOFKyCLO2HjjRJOAy6hz+6gqi4PngjGn0OIXSj3fNP1W6gybvHjtcWB 5A2A== X-Gm-Message-State: AFuF++lGfrH0sqek1LKQ5biovynO62F6+90Ge3y/gj6TaSfT+VvpFOOw bPTQd5wuo28ON9BRxCdcqCHyT0UfPFmTR9oaJzOg8sr9PybqA/nYWmK0XFqXHw== X-Gm-Gg: AYBFou3mvrsF7wshb2NZjrStoNe1FYMng9fhXHeqd4/ifMeVmhNZOp/QUI+2Pw5tnb5 sX2Uq7VGcDYOv1punkEnxAwef9WOvhDrzgMko1s3s+nrnFyVCj9w23bfnJPAgXYh1msYISIcbKF ADheSFvIOHH+f8IoXpiP7TcgW/2EDUKPxI88Hr/zcnHJ9YJ5vPV8SNgpKEX1OIJgRn5LIO5rLTd ov68peoWYGT+hHJ/xaZeoQf7tJe6tCYNigjyJALPFnDiko5SofpfHWVNJ6qWHivmK33A6sbTLUv RJjxP0+14Xo30vpr8yaE5vwOswYo5EZ98ZTiRg2/yIyJOlyMQP/jG0JEqkdronGbfEr/xnHhQSH onS96mF9PWrm1jjxQGUTaQSz+CRyxj6G96Y8up591U9xGutwKUJttUZ1y+MSiQlSmg4ZuneOBrW W/3ZODjcoJYfBVOGhBbLZrCxlLeReBLWb0g2gRyGR4fSnML5DjegS7K0IAy3UXC2z0Oyg6vwkO1 UZK0zCXu/P+Kj21E6PJvqWDmlgrYLigKfq6xmbr X-Received: by 2002:a05:690e:d8e:b0:66e:556d:cd with SMTP id 956f58d0204a3-66e556d33ecmr7641948d50.21.1788230000807; Mon, 31 Aug 2026 19:33:20 -0700 (PDT) Received: from localhost (107-220-129-194.lightspeed.chrlnc.sbcglobal.net. [107.220.129.194]) by smtp.gmail.com with ESMTPSA id 956f58d0204a3-66e4ecf1d87sm7273657d50.12.2026.08.31.19.33.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2026 19:33:19 -0700 (PDT) From: Matt Turner To: binutils@sourceware.org Cc: Magnus Lindholm , Alan Modra , Matt Turner Subject: [PATCH 00/11] alpha: support STT_GNU_IFUNC Date: Mon, 31 Aug 2026 22:33:07 -0400 Message-ID: <20260901023318.3503991-1-mattst88@gmail.com> X-Mailer: git-send-email 2.54.0 MIME-Version: 1.0 X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces~patchwork=sourceware.org@sourceware.org The alpha linker does not support indirect functions. This series adds that support, along with the dynamic relocation it needs, and turns on the ld-ifunc tests. An IFUNC needs a dynamic relocation that stores the value a resolver returns, so patch 3 allocates R_ALPHA_IRELATIVE as relocation type 42, the first number the target has not used. A matching glibc patch, posted to libc-alpha [1], adds the same number and applies the relocation. No dynamic linker or C library startup code implements it today, which ld/NEWS says: a program that uses an indirect function needs a matching C library to run. Until then the GOT entry or data word holds the address of the resolver, which is what alpha does with an IFUNC now, so nothing that links today gets worse. Alpha treats an IFUNC like an ordinary function, so every reference the linker resolves itself currently ends up with the address of the resolver rather than of the function it selects. In a PIC link that address is written by an R_ALPHA_RELATIVE, for a GOT entry or a data word whose symbol binds locally; patch 5 emits an R_ALPHA_IRELATIVE in its place. Space for the RELATIVE is already reserved in the same section, so the sizing does not change. A preemptible IFUNC is left alone: the dynamic linker resolves it, and a PLT entry with a JMP_SLOT is what it wants, exactly as for an STT_FUNC. A non-PIC link reserves no dynamic relocation for a reference it resolves itself, so there is nothing there to turn into an R_ALPHA_IRELATIVE. Patch 7 puts those in a new .rela.iplt, which the linker script places with the other dynamic relocations: ld.so applies it along with the rest of .rela.dyn, and in a static executable libc applies the range between __rela_iplt_start and __rela_iplt_end. Unlike .rela.dyn, .rela.iplt has to be sized exactly, because libc applies every entry of it: a slot that is reserved and then not filled in is an R_ALPHA_NONE that its startup code chokes on. check_relocs cannot do that sizing. It runs before a linker script has had the chance to discard an input section, and only the sections that survive into the output are relocated, so counting there over-reserves. The sizing therefore runs in late_size_sections, over the sections that survived, marking the GOT entry each surviving reference reaches and counting the data references. The GOT entries are counted again on each relaxation trip, since re-merging the GOTs can still combine two entries of a global IFUNC into one. A non-dynamic IFUNC gets no PLT entry, like any other non-dynamic function. Giving it one would put the IRELATIVE in DT_JMPREL, where the dynamic linker expects a JMP_SLOT, and would leave a static link filling in a PLT that nothing branches to. That leaves three cases that alpha cannot express. Each one is now diagnosed: - A relocation that names the symbol directly, R_ALPHA_BRADDR, R_ALPHA_BRSGP, the gp-relative relocations and the pc-relative R_ALPHA_SREL*, reaches the resolver rather than the function it selects. R_ALPHA_REFLONG names it indirectly but has no room for the address. Patch 6 rejects them, reporting all of them in one link instead of stopping at the first. - The address of an IFUNC in a read-only section needs a read-only page relocated, which is DT_TEXTREL in a dynamic link but has nothing to do it in a static one: libc's startup code runs after the kernel has mapped the segment. Other targets hand out the address of a PLT stub; alpha has no PLT entry for a non-dynamic function, so patch 8 reports it. - An R_ALPHA_IRELATIVE carries the address of the resolver in its addend, leaving no room for an offset from the symbol, so patch 10 rejects a non-zero addend on a reference that gets one. A reference the dynamic linker resolves keeps the addend of the symbolic relocation it gets instead and is unaffected. Patch 9 covers the one way left to reserve a .rela.iplt slot and then not fill it: .eh_frame editing deletes the place of a relocation long after the section has been sized and given an address. It reports that reference, and has final_link compare the slots reserved against the slots written as a consistency check on the sizing. The first four patches are preparation and stand on their own: a new GOT entry left two fields uninitialized, DT_TEXTREL was being set in info->flags where DF_TEXTREL belongs, R_ALPHA_IRELATIVE is allocated, and the code that names a symbol for a diagnostic is factored out and replaced by bfd_elf_sym_name. Testing: built with an alpha-linux-gnu cross toolchain. The series adds 41 link tests to ld-alpha, covering local and global IFUNCs in static, dynamic, shared and PIE links, GOT and data references, relaxation, --gc-sections, discarded and COMDAT sections, .eh_frame editing, -z combreloc and -z text, and each of the diagnostics above. Removing alpha from the skip list in ld-ifunc/ifunc.exp runs that directory's link tests too; ifunc-26 stays the expected failure it has been since commit bb4e012ca04, which is a gas .set limitation and not a linker one. The full ld testsuite is 1555 PASS with no failures, and the binutils testsuite is unchanged. [1] https://sourceware.org/pipermail/libc-alpha/2026-August/179703.html Matt Turner (11): alpha: initialize every field of a new got entry alpha: set DF_TEXTREL rather than DT_TEXTREL in info->flags alpha: allocate R_ALPHA_IRELATIVE alpha: factor out elf64_alpha_sym_name alpha: emit R_ALPHA_IRELATIVE in PIC links alpha: reject relocations that cannot refer to an IFUNC alpha: support IFUNC symbols in non-PIC links alpha: reject an IFUNC address in read-only data in a static link alpha: diagnose a reference to an IFUNC whose place is deleted alpha: reject a non-zero addend on a reference to an IFUNC alpha: run the ld-ifunc tests bfd/elf64-alpha.c | 576 +++++++++++++++++- include/elf/alpha.h | 2 + ld/NEWS | 7 + ld/testsuite/ld-alpha/alpha.exp | 6 + ld/testsuite/ld-alpha/ifunc-addend-literal.d | 3 + ld/testsuite/ld-alpha/ifunc-addend-literal.s | 19 + ld/testsuite/ld-alpha/ifunc-addend-local.s | 13 + ld/testsuite/ld-alpha/ifunc-addend-refquad.d | 3 + ld/testsuite/ld-alpha/ifunc-addend-refquad.s | 20 + .../ld-alpha/ifunc-addend-shared-local.d | 3 + ld/testsuite/ld-alpha/ifunc-addend-shared.d | 11 + ld/testsuite/ld-alpha/ifunc-branch.d | 3 + ld/testsuite/ld-alpha/ifunc-branch.s | 17 + ld/testsuite/ld-alpha/ifunc-comdat-a.s | 11 + ld/testsuite/ld-alpha/ifunc-comdat-b.s | 14 + ld/testsuite/ld-alpha/ifunc-comdat.d | 4 + ld/testsuite/ld-alpha/ifunc-discard.d | 11 + ld/testsuite/ld-alpha/ifunc-discard.ld | 4 + ld/testsuite/ld-alpha/ifunc-discard.s | 33 + ld/testsuite/ld-alpha/ifunc-ehframe-a.s | 19 + ld/testsuite/ld-alpha/ifunc-ehframe-b.s | 10 + ld/testsuite/ld-alpha/ifunc-ehframe.d | 4 + ld/testsuite/ld-alpha/ifunc-extern.d | 14 + ld/testsuite/ld-alpha/ifunc-extern.s | 16 + ld/testsuite/ld-alpha/ifunc-gc-local.d | 8 + ld/testsuite/ld-alpha/ifunc-gc-local.s | 32 + ld/testsuite/ld-alpha/ifunc-gc.d | 8 + ld/testsuite/ld-alpha/ifunc-gc.s | 32 + ld/testsuite/ld-alpha/ifunc-global-dynamic.d | 9 + ld/testsuite/ld-alpha/ifunc-global-export.d | 12 + .../ld-alpha/ifunc-global-nocombreloc.d | 9 + ld/testsuite/ld-alpha/ifunc-global-pie.d | 9 + ld/testsuite/ld-alpha/ifunc-global-relax.d | 15 + ld/testsuite/ld-alpha/ifunc-global-shared.d | 12 + ld/testsuite/ld-alpha/ifunc-global-static.d | 17 + ld/testsuite/ld-alpha/ifunc-global.s | 24 + ld/testsuite/ld-alpha/ifunc-gprel.d | 3 + ld/testsuite/ld-alpha/ifunc-gprel.s | 18 + ld/testsuite/ld-alpha/ifunc-gprel32.d | 3 + ld/testsuite/ld-alpha/ifunc-gprel32.s | 17 + .../ld-alpha/ifunc-local-call-shared.d | 8 + .../ld-alpha/ifunc-local-call-static.d | 8 + ld/testsuite/ld-alpha/ifunc-local-call.s | 17 + ld/testsuite/ld-alpha/ifunc-local-dynamic.d | 9 + ld/testsuite/ld-alpha/ifunc-local-relax.d | 16 + ld/testsuite/ld-alpha/ifunc-local-shared.d | 9 + ld/testsuite/ld-alpha/ifunc-local-static.d | 17 + ld/testsuite/ld-alpha/ifunc-local.s | 25 + ld/testsuite/ld-alpha/ifunc-multi-a.s | 24 + ld/testsuite/ld-alpha/ifunc-multi-b.s | 16 + ld/testsuite/ld-alpha/ifunc-multi.d | 13 + ld/testsuite/ld-alpha/ifunc-none.d | 7 + ld/testsuite/ld-alpha/ifunc-none.s | 12 + ld/testsuite/ld-alpha/ifunc-reflong-dynamic.d | 3 + ld/testsuite/ld-alpha/ifunc-reflong-static.d | 3 + ld/testsuite/ld-alpha/ifunc-reflong.s | 26 + ld/testsuite/ld-alpha/ifunc-relax-a.s | 32 + ld/testsuite/ld-alpha/ifunc-relax-b.s | 47 ++ ld/testsuite/ld-alpha/ifunc-relax-discard.d | 14 + ld/testsuite/ld-alpha/ifunc-relax-discard.s | 41 ++ ld/testsuite/ld-alpha/ifunc-relax.d | 14 + ld/testsuite/ld-alpha/ifunc-rodata-dynamic.d | 12 + ld/testsuite/ld-alpha/ifunc-rodata-static.d | 3 + ld/testsuite/ld-alpha/ifunc-rodata-ztext.d | 4 + ld/testsuite/ld-alpha/ifunc-rodata.s | 22 + ld/testsuite/ld-alpha/ifunc-shlib.s | 9 + ld/testsuite/ld-alpha/ifunc-srel.d | 3 + ld/testsuite/ld-alpha/ifunc-srel.s | 19 + ld/testsuite/ld-alpha/ifunc-weak-dynamic.d | 9 + ld/testsuite/ld-alpha/ifunc-weak-static.d | 9 + .../ld-alpha/ifunc-weak-undef-dynamic.d | 5 + .../ld-alpha/ifunc-weak-undef-static.d | 5 + ld/testsuite/ld-alpha/ifunc-weak-undef.s | 22 + ld/testsuite/ld-alpha/ifunc-weak.s | 24 + ld/testsuite/ld-alpha/textrel.d | 9 + ld/testsuite/ld-alpha/textrel.s | 13 + ld/testsuite/ld-ifunc/ifunc.exp | 1 - 77 files changed, 1550 insertions(+), 31 deletions(-) create mode 100644 ld/testsuite/ld-alpha/ifunc-addend-literal.d create mode 100644 ld/testsuite/ld-alpha/ifunc-addend-literal.s create mode 100644 ld/testsuite/ld-alpha/ifunc-addend-local.s create mode 100644 ld/testsuite/ld-alpha/ifunc-addend-refquad.d create mode 100644 ld/testsuite/ld-alpha/ifunc-addend-refquad.s create mode 100644 ld/testsuite/ld-alpha/ifunc-addend-shared-local.d create mode 100644 ld/testsuite/ld-alpha/ifunc-addend-shared.d create mode 100644 ld/testsuite/ld-alpha/ifunc-branch.d create mode 100644 ld/testsuite/ld-alpha/ifunc-branch.s create mode 100644 ld/testsuite/ld-alpha/ifunc-comdat-a.s create mode 100644 ld/testsuite/ld-alpha/ifunc-comdat-b.s create mode 100644 ld/testsuite/ld-alpha/ifunc-comdat.d create mode 100644 ld/testsuite/ld-alpha/ifunc-discard.d create mode 100644 ld/testsuite/ld-alpha/ifunc-discard.ld create mode 100644 ld/testsuite/ld-alpha/ifunc-discard.s create mode 100644 ld/testsuite/ld-alpha/ifunc-ehframe-a.s create mode 100644 ld/testsuite/ld-alpha/ifunc-ehframe-b.s create mode 100644 ld/testsuite/ld-alpha/ifunc-ehframe.d create mode 100644 ld/testsuite/ld-alpha/ifunc-extern.d create mode 100644 ld/testsuite/ld-alpha/ifunc-extern.s create mode 100644 ld/testsuite/ld-alpha/ifunc-gc-local.d create mode 100644 ld/testsuite/ld-alpha/ifunc-gc-local.s create mode 100644 ld/testsuite/ld-alpha/ifunc-gc.d create mode 100644 ld/testsuite/ld-alpha/ifunc-gc.s create mode 100644 ld/testsuite/ld-alpha/ifunc-global-dynamic.d create mode 100644 ld/testsuite/ld-alpha/ifunc-global-export.d create mode 100644 ld/testsuite/ld-alpha/ifunc-global-nocombreloc.d create mode 100644 ld/testsuite/ld-alpha/ifunc-global-pie.d create mode 100644 ld/testsuite/ld-alpha/ifunc-global-relax.d create mode 100644 ld/testsuite/ld-alpha/ifunc-global-shared.d create mode 100644 ld/testsuite/ld-alpha/ifunc-global-static.d create mode 100644 ld/testsuite/ld-alpha/ifunc-global.s create mode 100644 ld/testsuite/ld-alpha/ifunc-gprel.d create mode 100644 ld/testsuite/ld-alpha/ifunc-gprel.s create mode 100644 ld/testsuite/ld-alpha/ifunc-gprel32.d create mode 100644 ld/testsuite/ld-alpha/ifunc-gprel32.s create mode 100644 ld/testsuite/ld-alpha/ifunc-local-call-shared.d create mode 100644 ld/testsuite/ld-alpha/ifunc-local-call-static.d create mode 100644 ld/testsuite/ld-alpha/ifunc-local-call.s create mode 100644 ld/testsuite/ld-alpha/ifunc-local-dynamic.d create mode 100644 ld/testsuite/ld-alpha/ifunc-local-relax.d create mode 100644 ld/testsuite/ld-alpha/ifunc-local-shared.d create mode 100644 ld/testsuite/ld-alpha/ifunc-local-static.d create mode 100644 ld/testsuite/ld-alpha/ifunc-local.s create mode 100644 ld/testsuite/ld-alpha/ifunc-multi-a.s create mode 100644 ld/testsuite/ld-alpha/ifunc-multi-b.s create mode 100644 ld/testsuite/ld-alpha/ifunc-multi.d create mode 100644 ld/testsuite/ld-alpha/ifunc-none.d create mode 100644 ld/testsuite/ld-alpha/ifunc-none.s create mode 100644 ld/testsuite/ld-alpha/ifunc-reflong-dynamic.d create mode 100644 ld/testsuite/ld-alpha/ifunc-reflong-static.d create mode 100644 ld/testsuite/ld-alpha/ifunc-reflong.s create mode 100644 ld/testsuite/ld-alpha/ifunc-relax-a.s create mode 100644 ld/testsuite/ld-alpha/ifunc-relax-b.s create mode 100644 ld/testsuite/ld-alpha/ifunc-relax-discard.d create mode 100644 ld/testsuite/ld-alpha/ifunc-relax-discard.s create mode 100644 ld/testsuite/ld-alpha/ifunc-relax.d create mode 100644 ld/testsuite/ld-alpha/ifunc-rodata-dynamic.d create mode 100644 ld/testsuite/ld-alpha/ifunc-rodata-static.d create mode 100644 ld/testsuite/ld-alpha/ifunc-rodata-ztext.d create mode 100644 ld/testsuite/ld-alpha/ifunc-rodata.s create mode 100644 ld/testsuite/ld-alpha/ifunc-shlib.s create mode 100644 ld/testsuite/ld-alpha/ifunc-srel.d create mode 100644 ld/testsuite/ld-alpha/ifunc-srel.s create mode 100644 ld/testsuite/ld-alpha/ifunc-weak-dynamic.d create mode 100644 ld/testsuite/ld-alpha/ifunc-weak-static.d create mode 100644 ld/testsuite/ld-alpha/ifunc-weak-undef-dynamic.d create mode 100644 ld/testsuite/ld-alpha/ifunc-weak-undef-static.d create mode 100644 ld/testsuite/ld-alpha/ifunc-weak-undef.s create mode 100644 ld/testsuite/ld-alpha/ifunc-weak.s create mode 100644 ld/testsuite/ld-alpha/textrel.d create mode 100644 ld/testsuite/ld-alpha/textrel.s