https://sourceware.org/bugzilla/show_bug.cgi?id=33807

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Indu Bhagat from comment #3)
> In GAS, we do not support SFrame section generation for x32.  In
> gas/config/tc-i386.c, we have:
> 
> bool
> x86_support_sframe_p (void)
> {
>   /* At this time, SFrame stack trace is supported for AMD64 ABI only.  */
>   return (x86_elf_abi == X86_64_ABI);
> }
> 
> Similarly, for aarch64 (AARCH64_ABI_LP64), and s390 (s390_arch_size == 64)
> checks exist.
> 
> Which then makes me think: what is the right thing to do if user says '-O
> elf32-x86-64 ...' ?  Should objcopy:
>   - copy .sframe/.rela.sframe section for x32 output, or,
>

Since objcopy doesn't change codes, sframe sections can be copied ASIS.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to