By default, all globals in C/C++ compiled by clang are allocated
in non-large data sections. See [1] for background on code models.
For PIC (Position independent code), this is fine as long as binary is
small but as binary size increases, users maybe want to use medium/large
code models (-mcmodel=m
I added it to attributes_internal.h. The existing attribute in
attributes_internal.h (attribute_visibility_hidden) is also being used with
DECLARE_ALIGNED macros (see libavcodec/sbrdsp_template.c). My new macro is
similar in nature.
On Wed, Feb 26, 2025 at 11:44 AM Pranav Kant wrote:
> By defaul
By default, all globals in C/C++ compiled by clang are allocated
in non-large data sections. See [1] for background on code models.
For PIC (Position independent code), this is fine as long as binary is
small but as binary size increases, users maybe want to use medium/large
code models (-mcmodel=m
By default, all globals in C/C++ compiled by clang are allocated
in non-large data sections. See [1] for background on code models.
For PIC (Position independent code), this is fine as long as binary is
small but as binary size increases, users maybe want to use medium/large
code models (-mcmodel=m
I think you were looking at an older version of the patch. Newer version
didn't have this. Anyhow, there's a new version I uploaded (v3).
On Thu, Feb 27, 2025 at 6:31 PM Lynne wrote:
> On 25/02/2025 22:37, Pranav Kant via ffmpeg-devel wrote:
> > By default, all globals i
I uploaded a new patch (v3) that addresses these concerns.
On Thu, Feb 27, 2025 at 5:14 PM Michael Niedermayer
wrote:
> On Wed, Feb 26, 2025 at 07:44:37PM +0000, Pranav Kant via ffmpeg-devel
> wrote:
> > By default, all globals in C/C++ compiled by clang are allocated
> >
By default, all globals in C/C++ compiled by clang are allocated
in non-large data sections. See [1] for background on code models.
For PIC (Position independent code), this is fine as long as binary is
small but as binary size increases, users maybe want to use medium/large
code models (-mcmodel=m
Patch version v4.
- Rebased
- Missing "(" in __attribute__((model("small)) in the earlier patch version.
On Tue, Mar 11, 2025 at 12:17 PM Pranav Kant wrote:
> By default, all globals in C/C++ compiled by clang are allocated
> in non-large data sections. See [1] for background on code models.
> F
Thank you for taking a look.
On Tue, Mar 11, 2025 at 4:45 PM Andreas Rheinhardt <
andreas.rheinha...@outlook.com> wrote:
> Pranav Kant via ffmpeg-devel:
> > By default, all globals in C/C++ compiled by clang are allocated
> > in non-large data sections. See [1] for back
Patch version v5:
- Uses two new macros DECLARE_ASM_VAR (used for both external and inline
asm) and DECLARE_EXTERNAL_ASM_VAR (used only for external asm)
- I intend to remove explicit existing use of attribute_visibility_hidden
in follow-up patch and instead use DECLARE_EXTERNAL_ASM_VAR for those
v
By default, all globals in C/C++ compiled by clang are allocated
in non-large data sections. See [1] for background on code models.
For PIC (Position independent code), this is fine as long as binary is
small but as binary size increases, users maybe want to use medium/large
code models (-mcmodel=m
Any thoughts on this?
On Thu, Mar 20, 2025 at 5:30 PM Pranav Kant wrote:
> Patch version v5:
> - Uses two new macros DECLARE_ASM_VAR (used for both external and inline
> asm) and DECLARE_EXTERNAL_ASM_VAR (used only for external asm)
> - I intend to remove explicit existing use of attribute_visib
Hello again. Is there anything else I can do here?
On Fri, Apr 4, 2025 at 11:40 AM Pranav Kant wrote:
> Any thoughts on this?
>
> On Thu, Mar 20, 2025 at 5:30 PM Pranav Kant wrote:
>
>> Patch version v5:
>> - Uses two new macros DECLARE_ASM_VAR (used for both external and inline
>> asm) and DEC
Ping.
On Tue, Apr 15, 2025 at 4:22 PM Pranav Kant wrote:
> Hello again. Is there anything else I can do here?
>
> On Fri, Apr 4, 2025 at 11:40 AM Pranav Kant wrote:
>
>> Any thoughts on this?
>>
>> On Thu, Mar 20, 2025 at 5:30 PM Pranav Kant wrote:
>>
>>> Patch version v5:
>>> - Uses two new m
14 matches
Mail list logo