On 2014-12-07 23:24:49 +0200, Martin Storsjö wrote: > On Sun, 7 Dec 2014, Janne Grunau wrote: > > >On 2014-11-16 18:13:34 +0200, Martin Storsjö wrote: > >>--- > >>Using ifdef __linux__ for .data.rel.ro, since we support some > >>other (ancient) setups which don't support such a section > >>(in particular, symbian, which still uses elf object files in the > >>build, but where the toolchain can't handle such a section). > > > >does the assembler fail directly on it? If yes we should add a configure > >check instead of using the ifdef __linux__. > > No, the assembler doesn't fail directly, but later stages > (postlinking) may fail (or produce unintended results), and I think > I also saw the normal ld linker crash at some point. Not too > straightforward to detect at least.
pity, I guess adding HAVE_SECTION_DATA_REL_RO to the target_os linux case is our best option then. Janne _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
