aboutsummaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-03-25 15:43:13 -0400
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-03-25 20:24:57 -0400
commita90fb5e33ba890eb9427b9ba3d529729b018b474 (patch)
tree9ab61cd16039e26911d3c157f2ed5b82d0b8ca89 /gas/as.h
parentAutomatic date update in version.in (diff)
downloadbinutils-gdb-a90fb5e33ba890eb9427b9ba3d529729b018b474.tar.gz
binutils-gdb-a90fb5e33ba890eb9427b9ba3d529729b018b474.tar.bz2
binutils-gdb-a90fb5e33ba890eb9427b9ba3d529729b018b474.zip
rename flag_size_check to flag_allow_nonconst_size and make it a bool
This name describes what the variable means slightly better, and the enum with two values that is only used for this one variable is kind of silly. gas/ChangeLog: 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * as.c (parse_args): Adjust. * as.h (flag_size_check): Rename to flag_allow_nonconst_size. * config/obj-elf.c (elf_frob_symbol): Adjust.
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/gas/as.h b/gas/as.h
index 4e5601b536d..ba2fb7dd81e 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -585,12 +585,7 @@ COMMON const char * found_comment_file;
#if defined OBJ_ELF || defined OBJ_MAYBE_ELF
/* If .size directive failure should be error or warning. */
-COMMON enum
- {
- size_check_error = 0,
- size_check_warning
- }
-flag_size_check;
+COMMON int flag_allow_nonconst_size;
/* If we should generate ELF common symbols with the STT_COMMON type. */
extern int flag_use_elf_stt_common;