Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Unified Diff: gcc/gcc/config/arm/elf.h

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/config/arm/cortex-a8.md ('k') | gcc/gcc/config/arm/lib1funcs.asm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/config/arm/elf.h
diff --git a/gcc/gcc/config/arm/elf.h b/gcc/gcc/config/arm/elf.h
index 7c3eddbe05845749832114ee5191f935907c9a88..88400884ec19378d1d100a85145a900bb6a8060a 100644
--- a/gcc/gcc/config/arm/elf.h
+++ b/gcc/gcc/config/arm/elf.h
@@ -100,8 +100,9 @@
Otherwise, the readonly data section is used. */
/* We put ARM and Thumb-2 jump tables in the text section, because it makes
the code more efficient, but for Thumb-1 it's better to put them out of
- band. */
-#define JUMP_TABLES_IN_TEXT_SECTION (TARGET_32BIT)
+ band unless we are generating compressed tables. */
+#define JUMP_TABLES_IN_TEXT_SECTION \
+ (TARGET_32BIT || (TARGET_THUMB && (optimize_size || flag_pic)))
#ifndef LINK_SPEC
#define LINK_SPEC "%{mbig-endian:-EB} %{mlittle-endian:-EL} -X"
« no previous file with comments | « gcc/gcc/config/arm/cortex-a8.md ('k') | gcc/gcc/config/arm/lib1funcs.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698