aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto/lto-object.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/lto/lto-object.c')
-rw-r--r--gcc/lto/lto-object.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/lto/lto-object.c b/gcc/lto/lto-object.c
index 1178326..b4124f6 100644
--- a/gcc/lto/lto-object.c
+++ b/gcc/lto/lto-object.c
@@ -242,8 +242,7 @@ lto_obj_add_section (void *data, const char *name, off_t offset,
void **slot;
struct lto_section_list *list = loasd->list;
- if (strncmp (name, LTO_SECTION_NAME_PREFIX,
- strlen (LTO_SECTION_NAME_PREFIX)) != 0)
+ if (strncmp (name, section_name_prefix, strlen (section_name_prefix)))
return 1;
new_name = xstrdup (name);