summaryrefslogtreecommitdiff
path: root/gcc/lto-streamer.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/lto-streamer.c')
-rw-r--r--gcc/lto-streamer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/lto-streamer.c b/gcc/lto-streamer.c
index 84baeacee99..ec2a308f89f 100644
--- a/gcc/lto-streamer.c
+++ b/gcc/lto-streamer.c
@@ -160,6 +160,9 @@ lto_get_section_name (int section_type, const char *name)
case LTO_section_cgraph:
return concat (LTO_SECTION_NAME_PREFIX, ".cgraph", NULL);
+ case LTO_section_varpool:
+ return concat (LTO_SECTION_NAME_PREFIX, ".vars", NULL);
+
case LTO_section_jump_functions:
return concat (LTO_SECTION_NAME_PREFIX, ".jmpfuncs", NULL);