]> git.saurik.com Git - apple/libsystem.git/commitdiff
Libsystem-169.3.tar.gz mac-os-x-108 mac-os-x-1081 mac-os-x-1082 mac-os-x-1083 mac-os-x-1084 mac-os-x-1085 v169.3
authorApple <opensource@apple.com>
Tue, 5 Jun 2012 22:10:16 +0000 (22:10 +0000)
committerApple <opensource@apple.com>
Tue, 5 Jun 2012 22:10:16 +0000 (22:10 +0000)
20 files changed:
APPLE_LICENSE
CompatibilityHacks.c
GNUmakefile [deleted file]
Info.plist
Libsystem.xcodeproj/project.pbxproj [new file with mode: 0644]
Libsystem.xcodeproj/project.xcworkspace/contents.xcworkspacedata [new file with mode: 0644]
Makefile [deleted file]
Platforms/MacOSX/Makefile.inc [deleted file]
Platforms/MacOSX/System.order [deleted file]
Platforms/iPhone/Makefile.inc [deleted file]
Platforms/iPhone/System.order [deleted file]
SystemInit.order [deleted file]
SystemMath.exp [deleted file]
SystemMath.s [deleted file]
init.c
optionallibs
requiredlibs
xcodescripts/create_dylib_symlinks.sh [new file with mode: 0755]
xcodescripts/create_system_framework.sh [new file with mode: 0755]
xcodescripts/linker_arguments.sh [new file with mode: 0755]

index fe81a60cae982c042a69f97623b427666c455093..71fe6fd79ce1fcf95157b4627fd864de0ae17897 100644 (file)
 APPLE PUBLIC SOURCE LICENSE
-Version 2.0 - August 6, 2003
-
-Please read this License carefully before downloading this software.
-By downloading or using this software, you are agreeing to be bound by
-the terms of this License. If you do not or cannot agree to the terms
-of this License, please do not download or use the software.
-
-1. General; Definitions. This License applies to any program or other
-work which Apple Computer, Inc. ("Apple") makes publicly available and
-which contains a notice placed by Apple identifying such program or
-work as "Original Code" and stating that it is subject to the terms of
-this Apple Public Source License version 2.0 ("License"). As used in
-this License:
-
-1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is
-the grantor of rights, (i) claims of patents that are now or hereafter
-acquired, owned by or assigned to Apple and (ii) that cover subject
-matter contained in the Original Code, but only to the extent
-necessary to use, reproduce and/or distribute the Original Code
-without infringement; and (b) in the case where You are the grantor of
-rights, (i) claims of patents that are now or hereafter acquired,
-owned by or assigned to You and (ii) that cover subject matter in Your
-Modifications, taken alone or in combination with Original Code.
-
-1.2 "Contributor" means any person or entity that creates or
-contributes to the creation of Modifications.
-
-1.3 "Covered Code" means the Original Code, Modifications, the
-combination of Original Code and any Modifications, and/or any
-respective portions thereof.
-
-1.4 "Externally Deploy" means: (a) to sublicense, distribute or
-otherwise make Covered Code available, directly or indirectly, to
-anyone other than You; and/or (b) to use Covered Code, alone or as
-part of a Larger Work, in any way to provide a service, including but
-not limited to delivery of content, through electronic communication
-with a client other than You.
-
-1.5 "Larger Work" means a work which combines Covered Code or portions
+Version 2.0 -  August 6, 2003
+
+Please read this License carefully before downloading this software.  By
+downloading or using this software, you are agreeing to be bound by the terms
+of this License.  If you do not or cannot agree to the terms of this License,
+please do not download or use the software.
+
+Apple Note:  In January 2007, Apple changed its corporate name from "Apple
+Computer, Inc." to "Apple Inc."  This change has been reflected below and
+copyright years updated, but no other changes have been made to the APSL 2.0.
+
+1.     General; Definitions.  This License applies to any program or other
+work which Apple Inc. ("Apple") makes publicly available and which contains a
+notice placed by Apple identifying such program or work as "Original Code" and
+stating that it is subject to the terms of this Apple Public Source License
+version 2.0 ("License").  As used in this License:
+
+1.1     "Applicable Patent Rights" mean:  (a) in the case where Apple is the
+grantor of rights, (i) claims of patents that are now or hereafter acquired,
+owned by or assigned to Apple and (ii) that cover subject matter contained in
+the Original Code, but only to the extent necessary to use, reproduce and/or
+distribute the Original Code without infringement; and (b) in the case where
+You are the grantor of rights, (i) claims of patents that are now or hereafter
+acquired, owned by or assigned to You and (ii) that cover subject matter in
+Your Modifications, taken alone or in combination with Original Code.
+
+1.2    "Contributor" means any person or entity that creates or contributes to
+the creation of Modifications.
+
+1.3     "Covered Code" means the Original Code, Modifications, the combination
+of Original Code and any Modifications, and/or any respective portions thereof.
+
+1.4    "Externally Deploy" means: (a) to sublicense, distribute or otherwise
+make Covered Code available, directly or indirectly, to anyone other than You;
+and/or (b) to use Covered Code, alone or as part of a Larger Work, in any way
+to provide a service, including but not limited to delivery of content, through
+electronic communication with a client other than You.
+
+1.5    "Larger Work" means a work which combines Covered Code or portions
 thereof with code not governed by the terms of this License.
 
-1.6 "Modifications" mean any addition to, deletion from, and/or change
-to, the substance and/or structure of the Original Code, any previous
-Modifications, the combination of Original Code and any previous
-Modifications, and/or any respective portions thereof. When code is
-released as a series of files, a Modification is: (a) any addition to
-or deletion from the contents of a file containing Covered Code;
-and/or (b) any new file or other representation of computer program
-statements that contains any part of Covered Code.
-
-1.7 "Original Code" means (a) the Source Code of a program or other
-work as originally made available by Apple under this License,
-including the Source Code of any updates or upgrades to such programs
-or works made available by Apple under this License, and that has been
-expressly identified by Apple as such in the header file(s) of such
-work; and (b) the object code compiled from such Source Code and
-originally made available by Apple under this License.
-
-1.8 "Source Code" means the human readable form of a program or other
-work that is suitable for making modifications to it, including all
-modules it contains, plus any associated interface definition files,
-scripts used to control compilation and installation of an executable
-(object code).
-
-1.9 "You" or "Your" means an individual or a legal entity exercising
-rights under this License. For legal entities, "You" or "Your"
-includes any entity which controls, is controlled by, or is under
-common control with, You, where "control" means (a) the power, direct
-or indirect, to cause the direction or management of such entity,
-whether by contract or otherwise, or (b) ownership of fifty percent
-(50%) or more of the outstanding shares or beneficial ownership of
-such entity.
-
-2. Permitted Uses; Conditions & Restrictions. Subject to the terms
-and conditions of this License, Apple hereby grants You, effective on
-the date You accept this License and download the Original Code, a
-world-wide, royalty-free, non-exclusive license, to the extent of
-Apple's Applicable Patent Rights and copyrights covering the Original
-Code, to do the following:
-
-2.1 Unmodified Code. You may use, reproduce, display, perform,
-internally distribute within Your organization, and Externally Deploy
-verbatim, unmodified copies of the Original Code, for commercial or
-non-commercial purposes, provided that in each instance:
-
-(a) You must retain and reproduce in all copies of Original Code the
-copyright and other proprietary notices and disclaimers of Apple as
-they appear in the Original Code, and keep intact all notices in the
-Original Code that refer to this License; and
-
-(b) You must include a copy of this License with every copy of Source
-Code of Covered Code and documentation You distribute or Externally
-Deploy, and You may not offer or impose any terms on such Source Code
-that alter or restrict this License or the recipients' rights
-hereunder, except as permitted under Section 6.
-
-2.2 Modified Code. You may modify Covered Code and use, reproduce,
+1.6    "Modifications" mean any addition to, deletion from, and/or change to,
+the substance and/or structure of the Original Code, any previous
+Modifications, the combination of Original Code and any previous Modifications,
+and/or any respective portions thereof.  When code is released as a series of
+files, a Modification is:  (a) any addition to or deletion from the contents of
+a file containing Covered Code; and/or (b) any new file or other representation
+of computer program statements that contains any part of Covered Code. 
+
+1.7    "Original Code" means (a) the Source Code of a program or other work as
+originally made available by Apple under this License, including the Source
+Code of any updates or upgrades to such programs or works made available by
+Apple under this License, and that has been expressly identified by Apple as
+such in the header file(s) of such work; and (b) the object code compiled from
+such Source Code and originally made available by Apple under this License
+
+1.8    "Source Code" means the human readable form of a program or other work
+that is suitable for making modifications to it, including all modules it
+contains, plus any associated interface definition files, scripts used to
+control compilation and installation of an executable (object code).
+
+1.9    "You" or "Your" means an individual or a legal entity exercising rights
+under this License.  For legal entities, "You" or "Your" includes any entity
+which controls, is controlled by, or is under common control with, You, where
+"control" means (a) the power, direct or indirect, to cause the direction or
+management of such entity, whether by contract or otherwise, or (b) ownership
+of fifty percent (50%) or more of the outstanding shares or beneficial
+ownership of such entity.
+
+2.     Permitted Uses; Conditions & Restrictions.   Subject to the terms and
+conditions of this License, Apple hereby grants You, effective on the date You
+accept this License and download the Original Code, a world-wide, royalty-free,
+non-exclusive license, to the extent of Apple's Applicable Patent Rights and
+copyrights covering the Original Code, to do the following:
+
+2.1    Unmodified Code.  You may use, reproduce, display, perform, internally
+distribute within Your organization, and Externally Deploy verbatim, unmodified
+copies of the Original Code, for commercial or non-commercial purposes,
+provided that in each instance:
+
+(a)    You must retain and reproduce in all copies of Original Code the
+copyright and other proprietary notices and disclaimers of Apple as they appear
+in the Original Code, and keep intact all notices in the Original Code that
+refer to this License; and
+
+(b)    You must include a copy of this License with every copy of Source Code
+of Covered Code and documentation You distribute or Externally Deploy, and You
+may not offer or impose any terms on such Source Code that alter or restrict
+this License or the recipients' rights hereunder, except as permitted under
+Section 6.
+
+2.2    Modified Code.  You may modify Covered Code and use, reproduce,
 display, perform, internally distribute within Your organization, and
-Externally Deploy Your Modifications and Covered Code, for commercial
-or non-commercial purposes, provided that in each instance You also
-meet all of these conditions:
-
-(a) You must satisfy all the conditions of Section 2.1 with respect to
-the Source Code of the Covered Code;
-
-(b) You must duplicate, to the extent it does not already exist, the
-notice in Exhibit A in each file of the Source Code of all Your
-Modifications, and cause the modified files to carry prominent notices
-stating that You changed the files and the date of any change; and
-
-(c) If You Externally Deploy Your Modifications, You must make
-Source Code of all Your Externally Deployed Modifications either
-available to those to whom You have Externally Deployed Your
-Modifications, or publicly available. Source Code of Your Externally
-Deployed Modifications must be released under the terms set forth in
-this License, including the license grants set forth in Section 3
-below, for as long as you Externally Deploy the Covered Code or twelve
-(12) months from the date of initial External Deployment, whichever is
-longer. You should preferably distribute the Source Code of Your
-Externally Deployed Modifications electronically (e.g. download from a
-web site).
-
-2.3 Distribution of Executable Versions. In addition, if You
-Externally Deploy Covered Code (Original Code and/or Modifications) in
-object code, executable form only, You must include a prominent
-notice, in the code itself as well as in related documentation,
-stating that Source Code of the Covered Code is available under the
-terms of this License with information on how and where to obtain such
-Source Code.
-
-2.4 Third Party Rights. You expressly acknowledge and agree that
-although Apple and each Contributor grants the licenses to their
-respective portions of the Covered Code set forth herein, no
-assurances are provided by Apple or any Contributor that the Covered
-Code does not infringe the patent or other intellectual property
-rights of any other entity. Apple and each Contributor disclaim any
-liability to You for claims brought by any other entity based on
-infringement of intellectual property rights or otherwise. As a
-condition to exercising the rights and licenses granted hereunder, You
-hereby assume sole responsibility to secure any other intellectual
-property rights needed, if any. For example, if a third party patent
-license is required to allow You to distribute the Covered Code, it is
-Your responsibility to acquire that license before distributing the
-Covered Code.
-
-3. Your Grants. In consideration of, and as a condition to, the
-licenses granted to You under this License, You hereby grant to any
-person or entity receiving or distributing Covered Code under this
-License a non-exclusive, royalty-free, perpetual, irrevocable license,
-under Your Applicable Patent Rights and other intellectual property
-rights (other than patent) owned or controlled by You, to use,
-reproduce, display, perform, modify, sublicense, distribute and
-Externally Deploy Your Modifications of the same scope and extent as
-Apple's licenses under Sections 2.1 and 2.2 above.
-
-4. Larger Works. You may create a Larger Work by combining Covered
-Code with other code not governed by the terms of this License and
-distribute the Larger Work as a single product. In each such instance,
-You must make sure the requirements of this License are fulfilled for
-the Covered Code or any portion thereof.
-
-5. Limitations on Patent License. Except as expressly stated in
-Section 2, no other patent rights, express or implied, are granted by
-Apple herein. Modifications and/or Larger Works may require additional
-patent licenses from Apple which Apple may grant in its sole
-discretion.
-
-6. Additional Terms. You may choose to offer, and to charge a fee for,
-warranty, support, indemnity or liability obligations and/or other
-rights consistent with the scope of the license granted herein
-("Additional Terms") to one or more recipients of Covered Code.
-However, You may do so only on Your own behalf and as Your sole
-responsibility, and not on behalf of Apple or any Contributor. You
-must obtain the recipient's agreement that any such Additional Terms
-are offered by You alone, and You hereby agree to indemnify, defend
-and hold Apple and every Contributor harmless for any liability
-incurred by or claims asserted against Apple or such Contributor by
-reason of any such Additional Terms.
-
-7. Versions of the License. Apple may publish revised and/or new
-versions of this License from time to time. Each version will be given
-a distinguishing version number. Once Original Code has been published
-under a particular version of this License, You may continue to use it
-under the terms of that version. You may also choose to use such
-Original Code under the terms of any subsequent version of this
-License published by Apple. No one other than Apple has the right to
-modify the terms applicable to Covered Code created under this
-License.
-
-8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in
-part pre-release, untested, or not fully tested works. The Covered
-Code may contain errors that could cause failures or loss of data, and
-may be incomplete or contain inaccuracies. You expressly acknowledge
-and agree that use of the Covered Code, or any portion thereof, is at
-Your sole and entire risk. THE COVERED CODE IS PROVIDED "AS IS" AND
-WITHOUT WARRANTY, UPGRADES OR SUPPORT OF ANY KIND AND APPLE AND
-APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE" FOR THE
-PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM
-ALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT
-NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF
-MERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR
-PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD
-PARTY RIGHTS. APPLE AND EACH CONTRIBUTOR DOES NOT WARRANT AGAINST
-INTERFERENCE WITH YOUR ENJOYMENT OF THE COVERED CODE, THAT THE
-FUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR REQUIREMENTS,
-THAT THE OPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR
-ERROR-FREE, OR THAT DEFECTS IN THE COVERED CODE WILL BE CORRECTED. NO
-ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN APPLE
-AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY.
-You acknowledge that the Covered Code is not intended for use in the
-operation of nuclear facilities, aircraft navigation, communication
-systems, or air traffic control machines in which case the failure of
-the Covered Code could lead to death, personal injury, or severe
-physical or environmental damage.
-
-9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO
-EVENT SHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL,
-SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING
-TO THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR
-ANY PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY,
-TORT (INCLUDING NEGLIGENCE), PRODUCTS LIABILITY OR OTHERWISE, EVEN IF
-APPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGES AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY
-REMEDY. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OF LIABILITY OF
-INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY
-TO YOU. In no event shall Apple's total liability to You for all
-damages (other than as may be required by applicable law) under this
-License exceed the amount of fifty dollars ($50.00).
-
-10. Trademarks. This License does not grant any rights to use the
-trademarks or trade names "Apple", "Apple Computer", "Mac", "Mac OS",
-"QuickTime", "QuickTime Streaming Server" or any other trademarks,
-service marks, logos or trade names belonging to Apple (collectively
-"Apple Marks") or to any trademark, service mark, logo or trade name
-belonging to any Contributor. You agree not to use any Apple Marks in
-or as part of the name of products derived from the Original Code or
-to endorse or promote products derived from the Original Code other
-than as expressly permitted by and in strict compliance at all times
-with Apple's third party trademark usage guidelines which are posted
-at http://www.apple.com/legal/guidelinesfor3rdparties.html.
-
-11. Ownership. Subject to the licenses granted under this License,
-each Contributor retains all rights, title and interest in and to any
-Modifications made by such Contributor. Apple retains all rights,
-title and interest in and to the Original Code and any Modifications
-made by or on behalf of Apple ("Apple Modifications"), and such Apple
-Modifications will not be automatically subject to this License. Apple
-may, at its sole discretion, choose to license such Apple
-Modifications under this License, or on different terms from those
-contained in this License or may choose not to license them at all.
-
-12. Termination.
-
-12.1 Termination. This License and the rights granted hereunder will
+Externally Deploy Your Modifications and Covered Code, for commercial or
+non-commercial purposes, provided that in each instance You also meet all of
+these conditions:
+
+(a)    You must satisfy all the conditions of Section 2.1 with respect to the
+Source Code of the Covered Code; 
+
+(b)    You must duplicate, to the extent it does not already exist, the notice
+in Exhibit A in each file of the Source Code of all Your Modifications, and
+cause the modified files to carry prominent notices stating that You changed
+the files and the date of any change; and
+
+(c)    If You Externally Deploy Your Modifications, You must make Source Code
+of all Your Externally Deployed Modifications either available to those to whom
+You have Externally Deployed Your Modifications, or publicly available.  Source
+Code of Your Externally Deployed Modifications must be released under the terms
+set forth in this License, including the license grants set forth in Section 3
+below, for as long as you Externally Deploy the Covered Code or twelve (12)
+months from the date of initial External Deployment, whichever is longer. You
+should preferably distribute the Source Code of Your Externally Deployed
+Modifications electronically (e.g. download from a web site).
+
+2.3    Distribution of Executable Versions.  In addition, if You Externally
+Deploy Covered Code (Original Code and/or Modifications) in object code,
+executable form only, You must include a prominent notice, in the code itself
+as well as in related documentation, stating that Source Code of the Covered
+Code is available under the terms of this License with information on how and
+where to obtain such Source Code.  
+
+2.4    Third Party Rights.  You expressly acknowledge and agree that although
+Apple and each Contributor grants the licenses to their respective portions of
+the Covered Code set forth herein, no assurances are provided by Apple or any
+Contributor that the Covered Code does not infringe the patent or other
+intellectual property rights of any other entity. Apple and each Contributor
+disclaim any liability to You for claims brought by any other entity based on
+infringement of intellectual property rights or otherwise. As a condition to
+exercising the rights and licenses granted hereunder, You hereby assume sole
+responsibility to secure any other intellectual property rights needed, if any.
+For example, if a third party patent license is required to allow You to
+distribute the Covered Code, it is Your responsibility to acquire that license
+before distributing the Covered Code.
+
+3.     Your Grants.  In consideration of, and as a condition to, the licenses
+granted to You under this License, You hereby grant to any person or entity
+receiving or distributing Covered Code under this License a non-exclusive,
+royalty-free, perpetual, irrevocable license, under Your Applicable Patent
+Rights and other intellectual property rights (other than patent) owned or
+controlled by You, to use, reproduce, display, perform, modify, sublicense,
+distribute and Externally Deploy Your Modifications of the same scope and
+extent as Apple's licenses under Sections 2.1 and 2.2 above.  
+
+4.     Larger Works.  You may create a Larger Work by combining Covered Code
+with other code not governed by the terms of this License and distribute the
+Larger Work as a single product.  In each such instance, You must make sure the
+requirements of this License are fulfilled for the Covered Code or any portion
+thereof. 
+
+5.     Limitations on Patent License.   Except as expressly stated in Section
+2, no other patent rights, express or implied, are granted by Apple herein.
+Modifications and/or Larger Works may require additional patent licenses from
+Apple which Apple may grant in its sole discretion.  
+
+6.     Additional Terms.  You may choose to offer, and to charge a fee for,
+warranty, support, indemnity or liability obligations and/or other rights
+consistent with the scope of the license granted herein ("Additional Terms") to
+one or more recipients of Covered Code. However, You may do so only on Your own
+behalf and as Your sole responsibility, and not on behalf of Apple or any
+Contributor. You must obtain the recipient's agreement that any such Additional
+Terms are offered by You alone, and You hereby agree to indemnify, defend and
+hold Apple and every Contributor harmless for any liability incurred by or
+claims asserted against Apple or such Contributor by reason of any such
+Additional Terms. 
+
+7.     Versions of the License.  Apple may publish revised and/or new versions
+of this License from time to time.  Each version will be given a distinguishing
+version number.  Once Original Code has been published under a particular
+version of this License, You may continue to use it under the terms of that
+version. You may also choose to use such Original Code under the terms of any
+subsequent version of this License published by Apple.  No one other than Apple
+has the right to modify the terms applicable to Covered Code created under this
+License.  
+
+8.     NO WARRANTY OR SUPPORT.  The Covered Code may contain in whole or in
+part pre-release, untested, or not fully tested works.  The Covered Code may
+contain errors that could cause failures or loss of data, and may be incomplete
+or contain inaccuracies.  You expressly acknowledge and agree that use of the
+Covered Code, or any portion thereof, is at Your sole and entire risk.  THE
+COVERED CODE IS PROVIDED "AS IS" AND WITHOUT WARRANTY, UPGRADES OR SUPPORT OF
+ANY KIND AND APPLE AND APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE"
+FOR THE PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM
+ALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF MERCHANTABILITY, OF
+SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY, OF
+QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.  APPLE AND EACH
+CONTRIBUTOR DOES NOT WARRANT AGAINST INTERFERENCE WITH YOUR ENJOYMENT OF THE
+COVERED CODE, THAT THE FUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR
+REQUIREMENTS, THAT THE OPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR
+ERROR-FREE, OR THAT DEFECTS IN THE COVERED CODE WILL BE CORRECTED.  NO ORAL OR
+WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN APPLE AUTHORIZED
+REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY.  You acknowledge
+that the Covered Code is not intended for use in the operation of nuclear
+facilities, aircraft navigation, communication systems, or air traffic control
+machines in which case the failure of the Covered Code could lead to death,
+personal injury, or severe physical or environmental damage.
+
+9.     LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO
+EVENT SHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL, SPECIAL,
+INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO THIS LICENSE OR
+YOUR USE OR INABILITY TO USE THE COVERED CODE, OR ANY PORTION THEREOF, WHETHER
+UNDER A THEORY OF CONTRACT, WARRANTY, TORT (INCLUDING NEGLIGENCE), PRODUCTS
+LIABILITY OR OTHERWISE, EVEN IF APPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGES AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL
+PURPOSE OF ANY REMEDY. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OF
+LIABILITY OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT
+APPLY TO YOU. In no event shall Apple's total liability to You for all damages
+(other than as may be required by applicable law) under this License exceed the
+amount of fifty dollars ($50.00).
+
+10.    Trademarks.  This License does not grant any rights to use the
+trademarks or trade names  "Apple", "Mac", "Mac OS", "QuickTime", "QuickTime
+Streaming Server" or any other trademarks, service marks, logos or trade names
+belonging to Apple (collectively "Apple Marks") or to any trademark, service
+mark, logo or trade name belonging to any Contributor.  You agree not to use
+any Apple Marks in or as part of the name of products derived from the Original
+Code or to endorse or promote products derived from the Original Code other
+than as expressly permitted by and in strict compliance at all times with
+Apple's third party trademark usage guidelines which are posted at
+http://www.apple.com/legal/guidelinesfor3rdparties.html.  
+
+11.    Ownership. Subject to the licenses granted under this License, each
+Contributor retains all rights, title and interest in and to any Modifications
+made by such Contributor.  Apple retains all rights, title and interest in and
+to the Original Code and any Modifications made by or on behalf of Apple
+("Apple Modifications"), and such Apple Modifications will not be automatically
+subject to this License.  Apple may, at its sole discretion, choose to license
+such Apple Modifications under this License, or on different terms from those
+contained in this License or may choose not to license them at all.  
+
+12.    Termination.  
+
+12.1   Termination.  This License and the rights granted hereunder will
 terminate:
 
-(a) automatically without notice from Apple if You fail to comply with
-any term(s) of this License and fail to cure such breach within 30
-days of becoming aware of such breach;
-
-(b) immediately in the event of the circumstances described in Section
+(a)    automatically without notice from Apple if You fail to comply with any
+term(s) of this License and fail to cure such breach within 30 days of becoming
+aware of such breach;
+(b)    immediately in the event of the circumstances described in Section
 13.5(b); or
-
-(c) automatically without notice from Apple if You, at any time during
-the term of this License, commence an action for patent infringement
-against Apple; provided that Apple did not first commence
-an action for patent infringement against You in that instance.
-
-12.2 Effect of Termination. Upon termination, You agree to immediately
-stop any further use, reproduction, modification, sublicensing and
-distribution of the Covered Code. All sublicenses to the Covered Code
-which have been properly granted prior to termination shall survive
-any termination of this License. Provisions which, by their nature,
-should remain in effect beyond the termination of this License shall
-survive, including but not limited to Sections 3, 5, 8, 9, 10, 11,
-12.2 and 13. No party will be liable to any other for compensation,
-indemnity or damages of any sort solely as a result of terminating
-this License in accordance with its terms, and termination of this
-License will be without prejudice to any other right or remedy of
-any party.
-
-13. Miscellaneous.
-
-13.1 Government End Users. The Covered Code is a "commercial item" as
-defined in FAR 2.101. Government software and technical data rights in
-the Covered Code include only those rights customarily provided to the
-public as defined in this License. This customary commercial license
-in technical data and software is provided in accordance with FAR
-12.211 (Technical Data) and 12.212 (Computer Software) and, for
-Department of Defense purchases, DFAR 252.227-7015 (Technical Data --
-Commercial Items) and 227.7202-3 (Rights in Commercial Computer
-Software or Computer Software Documentation). Accordingly, all U.S.
-Government End Users acquire Covered Code with only those rights set
+(c)    automatically without notice from Apple if You, at any time during the
+term of this License, commence an action for patent infringement against Apple;
+provided that Apple did not first commence an action for patent infringement
+against You in that instance.
+
+12.2   Effect of Termination.  Upon termination, You agree to immediately stop
+any further use, reproduction, modification, sublicensing and distribution of
+the Covered Code.  All sublicenses to the Covered Code which have been properly
+granted prior to termination shall survive any termination of this License.
+Provisions which, by their nature, should remain in effect beyond the
+termination of this License shall survive, including but not limited to
+Sections 3, 5, 8, 9, 10, 11, 12.2 and 13.  No party will be liable to any other
+for compensation, indemnity or damages of any sort solely as a result of
+terminating this License in accordance with its terms, and termination of this
+License will be without prejudice to any other right or remedy of any party.
+
+13.    Miscellaneous.
+
+13.1   Government End Users.   The Covered Code is a "commercial item" as
+defined in FAR 2.101.  Government software and technical data rights in the
+Covered Code include only those rights customarily provided to the public as
+defined in this License. This customary commercial license in technical data
+and software is provided in accordance with FAR 12.211 (Technical Data) and
+12.212 (Computer Software) and, for Department of Defense purchases, DFAR
+252.227-7015 (Technical Data -- Commercial Items) and 227.7202-3 (Rights in
+Commercial Computer Software or Computer Software Documentation).  Accordingly,
+all U.S. Government End Users acquire Covered Code with only those rights set
 forth herein.
 
-13.2 Relationship of Parties. This License will not be construed as
-creating an agency, partnership, joint venture or any other form of
-legal association between or among You, Apple or any Contributor, and
-You will not represent to the contrary, whether expressly, by
-implication, appearance or otherwise.
-
-13.3 Independent Development. Nothing in this License will impair
-Apple's right to acquire, license, develop, have others develop for
-it, market and/or distribute technology or products that perform the
-same or similar functions as, or otherwise compete with,
-Modifications, Larger Works, technology or products that You may
-develop, produce, market or distribute.
-
-13.4 Waiver; Construction. Failure by Apple or any Contributor to
-enforce any provision of this License will not be deemed a waiver of
-future enforcement of that or any other provision. Any law or
-regulation which provides that the language of a contract shall be
-construed against the drafter will not apply to this License.
-
-13.5 Severability. (a) If for any reason a court of competent
-jurisdiction finds any provision of this License, or portion thereof,
-to be unenforceable, that provision of the License will be enforced to
-the maximum extent permissible so as to effect the economic benefits
-and intent of the parties, and the remainder of this License will
-continue in full force and effect. (b) Notwithstanding the foregoing,
-if applicable law prohibits or restricts You from fully and/or
-specifically complying with Sections 2 and/or 3 or prevents the
-enforceability of either of those Sections, this License will
-immediately terminate and You must immediately discontinue any use of
-the Covered Code and destroy all copies of it that are in your
-possession or control.
-
-13.6 Dispute Resolution. Any litigation or other dispute resolution
-between You and Apple relating to this License shall take place in the
-Northern District of California, and You and Apple hereby consent to
-the personal jurisdiction of, and venue in, the state and federal
-courts within that District with respect to this License. The
-application of the United Nations Convention on Contracts for the
-International Sale of Goods is expressly excluded.
-
-13.7 Entire Agreement; Governing Law. This License constitutes the
-entire agreement between the parties with respect to the subject
-matter hereof. This License shall be governed by the laws of the
-United States and the State of California, except that body of
-California law concerning conflicts of law.
-
-Where You are located in the province of Quebec, Canada, the following
-clause applies: The parties hereby confirm that they have requested
-that this License and all related documents be drafted in English. Les
-parties ont exige que le present contrat et tous les documents
-connexes soient rediges en anglais.
-
-EXHIBIT A.
-
-"Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights
-Reserved.
-
-This file contains Original Code and/or Modifications of Original Code
-as defined in and that are subject to the Apple Public Source License
-Version 2.0 (the 'License'). You may not use this file except in
-compliance with the License. Please obtain a copy of the License at
-http://www.opensource.apple.com/apsl/ and read it before using this
-file.
+13.2   Relationship of Parties.  This License will not be construed as
+creating an agency, partnership, joint venture or any other form of legal
+association between or among You, Apple or any Contributor, and You will not
+represent to the contrary, whether expressly, by implication, appearance or
+otherwise.
+
+13.3   Independent Development.   Nothing in this License will impair Apple's
+right to acquire, license, develop, have others develop for it, market and/or
+distribute technology or products that perform the same or similar functions
+as, or otherwise compete with, Modifications, Larger Works, technology or
+products that You may develop, produce, market or distribute.
+
+13.4   Waiver; Construction.  Failure by Apple or any Contributor to enforce
+any provision of this License will not be deemed a waiver of future enforcement
+of that or any other provision.  Any law or regulation which provides that the
+language of a contract shall be construed against the drafter will not apply to
+this License.
+
+13.5   Severability.  (a) If for any reason a court of competent jurisdiction
+finds any provision of this License, or portion thereof, to be unenforceable,
+that provision of the License will be enforced to the maximum extent
+permissible so as to effect the economic benefits and intent of the parties,
+and the remainder of this License will continue in full force and effect.  (b)
+Notwithstanding the foregoing, if applicable law prohibits or restricts You
+from fully and/or specifically complying with Sections 2 and/or 3 or prevents
+the enforceability of either of those Sections, this License will immediately
+terminate and You must immediately discontinue any use of the Covered Code and
+destroy all copies of it that are in your possession or control.
+
+13.6   Dispute Resolution.  Any litigation or other dispute resolution between
+You and Apple relating to this License shall take place in the Northern
+District of California, and You and Apple hereby consent to the personal
+jurisdiction of, and venue in, the state and federal courts within that
+District with respect to this License. The application of the United Nations
+Convention on Contracts for the International Sale of Goods is expressly
+excluded.
+
+13.7   Entire Agreement; Governing Law.  This License constitutes the entire
+agreement between the parties with respect to the subject matter hereof.  This
+License shall be governed by the laws of the United States and the State of
+California, except that body of California law concerning conflicts of law. 
+
+Where You are located in the province of Quebec, Canada, the following clause
+applies:  The parties hereby confirm that they have requested that this License
+and all related documents be drafted in English. Les parties ont exigé que le
+présent contrat et tous les documents connexes soient rédigés en anglais. 
+
+EXHIBIT A. 
+
+"Portions Copyright (c) 1999-2007 Apple Inc.  All Rights Reserved.
+
+This file contains Original Code and/or Modifications of Original Code as
+defined in and that are subject to the Apple Public Source License Version 2.0
+(the 'License').  You may not use this file except in compliance with the
+License.  Please obtain a copy of the License at
+http://www.opensource.apple.com/apsl/ and read it before using this file.
 
 The Original Code and all software distributed under the License are
-distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
-EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
-INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
-Please see the License for the specific language governing rights and
-limitations under the License."
+distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS
+OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT
+LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
+PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.  Please see the License for the
+specific language governing rights and limitations under the License." 
+
index ac9bb5f32060311b5e4d01ddd1e4a4ff00a68707..a604cb961cfdcd71de7a186016b619ee21d1c53a 100644 (file)
@@ -1,11 +1,39 @@
-// See: <rdar://problem/8289209>, <rdar://problem/8351271>, <rdar://problem/8359348>
+/*
+ * Copyright (c) 2010-2011 Apple Inc. All rights reserved.
+ *
+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
+ * 
+ * This file contains Original Code and/or Modifications of Original Code
+ * as defined in and that are subject to the Apple Public Source License
+ * Version 2.0 (the 'License'). You may not use this file except in
+ * compliance with the License. The rights granted to you under the License
+ * may not be used to create, or enable the creation or redistribution of,
+ * unlawful or unlicensed copies of an Apple operating system, or to
+ * circumvent, violate, or enable the circumvention or violation of, any
+ * terms of an Apple operating system software license agreement.
+ * 
+ * Please obtain a copy of the License at
+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
+ * 
+ * The Original Code and all software distributed under the License are
+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
+ * Please see the License for the specific language governing rights and
+ * limitations under the License.
+ * 
+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
+ */
 
-#include <dlfcn.h>
+/*
+ * See: <rdar://problem/8289209>, <rdar://problem/8351271>, <rdar://problem/8359348>
+ */
 
-#if __i386__ || __x86_64__
+#if defined(__i386__) || defined(__x86_64__)
 
 #define SYM(sym) \
-  __asm__(".globl R8289209$_" #sym "; R8289209$_" #sym ": jmp _" #sym);
+  __asm__(".globl R8289209$_" #sym "; R8289209$_" #sym ": jmp _" #sym)
 
 /****************/
 
@@ -34,4 +62,5 @@ SYM(time);
 SYM(unlink);
 SYM(write);
 
-#endif
+#endif /* defined(__i386__) || defined(__x86_64__) */
+
diff --git a/GNUmakefile b/GNUmakefile
deleted file mode 100644 (file)
index a875175..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-##---------------------------------------------------------------------
-# Makefile for Libsystem
-# Call Makefile to do the work, but for the install case, we need to
-# call Makefile for each arch separately, and create fat dylibs at the
-# end.  This is because the comm page symbols are added as a special segment,
-# which the linker will not thin, so we have to build thin and combine.
-##---------------------------------------------------------------------
-Project = Libsystem
-VersionLetter = B
-
-# Remove any NEXT_ROOT argument
-override MAKEOVERRIDES := $(filter-out NEXT_ROOT=%,$(MAKEOVERRIDES))
-override MAKEFILEPATH := $(subst $(NEXT_ROOT),,$(MAKEFILEPATH))
-unexport NEXT_ROOT
-
-include $(MAKEFILEPATH)/CoreOS/ReleaseControl/Common.make
-
-ifeq ($(Version),0)
-ifdef RC_ProjectSourceVersion
-Version = $(RC_ProjectSourceVersion)
-endif
-endif
-
-no_target:
-       @$(MAKE) -f Makefile
-
-ifndef RC_TARGET_CONFIG
-export RC_TARGET_CONFIG = MacOSX
-endif
-
-# Default platform order file.  The platform Makefile.inc can override.
-PLATFORM_ORDER_FILE = $(SRCROOT)/Platforms/$(RC_TARGET_CONFIG)/System.order
-
-include Platforms/$(RC_TARGET_CONFIG)/Makefile.inc
-
-##---------------------------------------------------------------------
-# For each arch, we setup the independent OBJROOT and DSTROOT, and adjust
-# the other flags.  After all the archs are built, we copy over one on
-# time (for the non-dylib files), and then call lipo to create fat files
-# for the three dylibs.
-##---------------------------------------------------------------------
-NARCHS = $(words $(RC_ARCHS))
-USRLIB = /usr/lib
-ifdef ALTUSRLOCALLIBSYSTEM
-LIBSYS = $(ALTUSRLOCALLIBSYSTEM)
-else
-LIBSYS = $(SDKROOT)/usr/local/lib/system
-endif
-FORMS = dynamic
-SUFFIX = ''
-ifdef FEATURE_DEBUG_DYLIB
-FORMS += debug
-SUFFIX += _debug
-endif
-ifdef FEATURE_PROFILE_DYLIB
-FORMS += profile
-SUFFIX += _profile
-endif
-BSD_LIBS = c info m pthread dbm poll dl rpcsvc proc
-FPATH = /System/Library/Frameworks/System.framework
-
-build:: libSystem
-       @set -x && \
-       cd $(DSTROOT)/usr/lib && \
-       for i in $(BSD_LIBS); do \
-           $(LN) -sf libSystem.dylib lib$$i.dylib || exit 1; \
-       done
-       $(FIND) $(DSTROOT) -type l ! -perm 755 | $(XARGS) chmod -hv 755
-       $(INSTALL_DIRECTORY) $(DSTROOT)$(FPATH)/Versions/$(VersionLetter)/Resources
-       @set -x && \
-       cd $(DSTROOT)$(FPATH) && \
-       $(LN) -sf Versions/Current/PrivateHeaders && \
-       $(LN) -sf Versions/Current/Resources && \
-       for S in $(SUFFIX); do \
-           $(LN) -sf Versions/Current/System$$S || exit 1; \
-       done && \
-       cd Versions && \
-       $(LN) -sf $(VersionLetter) Current && \
-       cd $(VersionLetter) && \
-       for S in $(SUFFIX); do \
-           $(LN) -sf ../../../../../../usr/lib/libSystem.$(VersionLetter)$$S.dylib System$$S || exit 1; \
-       done && \
-       plutil -convert binary1 -o Resources/Info.plist $(SRCROOT)/Info.plist
-
-libc:
-       $(MKDIR) '$(OBJROOT)/libc'
-       $(BSDMAKE) -C libsys install \
-       FEATURE_DEBUG_DYLIB=$(FEATURE_DEBUG_DYLIB) \
-       FEATURE_PROFILE_DYLIB=$(FEATURE_PROFILE_DYLIB) \
-       DSTROOT='$(DSTROOT)' \
-       OBJROOT='$(OBJROOT)/libc' \
-       SRCROOT='$(SRCROOT)' \
-       SYMROOT='$(SYMROOT)'
-
-libSystem:
-       $(MKDIR) '$(OBJROOT)/libSystem'
-       $(BSDMAKE) install \
-       FEATURE_LIBMATHCOMMON=$(FEATURE_LIBMATHCOMMON) \
-       PLATFORM_ORDER_FILE=$(PLATFORM_ORDER_FILE) \
-       FORMS='$(FORMS)' \
-       Version=$(Version) \
-       VersionLetter=$(VersionLetter) \
-       DSTROOT='$(DSTROOT)' \
-       OBJROOT='$(OBJROOT)/libSystem' \
-       SRCROOT='$(SRCROOT)' \
-       SYMROOT='$(SYMROOT)'
index 045ff711f3247e5a4e52ca1b0a7fa396277d59f3..93e0ff20024cd8a90cebffc0b354aaf23577184e 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
-<plist version="0.9">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
 <dict>
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>
        <string>11</string>
        <key>CFBundleSignature</key>
        <string>????</string>
-       <key>CarbonLazyValues</key>
-       <dict>
-               <key>CodeFragmentManager</key>
-               <dict>
-                       <key>System</key>
-                       <string>CFMPriv_System</string>
-               </dict>
-       </dict>
 </dict>
 </plist>
diff --git a/Libsystem.xcodeproj/project.pbxproj b/Libsystem.xcodeproj/project.pbxproj
new file mode 100644 (file)
index 0000000..caafa95
--- /dev/null
@@ -0,0 +1,377 @@
+// !$*UTF8*$!
+{
+       archiveVersion = 1;
+       classes = {
+       };
+       objectVersion = 46;
+       objects = {
+
+/* Begin PBXAggregateTarget section */
+               BA5511CF136CA8480012B9B5 /* Generate Linker Arguments */ = {
+                       isa = PBXAggregateTarget;
+                       buildConfigurationList = BA5511D0136CA8480012B9B5 /* Build configuration list for PBXAggregateTarget "Generate Linker Arguments" */;
+                       buildPhases = (
+                               BA5511D4136CA8680012B9B5 /* ShellScript */,
+                       );
+                       dependencies = (
+                       );
+                       name = "Generate Linker Arguments";
+                       productName = "Generate Linker Arguments";
+               };
+               BA5511D6136D22ED0012B9B5 /* Generate Symlinks */ = {
+                       isa = PBXAggregateTarget;
+                       buildConfigurationList = BA5511D7136D22ED0012B9B5 /* Build configuration list for PBXAggregateTarget "Generate Symlinks" */;
+                       buildPhases = (
+                               BA5511D9136D23110012B9B5 /* ShellScript */,
+                               BA2BD8FE136D271D00FF78C0 /* ShellScript */,
+                               BA2BD8FF136D27FE00FF78C0 /* CopyFiles */,
+                       );
+                       dependencies = (
+                       );
+                       name = "Generate Symlinks";
+                       productName = "Generate Symlinks";
+               };
+/* End PBXAggregateTarget section */
+
+/* Begin PBXBuildFile section */
+               BA2BD900136D282200FF78C0 /* Info.plist in CopyFiles */ = {isa = PBXBuildFile; fileRef = BA5511B6136C9D780012B9B5 /* Info.plist */; };
+               BA2FABC5136DBF45004383E5 /* linker_arguments_changed.c in Sources */ = {isa = PBXBuildFile; fileRef = BA2FABC4136DBF45004383E5 /* linker_arguments_changed.c */; };
+               BA5511C9136C9E4D0012B9B5 /* CompatibilityHacks.c in Sources */ = {isa = PBXBuildFile; fileRef = BA5511B4136C9D780012B9B5 /* CompatibilityHacks.c */; };
+               BA5511CA136C9E510012B9B5 /* init.c in Sources */ = {isa = PBXBuildFile; fileRef = BA5511B7136C9D780012B9B5 /* init.c */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+               BA5511D2136CA8550012B9B5 /* PBXContainerItemProxy */ = {
+                       isa = PBXContainerItemProxy;
+                       containerPortal = BA5511A9136C9D400012B9B5 /* Project object */;
+                       proxyType = 1;
+                       remoteGlobalIDString = BA5511CF136CA8480012B9B5;
+                       remoteInfo = "Generate Linker Arguments";
+               };
+               BA5511DA136D23EE0012B9B5 /* PBXContainerItemProxy */ = {
+                       isa = PBXContainerItemProxy;
+                       containerPortal = BA5511A9136C9D400012B9B5 /* Project object */;
+                       proxyType = 1;
+                       remoteGlobalIDString = BA5511D6136D22ED0012B9B5;
+                       remoteInfo = "Generate Symlinks";
+               };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+               BA2BD8FF136D27FE00FF78C0 /* CopyFiles */ = {
+                       isa = PBXCopyFilesBuildPhase;
+                       buildActionMask = 8;
+                       dstPath = /System/Library/Frameworks/System.framework/Versions/B/Resources;
+                       dstSubfolderSpec = 0;
+                       files = (
+                               BA2BD900136D282200FF78C0 /* Info.plist in CopyFiles */,
+                       );
+                       runOnlyForDeploymentPostprocessing = 1;
+               };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+               BA2FABC4136DBF45004383E5 /* linker_arguments_changed.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = linker_arguments_changed.c; sourceTree = BUILT_PRODUCTS_DIR; };
+               BA5511B3136C9D780012B9B5 /* APPLE_LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = APPLE_LICENSE; sourceTree = "<group>"; };
+               BA5511B4136C9D780012B9B5 /* CompatibilityHacks.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = CompatibilityHacks.c; sourceTree = "<group>"; };
+               BA5511B6136C9D780012B9B5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+               BA5511B7136C9D780012B9B5 /* init.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = init.c; sourceTree = "<group>"; };
+               BA5511B9136C9D780012B9B5 /* optionallibs */ = {isa = PBXFileReference; lastKnownFileType = text; path = optionallibs; sourceTree = "<group>"; };
+               BA5511BA136C9D780012B9B5 /* requiredlibs */ = {isa = PBXFileReference; lastKnownFileType = text; path = requiredlibs; sourceTree = "<group>"; };
+               BA5511BC136C9D960012B9B5 /* BSD.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = BSD.xcconfig; path = Makefiles/CoreOS/Xcode/BSD.xcconfig; sourceTree = DEVELOPER_DIR; };
+               BA5511C4136C9E2E0012B9B5 /* libSystem.B.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libSystem.B.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
+               C64EE1D7136F644700676C52 /* create_dylib_symlinks.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = create_dylib_symlinks.sh; sourceTree = "<group>"; };
+               C64EE1D8136F644700676C52 /* create_system_framework.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = create_system_framework.sh; sourceTree = "<group>"; };
+               C64EE1D9136F644700676C52 /* linker_arguments.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = linker_arguments.sh; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+               BA5511C1136C9E2E0012B9B5 /* Frameworks */ = {
+                       isa = PBXFrameworksBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+               };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+               BA2FABC7136DBF6F004383E5 /* Generated Files */ = {
+                       isa = PBXGroup;
+                       children = (
+                               BA2FABC4136DBF45004383E5 /* linker_arguments_changed.c */,
+                       );
+                       name = "Generated Files";
+                       sourceTree = "<group>";
+               };
+               BA5511A7136C9D400012B9B5 = {
+                       isa = PBXGroup;
+                       children = (
+                               BA5511BC136C9D960012B9B5 /* BSD.xcconfig */,
+                               BA5511B3136C9D780012B9B5 /* APPLE_LICENSE */,
+                               BA5511B4136C9D780012B9B5 /* CompatibilityHacks.c */,
+                               BA5511B6136C9D780012B9B5 /* Info.plist */,
+                               BA5511B7136C9D780012B9B5 /* init.c */,
+                               BA5511B9136C9D780012B9B5 /* optionallibs */,
+                               BA5511BA136C9D780012B9B5 /* requiredlibs */,
+                               C64EE1D6136F644700676C52 /* xcodescripts */,
+                               BA5511C5136C9E2E0012B9B5 /* Products */,
+                               BA2FABC7136DBF6F004383E5 /* Generated Files */,
+                       );
+                       sourceTree = "<group>";
+               };
+               BA5511C5136C9E2E0012B9B5 /* Products */ = {
+                       isa = PBXGroup;
+                       children = (
+                               BA5511C4136C9E2E0012B9B5 /* libSystem.B.dylib */,
+                       );
+                       name = Products;
+                       sourceTree = "<group>";
+               };
+               C64EE1D6136F644700676C52 /* xcodescripts */ = {
+                       isa = PBXGroup;
+                       children = (
+                               C64EE1D7136F644700676C52 /* create_dylib_symlinks.sh */,
+                               C64EE1D8136F644700676C52 /* create_system_framework.sh */,
+                               C64EE1D9136F644700676C52 /* linker_arguments.sh */,
+                       );
+                       path = xcodescripts;
+                       sourceTree = "<group>";
+               };
+/* End PBXGroup section */
+
+/* Begin PBXHeadersBuildPhase section */
+               BA5511C2136C9E2E0012B9B5 /* Headers */ = {
+                       isa = PBXHeadersBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+               };
+/* End PBXHeadersBuildPhase section */
+
+/* Begin PBXNativeTarget section */
+               BA5511C3136C9E2E0012B9B5 /* System */ = {
+                       isa = PBXNativeTarget;
+                       buildConfigurationList = BA5511C7136C9E2E0012B9B5 /* Build configuration list for PBXNativeTarget "System" */;
+                       buildPhases = (
+                               BA5511C0136C9E2E0012B9B5 /* Sources */,
+                               BA5511C1136C9E2E0012B9B5 /* Frameworks */,
+                               BA5511C2136C9E2E0012B9B5 /* Headers */,
+                       );
+                       buildRules = (
+                       );
+                       dependencies = (
+                               BA5511DB136D23EE0012B9B5 /* PBXTargetDependency */,
+                               BA5511D3136CA8550012B9B5 /* PBXTargetDependency */,
+                       );
+                       name = System;
+                       productName = System;
+                       productReference = BA5511C4136C9E2E0012B9B5 /* libSystem.B.dylib */;
+                       productType = "com.apple.product-type.library.dynamic";
+               };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+               BA5511A9136C9D400012B9B5 /* Project object */ = {
+                       isa = PBXProject;
+                       attributes = {
+                               LastUpgradeCheck = 0420;
+                       };
+                       buildConfigurationList = BA5511AC136C9D400012B9B5 /* Build configuration list for PBXProject "Libsystem" */;
+                       compatibilityVersion = "Xcode 3.2";
+                       developmentRegion = English;
+                       hasScannedForEncodings = 0;
+                       knownRegions = (
+                               en,
+                       );
+                       mainGroup = BA5511A7136C9D400012B9B5;
+                       productRefGroup = BA5511C5136C9E2E0012B9B5 /* Products */;
+                       projectDirPath = "";
+                       projectRoot = "";
+                       targets = (
+                               BA5511C3136C9E2E0012B9B5 /* System */,
+                               BA5511CF136CA8480012B9B5 /* Generate Linker Arguments */,
+                               BA5511D6136D22ED0012B9B5 /* Generate Symlinks */,
+                       );
+               };
+/* End PBXProject section */
+
+/* Begin PBXShellScriptBuildPhase section */
+               BA2BD8FE136D271D00FF78C0 /* ShellScript */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 8;
+                       files = (
+                       );
+                       inputPaths = (
+                       );
+                       outputPaths = (
+                       );
+                       runOnlyForDeploymentPostprocessing = 1;
+                       shellPath = /bin/sh;
+                       shellScript = "set -x\nset -e\n\n\"${SRCROOT}/xcodescripts/create_system_framework.sh\" \"${DSTROOT}\" \"${SRCROOT}\" \"${ACTION}\" \"${ARCHS}\" \"${BUILD_VARIANTS}\"\n";
+               };
+               BA5511D4136CA8680012B9B5 /* ShellScript */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                               "$(SRCROOT)/optionallibs",
+                               "$(SRCROOT)/requiredlibs",
+                               "$(SRCROOT)/xcodescripts/linker_arguments.sh",
+                       );
+                       outputPaths = (
+                               "$(BUILT_PRODUCTS_DIR)/linker_arguments_changed.c",
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /bin/sh;
+                       shellScript = "set -x\nset -e\n\n\"${SRCROOT}/xcodescripts/linker_arguments.sh\" \"${ARCHS}\" \"${BUILD_VARIANTS}\" \"${BUILT_PRODUCTS_DIR}\" \"${SDKROOT}\" \"${SRCROOT}\"\n";
+               };
+               BA5511D9136D23110012B9B5 /* ShellScript */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 8;
+                       files = (
+                       );
+                       inputPaths = (
+                       );
+                       outputPaths = (
+                       );
+                       runOnlyForDeploymentPostprocessing = 1;
+                       shellPath = /bin/sh;
+                       shellScript = "set -x\nset -e\n\n\"${SRCROOT}/xcodescripts/create_dylib_symlinks.sh\" \"${DSTROOT}\" \"${ACTION}\" \"${BUILD_VARIANTS}\"\n";
+               };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+               BA5511C0136C9E2E0012B9B5 /* Sources */ = {
+                       isa = PBXSourcesBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                               BA5511C9136C9E4D0012B9B5 /* CompatibilityHacks.c in Sources */,
+                               BA5511CA136C9E510012B9B5 /* init.c in Sources */,
+                               BA2FABC5136DBF45004383E5 /* linker_arguments_changed.c in Sources */,
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+               };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+               BA5511D3136CA8550012B9B5 /* PBXTargetDependency */ = {
+                       isa = PBXTargetDependency;
+                       target = BA5511CF136CA8480012B9B5 /* Generate Linker Arguments */;
+                       targetProxy = BA5511D2136CA8550012B9B5 /* PBXContainerItemProxy */;
+               };
+               BA5511DB136D23EE0012B9B5 /* PBXTargetDependency */ = {
+                       isa = PBXTargetDependency;
+                       target = BA5511D6136D22ED0012B9B5 /* Generate Symlinks */;
+                       targetProxy = BA5511DA136D23EE0012B9B5 /* PBXContainerItemProxy */;
+               };
+/* End PBXTargetDependency section */
+
+/* Begin XCBuildConfiguration section */
+               BA5511AF136C9D400012B9B5 /* Release */ = {
+                       isa = XCBuildConfiguration;
+                       buildSettings = {
+                       };
+                       name = Release;
+               };
+               BA5511C6136C9E2E0012B9B5 /* Release */ = {
+                       isa = XCBuildConfiguration;
+                       baseConfigurationReference = BA5511BC136C9D960012B9B5 /* BSD.xcconfig */;
+                       buildSettings = {
+                               BUILD_VARIANTS = (
+                                       normal,
+                                       debug,
+                               );
+                               CURRENT_VERSION_STRING_ = 159;
+                               CURRENT_VERSION_STRING_YES = "$(CURRENT_PROJECT_VERSION)";
+                               DYLIB_CURRENT_VERSION = "$(CURRENT_VERSION_STRING_$(RC_XBS))";
+                               EXECUTABLE_PREFIX = lib;
+                               GCC_NO_COMMON_BLOCKS = YES;
+                               GCC_TREAT_WARNINGS_AS_ERRORS = YES;
+                               GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+                               GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+                               GCC_WARN_ABOUT_RETURN_TYPE = YES;
+                               GCC_WARN_UNUSED_VARIABLE = YES;
+                               INSTALL_PATH = /usr/lib;
+                               LD_GENERATE_MAP_FILE = YES;
+                               LIBRARY_SEARCH_PATHS = (
+                                       "$(SDKROOT)/usr/lib/system",
+                                       "$(SDKROOT)/usr/local/lib/system",
+                               );
+                               ORDER_FILE = "$(SDKROOT)/$(APPLE_INTERNAL_DIR)/OrderFiles/libSystem.order";
+                               "ORDER_FILE[sdk=iphonesimulator*]" = "";
+                               OTHER_LDFLAGS = (
+                                       "-Wl,-search_paths_first",
+                                       "-nodefaultlibs",
+                                       "@$(BUILT_PRODUCTS_DIR)/linker_arguments.$(CURRENT_ARCH).$(CURRENT_VARIANT).txt",
+                               );
+                               PRODUCT_NAME = "$(TARGET_NAME).B";
+                       };
+                       name = Release;
+               };
+               BA5511D1136CA8480012B9B5 /* Release */ = {
+                       isa = XCBuildConfiguration;
+                       baseConfigurationReference = BA5511BC136C9D960012B9B5 /* BSD.xcconfig */;
+                       buildSettings = {
+                               BUILD_VARIANTS = (
+                                       normal,
+                                       debug,
+                               );
+                               PRODUCT_NAME = "$(TARGET_NAME)";
+                       };
+                       name = Release;
+               };
+               BA5511D8136D22ED0012B9B5 /* Release */ = {
+                       isa = XCBuildConfiguration;
+                       baseConfigurationReference = BA5511BC136C9D960012B9B5 /* BSD.xcconfig */;
+                       buildSettings = {
+                               BUILD_VARIANTS = (
+                                       normal,
+                                       debug,
+                               );
+                               INSTALLHDRS_SCRIPT_PHASE = YES;
+                               PRODUCT_NAME = "$(TARGET_NAME)";
+                       };
+                       name = Release;
+               };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+               BA5511AC136C9D400012B9B5 /* Build configuration list for PBXProject "Libsystem" */ = {
+                       isa = XCConfigurationList;
+                       buildConfigurations = (
+                               BA5511AF136C9D400012B9B5 /* Release */,
+                       );
+                       defaultConfigurationIsVisible = 0;
+                       defaultConfigurationName = Release;
+               };
+               BA5511C7136C9E2E0012B9B5 /* Build configuration list for PBXNativeTarget "System" */ = {
+                       isa = XCConfigurationList;
+                       buildConfigurations = (
+                               BA5511C6136C9E2E0012B9B5 /* Release */,
+                       );
+                       defaultConfigurationIsVisible = 0;
+                       defaultConfigurationName = Release;
+               };
+               BA5511D0136CA8480012B9B5 /* Build configuration list for PBXAggregateTarget "Generate Linker Arguments" */ = {
+                       isa = XCConfigurationList;
+                       buildConfigurations = (
+                               BA5511D1136CA8480012B9B5 /* Release */,
+                       );
+                       defaultConfigurationIsVisible = 0;
+                       defaultConfigurationName = Release;
+               };
+               BA5511D7136D22ED0012B9B5 /* Build configuration list for PBXAggregateTarget "Generate Symlinks" */ = {
+                       isa = XCConfigurationList;
+                       buildConfigurations = (
+                               BA5511D8136D22ED0012B9B5 /* Release */,
+                       );
+                       defaultConfigurationIsVisible = 0;
+                       defaultConfigurationName = Release;
+               };
+/* End XCConfigurationList section */
+       };
+       rootObject = BA5511A9136C9D400012B9B5 /* Project object */;
+}
diff --git a/Libsystem.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Libsystem.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644 (file)
index 0000000..4177e01
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+   version = "1.0">
+   <FileRef
+      location = "self:Libsystem.xcodeproj">
+   </FileRef>
+</Workspace>
diff --git a/Makefile b/Makefile
deleted file mode 100644 (file)
index c94a129..0000000
--- a/Makefile
+++ /dev/null
@@ -1,173 +0,0 @@
-NAME0 = libSystem
-NAME = $(NAME0).$(VersionLetter)
-
-.include <CoreOS/Standard/Commands.mk>
-.include <CoreOS/Standard/Variables.mk>
-
-# for now, use the default compiler
-MYCC := $(CC)
-.if $(RC_TARGET_CONFIG) == iPhone
-MYCCLIBS = -lgcc
-.endif
-RTLIBS =
-NARCHS != $(ECHO) $(RC_ARCHS) | $(WC) -w
-SLFS_F_PH = $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
-CODESIGN != xcrun -find codesign
-.ifdef SDKROOT
-SDKROOTCFLAGS = -isysroot '$(SDKROOT)'
-SDKROOTLDFLAGS = -Wl,-syslibroot,'$(SDKROOT)'
-.endif
-ORDERFILES = -Wl,-order_file,$(SRCROOT)/SystemInit.order -Wl,-order_file,$(PLATFORM_ORDER_FILE)
-
-.ifdef ALTUSRLOCALLIBSYSTEM
-LIBSYS = $(ALTUSRLOCALLIBSYSTEM)
-.else
-LIBSYS = $(SDKROOT)/usr/local/lib/system
-.endif
-.ifdef ALTUSRLIBSYSTEM
-LSYS = $(ALTUSRLIBSYSTEM)
-.else
-LSYS = $(SDKROOT)/usr/lib/system
-.endif
-
-ACTUALLIBS = $(SYMROOT)/actuallibs
-ALLLIBS = $(SYMROOT)/alllibs
-FROMUSRLIBSYSTEM = $(SYMROOT)/fromusrlibsystem
-FROMUSRLOCALLIBSYSTEM = $(SYMROOT)/fromusrlocallibsystem
-INUSRLIBSYSTEM = $(SYMROOT)/inusrlibsystem
-INUSRLOCALLIBSYSTEM = $(SYMROOT)/inusrlocallibsystem
-MISSINGLIBS = $(SYMROOT)/missinglibs
-OPTIONALLIBS = $(SRCROOT)/optionallibs
-POSSIBLEUSRLOCALLIBSYSTEM = $(SYMROOT)/possibleusrlocallibsystem
-REQUIREDLIBS = $(SRCROOT)/requiredlibs
-
-$(MISSINGLIBS):
-       cat $(REQUIREDLIBS) $(OPTIONALLIBS) | sort > $(ALLLIBS)
-       cd $(LSYS) && ls lib*.dylib | sed -E -e 's/^lib//' -e 's/\..*$$//' -e 's/_(debug|profile|static)$$//' | sort -u > $(INUSRLIBSYSTEM)
-       cd $(LIBSYS) && ls lib*.a | sed -E -e 's/^lib//' -e 's/\..*$$//' -e 's/_(debug|profile|static)$$//' | sort -u > $(INUSRLOCALLIBSYSTEM)
-       comm -12 $(ALLLIBS) $(INUSRLIBSYSTEM) > $(FROMUSRLIBSYSTEM)
-       comm -12 $(ALLLIBS) $(INUSRLOCALLIBSYSTEM) > $(POSSIBLEUSRLOCALLIBSYSTEM)
-       comm -13 $(FROMUSRLIBSYSTEM) $(POSSIBLEUSRLOCALLIBSYSTEM) > $(FROMUSRLOCALLIBSYSTEM)
-       cat $(FROMUSRLIBSYSTEM) $(FROMUSRLOCALLIBSYSTEM) | sort > $(ACTUALLIBS)
-       comm -23 $(REQUIREDLIBS) $(ACTUALLIBS) > $(MISSINGLIBS)
-       @if [ -s $(MISSINGLIBS) ]; then \
-           echo '*** missing required libs ***' && \
-           cat $(MISSINGLIBS) && \
-           exit 1; \
-       fi ;
-
-# These variables are to guarantee that the left-hand side of an expression is
-# always a variable
-dynamic = dynamic
-
-all: build
-
-build: build-debug build-dynamic build-profile
-
-# These are the non B&I defaults
-.ifndef RC_ProjectName
-install: installhdrs install-all
-
-.else # RC_ProjectName
-
-.for F in $(FORMS)
-install: BI-install-$(F)
-.endfor # FORMS
-.endif # RC_ProjectName
-
-.for A in $(RC_ARCHS)
-OBJS-$(A) = $(OBJROOT)/$(A)/SystemMath.o $(OBJROOT)/$(A)/CompatibilityHacks.o $(OBJROOT)/$(A)/System_vers.o $(OBJROOT)/$(A)/init.o
-.endfor # RC_ARCHS
-
-.for F in $(FORMS)
-.if $(dynamic) == $(F)
-SUFFIX$(F) =
-.else
-SUFFIX$(F) = _$(F)
-.endif
-LIPOARGS$(F) != $(PERL) -e 'printf "%s\n", join(" ", map(qq(-arch $$_ \"$(OBJROOT)/$$_/$(F)/$(NAME)$(SUFFIX$(F)).dylib\"), qw($(RC_ARCHS))))'
-
-.for A in $(RC_ARCHS)
-build-$(F): build-$(A)-$(F)
-.endfor # RC_ARCHS
-build-$(F):
-.if $(NARCHS) == 1
-       $(CP) "$(OBJROOT)/$(RC_ARCHS)/$(F)/$(NAME)$(SUFFIX$(F)).dylib" "$(SYMROOT)"
-.else
-       $(LIPO) -create $(LIPOARGS$(F)) -output "$(SYMROOT)/$(NAME)$(SUFFIX$(F)).dylib"
-.endif
-       $(DSYMUTIL) "$(SYMROOT)/$(NAME)$(SUFFIX$(F)).dylib"
-
-.for A in $(RC_ARCHS)
-# Hardcode libc.a for now.  This will have to be changed when libc becomes
-# its own dylib.
-LINKDYLIB-$(F)-$(A) = $(MYCC) -dynamiclib -arch $(A) -pipe $(SDKROOTLDFLAGS) \
-       -o '$(OBJROOT)/$(A)/$(F)/$(NAME)$(SUFFIX$(F)).dylib' \
-       -compatibility_version 1 -current_version $(Version) \
-       -install_name /usr/lib/$(NAME)$(SUFFIX$(F)).dylib \
-       -nodefaultlibs -Wl,-search_paths_first \
-       $(ORDERFILES) $(SKDROOTLDFLAGS) $(OBJS-$(A)) \
-       -L$(LSYS) -L$(LIBSYS) $(LIBMATHCOMMON$(F)) \
-       `sed 's/.*/-Wl,-reexport-l&/' $(FROMUSRLIBSYSTEM)` \
-       `sed -e '/^c$$/d' -e 's|.*|-Wl,-force_load,$(LIBSYS)/lib&$(SUFFIX$(F)).a|' $(FROMUSRLOCALLIBSYSTEM)`
-
-build-$(A)-$(F): $(OBJROOT)/$(A)/$(F) $(OBJS-$(A)) $(MISSINGLIBS)
-       @$(ECHO) '========================================='
-       @$(ECHO) $(LINKDYLIB-$(F)-$(A)) $(RTLIBS) $(MYCCLIBS)
-       @$(LINKDYLIB-$(F)-$(A)) $(RTLIBS) $(MYCCLIBS)
-
-$(OBJROOT)/$(A)/$(F):
-       $(MKDIR) '$(.TARGET)'
-
-.endfor # RC_ARCHS
-.endfor # FORMS
-
-SEG1ADDR_i386 = 0xffff0000
-SEG1ADDR_ppc = 0xffff8000
-SEG1ADDR_ppc64 = 0xffffffffffff8000
-SEG1ADDR_x86_64 = 0x00007fffffe00000
-SEG1ADDR_arm = 0xffff8000
-
-CFLAGS = -g -Os -Wall -Werror -I'$(SLFS_F_PH)' -fno-common $(SDKROOTCFLAGS)
-
-$(OBJROOT)/System_vers.c:
-       $(VERS_STRING) -c System | \
-       $(SED) -e 's/SGS_VERS/SYSTEM_VERS_STRING/' -e 's/VERS_NUM/SYSTEM_VERS_NUM/' > $(.TARGET)
-
-.for A in $(RC_ARCHS)
-$(OBJROOT)/$(A)/SystemMath.o: $(SRCROOT)/SystemMath.s
-       $(MYCC) -c -o '$(.TARGET)' -arch $(A) $(CFLAGS) '$(.ALLSRC)'
-
-$(OBJROOT)/$(A)/CompatibilityHacks.o: $(SRCROOT)/CompatibilityHacks.c
-       $(MYCC) -c -o '$(.TARGET)' -arch $(A) $(CFLAGS) '$(.ALLSRC)'
-
-$(OBJROOT)/$(A)/System_vers.o: $(OBJROOT)/System_vers.c
-       $(MYCC) -c -o '$(.TARGET)' -arch $(A) $(CFLAGS) '$(.ALLSRC)'
-
-$(OBJROOT)/$(A)/init.o: $(SRCROOT)/init.c
-       $(MYCC) -c -o '$(.TARGET)' -arch $(A) $(CFLAGS) '$(.ALLSRC)'
-
-.endfor # RC_ARCHS
-
-installhdrs:
-
-.for F in $(FORMS)
-BI-install-$(F): build-$(F)
-       $(MKDIR) "$(DSTROOT)/usr/lib"
-       @$(ECHO) "===== Installing $(NAME)$(SUFFIX$(F)).dylib ====="
-       $(INSTALL) "$(SYMROOT)/$(NAME)$(SUFFIX$(F)).dylib" "$(DSTROOT)/usr/lib"
-       $(STRIP) -S "$(DSTROOT)/usr/lib/$(NAME)$(SUFFIX$(F)).dylib"
-       $(CHMOD) a-w "$(DSTROOT)/usr/lib/$(NAME)$(SUFFIX$(F)).dylib"
-       $(LN) -sf "$(NAME)$(SUFFIX$(F)).dylib" "$(DSTROOT)/usr/lib/$(NAME0)$(SUFFIX$(F)).dylib"
-       $(CODESIGN) -s - "$(DSTROOT)/usr/lib/$(NAME)$(SUFFIX$(F)).dylib"
-.endfor # FORMS
-
-install-all: build
-.for F in $(FORMS)
-install-all: BI-install-$(F)
-.endfor # FORMS
-
-clean:
-.for A in $(RC_ARCHS)
-       $(RMDIR) $(OBJROOT)/$(A)
-.endfor # RC_ARCHS
diff --git a/Platforms/MacOSX/Makefile.inc b/Platforms/MacOSX/Makefile.inc
deleted file mode 100644 (file)
index ccf3402..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Selectable features for MacOSX
-#
-
-# Build _debug.dylib
-FEATURE_DEBUG_DYLIB = 1
-
-# Build _profile.dylib
-FEATURE_PROFILE_DYLIB = 1
-
-# Use different order file if it exists
-ALTORDERFILE = /AppleInternal/OrderFiles/libSystem.order
-ifeq ($(shell [ ! -f $(ALTORDERFILE) ] || echo YES),YES)
-PLATFORM_ORDER_FILE = $(ALTORDERFILE)
-endif
diff --git a/Platforms/MacOSX/System.order b/Platforms/MacOSX/System.order
deleted file mode 100644 (file)
index 997d3cb..0000000
+++ /dev/null
@@ -1,2031 +0,0 @@
-_cerror
-_cthread_set_errno_self
-___error
-_vasprintf
-_malloc
-_malloc_zone_malloc
-_szone_malloc
-_memset
-_pthread_getspecific
-___vfprintf
-_localeconv_l
-___sfvwrite
-_memcpy
-_stat
-__sysenter_trap
-_free
-_malloc_zone_free
-_szone_free
-_usleep$UNIX2003
-_nanosleep$UNIX2003
-__pthread_testcancel
-___semwait_signal
-_asprintf
-_bootstrap_look_up
-_bootstrap_look_up2
-_vproc_mig_look_up2
-_mig_strncpy
-_mig_get_reply_port
-_mach_msg
-_mach_msg_trap
-__dyld_register_func_for_add_image
-_pthread_mutex_lock
-_pthread_mutex_unlock
-__dyld_register_func_for_remove_image
-___cxa_atexit
-_atexit_register
-_dyld_register_image_state_change_handler
-__dyld_func_lookup
-_tiny_malloc_from_free_list
-_dwarf2_unwind_dyld_add_image_hook
-_calloc
-_malloc_zone_calloc
-_szone_calloc
-__keymgr_get_and_lock_processwide_ptr_2
-_get_or_create_key_element
-__keymgr_set_and_unlock_processwide_ptr
-_pthread_key_create
-_getenv
-__NSGetEnviron
-___findenv
-_issetugid
-_strlen
-_strcmp
-_getsectdatafromheader
-_getsectbynamefromheader
-_strncmp
-_dladdr
-_dlopen
-__Z29getPerThreadBufferFor_dlerrorj
-_pthread_setspecific
-__Z21dyldGlobalLockAcquirev
-__Z21dyldGlobalLockReleasev
-_bcmp
-_malloc_default_zone
-_small_malloc_from_free_list
-_small_malloc_from_region_no_lock
-_allocate_pages
-_mmap$UNIX2003
-_mmap
-_munmap$UNIX2003
-_tiny_free_list_add_ptr
-_bcopy
-_malloc_zone_from_ptr
-_szone_size
-__pthread_mutex_init
-_small_free_list_add_ptr
-_large_and_huge_malloc
-_small_free_list_remove_ptr
-_sysctl
-___sysctl
-_OSAtomicCompareAndSwapIntBarrier
-_realloc
-_malloc_zone_realloc
-_szone_realloc
-_large_free_no_lock
-_deallocate_pages
-_pthread_self
-_memmove
-_pthread_atfork
-_spin_lock
-_OSSpinLockUnlock
-__NSGetExecutablePath
-__NSGetArgv
-__NSGetArgc
-_malloc_size
-_fls
-_mach_timebase_info
-_pthread_mutexattr_init
-_pthread_mutexattr_settype
-_pthread_mutex_init
-_pthread_mutexattr_destroy$UNIX2003
-_geteuid
-_getuid
-_open$UNIX2003
-_close$UNIX2003
-_NSVersionOfRunTimeLibrary
-__dyld_image_count
-__dyld_get_image_header
-__Z11names_matchPcPKc
-_strrchr
-_NSVersionOfLinkTimeLibrary
-__NSGetMachExecuteHeader
-_floor$fenv_access_off
-_pthread_once
-_wctob
-_wctob_l
-__none_wcrtomb
-_btowc
-_btowc_l
-__none_mbrtowc
-_pthread_cond_broadcast
-__pthread_cond_init
-_pthread_main_np
-_OSAtomicAdd32
-_pthread_attr_init
-_pthread_attr_setscope
-_pthread_attr_setdetachstate
-_mach_port_allocate
-_mach_port_insert_right
-_mach_port_set_attributes
-_mach_port_insert_member
-_pthread_equal
-_pthread_is_threaded_np
-_task_get_special_port
-_bootstrap_check_in
-_vproc_mig_check_in
-_malloc_good_size
-_szone_good_size
-_opendir$UNIX2003
-___opendir2$UNIX2003
-_open$NOCANCEL$UNIX2003
-_fcntl$NOCANCEL$UNIX2003
-_getpagesize
-_fstatfs
-_telldir$UNIX2003
-_readdir
-__readdir_unlocked
-_getdirentries
-_closedir$UNIX2003
-__reclaim_telldir
-_close
-__dyld_get_image_vmaddr_slide
-_fstat
-_read$UNIX2003
-_NXGetLocalArchInfo
-_mach_host_self
-_host_self_trap
-_host_info
-_mach_port_deallocate
-_NXGetArchInfoFromCpuType
-_NXFindBestFatArch
-_lseek
-_vm_deallocate
-_pthread_setcanceltype$UNIX2003
-_mach_port_destroy
-_pthread_testcancel$UNIX2003
-_task_for_pid
-_task_set_special_port
-_setgid
-_setuid
-_mach_port_request_notification
-_getpwuid
-_getpw
-_LI_data_create_key
-__LI_data_get
-__LI_data_init
-_getpw_internal
-_user_cache_check
-__ds_running
-_snprintf
-_LI_getone
-_LI_DSLookupGetProcedureNumber
-_libinfoDSmig_GetProcedureNumber
-_kvbuf_query_key_val
-_LI_DSLookupQuery
-_libinfoDSmig_Query
-_kvbuf_decode
-_kvbuf_free
-_extract_user
-_atoi
-_strtol_l
-_LI_ils_create
-_kvarray_free
-_LI_data_recycle
-_LI_ils_free
-_vproc_swap_integer
-_vproc_mig_swap_integer
-_snprintf_l
-___get_current_monetary_locale
-___get_current_numeric_locale
-_openlog
-_strncpy
-__sl_init_notify
-_notify_register_plain
-__notify_server_register_plain
-_token_table_add
-__nc_table_new
-__nc_table_insert_n
-_getpid
-_sprintf
-_ioctl
-_write$UNIX2003
-_exit
-___cxa_finalize
-__exit
-_gethostuuid
-_getsectdata
-_getsectbyname
-_getegid
-_gettimeofday
-_strlcpy
-_strlcat
-_setenv$UNIX2003
-_strchr
-_malloc_create_zone
-_create_scalable_zone
-_protect
-_vm_protect
-_malloc_zone_register
-_malloc_zone_register_while_locked
-___malloc_check_env_name
-___setenv
-_tiny_malloc_from_region_no_lock
-_basename
-_LI_L1_cache_check
-_notify_register_check
-__notify_server_register_check
-_shm_open
-__shm_match
-_dosearch
-_bsearch
-_comparkey
-___shm_open
-_notify_check
-_token_table_find
-__nc_table_find_n
-_rint
-_fmod$fenv_access_off
-_fmodl
-_mach_absolute_time
-_OSMemoryBarrier
-___tolower
-___toupper
-_strstr
-_strcpy
-_setlocale
-_strcat
-_sandbox_init
-_sandbox_init_builtin
-___mb_syscall_builtin_profile
-___mac_syscall
-__setjmp
-_pthread_mutex_destroy
-_strdup
-_vm_allocate
-_lstat
-_vm_copy
-_pthread_cond_init$UNIX2003
-_getattrlist$UNIX2003
-_getgroups
-_statfs
-_getmntinfo
-_getfsstat
-_sysctlbyname
-__dyld_get_image_name
-_realpath$DARWIN_EXTSN
-_stat64
-_pthread_mutex_trylock
-_statfs$INODE64
-_lstat64
-_strncasecmp
-_strncasecmp_l
-_strsep
-_rindex
-_valloc
-_malloc_zone_valloc
-_szone_valloc
-_dlsym
-_fts_open
-_asl_log
-_asl_vlog
-__asl_open_default
-_asl_open
-_getgid
-_asl_syslog_faciliy_num_to_name
-__asl_notify_open
-_asl_new
-_asl_set_query
-_strerror$UNIX2003
-_asl_send
-__asl_msg_index
-_time
-_gethostname
-_asl_free
-_fts_read
-_fchdir
-_rmdir
-_pthread_cond_destroy
-_fts_close
-_strtod_l
-___fegetfltrounds
-___s2b_D2A
-___Balloc_D2A
-___multadd_D2A
-___d2b_D2A
-___lo0bits_D2A
-___i2b_D2A
-___pow5mult_D2A
-___mult_D2A
-___Bfree_D2A
-___lshift_D2A
-___diff_D2A
-___cmp_D2A
-___ratio_D2A
-___b2d_D2A
-___ulp_D2A
-_mach_port_get_attributes
-_bootstrap_register2
-_vproc_mig_register2
-_kqueue
-_kevent
-_pthread_create
-_set_malloc_singlethreaded
-___bsdthread_create
-_mk_timer_create
-_mk_timer_arm
-_thread_start
-__pthread_start
-__pthread_struct_init
-__pthread_set_self
-___pthread_set_self
-_mach_reply_port
-_notify_register_mach_port
-__notify_server_register_mach_port
-_notify_retain_mach_port
-_readlink
-_floorf$fenv_access_off
-_mach_port_extract_member
-_mk_timer_destroy
-_getopt$UNIX2003
-_pthread_cond_wait$UNIX2003
-__pthread_cond_wait
-_new_sem_from_pool
-_semaphore_create
-_semaphore_wait_signal
-_semaphore_wait_signal_trap
-_semaphore_wait
-_semaphore_wait_trap
-_restore_sem_to_pool
-_pthread_cond_signal
-_pthread_cond_signal_thread_np
-_semaphore_signal_thread
-_semaphore_signal_thread_trap
-_readdir_r
-_notify_post
-__notify_server_post
-_qsort
-_mkstemp
-__gettemp
-_arc4random
-_arc4_stir
-_read
-_rename
-__pthread_cond_remove
-_pthread_cond_timedwait_relative_np
-_semaphore_timedwait_signal
-_semaphore_timedwait_signal_trap
-_semaphore_signal_all
-_semaphore_signal_all_trap
-__pthread_exit
-___disable_threadsignal
-__pthread_setcancelstate_exit
-__pthread_tsd_cleanup
-__pthread_free_pthread_onstack
-_mig_dealloc_reply_port
-___bsdthread_terminate
-_semaphore_signal
-_semaphore_signal_trap
-_access
-_mk_timer_cancel
-_malloc_zone_statistics
-_szone_statistics
-_mach_port_mod_refs
-_pthread_mach_thread_np
-__pthread_lookup_thread
-__pthread_find_thread
-_task_threads
-_thread_get_state
-_pthread_exit
-_mach_port_get_set_status
-_pthread_attr_destroy
-_mach_msg_destroy
-_mach_msg_destroy_port
-_isatty
-_strcasecmp
-_strcasecmp_l
-_launch_data_alloc
-_NSStartSearchPathEnumeration
-_NSGetNextSearchPathEnumeration
-_glob
-_mbrtowc_l
-___gl_glob0
-___gl_glob0_32
-___gl_g_Ctoc
-_wcrtomb_l
-___gl_globextend
-_globfree
-_launch_data_set_string
-_launch_data_get_string
-_launch_data_dict_insert
-_launch_data_array_set_index
-_reallocf
-_launch_data_free
-_launch_data_set_bool
-_launch_data_dict_lookup
-_launch_data_new_string
-_launch_data_get_type
-_launch_data_set_integer
-_launch_data_array_get_count
-_launch_data_array_get_index
-_getprogname
-__NSGetProgname
-_fprintf
-_vfprintf_l
-___swsetup
-___sinit
-___smakebuf
-___fflush
-___sflush
-__swrite
-___swrite
-_write$NOCANCEL$UNIX2003
-_launch_msg
-_launch_client_init
-__vprocmgr_getsocket
-_vproc_mig_getsocket
-_socket
-_connect$NOCANCEL$UNIX2003
-_launchd_fdopen
-_launchd_msg_send
-_launch_data_pack
-_sendmsg$NOCANCEL$UNIX2003
-_launchd_msg_recv
-_recvmsg$NOCANCEL$UNIX2003
-_select$NOCANCEL$UNIX2003
-_select$DARWIN_EXTSN$NOCANCEL
-_fopen
-___sflags
-___sfp
-_rewind
-__fseeko
-___swhatbuf
-_fstat64
-__ftello
-__sseek
-___sseek
-_fgets
-___srefill
-__sread
-___sread
-_memchr
-_fclose
-___sclose
-_umask
-_strcspn
-_launch_data_unpack
-_launch_msg_getmsgs
-_launch_data_copy
-_launch_data_get_errno
-__cleanup
-__fwalk
-_pthread_key_delete
-_pthread_rwlock_rdlock$UNIX2003
-_pthread_rwlock_init$UNIX2003
-_pthread_rwlock_unlock$UNIX2003
-_pthread_rwlock_wrlock$UNIX2003
-_setfsent
-_ds_endfsent
-_LI_data_find_key
-_LI_data_free_kvarray
-_getfsent
-_getfs
-_LI_getent
-_bootstrap_status
-_strncat
-_fileno
-_fseek
-_strtok_r
-_strtol
-_mktemp
-_vsnprintf
-_fputs$UNIX2003
-_unlink
-_extract_fstab
-_tolower
-_endfsent
-_mkdir
-_mount
-_CC_MD5_Init
-_CC_MD5_Update
-_CC_MD5_Final
-_md5_block_host_order
-_uuid_unparse
-_uuid_unparse_x
-_uuid_unpack
-_putchar
-___swbuf
-_ptrace
-_sscanf_l
-___svfscanf_l
-_strtoimax_l
-___umoddi3
-___udivdi3
-_fread
-_getdirentriesattr
-_round
-_ceil$fenv_access_off
-_host_get_io_master
-_mach_make_memory_entry_64
-_OSAtomicOr32Barrier
-_uuid_generate_random
-_get_random_bytes
-_uuid_pack
-_getcwd
-___private_getcwd
-___getcwd
-_getdtablesize
-_dup
-_pipe
-_fork
-__cthread_fork_prepare
-__malloc_fork_prepare
-_szone_force_lock
-_signal
-_signal__
-_sigaction
-___sigaction
-_setlinebuf
-_setvbuf
-_ctime
-_localtime
-__st_tzset_basic
-_tzsetwall_basic
-_notify_check_tz
-_tzload
-_notify_register_tz
-_settzname
-__st_set_timezone
-__st_localsub
-_timesub
-_asctime
-_asctime_r
-_fflush
-_atexit
-__dyld_get_image_header_containing_address
-_vfprintf
-_pthread_get_stackaddr_np
-_pthread_get_stacksize_np
-_strtoul
-_strtoul_l
-__cthread_fork_parent
-__malloc_fork_parent
-_szone_force_unlock
-_getrlimit$UNIX2003
-_getrlimit
-_setrlimit$UNIX2003
-_setrlimit
-_pthread_attr_setstacksize
-_getpwnam
-_flockfile
-_funlockfile
-_tzset
-_modf$fenv_access_off
-_asl_set
-_notify_get_state
-__notify_server_get_state
-_asl_msg_to_string
-__asl_append_string
-__asl_server_socket
-_asl_close
-_notify_cancel
-__notify_server_cancel
-_token_table_delete
-__nc_table_delete_n
-_fpathconf
-_ceilf$fenv_access_off
-___dtoa
-___nrv_alloc_D2A
-___freedtoa
-___rv_alloc_D2A
-_vm_inherit
-_roundf$fenv_access_off
-_fmaxf
-_fminf
-_lroundf$fenv_access_off
-_strcasestr
-_strcasestr_l
-_pread$UNIX2003
-_setjmp
-_sigprocmask
-_sigaltstack
-_pthread_key_init_np
-_syscall
-_strtof_l
-___strtodg
-_rvOK
-___any_on_D2A
-___rshift_D2A
-___copybits_D2A
-_pow$fenv_access_off
-_exp
-_strspn
-_sscanf
-_strtod
-___increment_D2A
-___hi0bits_D2A
-_large_entries_free_no_lock
-_mprotect$UNIX2003
-_sys_icache_invalidate
-_vm_purgable_control
-_lrintf
-_sinf
-_cosf$fenv_access_off
-_xdr_u_int
-_xdr_opaque
-_xdr_u_long
-_bootstrap_register
-_waitpid$UNIX2003
-___wait4
-_vproc_mig_lookup_per_user_context
-_thread_policy_set
-_thread_info
-_fsync$UNIX2003
-_chmod$UNIX2003
-_chmod
-_chown
-_ftell
-_ftello
-_dlopen_preflight
-_mig_put_reply_port
-_getgrnam
-_getgr
-_getgr_internal
-_group_cache_check
-_extract_group
-_getlogin
-_getlogin_basic
-___getlogin
-_mach_port_get_refs
-_uuid_parse
-_mergesort
-_insertionsort
-_alphasort
-_uuid_compare
-___fpclassifyd
-___quorem_D2A
-_fcntl$UNIX2003
-_chdir
-_ftruncate
-_flock
-_strtoumax_l
-_mig_deallocate
-_seteuid
-_strtok
-_gethostbyname
-_gethostbynameerrno
-_cache_gethostbyname
-_host_cache_check
-_ds_gethostbyname
-_kvbuf_query
-_kvbuf_new
-_kvbuf_add_dict
-_kvbuf_grow
-_kvbuf_add_key
-_kvbuf_add_val
-_kvbuf_add_val_len
-_extract_host
-_inet_pton
-_inet_pton4
-__free_addr_list
-_copy_host
-_cache_host
-_clntudp_bufcreate
-_clntudp_bufcreate_timeout
-_xdrmem_create
-_xdr_callhdr
-_xdrmem_putlong_aligned
-_xdr_enum
-_xdr_long
-_xdrmem_getpos
-_bindresvport
-_bindresvport_sa
-_getsockname$UNIX2003
-_getsockopt
-_setsockopt
-_bind$UNIX2003
-_authnone_create
-_xdr_opaque_auth
-_xdr_bytes
-_xdrmem_destroy
-_clntudp_call
-_xdrmem_setpos
-_authnone_marshal
-_xdrmem_putbytes
-_xdr_pmap
-_sendto$NOCANCEL$UNIX2003
-_recvfrom$NOCANCEL$UNIX2003
-_xdr_replymsg
-_xdrmem_getlong_aligned
-_xdr_union
-_xdr_accepted_reply
-_xdr_u_short
-__seterr_reply
-_authnone_validate
-_clntudp_destroy
-_clnttcp_create
-_clnttcp_create_timeout
-_pmap_getport_timeout
-_xdrrec_create
-_authunix_create_default
-_authunix_create
-_xdr_authunix_parms
-_xdr_string
-_xdr_int
-_xdr_array
-_marshal_new_auth
-_clnttcp_call
-_xdrrec_putbytes
-_xdrrec_putlong
-_authunix_marshal
-_xdrrec_endofrecord
-_flush_out
-_writetcp
-_xdrrec_skiprecord
-_xdrrec_getlong
-_xdrrec_getbytes
-_set_input_fragment
-_get_input_bytes
-_fill_input_buf
-_readtcp
-_xdr_void
-_authunix_validate
-_authunix_destroy
-_clnttcp_destroy
-_xdrrec_destroy
-__qtn_file_alloc
-__qtn_file_init_with_path
-___mb_syscall_quarantine_getinfo_path
-_translate_errno
-_invalidate_label
-__qtn_file_free
-__spawn_via_launchd
-_launch_data_new_bool
-_vproc_mig_spawn
-_mpm_uncork_fork
-_vproc_mig_uncork_fork
-_mach_wait_until
-_mach_port_move_member
-_swtch_pri
-_thread_policy
-_mach_port_rename
-_thread_swap_exception_ports
-_confstr$UNIX2003
-__dirhelper
-___user_local_dirname
-_mbr_uid_to_uuid
-__mbr_MembershipCall
-_memberdDSmig_MembershipCall
-_pthread_join$UNIX2003
-__pthread_join_cleanup
-_pthread_detach
-_vm_map_64
-_swab
-_srand
-_CC_SHA256_Init
-_CC_SHA256_Update
-_CC_SHA256_Final
-_sha_end1
-_sha256_compile
-_malloc_zone_batch_malloc
-_szone_batch_malloc
-_thread_stack_pcs
-__thread_stack_pcs
-__longjmp
-_xdr_bool
-_xdr_u_int32_t
-_xdr_int32_t
-_rand
-_do_rand
-_getaddrinfo_async_start
-_gai_checkhints
-_gai_make_query
-_LI_async_start
-__LI_async_send
-_libinfoDSmig_Query_async
-_getaddrinfo_async_handle_reply
-_LI_async_handle_reply
-_DSlibinfoMIGAsyncReply_server
-__XResponse_async
-_libinfoDSmig_do_Response_async
-__LI_worklist_find
-__LI_worklist_remove
-__LI_free_request
-_gai_extract
-_inet_aton
-_new_addrinfo_v4
-_freeaddrinfo
-_socketpair$UNIX2003
-_send$UNIX2003
-_sendto$UNIX2003
-_connect$UNIX2003
-_select$DARWIN_EXTSN
-_recv$UNIX2003
-_recvfrom$UNIX2003
-_getpeername$UNIX2003
-_CC_SHA1_Init
-_CC_SHA1_Update
-_sha1_block_data_order
-_sha1_block_host_order
-__keymgr_get_and_lock_processwide_ptr
-__keymgr_unlock_processwide_ptr
-__LI_data_free
-_CC_SHA1
-_CC_SHA1_Final
-_inet_ntoa
-_inet_ntop
-_inet_ntop4
-_pthread_join$NOCANCEL$UNIX2003
-_select$UNIX2003
-_strtoll_l
-_CCHmacInit
-_CCHmacUpdate
-_CCHmacFinal
-_aes_cc_set_key
-_aes_encrypt_key128
-_aes_cc_set_iv
-_aes_decrypt_key128
-_aes_encrypt_cbc
-_aes_decrypt_cbc
-_pthread_cond_timedwait$UNIX2003
-_vm_read
-_clock$UNIX2003
-_getrusage
-_cos
-_cosl
-_sin$fenv_access_off
-_sinl$fenv_access_off
-_bzero
-_lround$fenv_access_off
-_ldexp$fenv_access_off
-_getauid
-_pthread_mutexattr_destroy
-_srandom
-_random
-_log10
-_xscalb
-_abs
-_tan$fenv_access_off
-_tanl$fenv_access_off
-_inet_addr
-_atol
-_scandir
-___divdi3
-_expf
-_expf_pic
-_expf_body
-_powf
-_memset_pattern4
-_pthread_attr_setschedparam
-_CCCryptorCreate
-_CCRC4ContextSize
-_CCRC4Init
-_CC_RC4_set_key
-_CCCryptorUpdate
-_CCRC4Update
-_CC_RC4
-_CCCryptorRelease
-_ferror
-_pthread_setschedparam
-_listxattr
-_fmodf
-_getgrgid
-_truncf
-_launch_data_get_bool
-_launch_data_dict_iterate
-_mkdtemp
-_listen$UNIX2003
-_launch_data_new_fd
-_vsscanf_l
-_mlock
-_sync
-_unmount
-_div
-_syslog
-_vsyslog
-_asl_format_message
-_send$NOCANCEL$UNIX2003
-_uuid_clear
-_mbr_string_to_uuid
-_uuid_is_null
-_mbr_check_service_membership
-__mbr_MapName
-_memberdDSmig_MapName
-_mbr_check_membership_refresh
-_dlclose
-____tolower_l
-_pthread_workqueue_suspend_np
-_pathconf
-_printf
-_notify_register_signal
-__notify_server_register_signal
-_mbr_check_membership
-_munlock
-_writev$UNIX2003
-_mbr_user_name_to_uuid
-_mbr_check_membership_by_id
-_tcgetattr
-_shm_unlink
-___shm_unlink
-_pause$UNIX2003
-_sigsuspend$UNIX2003
-___sigsuspend
-_rintf$fenv_access_off
-_currentlocale
-_loadlocale
-___detect_path_locale
-___get_locale_env
-_nl_langinfo
-_nl_langinfo_l
-_querylocale
-___maskrune
-____runetype
-_getifaddrs
-_freeifaddrs
-_clock_get_time
-_fwrite$UNIX2003
-_OSAtomicAnd32
-_atan2$fenv_access_off
-_atan2l
-_msync$UNIX2003
-_clock_sleep
-_clock_sleep_trap
-_pthread_workqueue_attr_init_np
-_pthread_workqueue_attr_setqueuepriority_np
-_task_get_exception_ports
-_task_set_exception_ports
-_sleep$UNIX2003
-_mach_msg_server_once
-_pid_for_task
-_mach_vm_region_recurse
-_mach_vm_read_overwrite
-_mach_vm_read
-_task_suspend
-_task_resume
-_hash_regions_grow_no_lock
-_malloc_set_zone_name
-_malloc_zone_unregister
-_vm_map
-_setpriority
-_host_request_notification
-_DNSServiceBrowse
-_ConnectToServer
-_create_hdr
-_put_uint32
-_put_string
-_deliver_request
-_ConvertHeaderBytes
-__OSSwapInt32
-_write_all
-_read_all
-_recv$NOCANCEL$UNIX2003
-_DNSServiceRefSockFD
-_dwarf2_unwind_dyld_remove_image_hook
-_setattrlist$UNIX2003
-_localtime_r
-_log
-_llrint
-_accessx_np
-___hdtoa
-_DNSServiceCreateConnection
-_accept$NOCANCEL$UNIX2003
-_DNSServiceEnumerateDomains
-_DNSServiceProcessResult
-_get_uint32
-_more_bytes
-_handle_enumeration_response
-_get_string
-_ConnectionResponse
-_handle_browse_response
-_DNSServiceConstructFullName
-_DomainEndsInDot
-_DNSServiceQueryRecord
-_put_uint16
-_NSAddImage
-_NSLookupSymbolInImage
-_NSAddressOfSymbol
-_aio_read
-_aio_error
-_aio_return
-_aio_suspend$UNIX2003
-_pthread_cond_init
-_getpwuid_r
-_getpw_r
-_getsockname
-_getpeername
-_pwrite$UNIX2003
-_setsid
-_dup2
-_mach_msg_overwrite
-_mach_msg_overwrite_trap
-_semaphore_destroy
-_frexp$fenv_access_off
-_handle_query_response
-_get_uint16
-_get_rdata
-_TXTRecordGetValuePtr
-_InternalTXTRecordSearch
-_DNSServiceRefDeallocate
-_getxattr
-_OSAtomicTestAndSet
-_OSAtomicTestAndClear
-_strnstr
-___isfinited
-_sendmsg$UNIX2003
-_getusershell
-_initshells
-_endusershell
-_eofread
-___wrap_setrunelocale
-___setrunelocale
-__Read_RuneMagi
-__UTF8_init
-_cfgetospeed
-_forkpty
-_openpty
-_posix_openpt
-_grantpt
-_unlockpt
-_ptsname
-___fpclassifyf
-_notify_monitor_file
-__notify_server_monitor_file
-__notify_lib_register_plain
-__nc_table_find
-__internal_new_name
-__nc_table_insert
-__internal_check_access
-__internal_client_new
-__nc_list_new
-__nc_list_prepend
-__notify_lib_get_state
-_pselect
-_kvbuf_init
-_kvbuf_reset
-_kvbuf_next_dict
-_kvbuf_next_key
-_kvbuf_next_val
-_kvbuf_next_val_len
-_kvbuf_append_kvbuf
-_recvmsg$UNIX2003
-_if_nametoindex
-__notify_lib_cancel
-__internal_cancel
-__nc_list_find_release
-__nc_list_data
-__nc_table_delete
-_feof
-_asl_msg_from_string
-__asl_msg_get_next_word
-_asl_get
-_asl_parse_time
-_regexec
-_sstep
-_gmtime_r
-_gmtsub
-_asl_msg_cmp
-__asl_msg_test
-__asl_msg_test_op
-__asl_msg_op_test
-_lstep
-_timegm
-__st_time1
-_time2
-_time2sub
-_normalize_overflow
-_mach_init_old
-__do_nothing
-___keymgr_dwarf2_register_sections
-_closelog
-_unsetenv$UNIX2003
-___unsetenv
-_launch_mach_checkin_service
-_launch_data_get_fd
-_socketpair
-_sandbox_init_external
-_sandbox_free_error
-_mach_port_ins1113542417095 cerror
-_getaddrinfo
-_is_a_number
-_gai_trivial
-_poll$UNIX2003
-_shutdown
-_pthread_rwlockattr_init
-_pthread_cond_wait$NOCANCEL$UNIX2003
-__qtn_proc_alloc
-__qtn_proc_set_identifier
-__qtn_proc_set_metadata
-__qtn_proc_apply_to_self
-___mb_syscall_quarantine_setprocinfo
-__qtn_proc_free
-_remove
-_kmod_get_info
-_getnameinfo
-_inet_ntop6
-_gni_make_query
-_ds_getaddrinfo
-_pthread_workqueue_create_np
-__pthread_work_internal_init
-___bsdthread_register
-___workq_open
-_pthread_workqueue_additem_np
-_alloc_workitem
-_pick_nextworkqueue_droplock
-___workq_ops
-_start_wqthread
-__pthread_wqthread
-_regcomp$UNIX2003
-_p_b_term
-_index
-_workqueue_exit
-_gni_extract
-_system$UNIX2003
-_strtoll
-_srandomdev
-_mktime$UNIX2003
-_difftime
-_getppid
-_dbopen
-___hash_open
-_hash4
-_alloc_segs
-___buf_init
-_hash_fd
-_hash_sync
-___buf_free
-_flush_meta
-_setaudit
-_link
-_fchmod$UNIX2003
-_fchmod
-__sigtramp
-___pthread_canceled
-_accept$UNIX2003
-_fgetln
-_getnameinfo_async_start
-_CCHmac
-_gmtime
-_gmtload
-_launch_data_dict_get_count
-_launch_data_get_machport
-_getc
-___srget
-_parse_label
-_macsafestring_decode
-__qtn_file_get_identifier
-__qtn_file_get_timestamp
-__qtn_file_get_metadata_size
-__qtn_file_get_metadata
-__qtn_file_init_with_mount_point
-___mb_syscall_quarantine_getinfo_mount_point
-__qtn_file_set_identifier
-__qtn_file_set_timestamp
-__qtn_file_set_metadata
-__qtn_file_apply_to_path
-_prepare_label
-_unparse_label
-_macsafestring_encode
-___mb_syscall_quarantine_setinfo_path
-_wait4
-_execvp
-_execvP
-_execve
-_vfree
-_vsnprintf_l
-_asl_add_output
-_fsetxattr
-__asl_time_string
-_ctime_r
-_mach_vm_allocate
-_kill$UNIX2003
-___kill
-_sched_yield
-_OSAtomicXor32
-_alarm
-_setitimer
-_ttyname
-_devname_r
-_opendir$INODE64$UNIX2003
-___opendir2$INODE64$UNIX2003
-_fstatfs$INODE64
-___getdirentries64
-_alphasort$INODE64
-_telldir$INODE64$UNIX2003
-_readdir$INODE64
-__readdir_unlocked$INODE64
-_NSCreateObjectFileImageFromFile
-_NSLinkModule
-_NSDestroyObjectFileImage
-_NSLookupSymbolInModule
-_getlastlogxbyname
-_asl_list_to_string
-__asl_server_query_timeout
-_asl_list_from_string
-_aslresponse_next
-_aslresponse_free
-_getpwnam_r
-__vprocmgr_move_subset_to_user
-_get_root_bootstrap_port
-_bootstrap_parent
-_vproc_mig_parent
-_pututxline
-__pututxline
-_getutxent
-__utmpx_working_copy
-__getutxid
-_setutxent
-_fseeko
-_lockf$NOCANCEL$UNIX2003
-__utmpx_asl
-__write_utmp_compat
-__utmp_compat
-_getutmp
-__write_utmp
-_setttyent
-_getttyent
-_puts
-_sigsetjmp
-_compat_mode
-_check_env_var
-_sysconf
-_getpgrp
-_mbrlen
-_vproc_swap_complex
-_vproc_mig_swap_complex
-_launch_data_get_integer
-_ungetc
-___ungetc
-_clearerr
-_fdopen
-_pthread_rwlock_destroy$UNIX2003
-___collate_load_tables
-___monetary_load_locale
-___part_load_locale
-___fix_locale_grouping_str
-___numeric_load_locale
-___time_load_locale
-___messages_load_locale
-_gethostbyname2
-_getipnodebyname
-_fputc
-_strsignal
-_mblen
-_mblen_l
-__UTF8_mbrtowc
-_strtoimax
-_mbsinit
-__UTF8_mbsinit
-_mbrtowc
-_wcslen
-_wcscpy
-_wcsrtombs
-__UTF8_wcsnrtombs
-_siglongjmp
-_longjmp
-__sigunaltstack
-_sigreturn
-_wctype_l
-_regfree
-_symlink
-_malloc_zone_batch_free
-_szone_batch_free
-_wait3
-_sigsetmask
-_atanf
-_mach_msg_server
-__write_wtmp
-_wait$UNIX2003
-_putenv$UNIX2003
-_pthread_sigmask$UNIX2003
-___pthread_sigmask
-_sigwait$UNIX2003
-___sigwait
-_clnt_create
-_getprotobyname
-_getproto
-_extract_protocol
-_clntudp_create
-_sysctlnametomib
-_authnone_destroy
-_freehostent
-_vfork
-_execv
-___bsdthread_c1627956730516 cerror
-_lslow
-_sslow
-_sdissect
-_setiopolicy_np
-___iopolicysys
-__notify_lib_notify_state_new
-__notify_lib_register_mach_port
-_bootstrap_subset
-_vproc_mig_subset
-_setu1485444931566 cerror
-_utimes
-__qtn_proc_init_with_self
-___mb_syscall_quarantine_getprocinfo
-__qtn_proc_get_identifier
-__qtn_proc_get_path_exclusion_pattern
-_endpwent
-_ds_endpwent
-__nc_tabl1335140335552 cerror
-_sched_get_priority_max
-_chflags
-_getnameinfo_async_handle_reply
-_strtoull
-_strtoull_l
-_vpr1489070907902 cerror
-_dlerror
-_dirname
-_thread_switch
-_syscall_thread_switch
-_usleep
-_nanosleep
-_pthread_cond_wait
-_notify_register1535633947588 cerror
-_pthread_join
-_getservbyname
-_getserv
-_service_cache_check
-_extract_service
-_setpwent
-_bootstrap_set_policy
-_vproc_mig_set_service_policy
-_OSSpinLockTry
-_acos$fenv_access_off
-_pthread_getschedparam
-_sched_get_priority_min
-_mach_port_type
-_host_processor_info
-_bootstrap_create_server
-_vproc_mig_create_server
-_bootstrap_create_service
-_vproc_mig_create_service
-_endgrent
-_ds_endgrent
-_new_addrinfo_v6
-_fchown
-_rewinddir$UNIX2003
-__seekdir$UNIX2003
-_sigset
-_strpbrk
-_localeconv
-_connect
-_send
-_strerror
-_kmod_control
-_vm_msync
-_vm_write
-_kmod_create
-_fnmatch$UNIX2003
-_sighold
-_notify_register_file_descriptor
-_mkfifo
-__notify_server_register_file_descriptor
-_notify_retain_file_descriptor
-_sigrelse
-_setbuf
-_popen
-_fwide
-_ldiv
-_semaphore_timedwait
-_semaphore_timedwait_trap
-_filesec_init
-_filesec_set_property
-_filesec_get_property
-_filesec_free
-_acl_init
-_acl_create_entry_np
-_acl_set_tag_type
-_acl_set_qualifier
-_acl_get_permset
-_acl_clear_perms
-_acl_add_perm
-_acl_set_permset
-_acl_size
-_acl_copy_ext_native
-_acl_free
-_acl_copy_int_native
-_NSIsSymbolNameDefinedInImage
-_qsort_r
-_pthread_workqueue_removeitem_np
-_mach_port_extract_right
-_pthread_workqueue_destroy_np
-_fts_set
-_NXGetArchInfoFromName
-_writev$NOCANCEL$UNIX2003
-_recv
-_logf
-_lrint
-_remainder$fenv_access_off
-_remquol
-_log10f
-_hypot
-_fdimf
-_fgetxattr
-_getsegbyname
-_pthread_attr_getschedparam
-_thread_set_exception_ports
-_pthread_create_suspended_np
-__pthread_allocate_stack
-_thread_create
-__pthread_create
-__pthread_setup
-_thread_set_state
-_thread_resume
-__pthread_body
-__pthread_become_available
-_mach_msg_send
-_mach_thread_self
-_thread_self_trap
-_thread_terminate
-__pthread_reap_thread
-_finite
-_tanf
-_vm_read_overwrite
-_vm_region
-_auditon
-_pclose
-_sendto
-_pthread_cond_timedwait
-_recvfrom
-_logwtmp
-_reboot2
-_vproc_mig_reboot2
-_atoi_l
-_sem_open
-__sem_match
-___sem_open
-_sem_wait
-_shmget
-_shmctl
-_shmctl$UNIX2003
-_shmat
-_sem_post
-_shmdt
-_sem_close
-_mach_error_string
-_mach_error_string_int
-_do_compat
-___gl_glob3
-_match
-_exp2f
-_exp2f_pic
-_exp2f_body
-_thread_get_exception_ports
-_mprotect
-_munmap
-_strftime$UNIX2003
-_strftime_l$UNIX2003
-___get_current_time_locale
-__st_fmt
-__signal_nobind
-__sigaction_nobind
-_pthread_rwlock_trywrlock$UNIX2003
-_sprintf_l
-_roundtol
-_CC_MD2_Init
-_CC_MD2_Update
-_md2_block
-_CC_MD2_Final
-_atof
-_mach_ports_lookup
-_removexattr
-_setxattr
-_getiopolicy_np
-__qtn_file_to_data
-__conv
-_acl_get_link_np
-_acl_get_file1
-_lstatx_np$INODE64
-___lstat64_extended
-_uuid_copy
-_acl_get_entry
-_acl_get_qualifier
-_acl_get_tag_type
-_acl_get_flagset_np
-_acl_get_flag_np
-_acl_get_perm_np
-_mbr_gid_to_uuid
-_fgetc
-_copyfile
-_copyfile_preamble
-_copyfile_state_alloc
-_statx_np
-_statx1
-_statx_syscall
-___stat_extended
-_filesec_dup
-_chmodx_np
-_chmodx1
-_chmodx_syscall
-___chmod_extended
-_copyfile_quarantine
-__qtn_file_init_with_fd
-___mb_syscall_quarantine_getinfo_fd
-_copyfile_internal
-_flistxattr
-_copyfile_unset_posix_fsec
-_fchmodx_np
-_fchmodx_syscall
-___fchmod_extended
-_copyfile_state_free
-_utime
-_strcoll
-_strcoll_l
-_setegid
-___moddi3
-_getvfsbyname
-_strtoq
-_fts_open$INODE64
-_fts_alloc
-_fts_stat
-_fts_read$INODE64
-_fts_build
-_fts_close$INODE64
-_fscanf
-_endutxent
-_getloadavg
-_getmntinfo$INODE64
-_getfsstat$INODE64
-_getbsize
-_trunc$fenv_access_off
-_if_indextoname
-_getnetbyaddr
-_getnet
-_extract_network
-_gethostbyaddr
-_gethostbyaddrerrno
-__ZN16LockWriterHelperD1Ev
-__ZN25RecursiveReaderWriterLock28unlockForSingleWritingThreadEv
-__ZN25RecursiveReaderWriterLock12initIfNeededEv
-__ZN16LockReaderHelperC1Ev
-__ZN25RecursiveReaderWriterLock29lockForMultipleReadingThreadsEv
-__ZN16LockReaderHelperD1Ev
-__ZN25RecursiveReaderWriterLock31unlockForMultipleReadingThreadsEv
-.section_all
-_open
-__lu_data_create_key
-__lu_data_get
-___gcc_personality_v0
-__lu_data_init
-__lu_data_set_key
-__lu_data_index
-__getlogin
-__lu_running
-__lookup_link
-__lookup_link_secure
-__notify_lib_init
-_hash_nkey
-_asprintf$LDBL128
-___vfprintf$LDBL128
-_write
-_hash_key
-_notify_set_state
-__notify_lib_set_state
-_opendir
-_fcntl
-_telldir
-_getopt
-_closedir
-__seekdir
-__notify_server_set_state
-_ni_name_free
-_ni_idlist_free
-_ni_connect
-_ni_alloc
-_getattrlist
-_ni_name_dup
-_ni_setreadtimeout
-_ni_setabort
-_ni_self
-_callit
-_ni_settimeout
-_confirm_tcp
-_rebind
-_connectit
-_socket_open
-_bind
-_fix_buf_size
-_clnttcp_control
-_getmyport
-_createauth
-__ni_self_2
-_xdr_ni_id
-_select
-_xdr_ni_id_res
-_xdr_ni_status
-_ni_free
-_clnt_kill
-_uname
-___svfscanf
-_strtoumax
-_tzset_basic
-_xdr_ni_rparent_res
-_xdr_ni_binding
-_xdr_ni_name
-_ni_new
-_ni_clear
-_get_daddr
-_ni_statistics
-_xdr_nibind_getregister_res
-_xdr_nibind_addrinfo
-__ni_statistics_2
-_xdr_ni_proplist
-_xdr_ni_property
-_xdr_ni_namelist
-_ni_proplist_match
-_ni_name_match
-_ni_proplist_free
-_ni_prop_free
-_ni_namelist_free
-__libinfo_ni_sys_interfaces
-_ni_swap
-__libinfo_ni_sys_is_my_address
-__libinfo_ni_sys_is_my_network
-__libinfo_ni_sys_interfaces_release
-_sprintf$LDBL128
-_syslog$LDBL128
-_vsyslog$LDBL128
-_snprintf$LDBL128
-_strftime
-__dyld_lookup_and_bind
-__ZN16LockWriterHelperC1Ev
-__ZN25RecursiveReaderWriterLock26lockForSingleWritingThreadEv
-_vsnprintf$LDBL128
-_multi_call
-_xdr_callmsg
-_xdrmem_inline_aligned
-_eachresult
-_clntudp_control
-_ni_switch
-_reinit
-_xdr_free
-_fwrite
-_ni_lookup
-__ni_lookup_2
-_xdr_ni_lookup_args
-_xdr_ni_lookup_res
-_xdr_ni_lookup_stuff
-_xdr_ni_idlist
-_thread_create_running
-__lookup_all
-__lookup_all_secure
-__nc_list_release
-__nc_list_chop
-_find_key_data
-_unlock_node
-_ni_setpassword
-_recvmsg
-_NSIsSymbolNameDefined
-_launch_get_fd
-__fd
-_make_msg_and_cmsg
-_sendmsg
-_make_data
-__lu_xdr_attribute
-_xdrmem_getbytes
-_copy_user
-_lu_endpwent
-__lu_data_free_vm_xdr
-__nc_list_next
-__nc_list_append
-_vsprintf
-_fputs
-_waitpid
-_daemon
-_warnx
-_err_set_file
-_regcomp
-_doemit
-_wcrtomb
-_smatcher
-_setenv
-_strtofflags
-___opendir2
-_ni_open
-_ni_fancyopen
-_ni_relopen
-_escindex
-_unescape
-_setstuff
-_ni_needwrite
-_ni_setwritetimeout
-_ni_root
-__ni_root_2
-_ni_pathsearch
-_eatslash
-_ni_relsearch
-_ni_name_dupn
-_ni_error
-_getopt_long
-_getopt_internal
-_wctype
-_strerror_r
-_putc
-_sleep
-___fixunsdfdi
-_msync
-_setlogin
-__setlogin
-_fmod
-_map_fd
-_floor
-___isnand
-_roundf
-_pthread_setcanceltype
-_pthread_testcancel
-_pause
-_sigblock
-_sigpause
-_sigsuspend
-___isinfd
-_svcudp_create
-_svcudp_bufcreate
-_xprt_register
-_svc_register
-_svc_find
-_res_init
-___res_randomid
-_host_kernel_version
-_processor_set_default
-_processor_set_info
-_processor_set_statistics
-_slot_name
-_token_table_add_mach_port
-_svc_getreqset
-_svcudp_recv
-__authenticate
-__svcauth_unix
-_svcudp_getargs
-_svc_sendreply
-_svcudp_reply
-_svcudp_freeargs
-_svcudp_stat
-_kill
-_pow
-_PowerInner
-_fabs
-_host_processor_set_priv
-_thread_set_policy
-_realpath
-_lu_endfsent
-_lu_getfsent
-_ni_children
-__ni_children_2
-_xdr_ni_children_res
-_xdr_ni_children_stuff
-_ni_read
-__ni_read_2
-_xdr_ni_proplist_res
-_xdr_ni_proplist_stuff
-_pread
-_setattrlist
-___bt_open
-_mpool_open
-_mpool_filter
-_mpool_get
-___bt_pgin
-_mpool_put
-___bt_get
-___bt_search
-___bt_cmp
-___bt_defcmp
-___bt_ret
-___bt_seq
-___bt_sync
-_fsync
-___cmpdi2
-___floatdidf
-_mktime
-_localsub
-_free_fstab_data
-_logb
-_scalbn
-__dyld_present
-_endttyent
-_task_policy_set
-___isnanf
-___isinff
-_rintf
-_lu_getpwnam
-_xdr__lu_string
-_free_user
-_free_user_data
-_system
-___ppc_gettimeofday
-_fsctl
-_pthread_rwlock_init
-_pthread_rwlockattr_destroy
-_pthread_rwlock_rdlock
-_pthread_rwlock_unlock
-_pthread_rwlock_wrlock
-_fts_children
-__keymgr_get_per_thread_data
-_get_key_element
-__keymgr_set_per_thread_data
-_pwrite
-_strtof
-_ceil
-_free_fstab
-_mbr_group_name_to_uuid
-_GetServerPort
-___NDR_convert__mig_reply_error_t
-_searchfs
-__lookupd_port
-__lookup_one
-__lookup_one_secure
-_getgrouplist
-_getgrouplist_internal
-__mbr_GetGroups
-_initgroups
-_setgroups
-___bt_close
-_mpool_close
-_macx_backing_store_recovery
-_get_dp_control_port
-_vm_wire
-_setreuid
-_lu_gethostbyname
-_recycle_host
-_clnt_spcreateerror
-__buf
-_clnt_sperrno
-_pmap_getport
-_pmap_wakeup
-_svctcp_create
-_listen
-_accept
-_clntudp_freeres
-_mach_make_memory_entry
-_isdigit
-_bootstrap_unprivileged
-_floorf
-_ceilf
-_sin
-_copy_group
-_revoke
-___sqrt
-_tan
-_trunc
-_NSUnLinkModule
-_atan2
-_copysign
-_remainder
-_putenv
-__lu_data_free
-_free_lu_thread_info_group
-_free_group
-_free_group_data
-_killpg
-___bt_delete
-___bt_put
-___bt_dleaf
-_mpool_sync
-___bt_pgout
-___bt_free
-_gai_lookupd
-_encode_kv
-_gai_lookupd_process_dictionary
-_append_addrinfo
-_arc4random_stir
-_gni_lookupd_process_dictionary
-_asl_set_filter
-_pthread_cancel
-_login
-_ttyslot
-_tcgetpgrp
-_tcsetpgrp
-_tcsetattr
-_setpgid
-_mach_error
-_fprintf_stderr
-_vprintf$LDBL128
-_vfprintf$LDBL128
-_strvisx
-_strunvis
-_lockf
-_getttynam
-_lu_endgrent
-_logout
-_lu_async_start
-__lu_async_send
-_lu_async_handle_reply
-__lu_worklist_remove
-__lu_free_request
-_gai_extract_data
-_stpcpy
-_getpriority
-_logbf
-_scalbnf
-___signbitd
-_NSAddLibrary
-_NSIsSymbolNameDefinedWithHint
-_NSLookupAndBindSymbolWithHint
-_clock
-_md5_block_data_order
-_isspace
-_toupper
-_pthread_sigmask
-_thread_suspend
-_thread_abort_safely
-_free_lu_thread_info_user
-_kvm_open
-__kvm_open
-_kvm_getprocs
-__kvm_malloc
-_kvm_close
-___bt_split
-___bt_new
-_mpool_new
-___bt_defpfx
-_free_host_data
-_clnttcp_geterr
-_nearbyint
-_gai_strerror
-saveFP
-restFP
-_copy_service
-_rewinddir
-_exchangedata
-_atan
-_acos
-_put_long
-_connect_to_server
-_my_write
-_my_read
-_ATsocket
-_ATPsndreq
-_ATPgetreq
-_ATPsndrsp
-_sem_trywait
-_pthread_setcancelstate
-_p_ere
-_p_bracket
-_CHadd
-_sem_unlink
-_rinttol
-_wcwidth
-___wcwidth
-_vprintf
-_vm_machine_attribute
-_DNSServiceRegistrationCreate
-_DNSServiceDiscoveryLookupServer
-__increaseQueueLengthOnPort
-_DNSServiceRegistrationCreate_rpc
-_DNSServiceDiscoveryMachPort
-_DNSServiceBrowserCreate
-_DNSServiceBrowserCreate_rpc
-_DNSServiceDiscovery_handleReply
-_DNSServiceDiscoveryReply_server
-__XDNSServiceRegistrationReply_rpc
-_internal_DNSServiceRegistrationReply_rpc
-__XDNSServiceBrowserReply_rpc
-_internal_DNSServiceBrowserReply_rpc
-_DNSServiceResolverResolve
-_DNSServiceResolverResolve_rpc
-__XDNSServiceResolverReply_rpc
-_internal_DNSServiceResolverReply_rpc
-_DNSServiceDiscoveryDeallocate
-_repeat
-_lmatcher
-_ldissect
-_task_self_trap
-_execlp
-_fchflags
-_sqrtf
-_user_from_uid
-_setpassent
-_pthread_rwlock_destroy
-_execl
-_labs
-_free_lu_thread_info_service
-_free_service
-_free_service_data
-_free_lu_thread_info_host
-_DNSServiceRegister
-_put_short
-_put_rdata
-_get_long
-_DNSServiceAddRecord
-_DNSServiceUpdateRecord
-_get_short
-_TXTRecordGetCount
-_TXTRecordGetItemAtIndex
-_handle_regservice_response
-_DNSServiceResolve
-_handle_resolve_response
-_catopen
-_catgets
-_sbrk
-_sigvec
-_addr2ascii
-_warn
-_ualarm
-_tempnam
-__mktemp
-_madvise
-_atanCore
-_lflush
-_atanCoreInv
-___setonlyClocaleconv
diff --git a/Platforms/iPhone/Makefile.inc b/Platforms/iPhone/Makefile.inc
deleted file mode 100644 (file)
index ba03d14..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# Selectable features for iPhone
-#
-
-# Build _debug.dylib
-#FEATURE_DEBUG_DYLIB = 1
-
-# Build _profile.dylib
-#FEATURE_PROFILE_DYLIB = 1
diff --git a/Platforms/iPhone/System.order b/Platforms/iPhone/System.order
deleted file mode 100644 (file)
index dd2c093..0000000
+++ /dev/null
@@ -1,852 +0,0 @@
-cerror
-_cthread_set_errno_self
-_vasprintf
-_malloc
-_malloc_zone_malloc
-_szone_malloc
-_memset
-__vfprintf
-_localeconv_l
-__ultoa
-__sprint
-__sfvwrite
-_memmove
-_stat
-_free
-_malloc_zone_free
-_szone_free
-_usleep
-_nanosleep
-__pthread_testcancel
-__semwait_signal
-__dyld_register_func_for_add_image
-__ZN10LockHelperC1Ev
-__Z21dyldGlobalLockAcquirev
-_pthread_mutex_lock
-__ZN10LockHelperD1Ev
-__Z21dyldGlobalLockReleasev
-_pthread_mutex_unlock
-__dyld_register_func_for_remove_image
-_mig_get_reply_port
-_mach_msg
-_mach_msg_trap
-__cxa_atexit
-_atexit_register
-_pthread_key_create
-_dyld_register_image_state_change_handler
-__dyld_func_lookup
-_tiny_malloc_from_free_list
-_strlen
-_strcmp
-_getsectdatafromheader
-_getsectbynamefromheader
-_strncmp
-_dladdr
-_dlopen
-__ZL29getPerThreadBufferFor_dlerrorj
-_pthread_setspecific
-_memcmp
-_malloc_default_zone
-__pthread_mutex_init
-_dlsym
-_get_tiny_previous_free_msize
-_tiny_free_list_add_ptr
-_get_tiny_free_size
-_calloc
-_malloc_zone_calloc
-_szone_calloc
-_bcopy
-__aeabi_uidiv
-_small_malloc_from_free_list
-_small_get_region_from_depot
-_small_malloc_from_region_no_lock
-_allocate_pages
-_mmap
-__mmap
-_munmap
-_hash_region_insert_no_lock
-_dlclose
-_malloc_zone_from_ptr
-_szone_size
-_small_free_list_add_ptr
-_small_free_list_remove_ptr
-_madvise_free_range
-_posix_madvise
-_large_and_huge_malloc
-_large_entry_insert_no_lock
-__umodsi3
-_malloc_zone_realloc
-_szone_realloc
-_mag_lock_zine_for_region_trailer
-_tiny_free_list_remove_ptr
-_strdup
-_pthread_atfork
-_OSSpinLockLock
-_spin_unlock
-_getenv
-__NSGetEnviron
-__findenv
-__NSGetArgv
-__NSGetArgc
-_mach_timebase_info
-_pthread_mutexattr_init
-_pthread_mutexattr_settype
-_pthread_mutex_init
-_pthread_mutexattr_destroy
-_geteuid
-_getuid
-_issetugid
-_NSVersionOfRunTimeLibrary
-__dyld_image_count
-__dyld_get_image_header
-__ZL11names_matchPcPKc
-_strrchr
-_NSVersionOfLinkTimeLibrary
-__NSGetMachExecuteHeader
-_pthread_cond_broadcast
-__pthread_cond_init
-_pthread_attr_init
-_pthread_attr_setscope
-_pthread_attr_setdetachstate
-_mach_port_allocate
-_mach_port_insert_right
-_mach_port_set_attributes
-_mach_port_insert_member
-_pthread_equal
-_pthread_is_threaded_np
-_pthread_once
-_notify_register_mach_port
-__notify_lib_init
-_bootstrap_look_up
-_bootstrap_look_up2
-_vproc_mig_look_up2
-_mig_strncpy
-_mach_port_mod_refs
-_strlcpy
-__notify_server_register_mach_port
-_token_table_add
-__nc_table_new
-__nc_table_insert_n
-_hash_nkey
-_notify_retain_mach_port
-_mach_port_request_notification
-_mach_port_deallocate
-_malloc_good_size
-_szone_good_size
-_opendir
-__opendir2
-_open$NOCANCEL
-_fcntl$NOCANCEL
-__fcntl_nocancel
-_getpagesize
-_sysctl
-__sysctl
-_fstatfs
-_telldir
-_readdir
-__readdir_unlocked
-__getdirentries64
-_closedir
-__reclaim_telldir
-_close$NOCANCEL
-__dyld_get_image_vmaddr_slide
-_open
-_fstat
-_read
-_close
-_NXGetLocalArchInfo
-_mach_host_self
-_host_self_trap
-_host_info
-_NXGetArchInfoFromCpuType
-_NXFindBestFatArch
-_lseek
-_getpwuid
-_si_libinfo_init
-_si_module_with_name
-_si_module_static_search
-_search_alloc
-_si_module_static_cache
-_si_module_static_file
-_reallocf
-_realloc
-_asprintf
-_si_module_with_path
-_dwarf2_unwind_dyld_add_image_hook
-__keymgr_get_and_lock_processwide_ptr_2
-_get_or_create_key_element
-__keymgr_set_and_unlock_processwide_ptr
-_unlock_node
-_si_mod_dlsym
-_fopen
-__sflags
-__sfp
-__sinit
-_si_user_byuid
-_search_user_byuid
-_search_item_bynumber
-_search_get_module
-_cache_user_byuid
-_cache_fetch_item
-_file_user_byuid
-__fsi_get_user
-_fileno
-__fsi_get_line
-_fgets
-__srefill
-__smakebuf
-__swhatbuf
-__sread
-__sread
-_read$NOCANCEL
-_memchr
-__fsi_tokenize
-__fsi_append_string
-_atoi
-_strtol_l
-_LI_ils_create
-_padsize
-_fclose
-__sclose
-_search_cat_cache
-_si_cache_add_item
-_si_item_retain
-_LI_set_thread_item
-_LI_get_thread_info
-__LI_data_init
-_si_item_release
-_getegid
-_bsearch
-__tolower
-__toupper
-_strstr
-_strchr
-_strtol
-_strcpy
-_setlocale
-_strcat
-_strncpy
-_lstat
-_access
-_malloc_zone_register
-_malloc_zone_register_while_locked
-_vm_protect
-_gettimeofday
-__commpage_gettimeofday
-_mach_absolute_time
-_floorl
-_notify_register_check
-__notify_server_register_check
-_shm_open
-_mktime
-__st_tzset_basic
-_tzsetwall_basic
-_tzload
-_detzcode
-_settzname
-__st_set_timezone
-__st_time1
-_time2
-_time2sub
-_normalize_overflow
-__aeabi_idiv
-_increment_overflow
-__st_localsub
-_timesub
-_tmcomp
-_pthread_key_init_np
-_dyld_image_path_containing_address
-_bootstrap_check_in
-_vproc_mig_check_in2
-_getprogname
-__NSGetProgname
-_task_get_special_port
-_vm_deallocate
-_host_get_io_master
-_socket
-_connect
-_setsockopt
-_send
-_sendto
-_select
-_select$DARWIN_EXTSN
-_recv
-_recvfrom
-_szone_size_try_large_huge
-_large_entry_for_pointer_no_lock
-_large_free_no_lock
-_deallocate_pages
-_pthread_mach_thread_np
-__pthread_lookup_thread
-__pthread_find_thread
-_task_threads
-_notify_get_state
-_token_table_find
-__nc_table_find_n
-__notify_server_get_state
-_mach_port_type
-_scalable_zone_info
-_pthread_setschedparam
-_pthread_setschedparam_internal
-_thread_policy
-_qsort
-_roundf
-_ceilf
-_mk_timer_create
-_mk_timer_arm
-_pthread_cond_init
-_mach_vm_allocate
-_snprintf
-_CC_MD5_Init
-_CC_MD5_Update
-_CC_MD5_Final
-_md5_block_host_order
-_fmaxf
-_fminf
-_floorf
-_ceil
-_pthread_mutex_trylock
-_vm_allocate
-_mig_put_reply_port
-_getpid
-_mach_port_extract_member
-_mk_timer_cancel
-_snprintf_l
-__get_current_monetary_locale
-__get_current_numeric_locale
-__dtoa
-__d2b_D2A
-__Balloc_D2A
-__lo0bits_D2A
-__rv_alloc_D2A
-__i2b_D2A
-__pow5mult_D2A
-__multadd_D2A
-__hi0bits_D2A
-__lshift_D2A
-__Bfree_D2A
-__quorem_D2A
-__cmp_D2A
-__freedtoa
-_mk_timer_destroy
-_notify_cancel
-__notify_server_cancel
-_token_table_delete
-_mach_port_destroy
-__nc_table_delete_n
-_mkstemp
-__gettemp
-_arc4random
-_arc4_check_init
-_arc4_check_stir
-_rintl
-_fmodl
-_write
-_fsync
-_chmod
-__chmod
-_getgid
-_chown
-_rename
-_exit
-__cxa_finalize
-_pthread_key_delete
-__cleanup
-__fwalk
-__sflush
-__exit
-_time
-_fegetenv
-_fesetenv
-_srandom
-_random
-_strcasecmp
-_strcasecmp_l
-_strcasestr
-_strcasestr_l
-_strncasecmp_l
-_setjmp
-_sigprocmask
-__setjmp
-_fcntl
-__fcntl
-_pthread_mutex_destroy
-_sprintf
-_OSMemoryBarrier
-_pthread_create
-__pthread_allocate_stack
-_vm_map
-__pthread_create
-_set_malloc_singlethreaded
-__pthread_setup
-_thread_create_running
-__pthread_body
-__pthread_set_self
-__pthread_set_self
-_mach_reply_port
-_pthread_getschedparam
-_swtch_pri
-_sched_get_priority_min
-_sched_get_priority_max
-_pthread_exit
-__pthread_exit
-__disable_threadsignal
-__pthread_setcancelstate_exit
-__pthread_tsd_cleanup
-_mach_port_get_set_status
-_pthread_attr_destroy
-__pthread_become_available
-_mach_msg_send
-_mach_thread_self
-_thread_self_trap
-_thread_terminate
-_mach_vm_protect
-_mach_vm_region
-_strtod_l
-_atan2l
-_tan
-__kernel_tan
-_cos
-_rem_pio2
-_fabs
-__kernel_sin
-_sinl
-__kernel_cos
-_lround
-_asinl
-_atanl
-_getpwnam
-_si_user_byname
-_search_user_byname
-_search_item_byname
-_cache_user_byname
-_si_item_match
-_si_item_is_valid
-_file_is_valid
-_file_user_byname
-_mach_vm_purgable_control
-_notify_check
-_ioctl
-__ioctl
-_mach_msg_destroy
-_mach_msg_destroy_port
-_thread_get_state
-_NSStartSearchPathEnumeration
-_NSGetNextSearchPathEnumeration
-_readdir_r
-_inet_aton
-_strtoul_l
-_inet_pton
-_asl_open
-_asl_syslog_faciliy_num_to_name
-__asl_notify_open
-_notify_register_plain
-__notify_server_register_plain
-_getppid
-_asl_set_filter
-_getaddrinfo_async_start
-_getaddrinfo_async_call
-_si_async_call
-_si_async_launchpad
-_si_list_call
-_si_addrinfo
-_inet_pton4
-_si_wants_addrinfo
-_search_wants_addrinfo
-_si_gai
-_check_interfaces
-_getifaddrs
-_freeifaddrs
-_si_host_byname
-_search_host_byname
-_cache_host_byname
-_file_host_byname
-__fsi_get_host
-_flockfile
-_funlockfile
-_if_nametoindex
-_si_list_retain
-_DNSServiceQueryRecord
-_ConnectToServer
-_connect$NOCANCEL
-_create_hdr
-_put_uint32
-_put_string
-_put_uint16
-_deliver_request
-_ConvertHeaderBytes
-_write_all
-_send$NOCANCEL
-_sendto$NOCANCEL
-_read_all
-_recv$NOCANCEL
-_recvfrom$NOCANCEL
-_kqueue
-_DNSServiceRefSockFD
-_kevent
-_DNSServiceProcessResult
-_get_uint32
-_select$NOCANCEL
-_select$DARWIN_EXTSN$NOCANCEL
-_handle_query_response
-_get_string
-_get_uint16
-_get_rdata
-_DNSServiceRefDeallocate
-_FreeDNSServiceOp
-_si_async_workunit_release
-__memmove_chk
-__dyld_get_image_name
-_powl
-_sysctlbyname
-_lroundf
-_logl
-_exp
-argumentInRange
-finishedProduct
-reducedArgument
-noCarry
-_fmodf
-_readlink
-_unlink
-_statfs
-_pthread_attr_getschedparam
-_pthread_attr_setschedparam
-_thread_create
-_thread_set_state
-_thread_resume
-_pread
-_pthread_cond_wait
-_mach_task_self
-_task_self_trap
-_vm_purgable_control
-__pthread_cond_wait
-_new_sem_from_pool
-_semaphore_create
-_semaphore_wait_signal
-_semaphore_wait_signal_trap
-_semaphore_wait
-_semaphore_wait_trap
-_restore_sem_to_pool
-_pthread_cond_signal
-_pthread_cond_signal_thread_np
-_semaphore_signal_thread
-_semaphore_signal_thread_trap
-__pthread_cond_remove
-_pthread_setcanceltype
-_pthread_testcancel
-__pthread_reap_thread
-_getaddrinfo_async_handle_reply
-_si_async_handle_reply
-_si_libinfo_addrinfo_callback
-_semaphore_signal
-_semaphore_signal_trap
-_gai_strerror
-_strtoul
-_strtod
-_notify_post
-__notify_server_post
-_tzset
-_tanf
-tanpireducef
-tanfpi_r
-tanf_normalize
-tanf_encode
-tanf_done
-__gettimeofday
-_pwrite
-_pthread_cond_timedwait_relative_np
-_semaphore_timedwait_signal
-_semaphore_timedwait_signal_trap
-_uuid_generate_random
-_get_random_bytes
-_uuid_unpack
-_uuid_pack
-_flock
-__LI_data_free
-_si_list_release
-_srandomdev
-__notify_server_check
-_semaphore_signal_all
-_semaphore_signal_all_trap
-_pthread_cond_destroy
-_thread_stack_pcs
-__thread_stack_pcs
-_pthread_get_stackaddr_np
-_pthread_get_stacksize_np
-_asl_close
-_umask
-_signal
-_signal__
-_sigaction
-__sigaction
-_mach_port_get_attributes
-_thread_info
-_thread_policy_set
-__signal_nobind
-__sigaction_nobind
-_CC_SHA1_Init
-_CC_SHA1_Update
-_cc_sha1_connect
-_sha1_hash_in_hardware
-__CC_SHA1_Update
-_CC_SHA1_Final
-_sha1_block_host_order
-_modf
-_asl_new
-_asl_set
-_asl_set_query
-_asl_send
-_asl_get
-__asl_msg_index
-_gethostname
-_asl_msg_to_string
-__asl_append_string
-__asl_connect
-__asl_server_socket
-_write$NOCANCEL
-_asl_free
-_fpathconf
-_vproc_swap_integer
-_vproc_mig_swap_integer
-_sha1_block_data_order
-_listxattr
-__nrv_alloc_D2A
-_atexit
-__fpclassify
-_host_statistics
-_malloc_default_purgeable_zone
-_malloc_create_zone
-_create_scalable_zone
-_protect
-_sysconf
-_malloc_set_zone_name
-_tiny_get_region_from_depot
-_tiny_malloc_from_region_no_lock
-_malloc_make_purgeable
-_find_registered_purgeable_zone
-_huge_entry_for_pointer_no_lock
-_malloc_make_nonpurgeable
-__s2b_D2A
-__mult_D2A
-__diff_D2A
-__ratio_D2A
-__b2d_D2A
-__ulp_D2A
-_log2f
-_difftime
-_mach_vm_deallocate
-_sinf
-_cosf
-pireducef
-sinf_modest
-sinf_encode
-sinf_done
-_strlcat
-_OSAtomicTestAndSetBarrier
-_expf
-expf_done
-_vm_copy
-_logf
-_lrintf
-expf_special
-_vsnprintf
-_valloc
-_malloc_zone_valloc
-_szone_valloc
-_bcmp
-_strncasecmp
-_bzero
-_fflush
-_notify_set_state
-__notify_server_set_state
-_strncat
-_fprintf_l
-_vfprintf_l
-__swsetup
-__fflush
-__swrite
-__swrite
-_getopt_long_only
-_getopt_internal
-cospireducef
-sinfpi_r
-_roundl
-_pthread_cond_timedwait
-_srand
-_regcomp
-_doemit
-_p_ere
-_wgetnext
-_mbrtowc_l
-__none_mbrtowc
-_ordinary
-_wcrtomb_l
-__none_wcrtomb
-_p_bracket
-_allocset
-_p_b_term
-_p_b_symbol
-_CHadd
-_doinsert
-_dofwd
-_altoffset
-_nonnewline
-_rand
-_do_rand
-_socketpair
-_getsockopt
-_pthread_attr_setstacksize
-_log10f
-_nextafterf
-_mktemp
-__mktemp
-_fwrite
-_trunc
-_localtime_r
-_OSMemoryNotificationCurrentLevel
-_nearbyintf
-_remove
-_mig_deallocate
-_si_addrinfo_v4
-_si_list_add
-_si_list_to_addrinfo
-_si_item_to_addrinfo
-_freeaddrinfo
-_asinf
-_strtoimax_l
-__umoddi3
-__udivdi3
-_strtof_l
-__strtodg
-__rvOK_D2A
-__any_on_D2A
-__rshift_D2A
-__copybits_D2A
-__increment_D2A
-_mach_port_get_refs
-_log2l
-exactPowerOfTwo
-_getsockname
-_getpeername
-_atof
-_mach_init_inited
-_mach_task_self_
-_first
-_previous_atfork_child_routine
-__atfork_child_routine
-_bootstrap_port
-_clock_port
-_clock_sem
-_thread_recycle_port
-_name_server_port
-_environment_port
-_service_port
-__task_reply_port
-_default_priority
-_min_priority
-_max_priority
-_pthreadsize
-__thread
-__pthread_attr_default
-__pthread_list_lock
-__pthread_keys
-_NXArgv_pointer
-_NXArgc_pointer
-_environ_pointer
-___progname_pointer
-__mh_execute_header_pointer
-___pthread_head
-_malloc_check_abort
-__malloc_lock
-_malloc_num_zones
-_malloc_num_zones_allocated
-_malloc_zones
-_malloc_logger
-_malloc_debug_flags
-_malloc_check_start
-_malloc_check_counter
-_malloc_check_each
-__malloc_no_asl_log
-_malloc_def_zone_state
-___zone0
-_malloc_check_sleep
-_malloc_debug_file
-___locale_key
-_rs
-_rs_initialized
-_rs_stired
-___atexit
-___atexit0.3781
-_new_registration
-__ZZ26NSVersionOfLinkTimeLibraryE2mh
-__ZZ33_dyld_register_func_for_add_imageE1p
-__ZZ36_dyld_register_func_for_remove_imageE1p
-__ZZ40dyld_register_image_state_change_handlerE1p
-__ZZ6dladdrE1p
-__ZZ6dlopenE1p
-__ZL19dlerrorPerThreadKey
-__ZL30dlerrorPerThreadKeyInitialized
-__ZZ5dlsymE1p
-__ZZ7dlcloseE1p
-__ZZ17_dyld_image_countE1p
-__ZZ22_dyld_get_image_headerE1p
-__ZZ21_dyld_fast_stub_entryPvlE1p
-__ZZ28_dyld_get_image_vmaddr_slideE1p
-__ZZ39dyld_shared_cache_some_image_overriddenE1p
-__ZZ34dyld_image_path_containing_addressE1p
-__ZZ25_dyld_get_all_image_infosE1p
-__ZZ16dlopen_preflightE1p
-__ZZ7dlerrorE1p
-__ZZ13_dyld_moninitE1p
-__ZZ41_dyld_get_image_header_containing_addressE1p
-__ZZ30_dyld_image_containing_addressE1p
-__ZZ21_dyld_get_image_slideE1p
-__ZZ20_dyld_get_image_nameE1p
-__ZL12sGlobalMutex
-___keymgr_global
-_pthread_atfork_lock
-_notify_server_port
-_bslu2_lock.11866
-_prev_bp.11867
-_prev_sp.11868
-_prev_name.11869
-_warned.11613
-___c_locale
-_lcl_is_set
-_gmt_is_set
-_lclmem
-_gmtmem
-_tzname
-_tm
-_sem_pool_lock
-_sem_pool_count
-_sem_pool_current
-_sem_pool
-_tds_lock
-_mp_count
-_mp_list
-_mp_refcount
-_mp_mine
-_cached_is_managed.11606
-__asl_global
-_asl_server_port
-_token_lock
-_token_table
-_token_id
-_shm_base
-_search.11137
-_spin.11138
-_module_mutex
-_module_list
-_module_count
-__mdns_mutex
-__mdns_debug
-__lc_once
-__lc
-_s_am_embedded_god
-_in_flight_msg_recv_client
-_nextRoot.3625
-__info_key
-__info_key_ok
-_mhp.4320
diff --git a/SystemInit.order b/SystemInit.order
deleted file mode 100644 (file)
index e63de61..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-_libSystem_initializer
-_mach_init
-_mach_init_doit
-_task_self_trap
-_host_self_trap
-__pthread_set_self
-_memset
-___bzero
-___pthread_set_self
-_cthread_set_self
-_mig_init
-_mach_reply_port
-_mach_port_deallocate
-_mig_get_reply_port
-_ur_cthread_self
-_mach_msg
-_mach_init_ports
-_task_get_special_port
-_mach_msg_trap
-_mach_host_self
-_host_get_clock_service
-_semaphore_create
-_mach_port_allocate
-_vm_deallocate
-_vm_map
-_pthread_init
-_host_info
-_memcpy
-__pthread_keys_init
-_sysctl
-___sysctl
-__sysenter_trap
-_mach_thread_self
-__pthread_create
-_pthread_setschedparam
-__pthread_lookup_thread
-__pthread_find_thread
-_thread_policy
-__init_cpu_capabilities
-___bsdthread_register
-___libc_init
-__program_vars_init
-___xlocale_init
-___guard_setup
-_open$NOCANCEL$UNIX2003
-_read$NOCANCEL$UNIX2003
-_close$NOCANCEL$UNIX2003
-_getenv
-__NSGetEnviron
-___findenv
-___keymgr_initializer
-__dyld_register_func_for_add_image
-__dyld_func_lookup
-__dyld_register_func_for_remove_image
-__dyld_initializer
-_pthread_mutexattr_init
-__Z24dyldGlobalLockInitializev
-_pthread_mutexattr_settype
-_pthread_mutex_init
-__pthread_mutex_init
diff --git a/SystemMath.exp b/SystemMath.exp
deleted file mode 100644 (file)
index ef94b1e..0000000
+++ /dev/null
@@ -1,205 +0,0 @@
-__fpclassifyd
-__fpclassifyf
-__inf
-__isfinited
-__isfinitef
-__isnand
-__isnanf
-__isnormald
-__isnormalf
-__signbitd
-__signbitf
-abort
-abs
-acos
-acosh
-asctime
-asin
-asinh
-atan
-atan2
-atanh
-atexit
-atof
-atoi
-atol
-bsearch
-calloc
-ceil
-clearerr
-clock
-close
-copysign
-cos
-cosh
-ctime
-difftime
-div
-dup
-erf
-erfc
-exit
-exp
-exp2
-expm1
-fabs
-fclose
-fcntl
-fdim
-fdopen
-feclearexcept
-fegetenv
-fegetexcept
-fegetround
-feholdexcept
-feof
-feraiseexcept
-ferror
-fesetenv
-fesetexcept
-fesetround
-fetestexcept
-feupdateenv
-fflush
-fgetc
-fgetpos
-fgets
-floor
-fmax
-fmin
-fmod
-fopen
-fprintf
-fputc
-fputs
-fread
-free
-freopen
-frexp
-fscanf
-fseek
-fsetpos
-ftell
-fwrite
-gamma
-getc
-getchar
-getenv
-getpid
-gets
-getw
-gmtime
-hypot
-ioctl
-isalnum
-isalpha
-isascii
-iscntrl
-isdigit
-isgraph
-islower
-isprint
-ispunct
-isspace
-isupper
-isxdigit
-labs
-ldexp
-ldiv
-lgamma
-localeconv
-localtime
-log
-log10
-log1p
-log2
-logb
-longjmp
-malloc
-mblen
-mbstowcs
-mbtowc
-memchr
-memcmp
-memcpy
-memmove
-memset
-mktime
-modf
-modff
-nan
-nanf
-nearbyint
-nextafterd
-nextafterf
-open
-perror
-pow
-printf
-putc
-putchar
-puts
-putw
-qsort
-rand
-read
-realloc
-remainder
-remove
-remquo
-rename
-rewind
-rint
-rinttol
-round
-roundtol
-scalb
-scanf
-setbuf
-setlocale
-setvbuf
-sin
-sinh
-sprintf
-sqrt
-srand
-sscanf
-strcat
-strchr
-strcmp
-strcoll
-strcpy
-strcspn
-strerror
-strftime
-strlen
-strncat
-strncmp
-strncpy
-strpbrk
-strrchr
-strspn
-strstr
-strtod
-strtok
-strtol
-strtoul
-strxfrm
-system
-tan
-tanh
-time
-tmpfile
-tmpnam
-toascii
-tolower
-toupper
-trunc
-ungetc
-unlink
-vfprintf
-vprintf
-vsprintf
-wcstombs
-wctomb
-write
diff --git a/SystemMath.s b/SystemMath.s
deleted file mode 100644 (file)
index a2d83c2..0000000
+++ /dev/null
@@ -1,1566 +0,0 @@
-/*
- * Copyright (c) 2003, 2007 Apple Inc. All rights reserved.
- *
- * @APPLE_LICENSE_HEADER_START@
- * 
- * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
- * 
- * This file contains Original Code and/or Modifications of Original Code
- * as defined in and that are subject to the Apple Public Source License
- * Version 2.0 (the 'License'). You may not use this file except in
- * compliance with the License. Please obtain a copy of the License at
- * http://www.opensource.apple.com/apsl/ and read it before using this
- * file.
- * 
- * The Original Code and all software distributed under the License are
- * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
- * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
- * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
- * Please see the License for the specific language governing rights and
- * limitations under the License.
- * 
- * @APPLE_LICENSE_HEADER_END@
- */
-
-#if defined (__ppc__) || defined(ppc)
-
-       .section        __TEXT, __VLib_Container, regular, no_dead_strip
-
-       .align  2
-
-VLib_Origin:
-
-       .long   0xF04D6163
-       .long   0x564C6962
-       .long   1
-       .long   VLib_Strings - VLib_Origin
-       .long   VLib_HashTable - VLib_Origin
-       .long   VLib_HashKeys - VLib_Origin
-       .long   VLib_ExportSymbols - VLib_Origin
-       .long   VLib_ExportNames - VLib_Origin
-       .long   5
-       .long   205
-       .long   0
-       .long   14
-       .long   15
-       .long   50
-       .long   0x70777063
-       .long   0x00000000
-       .long   0xC1DAAAB5
-       .long   0x00000000
-       .long   0x00000000
-       .long   0x00000000
-
-VLib_Strings:
-
-       .ascii  "CFMPriv_System"
-       .byte   0
-       .ascii  "/System/Library/Frameworks/System.framework/System"
-       .byte   0
-
-       .align  2
-
-VLib_HashTable:
-
-       .long   0x00100000
-       .long   0x00140004
-       .long   0x00200009
-       .long   0x001C0011
-       .long   0x00240018
-       .long   0x00180021
-       .long   0x00240027
-       .long   0x00200030
-       .long   0x00180038
-       .long   0x0020003E
-       .long   0x00140046
-       .long   0x0018004B
-       .long   0x001C0051
-       .long   0x00100058
-       .long   0x000C005C
-       .long   0x0024005F
-       .long   0x00100068
-       .long   0x0018006C
-       .long   0x000C0072
-       .long   0x001C0075
-       .long   0x000C007C
-       .long   0x0008007F
-       .long   0x00140081
-       .long   0x00200086
-       .long   0x0028008E
-       .long   0x00240098
-       .long   0x001800A1
-       .long   0x001C00A7
-       .long   0x002000AE
-       .long   0x002C00B6
-       .long   0x001C00C1
-       .long   0x001400C8
-
-VLib_HashKeys:
-
-       .long   0x000B82F7
-       .long   0x00071021
-       .long   0x00060A94
-       .long   0x000717DE
-       .long   0x00060909
-       .long   0x00040253
-       .long   0x00030109
-       .long   0x0006098D
-       .long   0x00060AB4
-       .long   0x000B82F5
-       .long   0x0003010A
-       .long   0x00040233
-       .long   0x00030169
-       .long   0x0007179E
-       .long   0x00060B9E
-       .long   0x00071548
-       .long   0x00060A33
-       .long   0x00040232
-       .long   0x00050441
-       .long   0x000504E4
-       .long   0x00050422
-       .long   0x00094B1B
-       .long   0x00040270
-       .long   0x0007173A
-       .long   0x00050480
-       .long   0x000B13B9
-       .long   0x000B07B9
-       .long   0x000504C2
-       .long   0x00071188
-       .long   0x00060B5E
-       .long   0x000828C2
-       .long   0x00060BDA
-       .long   0x00040290
-       .long   0x00050447
-       .long   0x00040257
-       .long   0x00060866
-       .long   0x000609EA
-       .long   0x000717FA
-       .long   0x00071589
-       .long   0x00050616
-       .long   0x0006090E
-       .long   0x0008214C
-       .long   0x00050444
-       .long   0x0007137D
-       .long   0x00040237
-       .long   0x00040254
-       .long   0x000A971E
-       .long   0x000609AB
-       .long   0x00040274
-       .long   0x00060864
-       .long   0x000A8274
-       .long   0x000504E0
-       .long   0x000504E0
-       .long   0x00060B1F
-       .long   0x00060A74
-       .long   0x000505C9
-       .long   0x000712DE
-       .long   0x00030121
-       .long   0x000712DE
-       .long   0x00060A39
-       .long   0x0004029C
-       .long   0x000716DE
-       .long   0x000820EE
-       .long   0x00040238
-       .long   0x00071028
-       .long   0x00082372
-       .long   0x0004027A
-       .long   0x000402DF
-       .long   0x000505A4
-       .long   0x00060A5B
-       .long   0x0004021A
-       .long   0x000608AF
-       .long   0x000504AF
-       .long   0x000710CC
-       .long   0x00060B96
-       .long   0x00040278
-       .long   0x000504CD
-       .long   0x0007123A
-       .long   0x00071770
-       .long   0x00082E1B
-       .long   0x00060BD5
-       .long   0x0005046F
-       .long   0x0004021C
-       .long   0x000B0F77
-       .long   0x0007106F
-       .long   0x0004021C
-       .long   0x00060BD2
-       .long   0x000717B1
-       .long   0x000ACAFA
-       .long   0x0005042C
-       .long   0x00060B76
-       .long   0x00060BF2
-       .long   0x00071182
-       .long   0x00071582
-       .long   0x000402BB
-       .long   0x000ACAF8
-       .long   0x0005048B
-       .long   0x0004021F
-       .long   0x000D02F8
-       .long   0x0004023E
-       .long   0x0004023E
-       .long   0x0006082E
-       .long   0x0006088B
-       .long   0x00071736
-       .long   0x00050410
-       .long   0x0007138C
-       .long   0x0005059C
-       .long   0x000829DE
-       .long   0x000711BC
-       .long   0x00040220
-       .long   0x000A90F6
-       .long   0x00060AA4
-       .long   0x00095328
-       .long   0x00060AC7
-       .long   0x000711FD
-       .long   0x00071012
-       .long   0x000504D4
-       .long   0x00040260
-       .long   0x00040203
-       .long   0x000504F4
-       .long   0x000609DD
-       .long   0x000609BE
-       .long   0x000A90F4
-       .long   0x0007172A
-       .long   0x000C3D3D
-       .long   0x00050477
-       .long   0x00060A67
-       .long   0x00050457
-       .long   0x00050476
-       .long   0x00040227
-       .long   0x0007136D
-       .long   0x00050492
-       .long   0x00060B8A
-       .long   0x000505BB
-       .long   0x000822A2
-       .long   0x000A8874
-       .long   0x00050436
-       .long   0x00094E64
-       .long   0x000717E8
-       .long   0x000402A2
-       .long   0x00082E64
-       .long   0x0003017C
-       .long   0x000D3629
-       .long   0x00040229
-       .long   0x0006089C
-       .long   0x000C04BD
-       .long   0x000609D6
-       .long   0x000609F7
-       .long   0x00082531
-       .long   0x00071594
-       .long   0x00060BA5
-       .long   0x000717E7
-       .long   0x0004026A
-       .long   0x0008205B
-       .long   0x000D5C38
-       .long   0x00071038
-       .long   0x00060911
-       .long   0x000402CF
-       .long   0x000402AC
-       .long   0x00060BA4
-       .long   0x00060BE6
-       .long   0x000D362B
-       .long   0x00030133
-       .long   0x000504BF
-       .long   0x000711B7
-       .long   0x000402CC
-       .long   0x00082C9E
-       .long   0x0005043A
-       .long   0x0004022A
-       .long   0x0007109F
-       .long   0x000710FC
-       .long   0x000609B6
-       .long   0x00030170
-       .long   0x0008281B
-       .long   0x0008301C
-       .long   0x00050498
-       .long   0x000504DA
-       .long   0x0004026F
-       .long   0x00030114
-       .long   0x00030114
-       .long   0x0004024E
-       .long   0x00040288
-       .long   0x000B8191
-       .long   0x0006081D
-       .long   0x00030134
-       .long   0x0004024F
-       .long   0x0004026E
-       .long   0x0008226E
-       .long   0x000402CB
-       .long   0x00050534
-       .long   0x00071705
-       .long   0x0007145F
-       .long   0x0007143C
-       .long   0x0008301E
-       .long   0x000712AB
-       .long   0x00030116
-       .long   0x000504BB
-       .long   0x0006089A
-       .long   0x00050516
-       .long   0x00050516
-       .long   0x000B8193
-       .long   0x0005047C
-       .long   0x0007145D
-       .long   0x00060A4D
-       .long   0x000955D1
-
-VLib_ExportNames:
-
-       .ascii  "writewctombwcstombsvsprintfvprintfvfprintfunlinkungetctrunctouppertolowertoasciitmpnamtmpfiletimetanhtansystemstrxfrmstrtoulstrtolstrtokstrtodstrstrstrspnstrrchrstrpbrkstrncpystrncmpstrncatstrlenstrft"
-       .ascii  "imestrerrorstrcspnstrcpystrcollstrcmpstrchrstrcatsscanfsrandsqrtsprintfsinhsinsetvbufsetlocalesetbufscanfscalbroundtolroundrinttolrintrewindrenameremquoremoveremainderreallocreadrandqsortputwputsputch"
-       .ascii  "arputcprintfpowperroropennextafterfnextafterdnearbyintnanfnanmodffmodfmktimememsetmemmovememcpymemcmpmemchrmbtowcmbstowcsmblenmalloclongjmplogblog2log1plog10loglocaltimelocaleconvlgammaldivldexplabsis"
-       .ascii  "xdigitisupperisspaceispunctisprintislowerisgraphisdigitiscntrlisasciiisalphaisalnumioctlhypotgmtimegetwgetsgetpidgetenvgetchargetcgammafwriteftellfsetposfseekfscanffrexpfreopenfreefreadfputsfputcfprin"
-       .ascii  "tffopenfmodfminfmaxfloorfgetsfgetposfgetcfflushfeupdateenvfetestexceptfesetroundfesetexceptfesetenvferrorferaiseexceptfeoffeholdexceptfegetroundfegetexceptfegetenvfeclearexceptfdopenfdimfcntlfclosefab"
-       .ascii  "sexpm1exp2expexiterfcerfdupdivdifftimectimecoshcoscopysigncloseclockclearerrceilcallocbsearchatolatoiatofatexitatanhatan2atanasinhasinasctimeacoshacosabsabort__signbitf__signbitd__isnormalf__isnormald"
-       .ascii  "__isnanf__isnand__isfinitef__isfinited__inf__fpclassifyf__fpclassifyd"
-
-       .section        __TEXT, __VLib_Exports, regular, no_dead_strip
-
-       .align  2
-
-VLib_ExportSymbols:
-
-       .long   0x020004CB
-       .long   __isfinited_bp - VLib_Origin
-
-       .long   0x0200029D
-       .long   isalpha_bp - VLib_Origin
-
-       .long   0x02000126
-       .long   setbuf_bp - VLib_Origin
-
-       .long   0x0200009A
-       .long   strrchr_bp - VLib_Origin
-
-       .long   0x020002DF
-       .long   fwrite_bp - VLib_Origin
-
-       .long   0x02000252
-       .long   labs_bp - VLib_Origin
-
-       .long   0x0200022D
-       .long   log_bp - VLib_Origin
-
-       .long   0x020001E9
-       .long   memcpy_bp - VLib_Origin
-
-       .long   0x0200014E
-       .long   rewind_bp - VLib_Origin
-
-       .long   0x020004C0
-       .long   __isfinitef_bp - VLib_Origin
-
-       .long   0x02000400
-       .long   dup_bp - VLib_Origin
-
-       .long   0x020002BB
-       .long   getw_bp - VLib_Origin
-
-       .long   0x0200019C
-       .long   pow_bp - VLib_Origin
-
-       .long   0x02000108
-       .long   sprintf_bp - VLib_Origin
-
-       .long   0x020000ED
-       .long   strchr_bp - VLib_Origin
-
-       .long   0x0200003B
-       .long   toupper_bp - VLib_Origin
-
-       .long   0x0200002A
-       .long   unlink_bp - VLib_Origin
-
-       .long   0x02000434
-       .long   ceil_bp - VLib_Origin
-
-       .long   0x02000427
-       .long   clock_bp - VLib_Origin
-
-       .long   0x020002FC
-       .long   frexp_bp - VLib_Origin
-
-       .long   0x020002B0
-       .long   hypot_bp - VLib_Origin
-
-       .long   0x02000230
-       .long   localtime_bp - VLib_Origin
-
-       .long   0x0200021B
-       .long   logb_bp - VLib_Origin
-
-       .long   0x020000D3
-       .long   strcspn_bp - VLib_Origin
-
-       .long   0x02000457
-       .long   atanh_bp - VLib_Origin
-
-       .long   0x020003B0
-       .long   fegetexcept_bp - VLib_Origin
-
-       .long   0x02000370
-       .long   fesetexcept_bp - VLib_Origin
-
-       .long   0x0200030C
-       .long   fread_bp - VLib_Origin
-
-       .long   0x0200025E
-       .long   isupper_bp - VLib_Origin
-
-       .long   0x02000196
-       .long   printf_bp - VLib_Origin
-
-       .long   0x02000136
-       .long   roundtol_bp - VLib_Origin
-
-       .long   0x02000088
-       .long   strtod_bp - VLib_Origin
-
-       .long   0x02000061
-       .long   tanh_bp - VLib_Origin
-
-       .long   0x02000344
-       .long   fgetc_bp - VLib_Origin
-
-       .long   0x02000308
-       .long   free_bp - VLib_Origin
-
-       .long   0x020002C3
-       .long   getpid_bp - VLib_Origin
-
-       .long   0x020001DC
-       .long   memset_bp - VLib_Origin
-
-       .long   0x02000075
-       .long   strtoul_bp - VLib_Origin
-
-       .long   0x02000056
-       .long   tmpfile_bp - VLib_Origin
-
-       .long   0x020004D6
-       .long   __inf_bp - VLib_Origin
-
-       .long   0x02000451
-       .long   atexit_bp - VLib_Origin
-
-       .long   0x0200041A
-       .long   copysign_bp - VLib_Origin
-
-       .long   0x020003DA
-       .long   fcntl_bp - VLib_Origin
-
-       .long   0x020002EA
-       .long   fsetpos_bp - VLib_Origin
-
-       .long   0x020002BF
-       .long   gets_bp - VLib_Origin
-
-       .long   0x02000249
-       .long   ldiv_bp - VLib_Origin
-
-       .long   0x02000239
-       .long   localeconv_bp - VLib_Origin
-
-       .long   0x020001D6
-       .long   mktime_bp - VLib_Origin
-
-       .long   0x02000461
-       .long   atan_bp - VLib_Origin
-
-       .long   0x02000383
-       .long   ferror_bp - VLib_Origin
-
-       .long   0x02000366
-       .long   fesetround_bp - VLib_Origin
-
-       .long   0x020002E5
-       .long   ftell_bp - VLib_Origin
-
-       .long   0x020002AB
-       .long   ioctl_bp - VLib_Origin
-
-       .long   0x02000068
-       .long   system_bp - VLib_Origin
-
-       .long   0x02000005
-       .long   wctomb_bp - VLib_Origin
-
-       .long   0x02000000
-       .long   write_bp - VLib_Origin
-
-       .long   0x0200043E
-       .long   bsearch_bp - VLib_Origin
-
-       .long   0x02000417
-       .long   cos_bp - VLib_Origin
-
-       .long   0x0200031B
-       .long   fprintf_bp - VLib_Origin
-
-       .long   0x0200015A
-       .long   remquo_bp - VLib_Origin
-
-       .long   0x0200014A
-       .long   rint_bp - VLib_Origin
-
-       .long   0x0200001B
-       .long   vprintf_bp - VLib_Origin
-
-       .long   0x0200037B
-       .long   fesetenv_bp - VLib_Origin
-
-       .long   0x0200032B
-       .long   fmin_bp - VLib_Origin
-
-       .long   0x020002CF
-       .long   getchar_bp - VLib_Origin
-
-       .long   0x02000256
-       .long   isxdigit_bp - VLib_Origin
-
-       .long   0x020001D2
-       .long   modf_bp - VLib_Origin
-
-       .long   0x02000192
-       .long   putc_bp - VLib_Origin
-
-       .long   0x0200017E
-       .long   qsort_bp - VLib_Origin
-
-       .long   0x02000154
-       .long   rename_bp - VLib_Origin
-
-       .long   0x020003EE
-       .long   exp2_bp - VLib_Origin
-
-       .long   0x020003DF
-       .long   fclose_bp - VLib_Origin
-
-       .long   0x02000311
-       .long   fputs_bp - VLib_Origin
-
-       .long   0x02000281
-       .long   isgraph_bp - VLib_Origin
-
-       .long   0x020000E7
-       .long   strcmp_bp - VLib_Origin
-
-       .long   0x0200046A
-       .long   asin_bp - VLib_Origin
-
-       .long   0x020002F1
-       .long   fseek_bp - VLib_Origin
-
-       .long   0x02000214
-       .long   longjmp_bp - VLib_Origin
-
-       .long   0x020000E0
-       .long   strcoll_bp - VLib_Origin
-
-       .long   0x020000C3
-       .long   strftime_bp - VLib_Origin
-
-       .long   0x02000082
-       .long   strtok_bp - VLib_Origin
-
-       .long   0x02000422
-       .long   close_bp - VLib_Origin
-
-       .long   0x02000396
-       .long   feof_bp - VLib_Origin
-
-       .long   0x0200034F
-       .long   feupdateenv_bp - VLib_Origin
-
-       .long   0x020002A4
-       .long   isalnum_bp - VLib_Origin
-
-       .long   0x020001A5
-       .long   open_bp - VLib_Origin
-
-       .long   0x0200007C
-       .long   strtol_bp - VLib_Origin
-
-       .long   0x0200006E
-       .long   strxfrm_bp - VLib_Origin
-
-       .long   0x02000486
-       .long   __signbitf_bp - VLib_Origin
-
-       .long   0x02000481
-       .long   abort_bp - VLib_Origin
-
-       .long   0x020000F9
-       .long   sscanf_bp - VLib_Origin
-
-       .long   0x02000094
-       .long   strspn_bp - VLib_Origin
-
-       .long   0x0200026C
-       .long   ispunct_bp - VLib_Origin
-
-       .long   0x02000143
-       .long   rinttol_bp - VLib_Origin
-
-       .long   0x0200005D
-       .long   time_bp - VLib_Origin
-
-       .long   0x02000490
-       .long   __signbitd_bp - VLib_Origin
-
-       .long   0x0200040E
-       .long   ctime_bp - VLib_Origin
-
-       .long   0x020003D6
-       .long   fdim_bp - VLib_Origin
-
-       .long   0x02000389
-       .long   feraiseexcept_bp - VLib_Origin
-
-       .long   0x0200032F
-       .long   fmax_bp - VLib_Origin
-
-       .long   0x02000327
-       .long   fmod_bp - VLib_Origin
-
-       .long   0x020002C9
-       .long   getenv_bp - VLib_Origin
-
-       .long   0x020002B5
-       .long   gmtime_bp - VLib_Origin
-
-       .long   0x020000AF
-       .long   strncmp_bp - VLib_Origin
-
-       .long   0x02000333
-       .long   floor_bp - VLib_Origin
-
-       .long   0x02000301
-       .long   freopen_bp - VLib_Origin
-
-       .long   0x020000FF
-       .long   srand_bp - VLib_Origin
-
-       .long   0x02000022
-       .long   vfprintf_bp - VLib_Origin
-
-       .long   0x02000273
-       .long   isprint_bp - VLib_Origin
-
-       .long   0x0200021F
-       .long   log2_bp - VLib_Origin
-
-       .long   0x020001A9
-       .long   nextafterf_bp - VLib_Origin
-
-       .long   0x0200019F
-       .long   perror_bp - VLib_Origin
-
-       .long   0x02000166
-       .long   remainder_bp - VLib_Origin
-
-       .long   0x02000050
-       .long   tmpnam_bp - VLib_Origin
-
-       .long   0x0200033D
-       .long   fgetpos_bp - VLib_Origin
-
-       .long   0x02000288
-       .long   isdigit_bp - VLib_Origin
-
-       .long   0x02000209
-       .long   mblen_bp - VLib_Origin
-
-       .long   0x0200044D
-       .long   atof_bp - VLib_Origin
-
-       .long   0x020003E5
-       .long   fabs_bp - VLib_Origin
-
-       .long   0x0200024D
-       .long   ldexp_bp - VLib_Origin
-
-       .long   0x0200020E
-       .long   malloc_bp - VLib_Origin
-
-       .long   0x020001EF
-       .long   memcmp_bp - VLib_Origin
-
-       .long   0x020001B3
-       .long   nextafterd_bp - VLib_Origin
-
-       .long   0x020000B6
-       .long   strncat_bp - VLib_Origin
-
-       .long   0x0200039A
-       .long   feholdexcept_bp - VLib_Origin
-
-       .long   0x020002DA
-       .long   gamma_bp - VLib_Origin
-
-       .long   0x02000030
-       .long   ungetc_bp - VLib_Origin
-
-       .long   0x02000338
-       .long   fgets_bp - VLib_Origin
-
-       .long   0x02000228
-       .long   log10_bp - VLib_Origin
-
-       .long   0x020002D6
-       .long   getc_bp - VLib_Origin
-
-       .long   0x020001E2
-       .long   memmove_bp - VLib_Origin
-
-       .long   0x020001CD
-       .long   modff_bp - VLib_Origin
-
-       .long   0x020000F3
-       .long   strcat_bp - VLib_Origin
-
-       .long   0x02000036
-       .long   trunc_bp - VLib_Origin
-
-       .long   0x0200042C
-       .long   clearerr_bp - VLib_Origin
-
-       .long   0x020003A6
-       .long   fegetround_bp - VLib_Origin
-
-       .long   0x02000223
-       .long   log1p_bp - VLib_Origin
-
-       .long   0x020001BD
-       .long   nearbyint_bp - VLib_Origin
-
-       .long   0x0200018B
-       .long   putchar_bp - VLib_Origin
-
-       .long   0x02000176
-       .long   read_bp - VLib_Origin
-
-       .long   0x020000CB
-       .long   strerror_bp - VLib_Origin
-
-       .long   0x02000065
-       .long   tan_bp - VLib_Origin
-
-       .long   0x020004DB
-       .long   __fpclassifyf_bp - VLib_Origin
-
-       .long   0x0200047A
-       .long   acos_bp - VLib_Origin
-
-       .long   0x020003D0
-       .long   fdopen_bp - VLib_Origin
-
-       .long   0x0200035A
-       .long   fetestexcept_bp - VLib_Origin
-
-       .long   0x020002F6
-       .long   fscanf_bp - VLib_Origin
-
-       .long   0x02000243
-       .long   lgamma_bp - VLib_Origin
-
-       .long   0x02000201
-       .long   mbstowcs_bp - VLib_Origin
-
-       .long   0x02000116
-       .long   setvbuf_bp - VLib_Origin
-
-       .long   0x020000DA
-       .long   strcpy_bp - VLib_Origin
-
-       .long   0x020000A1
-       .long   strpbrk_bp - VLib_Origin
-
-       .long   0x02000445
-       .long   atol_bp - VLib_Origin
-
-       .long   0x02000406
-       .long   difftime_bp - VLib_Origin
-
-       .long   0x020003C3
-       .long   feclearexcept_bp - VLib_Origin
-
-       .long   0x0200028F
-       .long   iscntrl_bp - VLib_Origin
-
-       .long   0x020001FB
-       .long   mbtowc_bp - VLib_Origin
-
-       .long   0x02000187
-       .long   puts_bp - VLib_Origin
-
-       .long   0x0200017A
-       .long   rand_bp - VLib_Origin
-
-       .long   0x020000BD
-       .long   strlen_bp - VLib_Origin
-
-       .long   0x0200008E
-       .long   strstr_bp - VLib_Origin
-
-       .long   0x020004E8
-       .long   __fpclassifyd_bp - VLib_Origin
-
-       .long   0x0200047E
-       .long   abs_bp - VLib_Origin
-
-       .long   0x02000316
-       .long   fputc_bp - VLib_Origin
-
-       .long   0x02000265
-       .long   isspace_bp - VLib_Origin
-
-       .long   0x02000104
-       .long   sqrt_bp - VLib_Origin
-
-       .long   0x02000013
-       .long   vsprintf_bp - VLib_Origin
-
-       .long   0x02000475
-       .long   acosh_bp - VLib_Origin
-
-       .long   0x02000413
-       .long   cosh_bp - VLib_Origin
-
-       .long   0x02000296
-       .long   isascii_bp - VLib_Origin
-
-       .long   0x0200027A
-       .long   islower_bp - VLib_Origin
-
-       .long   0x020001F5
-       .long   memchr_bp - VLib_Origin
-
-       .long   0x02000113
-       .long   sin_bp - VLib_Origin
-
-       .long   0x0200000B
-       .long   wcstombs_bp - VLib_Origin
-
-       .long   0x020004B8
-       .long   __isnand_bp - VLib_Origin
-
-       .long   0x02000465
-       .long   asinh_bp - VLib_Origin
-
-       .long   0x0200045C
-       .long   atan2_bp - VLib_Origin
-
-       .long   0x02000449
-       .long   atoi_bp - VLib_Origin
-
-       .long   0x020003F2
-       .long   exp_bp - VLib_Origin
-
-       .long   0x020001CA
-       .long   nan_bp - VLib_Origin
-
-       .long   0x020001C6
-       .long   nanf_bp - VLib_Origin
-
-       .long   0x0200010F
-       .long   sinh_bp - VLib_Origin
-
-       .long   0x020004A5
-       .long   __isnormald_bp - VLib_Origin
-
-       .long   0x02000438
-       .long   calloc_bp - VLib_Origin
-
-       .long   0x02000403
-       .long   div_bp - VLib_Origin
-
-       .long   0x020003F9
-       .long   erfc_bp - VLib_Origin
-
-       .long   0x020003F5
-       .long   exit_bp - VLib_Origin
-
-       .long   0x020003BB
-       .long   fegetenv_bp - VLib_Origin
-
-       .long   0x02000183
-       .long   putw_bp - VLib_Origin
-
-       .long   0x0200013E
-       .long   round_bp - VLib_Origin
-
-       .long   0x020000A8
-       .long   strncpy_bp - VLib_Origin
-
-       .long   0x02000049
-       .long   toascii_bp - VLib_Origin
-
-       .long   0x02000042
-       .long   tolower_bp - VLib_Origin
-
-       .long   0x020004B0
-       .long   __isnanf_bp - VLib_Origin
-
-       .long   0x0200046E
-       .long   asctime_bp - VLib_Origin
-
-       .long   0x020003FD
-       .long   erf_bp - VLib_Origin
-
-       .long   0x020003E9
-       .long   expm1_bp - VLib_Origin
-
-       .long   0x02000349
-       .long   fflush_bp - VLib_Origin
-
-       .long   0x02000131
-       .long   scalb_bp - VLib_Origin
-
-       .long   0x0200012C
-       .long   scanf_bp - VLib_Origin
-
-       .long   0x0200049A
-       .long   __isnormalf_bp - VLib_Origin
-
-       .long   0x02000322
-       .long   fopen_bp - VLib_Origin
-
-       .long   0x0200016F
-       .long   realloc_bp - VLib_Origin
-
-       .long   0x02000160
-       .long   remove_bp - VLib_Origin
-
-       .long   0x0200011D
-       .long   setlocale_bp - VLib_Origin
-
-
-       .globl  cfm_stub_binding_helper
-
-       .section        __DATA, __VLib_Func_BPs, regular, no_dead_strip
-
-       .align  2
-
-write_bp:
-       .long   _write
-
-wctomb_bp:
-       .long   _wctomb
-
-wcstombs_bp:
-       .long   _wcstombs
-
-vsprintf_bp:
-       .long   _vsprintf
-
-vprintf_bp:
-       .long   _vprintf
-
-vfprintf_bp:
-       .long   _vfprintf
-
-unlink_bp:
-       .long   _unlink
-
-ungetc_bp:
-       .long   _ungetc
-
-trunc_bp:
-       .long   _trunc
-
-toupper_bp:
-       .long   _toupper
-
-tolower_bp:
-       .long   _tolower
-
-toascii_bp:
-       .long   _toascii
-
-tmpnam_bp:
-       .long   _tmpnam
-
-tmpfile_bp:
-       .long   _tmpfile
-
-time_bp:
-       .long   _time
-
-tanh_bp:
-       .long   _tanh
-
-tan_bp:
-       .long   _tan
-
-system_bp:
-       .long   _system
-
-strxfrm_bp:
-       .long   _strxfrm
-
-strtoul_bp:
-       .long   _strtoul
-
-strtol_bp:
-       .long   _strtol
-
-strtok_bp:
-       .long   _strtok
-
-strtod_bp:
-       .long   _strtod
-
-strstr_bp:
-       .long   _strstr
-
-strspn_bp:
-       .long   _strspn
-
-strrchr_bp:
-       .long   _strrchr
-
-strpbrk_bp:
-       .long   _strpbrk
-
-strncpy_bp:
-       .long   _strncpy
-
-strncmp_bp:
-       .long   _strncmp
-
-strncat_bp:
-       .long   _strncat
-
-strlen_bp:
-       .long   _strlen
-
-strftime_bp:
-       .long   _strftime
-
-strerror_bp:
-       .long   _strerror
-
-strcspn_bp:
-       .long   _strcspn
-
-strcpy_bp:
-       .long   _strcpy
-
-strcoll_bp:
-       .long   _strcoll
-
-strcmp_bp:
-       .long   _strcmp
-
-strchr_bp:
-       .long   _strchr
-
-strcat_bp:
-       .long   _strcat
-
-sscanf_bp:
-       .long   _sscanf
-
-srand_bp:
-       .long   _srand
-
-sqrt_bp:
-       .long   _sqrt
-
-sprintf_bp:
-       .long   _sprintf
-
-sinh_bp:
-       .long   _sinh
-
-sin_bp:
-       .long   _sin
-
-setvbuf_bp:
-       .long   _setvbuf
-
-setlocale_bp:
-       .long   _setlocale
-
-setbuf_bp:
-       .long   _setbuf
-
-scanf_bp:
-       .long   _scanf
-
-scalb_bp:
-       .long   _scalb
-
-roundtol_bp:
-       .long   _roundtol
-
-round_bp:
-       .long   _round
-
-rinttol_bp:
-       .long   _rinttol
-
-rint_bp:
-       .long   _rint
-
-rewind_bp:
-       .long   _rewind
-
-rename_bp:
-       .long   _rename
-
-remquo_bp:
-       .long   _remquo
-
-remove_bp:
-       .long   _remove
-
-remainder_bp:
-       .long   _remainder
-
-realloc_bp:
-       .long   _realloc
-
-read_bp:
-       .long   _read
-
-rand_bp:
-       .long   _rand
-
-qsort_bp:
-       .long   _qsort
-
-putw_bp:
-       .long   _putw
-
-puts_bp:
-       .long   _puts
-
-putchar_bp:
-       .long   _putchar
-
-putc_bp:
-       .long   _putc
-
-printf_bp:
-       .long   _printf
-
-pow_bp:
-       .long   _pow
-
-perror_bp:
-       .long   _perror
-
-open_bp:
-       .long   _open
-
-nextafterf_bp:
-       .long   _nextafterf
-
-nextafterd_bp:
-       .long   _nextafterd
-
-nearbyint_bp:
-       .long   _nearbyint
-
-nanf_bp:
-       .long   _nanf
-
-nan_bp:
-       .long   _nan
-
-modff_bp:
-       .long   _modff
-
-modf_bp:
-       .long   _modf
-
-mktime_bp:
-       .long   _mktime
-
-memset_bp:
-       .long   _memset
-
-memmove_bp:
-       .long   _memmove
-
-memcpy_bp:
-       .long   _memcpy
-
-memcmp_bp:
-       .long   _memcmp
-
-memchr_bp:
-       .long   _memchr
-
-mbtowc_bp:
-       .long   _mbtowc
-
-mbstowcs_bp:
-       .long   _mbstowcs
-
-mblen_bp:
-       .long   _mblen
-
-malloc_bp:
-       .long   _malloc
-
-longjmp_bp:
-       .long   _longjmp
-
-logb_bp:
-       .long   _logb
-
-log2_bp:
-       .long   _log2
-
-log1p_bp:
-       .long   _log1p
-
-log10_bp:
-       .long   _log10
-
-log_bp:
-       .long   _log
-
-localtime_bp:
-       .long   _localtime
-
-localeconv_bp:
-       .long   _localeconv
-
-lgamma_bp:
-       .long   _lgamma
-
-ldiv_bp:
-       .long   _ldiv
-
-ldexp_bp:
-       .long   _ldexp
-
-labs_bp:
-       .long   _labs
-
-isxdigit_bp:
-       .long   _isxdigit
-
-isupper_bp:
-       .long   _isupper
-
-isspace_bp:
-       .long   _isspace
-
-ispunct_bp:
-       .long   _ispunct
-
-isprint_bp:
-       .long   _isprint
-
-islower_bp:
-       .long   _islower
-
-isgraph_bp:
-       .long   _isgraph
-
-isdigit_bp:
-       .long   _isdigit
-
-iscntrl_bp:
-       .long   _iscntrl
-
-isascii_bp:
-       .long   _isascii
-
-isalpha_bp:
-       .long   _isalpha
-
-isalnum_bp:
-       .long   _isalnum
-
-ioctl_bp:
-       .long   _ioctl
-
-hypot_bp:
-       .long   _hypot
-
-gmtime_bp:
-       .long   _gmtime
-
-getw_bp:
-       .long   _getw
-
-gets_bp:
-       .long   _gets
-
-getpid_bp:
-       .long   _getpid
-
-getenv_bp:
-       .long   _getenv
-
-getchar_bp:
-       .long   _getchar
-
-getc_bp:
-       .long   _getc
-
-gamma_bp:
-       .long   _gamma
-
-fwrite_bp:
-       .long   _fwrite
-
-ftell_bp:
-       .long   _ftell
-
-fsetpos_bp:
-       .long   _fsetpos
-
-fseek_bp:
-       .long   _fseek
-
-fscanf_bp:
-       .long   _fscanf
-
-frexp_bp:
-       .long   _frexp
-
-freopen_bp:
-       .long   _freopen
-
-free_bp:
-       .long   _free
-
-fread_bp:
-       .long   _fread
-
-fputs_bp:
-       .long   _fputs
-
-fputc_bp:
-       .long   _fputc
-
-fprintf_bp:
-       .long   _fprintf
-
-fopen_bp:
-       .long   _fopen
-
-fmod_bp:
-       .long   _fmod
-
-fmin_bp:
-       .long   _fmin
-
-fmax_bp:
-       .long   _fmax
-
-floor_bp:
-       .long   _floor
-
-fgets_bp:
-       .long   _fgets
-
-fgetpos_bp:
-       .long   _fgetpos
-
-fgetc_bp:
-       .long   _fgetc
-
-fflush_bp:
-       .long   _fflush
-
-feupdateenv_bp:
-       .long   _feupdateenv
-
-fetestexcept_bp:
-       .long   _fetestexcept
-
-fesetround_bp:
-       .long   _fesetround
-
-fesetexcept_bp:
-       .long   _fesetexcept
-
-fesetenv_bp:
-       .long   _fesetenv
-
-ferror_bp:
-       .long   _ferror
-
-feraiseexcept_bp:
-       .long   _feraiseexcept
-
-feof_bp:
-       .long   _feof
-
-feholdexcept_bp:
-       .long   _feholdexcept
-
-fegetround_bp:
-       .long   _fegetround
-
-fegetexcept_bp:
-       .long   _fegetexcept
-
-fegetenv_bp:
-       .long   _fegetenv
-
-feclearexcept_bp:
-       .long   _feclearexcept
-
-fdopen_bp:
-       .long   _fdopen
-
-fdim_bp:
-       .long   _fdim
-
-fcntl_bp:
-       .long   _fcntl
-
-fclose_bp:
-       .long   _fclose
-
-fabs_bp:
-       .long   _fabs
-
-expm1_bp:
-       .long   _expm1
-
-exp2_bp:
-       .long   _exp2
-
-exp_bp:
-       .long   _exp
-
-exit_bp:
-       .long   _exit
-
-erfc_bp:
-       .long   _erfc
-
-erf_bp:
-       .long   _erf
-
-dup_bp:
-       .long   _dup
-
-div_bp:
-       .long   _div
-
-difftime_bp:
-       .long   _difftime
-
-ctime_bp:
-       .long   _ctime
-
-cosh_bp:
-       .long   _cosh
-
-cos_bp:
-       .long   _cos
-
-copysign_bp:
-       .long   _copysign
-
-close_bp:
-       .long   _close
-
-clock_bp:
-       .long   _clock
-
-clearerr_bp:
-       .long   _clearerr
-
-ceil_bp:
-       .long   _ceil
-
-calloc_bp:
-       .long   _calloc
-
-bsearch_bp:
-       .long   _bsearch
-
-atol_bp:
-       .long   _atol
-
-atoi_bp:
-       .long   _atoi
-
-atof_bp:
-       .long   _atof
-
-atexit_bp:
-       .long   _atexit
-
-atanh_bp:
-       .long   _atanh
-
-atan2_bp:
-       .long   _atan2
-
-atan_bp:
-       .long   _atan
-
-asinh_bp:
-       .long   _asinh
-
-asin_bp:
-       .long   _asin
-
-asctime_bp:
-       .long   _asctime
-
-acosh_bp:
-       .long   _acosh
-
-acos_bp:
-       .long   _acos
-
-abs_bp:
-       .long   _abs
-
-abort_bp:
-       .long   _abort
-
-__signbitf_bp:
-       .long   ___signbitf
-
-__signbitd_bp:
-       .long   ___signbitd
-
-__isnormalf_bp:
-       .long   ___isnormalf
-
-__isnormald_bp:
-       .long   ___isnormald
-
-__isnanf_bp:
-       .long   ___isnanf
-
-__isnand_bp:
-       .long   ___isnand
-
-__isfinitef_bp:
-       .long   ___isfinitef
-
-__isfinited_bp:
-       .long   ___isfinited
-
-__inf_bp:
-       .long   ___inf
-
-__fpclassifyf_bp:
-       .long   ___fpclassifyf
-
-__fpclassifyd_bp:
-       .long   ___fpclassifyd
-
-       .section        __DATA, __VLib_Data_BPs, regular, no_dead_strip
-
-       .align  2
-
-#else
-#endif
-
diff --git a/init.c b/init.c
index a78293c36239503dda8ca61db2cfd487f57da51f..073973318b6f11333411f47f4cf5cc61e0c8f59f 100644 (file)
--- a/init.c
+++ b/init.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2007, 2008 Apple Inc. All rights reserved.
+ * Copyright (c) 2007, 2008, 2011 Apple Inc. All rights reserved.
  *
  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  * 
  * 
  * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  */
-#ifdef __DYNAMIC__
 
 #include <TargetConditionals.h>        // for TARGET_OS_EMBEDDED
 
 #include <_libkernel_init.h>
 #include <dlfcn.h>
+#include <errno.h>
 
 struct ProgramVars; /* forward reference */
 
@@ -44,32 +44,34 @@ extern void _dyld_initializer(void);                // from libdyld.a
 extern void libdispatch_init(void);            // from libdispatch.a
 extern void _libxpc_initializer(void);         // from libxpc
 
+// signal malloc stack logging that initialisation has finished
+extern void __stack_logging_early_finished(void); // form libsystem_c.dylib
+
 // system library atfork handlers
-extern void _cthread_fork_prepare();
-extern void _cthread_fork_parent();
-extern void _cthread_fork_child();
-extern void _cthread_fork_child_postinit();
-
-extern void _mach_fork_child();
-extern void _cproc_fork_child();
-extern void _libc_fork_child();
-extern void _notify_fork_child();
-extern void _dyld_fork_child();
-extern void xpc_atfork_prepare();
-extern void xpc_atfork_parent();
-extern void xpc_atfork_child();
+extern void _cthread_fork_prepare(void);
+extern void _cthread_fork_parent(void);
+extern void _cthread_fork_child(void);
+extern void _cthread_fork_child_postinit(void);
+
+extern void _mach_fork_child(void);
+extern void _cproc_fork_child(void);
+extern void _libc_fork_child(void);
+extern void _notify_fork_child(void);
+extern void _dyld_fork_child(void);
+extern void xpc_atfork_prepare(void);
+extern void xpc_atfork_parent(void);
+extern void xpc_atfork_child(void);
 
 // advance decls for below;
-void libSystem_atfork_prepare();
-void libSystem_atfork_parent();
-void libSystem_atfork_child();
+void libSystem_atfork_prepare(void);
+void libSystem_atfork_parent(void);
+void libSystem_atfork_child(void);
 
 // from mig_support.c in libc
-mach_port_t _mig_get_reply_port();
+mach_port_t _mig_get_reply_port(void);
 void _mig_set_reply_port(mach_port_t);
 
 void cthread_set_errno_self(int);
-int* __error(void);
 
 /*
  * libsyscall_initializer() initializes all of libSystem.dylib <rdar://problem/4892197>
@@ -94,32 +96,35 @@ void libSystem_initializer(int argc, const char* argv[], const char* envp[], con
        __keymgr_initializer();
        _dyld_initializer();
        libdispatch_init();
-#if !TARGET_OS_EMBEDDED || __IPHONE_OS_VERSION_MAX_ALLOWED >= 50000 // __IPHONE_5_0
        _libxpc_initializer();
-#endif
+
+       __stack_logging_early_finished();
+
+       /* <rdar://problem/11588042>
+        * C99 standard has the following in section 7.5(3):
+        * "The value of errno is zero at program startup, but is never set
+        * to zero by any library function."
+        */
+       errno = 0;
 }
 
 /*
  * libSystem_atfork_{prepare,parent,child}() are called by libc when we fork, then we deal with running fork handlers
  * for everyone else.
  */
-void libSystem_atfork_prepare()
+void libSystem_atfork_prepare(void)
 {
-#if !TARGET_OS_EMBEDDED || __IPHONE_OS_VERSION_MAX_ALLOWED >= 50000 // __IPHONE_5_0
        xpc_atfork_prepare();
-#endif
        _cthread_fork_prepare();
 }
 
-void libSystem_atfork_parent()
+void libSystem_atfork_parent(void)
 {
        _cthread_fork_parent();
-#if !TARGET_OS_EMBEDDED || __IPHONE_OS_VERSION_MAX_ALLOWED >= 50000 // __IPHONE_5_0
        xpc_atfork_parent();
-#endif
 }
 
-void libSystem_atfork_child()
+void libSystem_atfork_child(void)
 {
        _dyld_fork_child();
        _cthread_fork_child();
@@ -129,9 +134,7 @@ void libSystem_atfork_child()
        _cproc_fork_child();
        _libc_fork_child();
        _notify_fork_child();
-#if !TARGET_OS_EMBEDDED || __IPHONE_OS_VERSION_MAX_ALLOWED >= 50000 // __IPHONE_5_0
        xpc_atfork_child();
-#endif
 
        _cthread_fork_child_postinit();
 }
@@ -140,7 +143,7 @@ void libSystem_atfork_child()
  *  Old crt1.o glue used to call through mach_init_routine which was used to initialize libSystem.
  *  LibSystem now auto-initializes but mach_init_routine is left for binary compatibility.
  */
-static void mach_init_old() {}
+static void mach_init_old(void) {}
 void (*mach_init_routine)(void) = &mach_init_old;
 
 /*
@@ -148,5 +151,3 @@ void (*mach_init_routine)(void) = &mach_init_old;
  */
 const char *__crashreporter_info__;
 asm (".desc __crashreporter_info__, 0x10");
-
-#endif /* __DYNAMIC__ */
index a3186d53b7d48deb4f44bb4221ad51cc28d21832..8ef1535f5098f851066c73b05366f7390ebc4f15 100644 (file)
@@ -4,11 +4,13 @@ compiler_rt
 dispatch
 dnsinfo
 dyld
-mathCommon
+keymgr
 quarantine
 sandbox
 system_auto
 system_blocks
+system_c++
+system_c++abi
 system_dyld
 system_network
 system_objc
index fb0afd5c490868c9d7d66eddd2a0b2cf7ed6ecd0..38e3cce9c67938288f3c3bffb2096bf3a9a002f8 100644 (file)
@@ -1,12 +1,11 @@
 commonCrypto
 copyfile
-keymgr
 launch
-m
 macho
 removefile
 system_c
 system_dnssd
 system_info
 system_kernel
+system_m
 system_notify
diff --git a/xcodescripts/create_dylib_symlinks.sh b/xcodescripts/create_dylib_symlinks.sh
new file mode 100755 (executable)
index 0000000..6bcbc3a
--- /dev/null
@@ -0,0 +1,28 @@
+#!/bin/sh -x
+
+if [ $# -ne 3 ]; then
+    echo "Usage: $0 <dstroot> <action> <variants>" 1>&2
+    exit 1
+fi
+
+DSTROOT="$1"
+ACTION="$2"
+VARIANTS="$3"
+
+BSD_LIBS="c info m pthread dbm poll dl rpcsvc proc"
+
+mkdir -p "${DSTROOT}/usr/lib" || exit 1
+
+if [ "${ACTION}" != "installhdrs" ]; then
+    for variant in ${VARIANTS}; do
+       suffix=""
+       if [ ${variant} != "normal" ]; then
+           suffix="_${variant}"
+       fi
+
+        ln -sf "libSystem.B${suffix}.dylib" "${DSTROOT}/usr/lib/libSystem${suffix}.dylib" || exit 1
+       for i in ${BSD_LIBS}; do
+           ln -sf "libSystem.dylib" "${DSTROOT}/usr/lib/lib${i}.dylib" || exit 1
+       done
+    done
+fi
diff --git a/xcodescripts/create_system_framework.sh b/xcodescripts/create_system_framework.sh
new file mode 100755 (executable)
index 0000000..0849895
--- /dev/null
@@ -0,0 +1,32 @@
+#!/bin/sh -x
+
+if [ $# -ne 5 ]; then
+    echo "Usage: $0 <dstroot> <srcroot> <action> <archs> <variants>" 1>&2
+    exit 1
+fi
+
+DSTROOT="$1"
+SRCROOT="$2"
+ACTION="$3"
+ARCHS="$4"
+VARIANTS="$5"
+
+FPATH="/System/Library/Frameworks/System.framework"
+
+mkdir -p "${DSTROOT}/${FPATH}" || exit 1
+ln -sf "Versions/Current/PrivateHeaders" "${DSTROOT}/${FPATH}/PrivateHeaders" || exit 1
+ln -sf "Versions/Current/Resources" "${DSTROOT}/${FPATH}/Resources" || exit 1
+
+mkdir -p "${DSTROOT}/${FPATH}/Versions" || exit 1
+ln -sf "B" "${DSTROOT}/${FPATH}/Versions/Current" || exit 1
+mkdir -p "${DSTROOT}/${FPATH}/Versions/B" || exit 1
+
+for variant in ${VARIANTS}; do
+    suffix=""
+    if [ ${variant} != "normal" ]; then
+       suffix="_${variant}"
+    fi
+    ln -sf "Versions/Current/System${suffix}" "${DSTROOT}/${FPATH}/System${suffix}" || exit 1
+       ln -sf "../../../../../../usr/lib/libSystem.B${suffix}.dylib" "${DSTROOT}/${FPATH}/Versions/B/System${suffix}" || exit 1
+
+done
diff --git a/xcodescripts/linker_arguments.sh b/xcodescripts/linker_arguments.sh
new file mode 100755 (executable)
index 0000000..f6eb771
--- /dev/null
@@ -0,0 +1,101 @@
+#!/bin/sh -x
+
+if [ $# -ne 5 ]; then
+    echo "Usage: $0 <archs> <variants> <outputdir> <sdkroot> <srcroot>" 1>&2
+    exit 1
+fi
+
+ARCHS="$1"
+VARIANTS="$2"
+OUTPUTDIR="$3"
+SDKROOT="$4"
+SRCROOT="$5"
+
+LIBSYS="${SDKROOT}/usr/local/lib/system"
+LSYS="${SDKROOT}/usr/lib/system"
+
+mkdir -p "${OUTPUTDIR}"
+
+for arch in ${ARCHS}; do
+    for variant in ${VARIANTS}; do
+       OUTPUTFILE="${OUTPUTDIR}/linker_arguments.${arch}.${variant}.txt"
+       TEMPDIR="${OUTPUTDIR}/linker_arguments_tmp"
+
+       mkdir -p "${TEMPDIR}"
+
+       ACTUALLIBS="${TEMPDIR}/${arch}.${variant}.actuallibs"
+       ALLLIBS="${TEMPDIR}/${arch}.${variant}.alllibs"
+       FROMUSRLIBSYSTEM="${TEMPDIR}/${arch}.${variant}.fromusrlibsystem"
+       FROMUSRLOCALLIBSYSTEM="${TEMPDIR}/${arch}.${variant}.fromusrlocallibsystem"
+       INUSRLIBSYSTEM="${TEMPDIR}/${arch}.${variant}.inusrlibsystem"
+       INUSRLOCALLIBSYSTEM="${TEMPDIR}/${arch}.${variant}.inusrlocallibsystem"
+       MISSINGLIBS="${TEMPDIR}/${arch}.${variant}.missinglibs"
+       POSSIBLEUSRLOCALLIBSYSTEM="${TEMPDIR}/${arch}.${variant}.possibleusrlocallibsystem"
+       OPTIONALLIBS="${SRCROOT}/optionallibs"
+       REQUIREDLIBS="${SRCROOT}/requiredlibs"
+
+       if [ ${variant} = "normal" ]; then
+           SUFFIX=""
+       else
+           SUFFIX="_${variant}"
+       fi
+
+       rm -f "${OUTPUTFILE}"
+
+       cat ${REQUIREDLIBS} ${OPTIONALLIBS} | sort > ${ALLLIBS}
+
+       # Strip away variant information to do presence checks
+       # non-normal variants can always link against normal clients
+       cd ${LSYS} && ls lib*.dylib | sed -E -e 's/_(debug|profile|static)\././' | while read l; do
+           xcrun -sdk "${SDKROOT}" lipo "${LSYS}/${l}" -verify_arch "${arch}" 2>/dev/null
+           if [ $? -eq 0 ]; then
+               echo "${l}"
+           fi
+       done | sed -E -e 's/^lib//' -e 's/\..*$$//'  | sort -u > ${INUSRLIBSYSTEM}
+       cd ${LIBSYS} && ls lib*.a | sed -E -e 's/_(debug|profile|static)\././' | while read l; do
+           xcrun -sdk "${SDKROOT}" lipo "${LIBSYS}/${l}" -verify_arch "${arch}" 2>/dev/null
+           if [ $? -eq 0 ]; then
+               echo "${l}"
+           fi
+       done | sed -E -e 's/^lib//' -e 's/\..*$$//' | sort -u > ${INUSRLOCALLIBSYSTEM}
+       comm -12 ${ALLLIBS} ${INUSRLIBSYSTEM} > ${FROMUSRLIBSYSTEM}
+       comm -12 ${ALLLIBS} ${INUSRLOCALLIBSYSTEM} > ${POSSIBLEUSRLOCALLIBSYSTEM}
+       comm -13 ${FROMUSRLIBSYSTEM} ${POSSIBLEUSRLOCALLIBSYSTEM} > ${FROMUSRLOCALLIBSYSTEM}
+       cat ${FROMUSRLIBSYSTEM} ${FROMUSRLOCALLIBSYSTEM} | sort > ${ACTUALLIBS}
+       comm -23 ${REQUIREDLIBS} ${ACTUALLIBS} > ${MISSINGLIBS}
+
+       if [ -s ${MISSINGLIBS} ]; then
+           echo '*** missing required libs ***'
+           cat ${MISSINGLIBS}
+           exit 1
+       fi
+
+       cat ${FROMUSRLIBSYSTEM} | while read lib; do
+           echo "-Wl,-reexport-l${lib}"
+       done >> "${OUTPUTFILE}"
+
+       # Allow static archives to degrade to their non-variant versions
+       cat ${FROMUSRLOCALLIBSYSTEM} | while read lib; do
+           LPATH="${LIBSYS}/lib${lib}${SUFFIX}.a"
+           xcrun -sdk "${SDKROOT}" lipo "${LPATH}" -verify_arch "${arch}" 2>/dev/null
+           if [ $? -ne 0 ]; then
+               LPATH="${LIBSYS}/lib${lib}.a"
+           fi
+           echo "-Wl,-force_load,${LPATH}"
+       done >> "${OUTPUTFILE}"     
+
+       echo "Final contents of ${OUTPUTFILE}:"
+       cat "${OUTPUTFILE}"
+    done
+done
+
+MARKERFILE="${OUTPUTDIR}/linker_arguments_changed.c"
+
+for arch in ${ARCHS}; do
+    for variant in ${VARIANTS}; do
+       OUTPUTFILE="${OUTPUTDIR}/linker_arguments.${arch}.${variant}.txt"
+       cat "${OUTPUTFILE}"
+    done
+done | shasum | sed 's,^,// ,' > "${MARKERFILE}"
+
+exit 0