diff options
author | Yvan Roux <yvan.roux@linaro.org> | 2016-11-09 21:56:21 +0100 |
---|---|---|
committer | Yvan Roux <yvan.roux@linaro.org> | 2016-11-09 22:03:51 +0100 |
commit | 157a219d57b8ea803b58c0e70a05dff3cfd18d31 (patch) | |
tree | b9a80cef3086a85e195a27d745489679743dc432 | |
parent | b950c6c26de50257de93f57f2ce534b709a05cc0 (diff) |
gcc/
Revert backport from trunk r239561.
2016-08-18 Tamar Christina <tamar.christina@arm.com>
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* varasm.c (default_use_anchors_for_symbol_p): Reject too large
* decls.
This reverts commit 11879870dc041028bcb8d078d9ddbd7e400dd03f.
Change-Id: Iae5d442cf1a80e74f6f07817d337ce63bdf05234
-rw-r--r-- | gcc/varasm.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 580f5f51525..b0f2af03de4 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -6772,15 +6772,6 @@ default_use_anchors_for_symbol_p (const_rtx symbol) sections that should be marked as small in the section directive. */ if (targetm.in_small_data_p (decl)) return false; - - /* Don't use section anchors for decls that won't fit inside a single - anchor range to reduce the amount of instructions require to refer - to the entire declaration. */ - if (decl && DECL_SIZE (decl) - && tree_to_shwi (DECL_SIZE (decl)) - >= (targetm.max_anchor_offset * BITS_PER_UNIT)) - return false; - } return true; } |