aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arm
diff options
context:
space:
mode:
authorRamana Radhakrishnan <ramana@gcc.gnu.org>2015-04-23 14:49:45 +0000
committerRamana Radhakrishnan <ramana@gcc.gnu.org>2015-04-23 14:49:45 +0000
commit4cf022385365d3bbf1cfcf265dfd28a21a9be346 (patch)
tree1e20df37822d4026ae3a05d769b4869792d8fafc /gcc/config/arm
parent5c4abbb8e80153999b0298e4b2fe81d512f133c8 (diff)
downloadgcc-4cf022385365d3bbf1cfcf265dfd28a21a9be346.zip
gcc-4cf022385365d3bbf1cfcf265dfd28a21a9be346.tar.gz
gcc-4cf022385365d3bbf1cfcf265dfd28a21a9be346.tar.bz2
re PR target/26702 (.size is not emitted for BSS variables)
Fix PR target/26702 For Kwok Cheung Yeung. From-SVN: r222371
Diffstat (limited to 'gcc/config/arm')
-rw-r--r--gcc/config/arm/unknown-elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/arm/unknown-elf.h b/gcc/config/arm/unknown-elf.h
index 17971bb..df0b9ce 100644
--- a/gcc/config/arm/unknown-elf.h
+++ b/gcc/config/arm/unknown-elf.h
@@ -81,6 +81,8 @@
ASM_OUTPUT_ALIGN (FILE, floor_log2 (ALIGN / BITS_PER_UNIT)); \
ASM_OUTPUT_LABEL (FILE, NAME); \
fprintf (FILE, "\t.space\t%d\n", SIZE ? (int)(SIZE) : 1); \
+ fprintf (FILE, "\t.size\t%s, %d\n", \
+ NAME, SIZE ? (int) SIZE, 1); \
} \
while (0)