aboutsummaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorCatherine Moore <clm@cygnus.com>1998-09-28 06:24:06 +0000
committerCatherine Moore <clm@gcc.gnu.org>1998-09-28 02:24:06 -0400
commit7d0756fbf15a0b02e566ce3a2193cb51772e3c0c (patch)
tree94a5b1127023dfb6300c924e2c3d5cf44307f9df /gcc/flags.h
parent52464fd6e7c701672ba8826d2831ea8f5e38fa15 (diff)
downloadgcc-7d0756fbf15a0b02e566ce3a2193cb51772e3c0c.zip
gcc-7d0756fbf15a0b02e566ce3a2193cb51772e3c0c.tar.gz
gcc-7d0756fbf15a0b02e566ce3a2193cb51772e3c0c.tar.bz2
flags.h: Add flag_data_sections.
* flags.h: Add flag_data_sections. * toplev.c: Add option -fdata-sections. Add flag_data_sections. (compile_file): Error if flag_data_sections not supported. * varasm.c (assemble_variable): Handle flag_data_sections. * config/svr4.h: Modify prefixes for UNIQUE_SECTION_NAME. * config/mips/elf.h: Likewise. * config/mips/elf64.h: Likewise. * invoke.texi: Describe -fdata-sections. From-SVN: r22619
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 cfb4ee6..a403750 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -398,6 +398,10 @@ extern int flag_inhibit_size_directive;
extern int flag_function_sections;
+/* ... and similar for data. */
+
+extern int flag_data_sections;
+
/* -fverbose-asm causes extra commentary information to be produced in
the generated assembly code (to make it more readable). This option
is generally only of use to those who actually need to read the