]> gcc.gnu.org Git - gcc.git/commit
re PR target/42601 (Simplify code to address function static variables with option...
authorWei Guozhi <carrot@google.com>
Sat, 10 Apr 2010 13:13:47 +0000 (13:13 +0000)
committerWei Guozhi <carrot@gcc.gnu.org>
Sat, 10 Apr 2010 13:13:47 +0000 (13:13 +0000)
commit85c9bcd4184b9c088323e1b46d455d5f0b1067a1
treeff9cde9f70f3a1da792bdba3fafe8fc41f107836
parent52c1d580dd2a0bb42d4abd8cbf58840c2921b28f
re PR target/42601 (Simplify code to address function static variables with option -fpic)

PR target/42601
* config/arm/arm.c (arm_pic_static_addr): New function.
(legitimize_pic_address): Call arm_pic_static_addr when it detects
a static symbol.
(arm_output_addr_const_extra): Output expression for new pattern.
* config/arm/arm.md (UNSPEC_SYMBOL_OFFSET): New unspec symbol.

From-SVN: r158189
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.md
This page took 0.067799 seconds and 5 git commands to generate.