Blob Blame History Raw
From 094022f06c588cb6072932031615a3cf7ab175b8 Mon Sep 17 00:00:00 2001
From: Joerie de Gram <j.de.gram@gmail.com>
Date: Mon, 9 Aug 2021 19:16:47 +0200
Subject: [PATCH] tests/contiguous_note_sections.s: use alternate section type
 prefix

fixes #294
---
 tests/contiguous_note_sections.s | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/contiguous_note_sections.s b/tests/contiguous_note_sections.s
index 87f6044..fbc0685 100644
--- a/tests/contiguous_note_sections.s
+++ b/tests/contiguous_note_sections.s
@@ -2,7 +2,7 @@
  * Testcase for error:
  * patchelf: cannot normalize PT_NOTE segment: non-contiguous SHT_NOTE sections
  */
-.section ".note.my-section0", "a", @note
+.section ".note.my-section0", "a", %note
     .align 4
     .long 1f - 0f              /* name length (not including padding) */
     .long 3f - 2f              /* desc length (not including padding) */
@@ -12,7 +12,7 @@
 2:  .long 1                    /* desc - toolchain version number, 32-bit LE */
 3:  .align 4
 
-.section ".note.my-section1", "a", @note
+.section ".note.my-section1", "a", %note
     .align 8
     .long 1f - 0f              /* name length (not including padding) */
     .long 3f - 2f              /* desc length (not including padding) */