This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/50237] [4.7 regression] comparison failure caused by HAVE_INITFINI_ARRAY check
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 31 Aug 2011 15:44:02 +0000
- Subject: [Bug bootstrap/50237] [4.7 regression] comparison failure caused by HAVE_INITFINI_ARRAY check
- Auto-submitted: auto-generated
- References: <bug-50237-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50237
--- Comment #13 from H.J. Lu <hjl.tools at gmail dot com> 2011-08-31 15:44:02 UTC ---
(In reply to comment #12)
>
> Arrange for the contents to have appropriate text values you can check for
> with grep (or if you wish a custom C program to run on the build system to
> examine ELF structures - only ELF needs to be considered for this, after
> all, and I think at this point you may even be able to rely on having
> libiberty already built for the build system, complete with the
> simple-object-elf code).
.init_array section is an array of pointers. How do you grep it?