[cfe-dev] [libunwind] __ELF__ macro for arm-none-eabi

Zhao, Weiming via cfe-dev cfe-dev at lists.llvm.org
Fri Apr 15 17:44:38 PDT 2016


Hi,

I'm building libunwind for ARM baremetal using clang.
I notice that __ELF__ is used in libunwind and the macro is only defined 
for Linux target on ARM.
Should we also predefine that for arm-none-eabi target?
I have the patch in draft but not sure if this is the right way to do.

Thanks,
Weiming

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation




More information about the cfe-dev mailing list