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

--- Comment #3 from Indu Bhagat <indu.bhagat at oracle dot com> ---
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,
  - silently skip .sframe/.rela.sframe, or
  - alert the user with non-fatal error and not copy .sframe/.rela.sframe

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

Reply via email to