From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by sourceware.org (Postfix) with ESMTPS id 2C0353858D1E for ; Wed, 14 Sep 2022 00:49:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2C0353858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-x102a.google.com with SMTP id q15-20020a17090a304f00b002002ac83485so12939709pjl.0 for ; Tue, 13 Sep 2022 17:49:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date; bh=p2m+OgA882FtAP2CWRqTAt8pwkOWLJv+FOol0VkoRk0=; b=CfkG23ZcMQ/szG82IbBMMc8rhX4kCfiLfAbF/kXktYI81+uJuNwdoXmhPT1FEy29A7 p2QmXaOyKd6z+XL/UdiDYIg3jtO2LP7+RBWvApZa7xSEYY1k0cGtRzAx7j8XkGq22I2D GZyffIQhVvX7lomCTTef+m/qbRPixs3ipKMPAnEM4dU1Xe45fTJDY2YfMceqwI6yRHZT yZ+WpUHbqN573rYXCJAVBs9+tZIDZtXOiUPyWQB8v9XkF26G0ePp6+Zc0gfmZYaF5xSa bLh693aowaZy6YcQUuPf/X7o6f5XuJj83cI6/pfSqgkBRPk7Fg3fMHOL3n5bC0XWne4L yfBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date; bh=p2m+OgA882FtAP2CWRqTAt8pwkOWLJv+FOol0VkoRk0=; b=lN9ZNdpjHDdBYPRHoOf0SbW0QRgn1vtsx5LSFKeMYXX4yevCYOA67cdtu+80GhNnuH qinweKUI/fGj17efwcSza6zTTXPPe3mCEkQB6aPqPOmrM4VAdjiJtbxpJtUSV+KgHu10 Oo/porc67Lw8MLUReXc3Qyg4rhbAW8e/RPCnSoEvDf5lccbOehUrlZXgZoxihnCoTJ+w A4WC2RAaPUz0cdtSkBd2F5u8P1KTK8OO5quEcIBRiYesLfDfUMmibqsNo/+xzz6GAvbP M49OBojnZW6A2rS18TIp/nJQ/EqaaICg9BkrZEeRYAE1mfIzhAUDUXTat94BQWoHdLYi zqzQ== X-Gm-Message-State: ACrzQf1dGWmOxMESOvK4Y9n6Kbsom60+IMFFKYX1VghVD4S+hZmQLZuF TZHXdxpVeawlzwD3Vw/RZF1oeraxK9k= X-Google-Smtp-Source: AMsMyM4UHD6A7fVh8o/SUmeR3EHQngZqo3cMTmjpkPnfqmuXTLR/2EAIvC0jptYJJwa/qzglZdWnSg== X-Received: by 2002:a17:90b:1e45:b0:201:6b28:5403 with SMTP id pi5-20020a17090b1e4500b002016b285403mr1988991pjb.164.1663116574990; Tue, 13 Sep 2022 17:49:34 -0700 (PDT) Received: from squeak.grove.modra.org ([2406:3400:51d:8cc0:e54b:c5e7:d44e:f16]) by smtp.gmail.com with ESMTPSA id b37-20020a631b65000000b00434651f9a96sm8190053pgm.15.2022.09.13.17.49.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Sep 2022 17:49:34 -0700 (PDT) Received: by squeak.grove.modra.org (Postfix, from userid 1000) id 81A061140ABA; Wed, 14 Sep 2022 10:19:31 +0930 (ACST) Date: Wed, 14 Sep 2022 10:19:31 +0930 From: Alan Modra To: binutils@sourceware.org Subject: Modify ld-ctf test files to suit ARM Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-3035.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Found after I updated my arm-linux-gnueabi cross compiler. These particular tests probably could be run even if compiler support for ctf is missing, but I'll leave that to someone else to tidy. The "@" char starts a comment on ARM. * testsuite/ld-ctf/diag-ctf-version-0.s: Replace @progbits with %progbits. * testsuite/ld-ctf/diag-ctf-version-2-unsupported-feature.s: Likewise. * testsuite/ld-ctf/diag-ctf-version-f.s: Likewise. * testsuite/ld-ctf/diag-cttname-invalid.s: Likewise. * testsuite/ld-ctf/diag-cttname-null.s: Likewise. * testsuite/ld-ctf/diag-cuname.s: Likewise. * testsuite/ld-ctf/diag-decompression-failure.s: Likewise. * testsuite/ld-ctf/diag-parlabel.s: Likewise. * testsuite/ld-ctf/diag-parname.s: Likewise. * testsuite/ld-ctf/diag-strlen-invalid.s: Likewise. * testsuite/ld-ctf/diag-unsupported-flag.s: Likewise. * testsuite/ld-ctf/diag-wrong-magic-number.s: Likewise. diff --git a/ld/testsuite/ld-ctf/diag-ctf-version-0.s b/ld/testsuite/ld-ctf/diag-ctf-version-0.s index 5b1c33de1e3..03986c5f10c 100644 --- a/ld/testsuite/ld-ctf/diag-ctf-version-0.s +++ b/ld/testsuite/ld-ctf/diag-ctf-version-0.s @@ -1,5 +1,5 @@ .file "A.c" - .section .ctf,"",@progbits + .section .ctf,"",%progbits .Lctf0: .2byte 0xdff2 .byte 0x0 @@ -41,4 +41,4 @@ .text .comm a,8,8 .ident "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)" - .section .note.GNU-stack,"",@progbits + .section .note.GNU-stack,"",%progbits diff --git a/ld/testsuite/ld-ctf/diag-ctf-version-2-unsupported-feature.s b/ld/testsuite/ld-ctf/diag-ctf-version-2-unsupported-feature.s index 95e8d5187c1..79a7a7fad15 100644 --- a/ld/testsuite/ld-ctf/diag-ctf-version-2-unsupported-feature.s +++ b/ld/testsuite/ld-ctf/diag-ctf-version-2-unsupported-feature.s @@ -1,5 +1,5 @@ .file "A.c" - .section .ctf,"",@progbits + .section .ctf,"",%progbits .Lctf0: .2byte 0xdff2 .byte 0x2 @@ -41,4 +41,4 @@ .text .comm a,8,8 .ident "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)" - .section .note.GNU-stack,"",@progbits + .section .note.GNU-stack,"",%progbits diff --git a/ld/testsuite/ld-ctf/diag-ctf-version-f.s b/ld/testsuite/ld-ctf/diag-ctf-version-f.s index 63b94ca9f6a..a7022e66bba 100644 --- a/ld/testsuite/ld-ctf/diag-ctf-version-f.s +++ b/ld/testsuite/ld-ctf/diag-ctf-version-f.s @@ -1,5 +1,5 @@ .file "A.c" - .section .ctf,"",@progbits + .section .ctf,"",%progbits .Lctf0: .2byte 0xdff2 .byte 0xf @@ -41,4 +41,4 @@ .text .comm a,8,8 .ident "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)" - .section .note.GNU-stack,"",@progbits + .section .note.GNU-stack,"",%progbits diff --git a/ld/testsuite/ld-ctf/diag-cttname-invalid.s b/ld/testsuite/ld-ctf/diag-cttname-invalid.s index f025254665d..960070ded6c 100644 --- a/ld/testsuite/ld-ctf/diag-cttname-invalid.s +++ b/ld/testsuite/ld-ctf/diag-cttname-invalid.s @@ -1,5 +1,5 @@ .file "A.c" - .section .ctf,"",@progbits + .section .ctf,"",%progbits .Lctf0: .2byte 0xdff2 .byte 0x4 @@ -41,4 +41,4 @@ .text .comm a,8,8 .ident "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)" - .section .note.GNU-stack,"",@progbits + .section .note.GNU-stack,"",%progbits diff --git a/ld/testsuite/ld-ctf/diag-cttname-null.s b/ld/testsuite/ld-ctf/diag-cttname-null.s index f3ba2129fef..d88b74ac00e 100644 --- a/ld/testsuite/ld-ctf/diag-cttname-null.s +++ b/ld/testsuite/ld-ctf/diag-cttname-null.s @@ -1,5 +1,5 @@ .file "A.c" - .section .ctf,"",@progbits + .section .ctf,"",%progbits .Lctf0: .2byte 0xdff2 .byte 0x4 @@ -41,4 +41,4 @@ .text .comm a,8,8 .ident "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)" - .section .note.GNU-stack,"",@progbits + .section .note.GNU-stack,"",%progbits diff --git a/ld/testsuite/ld-ctf/diag-cuname.s b/ld/testsuite/ld-ctf/diag-cuname.s index 95f3d72feea..49157dc4b4d 100644 --- a/ld/testsuite/ld-ctf/diag-cuname.s +++ b/ld/testsuite/ld-ctf/diag-cuname.s @@ -1,5 +1,5 @@ .file "A.c" - .section .ctf,"",@progbits + .section .ctf,"",%progbits .Lctf0: .2byte 0xdff2 .byte 0x4 @@ -41,4 +41,4 @@ .text .comm a,8,8 .ident "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)" - .section .note.GNU-stack,"",@progbits + .section .note.GNU-stack,"",%progbits diff --git a/ld/testsuite/ld-ctf/diag-decompression-failure.s b/ld/testsuite/ld-ctf/diag-decompression-failure.s index 40a2fcf66ce..5e539465b83 100644 --- a/ld/testsuite/ld-ctf/diag-decompression-failure.s +++ b/ld/testsuite/ld-ctf/diag-decompression-failure.s @@ -1,5 +1,5 @@ .file "A.c" - .section .ctf,"",@progbits + .section .ctf,"",%progbits .Lctf0: .2byte 0xdff2 .byte 0x4 @@ -41,4 +41,4 @@ .text .comm a,8,8 .ident "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)" - .section .note.GNU-stack,"",@progbits + .section .note.GNU-stack,"",%progbits diff --git a/ld/testsuite/ld-ctf/diag-parlabel.s b/ld/testsuite/ld-ctf/diag-parlabel.s index b31fb8181a3..507cb6b642e 100644 --- a/ld/testsuite/ld-ctf/diag-parlabel.s +++ b/ld/testsuite/ld-ctf/diag-parlabel.s @@ -1,5 +1,5 @@ .file "A.c" - .section .ctf,"",@progbits + .section .ctf,"",%progbits .Lctf0: .2byte 0xdff2 .byte 0x4 @@ -41,4 +41,4 @@ .text .comm a,8,8 .ident "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)" - .section .note.GNU-stack,"",@progbits + .section .note.GNU-stack,"",%progbits diff --git a/ld/testsuite/ld-ctf/diag-parname.s b/ld/testsuite/ld-ctf/diag-parname.s index d30178de39b..a6d7e186289 100644 --- a/ld/testsuite/ld-ctf/diag-parname.s +++ b/ld/testsuite/ld-ctf/diag-parname.s @@ -1,5 +1,5 @@ .file "A.c" - .section .ctf,"",@progbits + .section .ctf,"",%progbits .Lctf0: .2byte 0xdff2 .byte 0x4 @@ -41,4 +41,4 @@ .text .comm a,8,8 .ident "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)" - .section .note.GNU-stack,"",@progbits + .section .note.GNU-stack,"",%progbits diff --git a/ld/testsuite/ld-ctf/diag-strlen-invalid.s b/ld/testsuite/ld-ctf/diag-strlen-invalid.s index dbfdd21fe27..cd6a20d33e3 100644 --- a/ld/testsuite/ld-ctf/diag-strlen-invalid.s +++ b/ld/testsuite/ld-ctf/diag-strlen-invalid.s @@ -1,5 +1,5 @@ .file "A.c" - .section .ctf,"",@progbits + .section .ctf,"",%progbits .Lctf0: .2byte 0xdff2 .byte 0x4 @@ -41,4 +41,4 @@ .text .comm a,8,8 .ident "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)" - .section .note.GNU-stack,"",@progbits + .section .note.GNU-stack,"",%progbits diff --git a/ld/testsuite/ld-ctf/diag-unsupported-flag.s b/ld/testsuite/ld-ctf/diag-unsupported-flag.s index 9e773e91df3..d0a8e80392c 100644 --- a/ld/testsuite/ld-ctf/diag-unsupported-flag.s +++ b/ld/testsuite/ld-ctf/diag-unsupported-flag.s @@ -1,5 +1,5 @@ .file "A.c" - .section .ctf,"",@progbits + .section .ctf,"",%progbits .Lctf0: .2byte 0xdff2 .byte 0x4 @@ -41,4 +41,4 @@ .text .comm a,8,8 .ident "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)" - .section .note.GNU-stack,"",@progbits + .section .note.GNU-stack,"",%progbits diff --git a/ld/testsuite/ld-ctf/diag-wrong-magic-number.s b/ld/testsuite/ld-ctf/diag-wrong-magic-number.s index a80c8644b19..c073446e6c3 100644 --- a/ld/testsuite/ld-ctf/diag-wrong-magic-number.s +++ b/ld/testsuite/ld-ctf/diag-wrong-magic-number.s @@ -1,5 +1,5 @@ .file "A.c" - .section .ctf,"",@progbits + .section .ctf,"",%progbits .Lctf0: .2byte 0xdff3 .byte 0x4 @@ -41,4 +41,4 @@ .text .comm a,8,8 .ident "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)" - .section .note.GNU-stack,"",@progbits + .section .note.GNU-stack,"",%progbits -- Alan Modra Australia Development Lab, IBM