summaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-25 00:00:29 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-25 00:00:29 +0000
commita9fa919071262bc632da16ca2174ef1a514971bf (patch)
treeb90e4a3ffe7a935a921333adebab8e5aab3bc3a4 /gcc/flags.h
parentc006f3428e75b7661dbc94665e96c27f996af256 (diff)
downloadgcc-a9fa919071262bc632da16ca2174ef1a514971bf.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18225 138bc75d-0d04-0410-961f-82ee72b054a4
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 fd1678bd734..d07be98230b 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;