Le torstaina 7. elokuuta 2025, 2.19.07 Itä-Euroopan kesäaika pranavk a écrit :
> PR #20150 opened by pranavk
> URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20150
> Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20150.patch
> 
> By default, all globals in C/C++ compiled by clang are allocated
> in non-large data sections. See [1] for background on code models.

That looks like a problem with the x86 code. Something is most likely wrong if 
you need to patch non-x86 code for this.

> However, hardcoded assembly (external asm files, as well as inline
> assembly) continue to access these globals defined in C/C++ files using
> older (and invalid instruction sequence). So, we mark all such globals
> with an attribute that forces them to be allocated in small sections
> allowing them to validly be accessed from the assembly code.

Fix the assembler then.

Is this attribute even defined by the X86 ABI? How will that work on compilers 
other than LLVM?

-- 
德尼-库尔蒙‧雷米
Tapiolan uusi kaupunki, Uudenmaan entinen Suomen tasavalta



_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to