diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-01 19:28:22 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-01 19:28:22 +0000 |
commit | 7105bd6c855f13e11f33c6356906cc84bc2f0ae0 (patch) | |
tree | 5dd115815ad3e7c37b6d302031b3d00fb536bcac /gcc/config/darwin.h | |
parent | 8c27005f40b5bb3794836b9568838e84c17338ea (diff) | |
download | gcc-7105bd6c855f13e11f33c6356906cc84bc2f0ae0.tar.gz |
2006-03-01 Andrew Pinski <pinskia@physics.uc.edu>
PR target/25761
* config/darwin.h (MACHOPIC_JUST_INDIRECT): Check just
MACHO_DYNAMIC_NO_PIC_P.
(MACHOPIC_PURE): Check flag_pic and not MACHO_DYNAMIC_NO_PIC_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111611 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r-- | gcc/config/darwin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 495178c1e6e..cd044b74385 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -708,8 +708,8 @@ enum machopic_addr_class { #define MACHO_DYNAMIC_NO_PIC_P (TARGET_DYNAMIC_NO_PIC) #define MACHOPIC_INDIRECT (flag_pic || MACHO_DYNAMIC_NO_PIC_P) -#define MACHOPIC_JUST_INDIRECT (flag_pic == 1 || MACHO_DYNAMIC_NO_PIC_P) -#define MACHOPIC_PURE (flag_pic == 2 && ! MACHO_DYNAMIC_NO_PIC_P) +#define MACHOPIC_JUST_INDIRECT (MACHO_DYNAMIC_NO_PIC_P) +#define MACHOPIC_PURE (flag_pic && ! MACHO_DYNAMIC_NO_PIC_P) #undef TARGET_ENCODE_SECTION_INFO #define TARGET_ENCODE_SECTION_INFO darwin_encode_section_info |