Skip to content

Commit

Permalink
cctools-495
Browse files Browse the repository at this point in the history
Imported from cctools-495.tar.gz
  • Loading branch information
AppleOSSDistributions committed Oct 6, 2021
1 parent bb3ad7f commit 5b615f8
Show file tree
Hide file tree
Showing 350 changed files with 5,416 additions and 3,708 deletions.
513 changes: 254 additions & 259 deletions APPLE_LICENSE

Large diffs are not rendered by default.

24 changes: 17 additions & 7 deletions RelNotes/CompilerTools.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<HTML>
<!--This file created 5/21/03 3:58 PM by Claris Home Page version 3.0-->
<!--This file created 6/27/03 12:52 PM by Claris Home Page version 3.0-->
<HEAD>
<TITLE>Mac OS X Compiler Tools Release Notes</TITLE>
<META NAME=GENERATOR CONTENT="Claris Home Page 3.0">
<X-CLARIS-WINDOW TOP=48 BOTTOM=850 LEFT=56 RIGHT=740>
<X-CLARIS-WINDOW TOP=57 BOTTOM=859 LEFT=165 RIGHT=849>
<X-CLARIS-TAGVIEW MODE=minimal>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H1>Mac OS X June 2003 Developer Release Notes:<BR>
<H1>Mac OS X 10.3 Release Notes:<BR>
Compiler Tools</H1>

<P><!-- start of path --> <TABLE BORDER=0 CELLSPACING=0 WIDTH=600 valign=left>
Expand All @@ -21,9 +21,8 @@ <H1>Mac OS X June 2003 Developer Release Notes:<BR>
<BR>
<!-- end of path --> <A HREF="index.html"><IMG SRC="Images/up.gif" WIDTH=36 HEIGHT=16 BORDER=0 ALIGN=bottom></A></P>

<P>These notes are for the MacOS X June 2003 Developer Release of the
compiler tools. They contain information about the following
topics:</P>
<P>These notes are for the MacOS X 10.3 Release of the compiler
tools. They contain information about the following topics:</P>

<UL>
<LI>The Mac OS X Mach-O GNU-based assemblers</LI>
Expand All @@ -36,6 +35,17 @@ <H1>Mac OS X June 2003 Developer Release Notes:<BR>
on)</LI>
</UL>

<H2>Notes Specific to Mac OS X 10.3 Release</H2>

<H2>New Features</H2>

<H3><FONT SIZE="+1">The static linker as option to find
@executable_path dynamic libraries</FONT></H3>

<P>Added the <B>-executable_path </B><I>path_name</I> option to
<I>ld</I>(1) where <I>path_name</I> is is used to replace
@executable_path for dependent libraries.</P>

<H2>Notes Specific to Mac OS X June 2003 Developer Release</H2>

<H2>New Features</H2>
Expand Down Expand Up @@ -872,6 +882,6 @@ <H3>PowerPC Assembly Instruction Parameter Differences</H3>
This instruction is assembled by <B>ppcasm</B>.</P>

<P><FONT SIZE="-2" FACE="Geneva,Helvetica,Arial">Copyright &copy;
2002 Apple Computer, Inc.</FONT></P>
2003 Apple Computer, Inc.</FONT></P>
</BODY>
</HTML>
219 changes: 208 additions & 11 deletions RelNotes/Private_CompilerTools.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<HTML>
<!--This file created 6/12/03 4:10 PM by Claris Home Page version 3.0-->
<!--This file created 9/10/03 5:51 PM by Claris Home Page version 3.0-->
<HEAD>
<TITLE>Private Compiler Tools Release Notes</TITLE>
<META NAME=GENERATOR CONTENT="Claris Home Page 3.0">
<X-CLARIS-WINDOW TOP=79 BOTTOM=846 LEFT=110 RIGHT=740>
<X-CLARIS-WINDOW TOP=72 BOTTOM=839 LEFT=95 RIGHT=725>
<X-CLARIS-TAGVIEW MODE=minimal>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<P><FONT SIZE="-1">Mac OS X June 2003 Developer Release Copyright
2003 by Apple Computer, Inc. All Rights Reserved.</FONT></P>
<P><FONT SIZE="-1">Mac OS X 10.3 Release Copyright 2003 by Apple
Computer, Inc. All Rights Reserved.</FONT></P>

<H2>Private Mac OS X June 2003 Developer Release Notes:<BR>
Compiler Tools (cctools-478)</H2>
<H2>Private Mac OS X 10.3 Release Notes:<BR>
Compiler Tools (cctools-495)</H2>

<P>This file contains release notes for the 5.12 release of the
Compiler Tools for the Mac OS X June 2003 Developer Release. This
file contains information about the following topics:</P>
<P>This file contains release notes for the 5.13 release of the
Compiler Tools for the Mac OS X 10.3 Release. This file contains
information about the following topics:</P>

<UL>
<LI>The Mac OS X Mach-O GNU-based assemblers</LI>
Expand All @@ -25,10 +25,207 @@ <H2>Private Mac OS X June 2003 Developer Release Notes:<BR>

<LI>The Mac OS X Mach-O dynamic link editor</LI>

<LI>Mach-O object tools (<B>nm</B>, <B>otool</B>, and so on)</LI>
<LI>Mach-O object tools (<B>nm</B>, <B>otool</B>, and so
on)&nbsp;</LI>
</UL>

<P>&nbsp;</P>
<H2>Notes Specific to Release 5.13 (Mac OS X 10.3)</H2>

<H5><FONT SIZE="+1">Changes since the last release (cctools-494 for
the 5.13 Mac OS X 10.3 release) </FONT></H5>

<UL>
<LI>Changed the default headerpad in ld(1) when it creates a
prebound executable to be 3 times instead of 6 times the size of
its LC_PREBOUND_DYLIB load commands so it has a better chance of
its prebinding being able to be redone if the dependent libaries
change and does not increase the size of the file as much. (Radar
bug #3410151).</LI>
</UL>

<H5><FONT SIZE="+1">Changes since the last release (cctools-493 for
the 5.13 Mac OS X 10.3 release) </FONT></H5>

<UL>
<LI>Changed the default headerpad in ld(1) when it creates a
prebound executable to be 6 times the size of its
LC_PREBOUND_DYLIB load commands so it has a better chance of its
prebinding being able to be redone if the dependent libaries
change. (Radar bug #3410151).</LI>
</UL>

<H5><FONT SIZE="+1">Changes since the last release (cctools-492 for
the 5.13 Mac OS X 10.3 release) </FONT></H5>

<UL>
<LI>Fixed a bug in the redo_prebinding(1)(3) code that would cause
an error if an indirectly dependent library changed its install
name. (Radar bug #3408696).</LI>
</UL>

<H5><FONT SIZE="+1">Changes since the last release (cctools-491 for
the 5.13 Mac OS X 10.3 release) </FONT></H5>

<UL>
<LI>Changed the seg_addr_table(1) tool to assign addresses for
_debug and _profile libraries addresses to start at 0x40000000
through lower addresses. (Radar bug #3360593).</LI>

<LI>Fixed a bug in the seg_addr_table(1) tool where the bounds
checking of an assigned address would be allowed when it shouldn't
have been if the library entirely fit inside a reserved region.
(Radar bug #3359505).</LI>
</UL>

<H5><FONT SIZE="+1">Changes since the last release (cctools-490 for
the 5.13 Mac OS X 10.3 release) </FONT></H5>

<UL>
<LI>Fixed a bug in the dynamic linker in the code that implements
of the API NSLookupSymbolInImage() that can cause it to crash when
looking up a symbol in a bundle when another thread is still
loading that bundle. (Radar bug #3393517).</LI>
</UL>

<H5><FONT SIZE="+1">Changes since the last release (cctools-489 for
the 5.13 Mac OS X 10.3 release) </FONT></H5>

<UL>
<LI>Fixed problems dealing with ppc970 cpusubtype binaries being
incorrectly selected when not on a G5 for execution and not being
selected when building and linking with a fat file containing only
a ppc970 object file. (Radar bug #3387962).</LI>
</UL>

<H5><FONT SIZE="+1">Changes since the last release (cctools-488 for
the 5.13 Mac OS X 10.3 release) </FONT></H5>

<UL>
<LI>Change the code for otool(1) to have stub versions of the
notify API so it will build. (Radar bug #3378781).</LI>
</UL>

<H5><FONT SIZE="+1">Changes since the last release (cctools-487 for
the 5.13 Mac OS X 10.3 release) </FONT></H5>

<UL>
<LI>Fixed a problem with the ld(1) man page where the description
of -weak_framework got incorrectly inserted in the description of
-framework. (Radar bug #3375695).</LI>

<LI>Updated the source code in the cctools project to the APSL
2.0. (Radar bug #3369348).</LI>

<LI>Change the code in the dynamic linker to define its own
version of gettimeofday() so it will build with the latest Libc
and Libnotify projects. (Radar bug #3375399).</LI>
</UL>

<H5><FONT SIZE="+1">Changes since the last release (cctools-485 for
the 5.13 Mac OS X 10.3 release) </FONT></H5>

<UL>
<LI>Fixed a bug in the dynamic linker that would cause incorrectly
relocate items causing the program to crash. (Radar bug
#3364959).</LI>

<LI>Fixed a bug in the PowerPC assembler that would cause it to
print an error message when it sees a 64-bit compare instruction
or optional instructions the 970 implements even though <B>-arch
ppc970</B> was specified. (Radar bug #3364523).</LI>
</UL>

<H5><FONT SIZE="+1">Changes since the last release (cctools-485 for
the 5.13 Mac OS X 10.3 release) </FONT></H5>

<UL>
<LI>Added the environment variable
DYLD_PRINT_LIBRARIES_POST_LAUNCH as an option to the dynamic
linker that cause it to print out the dynamic libraries that are
loaded after the program reaches its entry point. (Radar bug
#3342354).</LI>
</UL>

<H5><FONT SIZE="+1">Changes since the last release (cctools-484 for
the 5.13 Mac OS X 10.3 release) </FONT></H5>

<UL>
<LI>Fixed some bugs in the static linker that would cause it to
not mark an umbrella library or framework weak when it was linked
with -weak_framework when the program used symbols just from the
umbrella framework's sub-frameworks. (Radar bug #3337262).</LI>
</UL>

<H5><FONT SIZE="+1">Changes since the last release (cctools-483 for
the 5.13 Mac OS X 10.3 release) </FONT></H5>

<UL>
<LI>Fixed a bug in the static linker that would cause it to print
an error message when the argument to -bundle_loader contained a
non default stack. (Radar bug #3329902).</LI>

<LI>Fixed a bug in the dynamic linker that would cause it to crash
if a weak library in an umbrella library or framework was missing.
(Radar bug #3328875).</LI>
</UL>

<H5><FONT SIZE="+1">Changes since the last release (cctools-482 for
the 5.13 Mac OS X 10.3 release) </FONT></H5>

<UL>
<LI>Fixed a bug in the static linker that would cause it to print
a malloc(3) warning if a -lx option were used when the string x
ends in a dot followed by a single character. (Radar bug
#3285575).</LI>

<LI>Fixed a bug in the libtool(1) command when using the
-weak_framework and -weak_library options that was causing it to
incorrecly produce an error. (Radar bug #3318491).</LI>

<LI>Change the libtool(1) command to pass the ld(1) -m option on
to ld(1). (Radar bug #3305123)</LI>
</UL>

<H5><FONT SIZE="+1">Changes since the last release (cctools-481 for
the 5.13 Mac OS X 10.3 release) </FONT></H5>

<UL>
<LI>Added the SPI NSFindSectionAndOffsetInObjectFileImage() to the
new file &lt;mach-o/dyld_priv.h&gt;. (Radar bug #3318440).</LI>
</UL>

<H5><FONT SIZE="+1">Changes since the last release (cctools-480 for
the 5.13 Mac OS X 10.3 release) </FONT></H5>

<UL>
<LI>Fixed a bug in the optimization of trying to use prebound
libraries post-launch into programs that were built with
-prebind_all_twolevel_modules when loading bundles that was taking
uneeded time. (Radar bug #3303038).</LI>
</UL>

<H5><FONT SIZE="+1">Changes since the last release (cctools-479 for
the 5.13 Mac OS X 10.3 release) </FONT></H5>

<UL>
<LI>Changed the kld(3) and rld(3) load calls to zero out the
alignment of existing sections before loading the specified
objects takes place. (Radar bug #3261751).</LI>
</UL>

<H5><FONT SIZE="+1">Changes since the last release (cctools-478 for
the 5.12 MacOS June 2003 Developer release) </FONT></H5>

<UL>
<LI>Added the <B>-executable_path</B> <I>path_name</I> option to
the static linker where <I>path_name</I> is is used to replace
@executable_path for dependent libraries. (Radar bug
#3278995).</LI>

<LI>Fixed the error message in dyld for multiply defined symbols
to use the physical name not the logical name of the modules
defining the symbols. (Radar bug #3295565).</LI>
</UL>

<H2>Notes Specific to Release 5.12 (Mac OS X June 2003 Developer
Release)</H2>
Expand Down
21 changes: 10 additions & 11 deletions ar/append.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,20 @@
*
* @APPLE_LICENSE_HEADER_START@
*
* Portions Copyright (c) 1999 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 1.1 (the "License"). You may not use this file
* except in compliance with the License. Please obtain a copy of the
* License at http://www.apple.com/publicsource and read it before using
* this file.
* 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
* 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 OR NON- INFRINGEMENT. Please see the
* License for the specific language governing rights and limitations
* under the License.
* 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@
*/
Expand Down
21 changes: 10 additions & 11 deletions ar/ar.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,20 @@
*
* @APPLE_LICENSE_HEADER_START@
*
* Portions Copyright (c) 1999 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 1.1 (the "License"). You may not use this file
* except in compliance with the License. Please obtain a copy of the
* License at http://www.apple.com/publicsource and read it before using
* this file.
* 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
* 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 OR NON- INFRINGEMENT. Please see the
* License for the specific language governing rights and limitations
* under the License.
* 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@
*/
Expand Down
21 changes: 10 additions & 11 deletions ar/archive.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,20 @@
*
* @APPLE_LICENSE_HEADER_START@
*
* Portions Copyright (c) 1999 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 1.1 (the "License"). You may not use this file
* except in compliance with the License. Please obtain a copy of the
* License at http://www.apple.com/publicsource and read it before using
* this file.
* 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
* 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 OR NON- INFRINGEMENT. Please see the
* License for the specific language governing rights and limitations
* under the License.
* 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@
*/
Expand Down
Loading

0 comments on commit 5b615f8

Please sign in to comment.