From: Tobias Schlüter Date: Sat, 10 Mar 2007 17:06:19 +0000 (+0100) Subject: darwin.h (DARWIN_MINVERSION_SPEC): Add missing quotation mark. X-Git-Tag: releases/gcc-4.3.0~6320 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f6480020e60fd225dc754a7a382c41d5f72b260;p=thirdparty%2Fgcc.git darwin.h (DARWIN_MINVERSION_SPEC): Add missing quotation mark. * config/i386/darwin.h (DARWIN_MINVERSION_SPEC): Add missing quotation mark. * config/i386/darwin.c (machopic_select_section): Remove superfluous argument in call to categorize_decl_for_section. Remove unused variable shlib. From-SVN: r122796 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e94a5a5cbbec..60697926ad97 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2007-03-10 Tobias Schlüter + + * config/i386/darwin.h (DARWIN_MINVERSION_SPEC): Add missing + quotation mark. + * config/i386/darwin.c (machopic_select_section): Remove + superfluous argument in call to categorize_decl_for_section. + Remove unused variable shlib. + 2007-03-10 Joseph Myers * configure.ac (glibc_header_dir): Set using with_build_sysroot if diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index 7bd916d907bd..5796ace485d9 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -1182,10 +1182,9 @@ machopic_select_section (tree decl, && (lookup_attribute ("weak", DECL_ATTRIBUTES (decl)) || ! lookup_attribute ("weak_import", DECL_ATTRIBUTES (decl)))); - int shlib = flag_pic; section *base_section; - switch (categorize_decl_for_section (decl, reloc, shlib)) + switch (categorize_decl_for_section (decl, reloc)) { case SECCAT_TEXT: base_section = darwin_text_section (reloc, weak); diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h index 15fbd88f5b60..0f5b54545dcc 100644 --- a/gcc/config/i386/darwin.h +++ b/gcc/config/i386/darwin.h @@ -88,7 +88,7 @@ Boston, MA 02110-1301, USA. */ "%{!m64|fgnu-runtime:10.4; \ ,objective-c|,objc-cpp-output:10.5; \ ,objective-c++|,objective-c++-cpp-output:10.5; \ - :10.4} + :10.4}" #undef SUBTARGET_EXTRA_SPECS #define SUBTARGET_EXTRA_SPECS \