2 * Copyright (c) 2004 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * Copyright (c) 2004 Apple Computer, Inc. All Rights Reserved.
8 * This file contains Original Code and/or Modifications of Original Code
9 * as defined in and that are subject to the Apple Public Source License
10 * Version 2.0 (the 'License'). You may not use this file except in
11 * compliance with the License. Please obtain a copy of the License at
12 * http://www.opensource.apple.com/apsl/ and read it before using this
15 * The Original Code and all software distributed under the License are
16 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
20 * Please see the License for the specific language governing rights and
21 * limitations under the License.
23 * @APPLE_LICENSE_HEADER_END@
27 Copyright 2004, Apple Computer, Inc.
30 This file is used to regenerate symbols for routines in the ObjC runtime pages.
33 cc objc-rtp-syms.c -c -o objc-rtp-syms.o.temp
34 ld -seg1addr kRTPagesLo objc-rtp-syms.o.temp -r -o objc-rtp-syms.o
35 and then use `-sectcreate __DATA __commpage objc-rtp-syms.o` when linking.
37 IMPORTANT - declarations need to be declared in address order.
45 .globl _objc_kIgnore_rtp
46 .org kRTAddress_ignoredSelector-kRTPagesLo // unnormalized with ld -seg1addr kRTPagesLo
50 // note that macro expansion does not work well with .org, had to go long hand - jml
52 .globl _objc_assign_strongCast_rtp
53 .org kRTAddress_objc_assign_strongCast-kRTPagesLo // unnormalized with ld -seg1addr kRTPagesLo
54 _objc_assign_strongCast_rtp:
57 .globl _objc_assign_global_rtp
58 .org kRTAddress_objc_assign_global-kRTPagesLo // unnormalized with ld -seg1addr kRTPagesLo
59 _objc_assign_global_rtp:
62 .globl _objc_assign_ivar_rtp
63 .org kRTAddress_objc_assign_ivar-kRTPagesLo // unnormalized with ld -seg1addr kRTPagesLo
64 _objc_assign_ivar_rtp:
67 .globl _objc_msgSend_rtp
68 .org kRTAddress_objc_msgSend -kRTPagesLo // unnormalized with ld -seg1addr kRTPagesLo
72 // Extra symbol at the end of the RTP area.
73 // This pacifies gdb and other debugging tools.
74 .globl _objc_msgSend_rtp_exit
75 .org kRTPagesHi - kRTPagesLo // unnormalized with ld -seg1adr kRTPagesLo