Bug 30923 - ld testsuite: Thumb PLT and GOT tests should be skipped on musl armhf targets
Summary: ld testsuite: Thumb PLT and GOT tests should be skipped on musl armhf targets
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: 2.41
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-01 02:21 UTC by A. Wilcox
Modified: 2023-10-05 11:55 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
Patch fixing the tests. (474 bytes, text/plain)
2023-10-01 02:21 UTC, A. Wilcox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description A. Wilcox 2023-10-01 02:21:14 UTC
Created attachment 15144 [details]
Patch fixing the tests.

The Thumb PLT tests in ld-arm are skipped on *-*-gnueabihf targets because the locations are slightly different (the output is the same, but with the wrong addresses).  The same should be done for *-*-musleabihf.
Comment 1 Sourceware Commits 2023-10-05 11:52:28 UTC
The master branch has been updated by Nick Clifton <nickc@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8023a054649541dfce3be99a5f84c8afb66f2c62

commit 8023a054649541dfce3be99a5f84c8afb66f2c62
Author: A. Wilcox <awilfox@adelielinux.org>
Date:   Thu Oct 5 12:51:53 2023 +0100

    Fix: ld testsuite: Thumb PLT and GOT tests should be skipped on musl armhf targets
    
      PR 30923
      * testsuite/ld-arm/thumb-plt-got.d: Skip test for configurations using the MUSL library.
      * testsuite/ld-arm/thumb-plt.d: Likewise.
Comment 2 Nick Clifton 2023-10-05 11:55:18 UTC
Patch applied - thanks!