diff options
author | Ramana Radhakrishnan <ramana@gcc.gnu.org> | 2015-04-23 14:49:45 +0000 |
---|---|---|
committer | Ramana Radhakrishnan <ramana@gcc.gnu.org> | 2015-04-23 14:49:45 +0000 |
commit | 4cf022385365d3bbf1cfcf265dfd28a21a9be346 (patch) | |
tree | 1e20df37822d4026ae3a05d769b4869792d8fafc /gcc/config/arm | |
parent | 5c4abbb8e80153999b0298e4b2fe81d512f133c8 (diff) | |
download | gcc-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.h | 2 |
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) |