2015-07-09 Iain Sandoe <iain@codesourcery.com>
PR target/66523
* config/darwin.c (darwin_mark_decl_preserved): Exclude 'L' label names from
preservation.
From-SVN: r225624
+2015-07-09 Iain Sandoe <iain@codesourcery.com>
+
+ PR target/66523
+ * config/darwin.c (darwin_mark_decl_preserved): Exclude 'L' label names from
+ preservation.
+
2015-07-07 Kaz Kojima <kkojima@gcc.gnu.org>
Backport form mainline
void
darwin_mark_decl_preserved (const char *name)
{
+ /* Actually we shouldn't mark any local symbol this way, but for now
+ this only happens with ObjC meta-data. */
+ if (darwin_label_is_anonymous_local_objc_name (name))
+ return;
+
fprintf (asm_out_file, "\t.no_dead_strip ");
assemble_name (asm_out_file, name);
fputc ('\n', asm_out_file);