objc-sel-table.s   [plain text]


#include <mach/vm_param.h>
.section __TEXT,__objc_opt_ro
.align 3
.private_extern __objc_opt_data
__objc_opt_data:
.long 12 /* table.version */
.long 0 /* table.selopt_offset */
.long 0 /* table.headeropt_offset */
.long 0 /* table.clsopt_offset */
.space PAGE_SIZE-16

/* space for selopt, smax/capacity=262144, blen/mask=65535+1 */
.space 65536
.space 262144    /* checkbytes */
.space 262144*4  /* offsets */

	
/* space for clsopt, smax/capacity=16384, blen/mask=4095+1 */
.space PAGE_SIZE
.space 16384    	/* checkbytes */
.space 16384*12 	/* offsets to name and class and header_info */
.space PAGE_SIZE	/* some duplicate classes */


.section __DATA,__objc_opt_rw
.align 3
.private_extern __objc_opt_rw_data
__objc_opt_rw_data:
/* space for header_info structures */
.space 16384