]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
darwin.h (DARWIN_MINVERSION_SPEC): Add missing quotation mark.
authorTobias Schlüter <tobi@gcc.gnu.org>
Sat, 10 Mar 2007 17:06:19 +0000 (18:06 +0100)
committerTobias Schlüter <tobi@gcc.gnu.org>
Sat, 10 Mar 2007 17:06:19 +0000 (18:06 +0100)
* 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

gcc/ChangeLog
gcc/config/darwin.c
gcc/config/i386/darwin.h

index e94a5a5cbbec90c00608fde0c294b482ce4f7786..60697926ad97fb494d6615ebad8920da3b86d383 100644 (file)
@@ -1,3 +1,11 @@
+2007-03-10  Tobias Schlüter  <tobi@gcc.gnu.org>
+
+       * 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  <joseph@codesourcery.com>
 
        * configure.ac (glibc_header_dir): Set using with_build_sysroot if
index 7bd916d907bd496af17d59a9baedc72477421b9b..5796ace485d9e592f6568dcebf2480dca5ae9c7d 100644 (file)
@@ -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);
index 15fbd88f5b6004aa944b9eda408943533efcbd4b..0f5b54545dcceb86a10ec5d2e9898820a1b7331e 100644 (file)
@@ -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                                   \