Files
packages/extra/yasm/0001-elf-note-gnu-property.patch
T
SFG545 bf96e50e44 Add various packages and patches for build system improvements
- Introduced valgrind with a patch to respect flags and updated its configuration.
- Added Vulkan ICD loader with CMake build configuration.
- Implemented Waf build system with a custom build script and configuration.
- Included Wayland protocols with Meson build system.
- Added xcb-util-keysyms with autotools configuration.
- Introduced Yasm with multiple patches for compatibility and improvements.
- Added Yelp tools and XSL with Meson build configurations and necessary patches for POSIX compliance.
2026-03-22 23:25:50 -05:00

25 lines
855 B
Diff

From 0799f381d513e18f404654047fa1b412084968c8 Mon Sep 17 00:00:00 2001
From: kalebskeithley <kkeithle@redhat.com>
Date: Sat, 13 May 2023 00:15:02 -0400
Subject: [PATCH] Update elf-objfmt.c (#148)
---
modules/objfmts/elf/elf-objfmt.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/objfmts/elf/elf-objfmt.c b/modules/objfmts/elf/elf-objfmt.c
index 0c3a14263..c4360c03d 100644
--- a/modules/objfmts/elf/elf-objfmt.c
+++ b/modules/objfmts/elf/elf-objfmt.c
@@ -1077,6 +1077,10 @@ elf_objfmt_section_switch(yasm_object *object, yasm_valparamhead *valparams,
align = 0;
data.type = SHT_PROGBITS;
data.flags = 0;
+ } else if (strcmp(sectname, ".note.gnu.property") == 0) {
+ align = 8;
+ data.type = SHT_NOTE;
+ data.flags = 0;
} else {
/* Default to code */
align = 1;