On Mon, Aug 22, 2011 at 10:09 AM, H.J. Lu wrote: > On Sun, Aug 21, 2011 at 10:37 PM, Jakub Jelinek wrote: > nd/or add another test to it that tests >> that you can actually use >> .section .init_array >> and it will use correct section flags for the section. >> > > We need this information in config.gcc. But config.gcc is used > before assembler and readelf are detected. I am running out of > ideas.  Any suggestions? > > Thanks. > This is a much bigger change that I like and I don't feel very comfortable about it since I can only test it on Linux/x86. -- H.J. ---- 2011-08-22 H.J. Lu * acinclude.m4 (gcc_AC_INITFINI_ARRAY): Check if ".section .init_array" works. * configure.ac: Move binutils tests before gcc_AC_INITFINI_ARRAY. * configure: Regenerated.