This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
>> Jie Zhang wrote: >>> When building a cross compiler with --with-sysroot option, >>> inhibit_libc is not defined. GCC checks if PT_GNU_EH_FRAME can be used
FWIW, we've been using a similar patch to Jie's on csl/coldfire-4_1, except we made it conditional on the target format being flat, not on the C library being uClibc.
Jie, is your patch also targetted at uClinux, or is this something that is needed for both ELF and flat? In other words, does uClibc's
Yes, my patch also targetted at uClinux. Actually, we only have uClinux on Blackfin, since it has no MMU. It's needed for both ELF and flat.
(ELF) dynamic loader really not support PT_GNU_EH_FRAME? If it doesn't now, I imagine it might in future.
I greped the latest uClibc from uclibc.org SVN. PT_GNU_EH_FRAME appears only once, in include/elf.h. So I think it's not supported in uClibc now. If it's supported in future, we can add uClibc version check as for glibc.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |