diff options
author | Pierre Muller <muller@sourceware.org> | 2012-12-13 14:58:26 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2012-12-13 14:58:26 +0000 |
commit | 78ea0eca85031f7a37097311f90323347fb89d2d (patch) | |
tree | 55ca30d60e21ed690464739dc063c2b71d8e2f2d /gdb/coff-pe-read.c | |
parent | 3999122f0c8766df3a55462df626d607ebe5a735 (diff) | |
download | gdb-78ea0eca85031f7a37097311f90323347fb89d2d.zip gdb-78ea0eca85031f7a37097311f90323347fb89d2d.tar.gz gdb-78ea0eca85031f7a37097311f90323347fb89d2d.tar.bz2 |
* coff-pe-read.c (IMAGE_SCN_CNT_TEXT, IMAGE_SCN_CNT_INITIALIZED_DATA)
(IMAGE_SCN_CNT_UNINITIALIZED_DATA): Remove useless checks
for already defined macros.
Diffstat (limited to 'gdb/coff-pe-read.c')
-rw-r--r-- | gdb/coff-pe-read.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gdb/coff-pe-read.c b/gdb/coff-pe-read.c index 10bba78..01b5b82 100644 --- a/gdb/coff-pe-read.c +++ b/gdb/coff-pe-read.c @@ -55,15 +55,9 @@ struct read_pe_section_data char *section_name; /* Recorded section name. */ }; -#ifndef IMAGE_SCN_CNT_CODE -# define IMAGE_SCN_CNT_CODE 0x20 -#endif -#ifndef IMAGE_SCN_CNT_INITIALIZED_DATA -# define IMAGE_SCN_CNT_INITIALIZED_DATA 0x40 -#endif -#ifndef IMAGE_SCN_CNT_UNINITIALIZED_DATA -# define IMAGE_SCN_CNT_UNINITIALIZED_DATA 0x80 -#endif +#define IMAGE_SCN_CNT_CODE 0x20 +#define IMAGE_SCN_CNT_INITIALIZED_DATA 0x40 +#define IMAGE_SCN_CNT_UNINITIALIZED_DATA 0x80 #define PE_SECTION_INDEX_TEXT 0 #define PE_SECTION_INDEX_DATA 1 #define PE_SECTION_INDEX_BSS 2 |