aboutsummaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1998-02-24 16:00:29 -0800
committerRichard Henderson <rth@gcc.gnu.org>1998-02-24 16:00:29 -0800
commitbb8ebb7ff8bcf985f066e0757c91e00a76ea3559 (patch)
treeb90e4a3ffe7a935a921333adebab8e5aab3bc3a4 /gcc/flags.h
parent3eaa4d3b4dbca86aa581e83f0fb67b10900ff0a5 (diff)
downloadgcc-bb8ebb7ff8bcf985f066e0757c91e00a76ea3559.zip
gcc-bb8ebb7ff8bcf985f066e0757c91e00a76ea3559.tar.gz
gcc-bb8ebb7ff8bcf985f066e0757c91e00a76ea3559.tar.bz2
flags.h (g_switch_value, [...]): Declare.
* flags.h (g_switch_value, g_switch_set): Declare. * alpha.c (override_options): Set g_switch_value=8 if not set. * alpha/elf.h (CC1_SPEC): New. (ASM_SPEC): New. (LINK_SPEC): Pass along the -G value we were given. (LOCAL_ASM_OP): Remove. (ASM_OUTPUT_ALIGNED_LOCAL): Output to .bss or .sbss by size. (MAX_OFILE_ALIGNMENT): New. (BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP): New. (EXTRA_SECTIONS): Add sbss and sdata. (SECTION_FUNCTION_TEMPLATE): New. (EXTRA_SECTION_FUNCTIONS): Use it. (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove. (SELECT_SECTION): Use sdata when small enough. * alpha/linux.h (ASM_SPEC): Remove. From-SVN: r18225
Diffstat (limited to 'gcc/flags.h')
-rw-r--r--gcc/flags.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/flags.h b/gcc/flags.h
index fd1678b..d07be98 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -468,3 +468,7 @@ extern int flag_prefix_function_name;
/* Nonzero if the current function is a thunk, so we should try to cut
corners where we can. */
extern int current_function_is_thunk;
+
+/* Value of the -G xx switch, and whether it was passed or not. */
+extern int g_switch_value;
+extern int g_switch_set;