This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new e54e117998 avutil/x86/x86util: define .text section additionally to 
COMDAT one
e54e117998 is described below

commit e54e1179985145a2e0a5be9ee9000384ee58b7a5
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Mon Mar 30 00:35:07 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Mon Mar 30 01:08:45 2026 +0200

    avutil/x86/x86util: define .text section additionally to COMDAT one
    
    This is needed to cover the case when assembled source doesn't have
    .text section. NASM documentation suggest to add $ suffix to section
    name for COMDAT in .text, but this actually requires the main .text
    section to exist also. And use less generic suffix for our dummy
    sub-section.
    
    Third time's the charm.
    
    Fixes: 80cd0677158b7ea4394d8e1594c7a1c984184f5b
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 libavutil/x86/x86util.asm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libavutil/x86/x86util.asm b/libavutil/x86/x86util.asm
index bb60493c09..7b259cae6e 100644
--- a/libavutil/x86/x86util.asm
+++ b/libavutil/x86/x86util.asm
@@ -1028,9 +1028,11 @@
 ; on such files. Emit a dummy byte in a COMDAT section to work around this.
 ; The linker will discard it since __x86util_notref is not referenced anywhere.
 %ifidn __OUTPUT_FORMAT__,win64
-    section .text$1 comdat=2:__x86util_notref
+    section .text
+    section .text$__x86util_notref comdat=2:__x86util_notref
         db 0
 %elifidn __OUTPUT_FORMAT__,win32
-    section .text$1 comdat=2:__x86util_notref
+    section .text
+    section .text$__x86util_notref comdat=2:__x86util_notref
         db 0
 %endif

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to