This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/51957] [4.7 Regression] ppc64 .debug_loc toc reference
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 23 Jan 2012 10:51:39 +0000
- Subject: [Bug target/51957] [4.7 Regression] ppc64 .debug_loc toc reference
- Auto-submitted: auto-generated
- References: <bug-51957-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51957
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-23 10:51:39 UTC ---
To reject just .toc related SYMBOL_REFs, guess we'd need to set
#define SYMBOL_FLAG_TOC_SECTION (1 << SYMBOL_FLAG_MACH_DEP_SHIFT)
or so flag on the symbol refs when creating them and test it in the target
hook.