# #ident 	"@(#)shlibc:spec	1.3" #

#ident	"@(#)spec_082	1.1	9/30/86 Copyright (c) 1986 by National Semiconductor Corp."

##
## Libc_s specification file
##
#address .text 0x00040000
#address .data 0x000e0000
#target /shlib/libc_s
#branch
__doprnt 1
__bufsync 2
cerror	3
__cleanup 4
_dummy	5
_dummy	6
_dummy	7
_dummy	8
_dummy	9
_dummy	10
_dummy	11
_dummy	12
_dummy	13
_dummy	14
__filbuf	15
__findbuf 16
__findiop 17
__flsbuf	18
_dummy	19
_dummy	20
_dummy	21
_dummy	22
_dummy	23
_dummy	24
_dummy 25
_dummy	26
_dummy	27
_dummy	28
_dummy	29
_dummy	30
_dummy	31
_dummy	32
_dummy	33
_dummy	34
_dummy 35
_dummy 36
_dummy	37
_dummy	38
__wrtchk	39
__xflsbuf 40
_abs	41
_access	42
_atof	43
_atoi	44
_atol	45
_brk	46
_calloc	47
_cfree	48
_chdir	49
_chmod	50
_close	51
_creat	52
_ecvt	53
_fclose	54
_fcntl	55
_fcvt	56
_fflush	57
_fgetc	58
_fgets	59
_fopen	60
_dummy 61
_dummy 62
_dummy 63
_fprintf	64
_dummy 65
_dummy 66
_dummy 67
_fputc	68
_fputs	69
_fread	70
_free	71
_freopen	72
_frexp	73
_fseek	74
_fstat	75
_fwrite	76
_gcvt	77
_getchar	78
_getenv	79
_getopt	80
_getpid	81
_gets	82
_getw	83
_ioctl	84
_isatty	85
_dummy	86
_kill	87
_ldexp	88
_lseek	89
_malloc	90
_memccpy	91
_memchr	92
_memcmp	93
_memcpy	94
_memset	95
_mktemp	96
_open	97
_printf	98
_putchar	99
_puts	100
_putw	101
_read	102
_realloc	103
_sbrk	104
_setbuf	105
_sighold	106
_sigignore 107
_signal	108
_sigpause 109
_sigrelse 110
_sigset	111
_sprintf	112
_stat	113
_strcat	114
_strchr	115
_strcmp	116
_strcpy	117
_strlen	118
_strncat	119
_strncmp	120
_strncpy	121
_strrchr	122
_time	123
_old_tolower	124
_old_toupper	125
_ungetc	126
_unlink	127
_utime	128
udiv	129
urem	130
_write	131-150
#objects
##
##
##
##	 Imported symbols definition files
##
port/gen/ctype_def.o
port/gen/mall_def.o
port/gen/reall_def.o
port/gen/free_def.o
port/stdio/stdio_def.o
ns32000/gen/gen_def.o
dummy.o
##	 Read/Write Global data
port/gen/opt_data.o
ns32000/gen/32000_data.o
port/stdio/data.o
port/gen/ctype.o

##	 REST of *.o

##	Some frequently used functions, called randomly

port/gen/abs.o
port/gen/atof.o
port/gen/gcvt.o
ns32000/gen/ldexp.o
port/gen/old_tolower.o
port/stdio/ungetc.o
ns32000/gen/strcmp.o
port/gen/ecvt.o
ns32000/gen/frexp.o

##	malloc family

port/gen/calloc.o
port/gen/malloc.o

##	infrequently used, page glue

ns32000/gen/strncat.o

##	frequently used, randomly called

ns32000/gen/memccpy.o
ns32000/gen/memcpy.o
ns32000/gen/memset.o
ns32000/gen/strcat.o
ns32000/gen/strcpy.o
ns32000/gen/strlen.o

##	stdio group

port/stdio/filbuf.o
port/stdio/fread.o

##	stdio group

port/stdio/fgetc.o
port/stdio/fgets.o
port/stdio/gets.o
port/stdio/getchar.o
port/stdio/getw.o

##	stdio group

port/stdio/fputs.o
port/stdio/putw.o
port/stdio/fputc.o
port/stdio/putchar.o

##	infrequently called, page glue

port/gen/old_toupper.o

##	stdio group

port/stdio/fwrite.o
port/stdio/flsbuf.o
port/stdio/fseek.o

##	infrequently called, page glue

ns32000/gen/strncpy.o

##	stdio group

port/gen/isatty.o
port/stdio/fopen.o
port/stdio/findiop.o

##	stdio group (remainder)

port/stdio/puts.o

##	printf family

port/print/fprintf.o
port/print/printf.o
port/print/sprintf.o

##	floating point stuff, called from _dtop, _ptod and ecvt
##		fills out page

##	page glue

ns32000/gen/memcmp.o

##	printf internals

port/print/doprnt.o

##	process startup functions

port/gen/mktemp.o
port/gen/getenv.o
port/gen/getopt.o
port/stdio/setbuf.o
ns32000/sys/signal.o

##	printf internals, floating pt

##	misc. stuff, infrequently, randomly called
##		glue to cross page boundary

port/gen/atol.o
port/gen/atoi.o
ns32000/gen/memchr.o
ns32000/gen/strchr.o
ns32000/gen/strncmp.o
port/gen/strrchr.o

##	system calls

ns32000/crt/cerror.o
ns32000/sys/close.o
ns32000/sys/access.o
ns32000/sys/chdir.o
ns32000/sys/chmod.o
ns32000/sys/creat.o
ns32000/sys/fcntl.o
ns32000/sys/fstat.o
ns32000/sys/getpid.o
ns32000/sys/ioctl.o
ns32000/sys/kill.o
ns32000/sys/lseek.o
ns32000/sys/open.o
ns32000/sys/read.o
ns32000/sys/sbrk.o
ns32000/sys/stat.o
ns32000/sys/time.o
ns32000/sys/unlink.o
ns32000/sys/utime.o
ns32000/sys/write.o
ns32000/crt/udiv.o
ns32000/crt/urem.o

##	double fp


##	fp util

##	single fp

##	fp masks, misc

#init ctype_def.o
__libc__ctype		__ctype

#init gen_def.o
__libc__cleanup		_cleanup
__libc_end		_end
__libc_environ		_environ

#init mall_def.o
__libc_malloc		_malloc

#init reall_def.o
__libc_realloc		_realloc

#init free_def.o
__libc_free		_free
	
#init stdio_def.o
__libc__sibuf		__sibuf
__libc__sobuf		__sobuf
__libc__smbuf		__smbuf
__libc__iob		__iob
__libc__lastbuf		__lastbuf
__libc__bufendtab	__bufendtab

## HIDE all symbols, except those that are :
## 1. In the branch table
## 2. In #init's
## 3. Explicity EXPORTed below

#hide linker *
#export linker
_errno
_optarg
_opterr
_optind
_optopt
d.vect
