aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-array-notation.c
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2015-02-18 17:24:20 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2015-02-18 09:24:20 -0800
commitb0ddb385f0fa0ae6b4b9a360d3dd42060e6b0e63 (patch)
treee2d1353fd39cf4d43ed385621fd795bfd95a3d15 /gcc/c/c-array-notation.c
parent2d64d38c98955b4a1e68a1c0c8af28e40407ec69 (diff)
downloadgcc-b0ddb385f0fa0ae6b4b9a360d3dd42060e6b0e63.zip
gcc-b0ddb385f0fa0ae6b4b9a360d3dd42060e6b0e63.tar.gz
gcc-b0ddb385f0fa0ae6b4b9a360d3dd42060e6b0e63.tar.bz2
Return false for common symbols in sdata_symbolic_operand
Although common symbols are defined in executables, they aren't in small data section. But a definition in small data section overrides a common symbol, which still binds lcoally, and turns a reference to common symbol to reference to small data section. Even if ia64_in_small_data_p returns true on common symbols, sdata_symbolic_operand must return false on common symbols. Common symbols are assumed to be placed in small data section, but are accessed as if they are in normal data section so that they won't cause any relocation overflow. PR target/65064 * config/ia64/predicates.md (sdata_symbolic_operand): Return false for common symbols. From-SVN: r220792
Diffstat (limited to 'gcc/c/c-array-notation.c')
0 files changed, 0 insertions, 0 deletions