diff options
author | Tobias Schlüter <tobi@gcc.gnu.org> | 2007-03-10 18:06:19 +0100 |
---|---|---|
committer | Tobias Schlüter <tobi@gcc.gnu.org> | 2007-03-10 18:06:19 +0100 |
commit | 4f6480020e60fd225dc754a7a382c41d5f72b260 (patch) | |
tree | 7293c70723ae9b70a719abb77f43b60fd142012a /gcc/config/darwin.c | |
parent | c9ecbf8693d49366eeccfe1e0c0f9da5052550d5 (diff) | |
download | gcc-4f6480020e60fd225dc754a7a382c41d5f72b260.zip gcc-4f6480020e60fd225dc754a7a382c41d5f72b260.tar.gz gcc-4f6480020e60fd225dc754a7a382c41d5f72b260.tar.bz2 |
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
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r-- | gcc/config/darwin.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index 7bd916d..5796ace 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); |