|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: s
Length: 6371 (0x18e3)
Names: »stio.3«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./bsd/usr/man/cat3/stio.3«
└─⟦this⟧ »./usr/man/cat3/stio.3«
0x0000…0020 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆
[…0x1…]
0x0040…0060 0a 0a 0a 0a 0a 0a 0a 0a 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 ┆ N N N NA A A AM M M ME E┆
0x0060…0080 08 45 08 45 0a 20 20 20 20 20 73 74 69 6f 20 2d 20 72 6f 75 74 69 6e 65 73 20 74 68 61 74 20 70 ┆ E E stio - routines that p┆
0x0080…00a0 72 6f 76 69 64 65 20 61 20 62 69 6e 61 72 79 20 72 65 61 64 2f 77 72 69 74 65 20 69 6e 74 65 72 ┆rovide a binary read/write inter┆
0x00a0…00c0 66 61 63 65 0a 20 20 20 20 20 74 6f 20 74 68 65 20 4d 49 50 53 20 73 79 6d 62 6f 6c 20 74 61 62 ┆face to the MIPS symbol tab┆
0x00c0…00e0 6c 65 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 ┆le S S S SY Y Y YN N N NT T T T┆
0x00e0…0100 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 ┆A A A AX X X X # # # #i i i┆
0x0100…0120 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 ┆ in n n nc c c cl l l lu u u ud ┆
0x0120…0140 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 79 08 79 08 79 ┆d d de e e e < < < <s s s sy y y┆
0x0140…0160 08 79 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 ┆ ym m m ms s s s. . . .h h h h> ┆
0x0160…0180 3e 08 3e 08 3e 0a 0a 20 20 20 20 20 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 ┆> > > l l l lo o o on n n ┆
0x0180…01a0 6e 67 08 67 08 67 08 67 20 73 08 73 08 73 08 73 74 08 74 08 74 08 74 5f 08 5f 08 5f 08 5f 72 08 ┆ng g g g s s s st t t t_ _ _ _r ┆
0x01a0…01c0 72 08 72 08 72 65 08 65 08 65 08 65 61 08 61 08 61 08 61 64 08 64 08 64 08 64 62 08 62 08 62 08 ┆r r re e e ea a a ad d d db b b ┆
0x01c0…01e0 62 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 72 08 72 08 72 08 72 79 08 79 ┆bi i i in n n na a a ar r r ry y┆
0x01e0…0200 08 79 08 79 20 28 08 28 08 28 08 28 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 ┆ y y ( ( ( (f f f fi i i il l l ┆
0x0200…0220 6c 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 65 08 65 ┆le e e en n n na a a am m m me e┆
0x0220…0240 08 65 08 65 2c 08 2c 08 2c 08 2c 20 68 08 68 08 68 08 68 6f 08 6f 08 6f 08 6f 77 08 77 08 77 08 ┆ e e, , , , h h h ho o o ow w w ┆
0x0240…0260 77 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 ┆w) ) ) ) c c c ch h h ha a ┆
0x0260…0280 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 66 08 66 08 66 08 66 69 08 69 08 69 08 69 ┆a ar r r r * * * *f f f fi i i i┆
0x0280…02a0 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 ┆l l l le e e en n n na a a am m ┆
0x02a0…02c0 6d 08 6d 65 08 65 08 65 08 65 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 ┆m me e e e; ; ; ; c c c ch ┆
0x02c0…02e0 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 68 08 68 08 68 08 68 6f 08 6f 08 6f ┆h h ha a a ar r r r h h h ho o o┆
0x02e0…0300 08 6f 77 08 77 08 77 08 77 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 6c 08 6c 08 6c 08 6c 6f 08 ┆ ow w w w; ; ; ; l l l lo ┆
0x0300…0320 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 20 73 08 73 08 73 08 73 74 08 74 08 74 ┆o o on n n ng g g g s s s st t t┆
0x0320…0340 08 74 5f 08 5f 08 5f 08 5f 72 08 72 08 72 08 72 65 08 65 08 65 08 65 61 08 61 08 61 08 61 64 08 ┆ t_ _ _ _r r r re e e ea a a ad ┆
0x0340…0360 64 08 64 08 64 73 08 73 08 73 08 73 74 08 74 08 74 08 74 20 28 08 28 08 28 08 28 66 08 66 08 66 ┆d d ds s s st t t t ( ( ( (f f f┆
0x0360…0380 08 66 6e 08 6e 08 6e 08 6e 2c 08 2c 08 2c 08 2c 20 68 08 68 08 68 08 68 6f 08 6f 08 6f 08 6f 77 ┆ fn n n n, , , , h h h ho o o ow┆
0x0380…03a0 08 77 08 77 08 77 2c 08 2c 08 2c 08 2c 20 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 ┆ w w w, , , , f f f fi i i il l ┆
0x03a0…03c0 6c 08 6c 65 08 65 08 65 08 65 62 08 62 08 62 08 62 61 08 61 08 61 08 61 73 08 73 08 73 08 73 65 ┆l le e e eb b b ba a a as s s se┆
0x03c0…03e0 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c 20 70 08 70 08 70 08 70 63 08 63 08 63 08 63 68 08 68 08 ┆ e e e, , , , p p p pc c c ch h ┆
0x03e0…0400 68 08 68 64 08 64 08 64 08 64 72 08 72 08 72 08 72 2c 08 2c 08 2c 08 2c 66 08 66 08 66 08 66 6c ┆h hd d d dr r r r, , , ,f f f fl┆
0x0400…0420 08 6c 08 6c 08 6c 61 08 61 08 61 08 61 67 08 67 08 67 08 67 73 08 73 08 73 08 73 29 08 29 08 29 ┆ l l la a a ag g g gs s s s) ) )┆
0x0420…0440 08 29 0a 20 20 20 20 20 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 67 08 67 ┆ ) l l l lo o o on n n ng g┆
0x0440…0460 08 67 08 67 20 66 08 66 08 66 08 66 6e 08 6e 08 6e 08 6e 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 ┆ g g f f f fn n n n; ; ; ; ┆
0x0460…0480 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 68 08 68 ┆c c c ch h h ha a a ar r r r h h┆
0x0480…04a0 08 68 08 68 6f 08 6f 08 6f 08 6f 77 08 77 08 77 08 77 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 6c ┆ h ho o o ow w w w; ; ; ; l┆
0x04a0…04c0 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 20 66 08 66 08 ┆ l l lo o o on n n ng g g g f f ┆
0x04c0…04e0 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 62 08 62 08 62 08 62 61 ┆f fi i i il l l le e e eb b b ba┆
0x04e0…0500 08 61 08 61 08 61 73 08 73 08 73 08 73 65 08 65 08 65 08 65 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 ┆ a a as s s se e e e; ; ; ; ┆
0x0500…0520 20 70 08 70 08 70 08 70 43 08 43 08 43 08 43 48 08 48 08 48 08 48 44 08 44 08 44 08 44 52 08 52 ┆ p p p pC C C CH H H HD D D DR R┆
0x0520…0540 08 52 08 52 52 08 52 08 52 08 52 20 70 08 70 08 70 08 70 63 08 63 08 63 08 63 68 08 68 08 68 08 ┆ R RR R R R p p p pc c c ch h h ┆
0x0540…0560 68 64 08 64 08 64 08 64 72 08 72 08 72 08 72 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 6c 08 6c 08 ┆hd d d dr r r r; ; ; ; l l ┆
0x0560…0580 6c 08 6c 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 20 66 08 66 08 66 08 66 ┆l lo o o on n n ng g g g f f f f┆
0x0580…05a0 6c 08 6c 08 6c 08 6c 61 08 61 08 61 08 61 67 08 67 08 67 08 67 73 08 73 08 73 08 73 3b 08 3b 08 ┆l l l la a a ag g g gs s s s; ; ┆
0x05a0…05c0 3b 08 3b 0a 0a 0a 20 20 20 20 20 76 08 76 08 76 08 76 6f 08 6f 08 6f 08 6f 69 08 69 08 69 08 69 ┆; ; v v v vo o o oi i i i┆
0x05c0…05e0 64 08 64 08 64 08 64 20 73 08 73 08 73 08 73 74 08 74 08 74 08 74 5f 08 5f 08 5f 08 5f 77 08 77 ┆d d d d s s s st t t t_ _ _ _w w┆
0x05e0…0600 08 77 08 77 72 08 72 08 72 08 72 69 08 69 08 69 08 69 74 08 74 08 74 08 74 65 08 65 08 65 08 65 ┆ w wr r r ri i i it t t te e e e┆
0x0600…0620 62 08 62 08 62 08 62 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 72 08 72 08 ┆b b b bi i i in n n na a a ar r ┆
0x0620…0640 72 08 72 79 08 79 08 79 08 79 20 28 08 28 08 28 08 28 66 08 66 08 66 08 66 69 08 69 08 69 08 69 ┆r ry y y y ( ( ( (f f f fi i i i┆
0x0640…0660 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 ┆l l l le e e en n n na a a am m ┆
0x0660…0680 6d 08 6d 65 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c 20 66 08 66 08 66 08 66 6c 08 6c 08 6c 08 6c ┆m me e e e, , , , f f f fl l l l┆
0x0680…06a0 61 08 61 08 61 08 61 67 08 67 08 67 08 67 73 08 73 08 73 08 73 29 08 29 08 29 08 29 0a 20 20 20 ┆a a a ag g g gs s s s) ) ) ) ┆
0x06a0…06c0 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a ┆ c c c ch h h ha a a ar r r r *┆
0x06c0…06e0 08 2a 08 2a 08 2a 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08 65 ┆ * * *f f f fi i i il l l le e e┆
0x06e0…0700 08 65 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 3b 08 ┆ en n n na a a am m m me e e e; ┆
0x0700…0720 3b 08 3b 08 3b 0a 20 20 20 20 20 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e ┆; ; ; l l l lo o o on n n n┆
0x0720…0740 67 08 67 08 67 08 67 20 66 08 66 08 66 08 66 6c 08 6c 08 6c 08 6c 61 08 61 08 61 08 61 67 08 67 ┆g g g g f f f fl l l la a a ag g┆
0x0740…0760 08 67 08 67 73 08 73 08 73 08 73 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 76 08 76 08 76 08 76 ┆ g gs s s s; ; ; ; v v v v┆
0x0760…0780 6f 08 6f 08 6f 08 6f 69 08 69 08 69 08 69 64 08 64 08 64 08 64 20 73 08 73 08 73 08 73 74 08 74 ┆o o o oi i i id d d d s s s st t┆
0x0780…07a0 08 74 08 74 5f 08 5f 08 5f 08 5f 77 08 77 08 77 08 77 72 08 72 08 72 08 72 69 08 69 08 69 08 69 ┆ t t_ _ _ _w w w wr r r ri i i i┆
0x07a0…07c0 74 08 74 08 74 08 74 65 08 65 08 65 08 65 73 08 73 08 73 08 73 74 08 74 08 74 08 74 20 28 08 28 ┆t t t te e e es s s st t t t ( (┆
0x07c0…07e0 08 28 08 28 66 08 66 08 66 08 66 6e 08 6e 08 6e 08 6e 2c 08 2c 08 2c 08 2c 20 66 08 66 08 66 08 ┆ ( (f f f fn n n n, , , , f f f ┆
0x07e0…0800 66 6c 08 6c 08 6c 08 6c 61 08 61 08 61 08 61 67 08 67 08 67 08 67 73 08 73 08 73 08 73 29 08 29 ┆fl l l la a a ag g g gs s s s) )┆
0x0800…0820 08 29 08 29 0a 20 20 20 20 20 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 67 ┆ ) ) l l l lo o o on n n ng┆
0x0820…0840 08 67 08 67 08 67 20 66 08 66 08 66 08 66 6e 08 6e 08 6e 08 6e 3b 08 3b 08 3b 08 3b 0a 20 20 20 ┆ g g g f f f fn n n n; ; ; ; ┆
0x0840…0860 20 20 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 20 66 ┆ l l l lo o o on n n ng g g g f┆
0x0860…0880 08 66 08 66 08 66 6c 08 6c 08 6c 08 6c 61 08 61 08 61 08 61 67 08 67 08 67 08 67 73 08 73 08 73 ┆ f f fl l l la a a ag g g gs s s┆
0x0880…08a0 08 73 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 ┆ s; ; ; ; D D D DE E E ES S S S┆
0x08a0…08c0 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 ┆C C C CR R R RI I I IP P P PT T ┆
0x08c0…08e0 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 54 68 ┆T TI I I IO O O ON N N N Th┆
0x08e0…0900 65 20 43 48 44 52 52 20 73 74 72 75 63 74 75 72 65 20 28 73 65 65 20 5f 08 63 5f 08 6d 5f 08 70 ┆e CHDRR structure (see _ c_ m_ p┆
0x0900…0920 5f 08 6c 5f 08 72 5f 08 73 2f 5f 08 73 5f 08 74 5f 08 73 5f 08 75 5f 08 70 5f 08 70 5f 08 6f 5f ┆_ l_ r_ s/_ s_ t_ s_ u_ p_ p_ o_┆
0x0920…0940 08 72 5f 08 74 2e 5f 08 68 20 61 6e 64 20 74 68 65 20 5f 08 73 5f 08 74 5f 08 63 5f 08 75 0a 20 ┆ r_ t._ h and the _ s_ t_ c_ u ┆
0x0940…0960 20 20 20 20 6d 61 6e 75 61 6c 20 70 61 67 65 29 20 72 65 70 72 65 73 65 6e 74 73 20 61 20 73 79 ┆ manual page) represents a sy┆
0x0960…0980 6d 62 6f 6c 20 74 61 62 6c 65 20 69 6e 20 6d 65 6d 6f 72 79 2e 20 20 41 20 6e 65 77 0a 20 20 20 ┆mbol table in memory. A new ┆
0x0980…09a0 20 20 43 48 44 52 52 20 63 61 6e 20 62 65 20 63 72 65 61 74 65 64 20 62 79 20 72 65 61 64 69 6e ┆ CHDRR can be created by readin┆
0x09a0…09c0 67 20 61 20 73 79 6d 62 6f 6c 20 74 61 62 6c 65 20 69 6e 20 66 72 6f 6d 20 64 69 73 6b 2e 0a 20 ┆g a symbol table in from disk. ┆
0x09c0…09e0 20 20 20 20 5f 08 53 5f 08 74 5f 5f 08 72 5f 08 65 5f 08 61 5f 08 64 5f 08 62 5f 08 69 5f 08 6e ┆ _ S_ t__ r_ e_ a_ d_ b_ i_ n┆
0x09e0…0a00 5f 08 61 5f 08 72 5f 08 79 20 61 6e 64 20 5f 08 73 5f 08 74 5f 5f 08 72 5f 08 65 5f 08 61 5f 08 ┆_ a_ r_ y and _ s_ t__ r_ e_ a_ ┆
0x0a00…0a20 64 5f 08 73 5f 08 74 20 72 65 61 64 20 61 20 73 79 6d 62 6f 6c 20 74 61 62 6c 65 20 69 6e 20 66 ┆d_ s_ t read a symbol table in f┆
0x0a20…0a40 72 6f 6d 0a 20 20 20 20 20 64 69 73 6b 2e 0a 0a 20 20 20 20 20 5f 08 53 5f 08 74 5f 5f 08 72 5f ┆rom disk. _ S_ t__ r_┆
0x0a40…0a60 08 65 5f 08 61 5f 08 64 5f 08 62 5f 08 69 5f 08 6e 5f 08 61 5f 08 72 5f 08 79 20 74 61 6b 65 73 ┆ e_ a_ d_ b_ i_ n_ a_ r_ y takes┆
0x0a60…0a80 20 74 68 65 20 66 69 6c 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 73 79 6d 62 6f 6c 20 74 61 62 ┆ the file name of the symbol tab┆
0x0a80…0aa0 6c 65 20 61 6e 64 0a 20 20 20 20 20 61 73 73 75 6d 65 73 20 74 68 65 20 73 79 6d 62 6f 6c 20 74 ┆le and assumes the symbol t┆
0x0aa0…0ac0 61 62 6c 65 20 68 65 61 64 65 72 20 28 5f 08 48 5f 08 44 5f 08 52 5f 08 52 20 69 6e 20 5f 08 73 ┆able header (_ H_ D_ R_ R in _ s┆
0x0ac0…0ae0 5f 08 79 5f 08 6d 2e 5f 08 68 29 20 6f 63 63 75 72 73 20 61 74 0a 20 20 20 20 20 74 68 65 20 62 ┆_ y_ m._ h) occurs at the b┆
0x0ae0…0b00 65 67 69 6e 6e 69 6e 67 20 6f 66 20 74 68 65 20 66 69 6c 65 2e 20 5f 08 53 5f 08 74 5f 5f 08 72 ┆eginning of the file. _ S_ t__ r┆
0x0b00…0b20 5f 08 65 5f 08 61 5f 08 64 5f 08 73 5f 08 74 20 61 73 73 75 6d 65 73 20 74 68 61 74 20 69 74 73 ┆_ e_ a_ d_ s_ t assumes that its┆
0x0b20…0b40 20 66 69 6c 65 0a 20 20 20 20 20 6e 75 6d 62 65 72 20 72 65 66 65 72 65 6e 63 65 73 20 61 20 66 ┆ file number references a f┆
0x0b40…0b60 69 6c 65 20 70 6f 73 69 74 69 6f 6e 65 64 20 61 74 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 ┆ile positioned at the beginning ┆
0x0b60…0b80 6f 66 20 74 68 65 0a 20 20 20 20 20 73 79 6d 62 6f 6c 20 74 61 62 6c 65 20 68 65 61 64 65 72 20 ┆of the symbol table header ┆
0x0b80…0ba0 61 6e 64 20 74 68 61 74 20 74 68 65 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 5f 08 62 5f 08 61 5f ┆and that the _ f_ i_ l_ e_ b_ a_┆
0x0ba0…0bc0 08 73 5f 08 65 20 70 61 72 61 6d 65 74 65 72 20 73 70 65 63 69 2d 0a 20 20 20 20 20 66 69 65 73 ┆ s_ e parameter speci- fies┆
0x0bc0…0be0 20 77 68 65 72 65 20 74 68 65 20 6f 62 6a 65 63 74 20 6f 72 20 73 79 6d 62 6f 6c 20 74 61 62 6c ┆ where the object or symbol tabl┆
0x0be0…0c00 65 20 66 69 6c 65 20 69 73 20 62 61 73 65 64 20 28 66 6f 72 0a 20 20 20 20 20 65 78 61 6d 70 6c ┆e file is based (for exampl┆
0x0c00…0c20 65 2c 20 6e 6f 6e 2d 7a 65 72 6f 20 66 6f 72 20 61 72 63 68 69 76 65 73 29 2e 0a 0a 20 20 20 20 ┆e, non-zero for archives). ┆
0x0c20…0c40 20 54 68 65 20 73 65 63 6f 6e 64 20 70 61 72 61 6d 65 74 65 72 20 74 6f 20 74 68 65 20 72 65 61 ┆ The second parameter to the rea┆
0x0c40…0c60 64 20 72 6f 75 74 69 6e 65 73 20 63 61 6e 20 62 65 20 60 72 27 20 66 6f 72 0a 20 20 20 20 20 72 ┆d routines can be `r' for r┆
0x0c60…0c80 65 61 64 20 6f 6e 6c 79 20 6f 72 20 60 61 27 20 66 6f 72 20 61 70 70 65 6e 64 69 6e 67 20 74 6f ┆ead only or `a' for appending to┆
0x0c80…0ca0 20 74 68 65 20 73 79 6d 62 6f 6c 20 74 61 62 6c 65 2e 20 45 78 69 73 74 69 6e 67 0a 20 20 20 20 ┆ the symbol table. Existing ┆
0x0ca0…0cc0 20 6c 6f 63 61 6c 20 73 79 6d 62 6f 6c 2c 20 6c 69 6e 65 2c 20 70 72 6f 63 65 64 75 72 65 2c 20 ┆ local symbol, line, procedure, ┆
0x0cc0…0ce0 61 75 78 69 6c 69 61 72 79 2c 20 6f 70 74 69 6d 69 7a 61 74 69 6f 6e 2c 20 61 6e 64 0a 20 20 20 ┆auxiliary, optimization, and ┆
0x0ce0…0d00 20 20 6c 6f 63 61 6c 20 73 74 72 69 6e 67 20 74 61 62 6c 65 73 20 63 61 6e 20 6e 6f 74 20 62 65 ┆ local string tables can not be┆
0x0d00…0d20 20 61 70 70 65 6e 64 65 64 2e 20 49 66 20 74 68 65 79 20 64 69 64 6e 27 74 0a 20 20 20 20 20 65 ┆ appended. If they didn't e┆
0x0d20…0d40 78 69 73 74 20 6f 6e 20 64 69 73 6b 2c 20 74 68 65 79 20 63 61 6e 20 62 65 20 63 72 65 61 74 65 ┆xist on disk, they can be create┆
0x0d40…0d60 64 2e 20 54 68 69 73 20 72 65 73 74 72 69 63 74 69 6f 6e 20 73 74 65 6d 73 0a 20 20 20 20 20 66 ┆d. This restriction stems f┆
0x0d60…0d80 72 6f 6d 20 74 68 65 20 61 6c 6c 6f 63 61 74 69 6f 6e 20 61 6c 67 6f 72 69 74 68 6d 20 66 6f 72 ┆rom the allocation algorithm for┆
0x0d80…0da0 20 74 68 6f 73 65 20 73 79 6d 62 6f 6c 20 74 61 62 6c 65 20 73 65 63 2d 0a 20 20 20 20 20 74 69 ┆ those symbol table sec- ti┆
0x0da0…0dc0 6f 6e 73 20 77 68 65 6e 20 72 65 61 64 20 69 6e 20 66 72 6f 6d 20 64 69 73 6b 20 61 6e 64 20 66 ┆ons when read in from disk and f┆
0x0dc0…0de0 6f 6c 6c 6f 77 73 20 74 68 65 20 73 74 61 6e 64 61 72 64 20 70 61 74 2d 0a 20 20 20 20 20 74 65 ┆ollows the standard pat- te┆
0x0de0…0e00 72 6e 20 66 6f 72 20 62 75 69 6c 64 69 6e 67 20 74 68 65 20 73 79 6d 62 6f 6c 20 74 61 62 6c 65 ┆rn for building the symbol table┆
0x0e00…0e20 2e 0a 0a 20 20 20 20 20 54 68 65 20 73 79 6d 62 6f 6c 20 74 61 62 6c 65 20 63 61 6e 20 62 65 20 ┆. The symbol table can be ┆
0x0e20…0e40 72 65 61 64 20 69 6e 63 72 65 6d 65 6e 74 61 6c 6c 79 2e 20 20 49 66 20 5f 08 70 5f 08 63 5f 08 ┆read incrementally. If _ p_ c_ ┆
0x0e40…0e60 68 5f 08 64 5f 08 72 20 69 73 0a 20 20 20 20 20 7a 65 72 6f 2c 20 5f 08 73 5f 08 74 5f 5f 08 72 ┆h_ d_ r is zero, _ s_ t__ r┆
0x0e60…0e80 5f 08 65 5f 08 61 5f 08 64 5f 08 73 5f 08 74 20 61 73 73 75 6d 65 73 20 74 68 61 74 20 6e 6f 20 ┆_ e_ a_ d_ s_ t assumes that no ┆
0x0e80…0ea0 73 79 6d 62 6f 6c 20 74 61 62 6c 65 20 68 61 73 20 62 65 65 6e 20 72 65 61 64 0a 20 20 20 20 20 ┆symbol table has been read ┆
0x0ea0…0ec0 79 65 74 3b 20 74 68 65 72 65 66 6f 72 65 2c 20 69 74 20 72 65 61 64 73 20 69 6e 20 74 68 65 20 ┆yet; therefore, it reads in the ┆
0x0ec0…0ee0 73 79 6d 62 6f 6c 20 74 61 62 6c 65 20 68 65 61 64 65 72 20 61 6e 64 20 66 69 6c 65 0a 20 20 20 ┆symbol table header and file ┆
0x0ee0…0f00 20 20 64 65 73 63 72 69 70 74 6f 72 73 2e 20 20 54 68 65 20 5f 08 66 5f 08 6c 5f 08 61 5f 08 67 ┆ descriptors. The _ f_ l_ a_ g┆
0x0f00…0f20 5f 08 73 20 61 72 67 75 6d 65 6e 74 20 69 73 20 61 20 62 69 74 20 6d 61 73 6b 20 74 68 61 74 20 ┆_ s argument is a bit mask that ┆
0x0f20…0f40 64 65 66 69 6e 65 73 0a 20 20 20 20 20 77 68 61 74 20 6f 74 68 65 72 20 74 61 62 6c 65 73 20 73 ┆defines what other tables s┆
0x0f40…0f60 68 6f 75 6c 64 20 62 65 20 72 65 61 64 2e 20 5f 08 53 5f 08 74 5f 5f 08 70 2a 20 63 6f 6e 73 74 ┆hould be read. _ S_ t__ p* const┆
0x0f60…0f80 61 6e 74 73 20 66 6f 72 20 65 61 63 68 0a 20 20 20 20 20 74 61 62 6c 65 2c 20 64 65 66 69 6e 65 ┆ants for each table, define┆
0x0f80…0fa0 64 20 69 6e 20 5f 08 73 5f 08 74 5f 08 73 5f 08 75 5f 08 70 5f 08 70 5f 08 6f 5f 08 72 5f 08 74 ┆d in _ s_ t_ s_ u_ p_ p_ o_ r_ t┆
0x0fa0…0fc0 2e 5f 08 68 2c 20 63 61 6e 20 62 65 20 4f 52 65 64 2e 20 20 49 66 20 5f 08 66 5f 08 6c 5f 08 61 ┆._ h, can be ORed. If _ f_ l_ a┆
0x0fc0…0fe0 5f 08 67 5f 08 73 20 65 71 75 61 6c 73 0a 20 20 20 20 20 60 2d 31 27 2c 20 61 6c 6c 20 74 61 62 ┆_ g_ s equals `-1', all tab┆
0x0fe0…1000 6c 65 73 20 61 72 65 20 72 65 61 64 2e 20 20 49 66 20 5f 08 70 5f 08 63 5f 08 68 5f 08 64 5f 08 ┆les are read. If _ p_ c_ h_ d_ ┆
0x1000…1020 72 20 69 73 20 73 65 74 2c 20 74 68 65 20 74 61 62 6c 65 73 0a 20 20 20 20 20 73 70 65 63 69 66 ┆r is set, the tables specif┆
0x1020…1040 69 65 64 20 62 79 20 5f 08 66 5f 08 6c 5f 08 61 5f 08 67 5f 08 73 20 61 72 65 20 61 64 64 65 64 ┆ied by _ f_ l_ a_ g_ s are added┆
0x1040…1060 20 74 6f 20 74 68 65 20 74 61 62 6c 65 73 20 74 68 61 74 20 68 61 76 65 20 61 6c 72 65 61 64 79 ┆ to the tables that have already┆
0x1060…1080 0a 20 20 20 20 20 62 65 65 6e 20 72 65 61 64 2e 20 20 5f 08 50 5f 08 63 5f 08 68 5f 08 64 5f 08 ┆ been read. _ P_ c_ h_ d_ ┆
0x1080…10a0 72 27 73 20 76 61 6c 75 65 20 63 61 6e 20 62 65 20 67 6f 74 74 65 6e 20 66 72 6f 6d 0a 0a 0a 0a ┆r's value can be gotten from ┆
0x10a0…10c0 0a 0a 0a 20 20 20 20 20 5f 08 73 5f 08 74 5f 5f 08 63 5f 08 75 5f 08 72 5f 08 72 5f 08 65 5f 08 ┆ _ s_ t__ c_ u_ r_ r_ e_ ┆
0x10c0…10e0 6e 5f 08 74 5f 5f 08 70 5f 08 63 5f 08 68 5f 08 64 5f 08 72 2e 20 20 53 65 65 20 5f 08 73 5f 08 ┆n_ t__ p_ c_ h_ d_ r. See _ s_ ┆
0x10e0…1100 74 5f 08 63 5f 08 75 28 5f 08 33 29 2e 0a 0a 20 20 20 20 20 4c 69 6e 65 20 6e 75 6d 62 65 72 20 ┆t_ c_ u(_ 3). Line number ┆
0x1100…1120 65 6e 74 72 69 65 73 20 61 72 65 20 65 6e 63 6f 64 65 64 20 6f 6e 20 64 69 73 6b 2c 20 74 68 65 ┆entries are encoded on disk, the┆
0x1120…1140 20 72 65 61 64 20 72 6f 75 74 69 6e 65 73 0a 20 20 20 20 20 65 78 70 61 6e 64 20 74 68 65 6d 20 ┆ read routines expand them ┆
0x1140…1160 74 6f 20 6c 6f 6e 67 73 2e 20 20 53 65 65 20 54 08 54 08 54 08 54 58 08 58 08 58 08 58 20 50 08 ┆to longs. See T T T TX X X X P ┆
0x1160…1180 50 08 50 08 50 72 08 72 08 72 08 72 6f 08 6f 08 6f 08 6f 67 08 67 08 67 08 67 72 08 72 08 72 08 ┆P P Pr r r ro o o og g g gr r r ┆
0x1180…11a0 72 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 72 08 72 ┆ra a a am m m mm m m me e e er r┆
0x11a0…11c0 08 72 08 72 27 08 27 08 27 08 27 73 08 73 08 73 08 73 20 47 08 47 08 47 08 47 75 08 75 08 75 08 ┆ r r' ' ' 's s s s G G G Gu u u ┆
0x11c0…11e0 75 69 08 69 08 69 08 69 64 08 64 08 64 08 64 65 08 65 08 65 08 65 2e 0a 0a 20 20 20 20 20 49 66 ┆ui i i id d d de e e e. If┆
0x11e0…1200 20 74 68 65 20 76 65 72 73 69 6f 6e 20 73 74 61 6d 70 20 69 73 20 6f 75 74 20 6f 66 20 64 61 74 ┆ the version stamp is out of dat┆
0x1200…1220 65 2c 20 61 20 77 61 72 6e 69 6e 67 20 6d 65 73 73 61 67 65 20 69 73 0a 20 20 20 20 20 69 73 73 ┆e, a warning message is iss┆
0x1220…1240 75 65 64 20 74 6f 20 73 74 64 65 72 72 2e 20 20 49 66 20 74 68 65 20 6d 61 67 69 63 20 6e 75 6d ┆ued to stderr. If the magic num┆
0x1240…1260 62 65 72 20 69 6e 20 74 68 65 20 48 44 52 52 20 69 73 0a 20 20 20 20 20 69 6e 63 6f 72 72 65 63 ┆ber in the HDRR is incorrec┆
0x1260…1280 74 2c 20 5f 08 73 5f 08 74 5f 5f 08 65 5f 08 72 5f 08 72 5f 08 6f 5f 08 72 20 69 73 20 63 61 6c ┆t, _ s_ t__ e_ r_ r_ o_ r is cal┆
0x1280…12a0 6c 65 64 2e 20 20 41 6c 6c 20 6f 74 68 65 72 20 65 72 72 6f 72 73 20 63 61 75 73 65 20 74 68 65 ┆led. All other errors cause the┆
0x12a0…12c0 0a 20 20 20 20 20 72 65 61 64 20 72 6f 75 74 69 6e 65 73 20 74 6f 20 72 65 61 64 20 6e 6f 6e 2d ┆ read routines to read non-┆
0x12c0…12e0 7a 65 72 6f 3b 20 6f 74 68 65 72 77 69 73 65 2c 20 61 20 7a 65 72 6f 20 69 73 0a 20 20 20 20 20 ┆zero; otherwise, a zero is ┆
0x12e0…1300 72 65 74 75 72 6e 65 64 2e 0a 0a 20 20 20 20 20 5f 08 53 5f 08 74 5f 5f 08 77 5f 08 72 5f 08 69 ┆returned. _ S_ t__ w_ r_ i┆
0x1300…1320 5f 08 74 5f 08 65 5f 08 62 5f 08 69 5f 08 6e 5f 08 61 5f 08 72 5f 08 79 20 61 6e 64 20 5f 08 73 ┆_ t_ e_ b_ i_ n_ a_ r_ y and _ s┆
0x1320…1340 5f 08 74 5f 5f 08 77 5f 08 72 5f 08 69 5f 08 74 5f 08 65 5f 08 73 5f 08 74 20 61 72 65 20 73 79 ┆_ t__ w_ r_ i_ t_ e_ s_ t are sy┆
0x1340…1360 6d 6d 65 74 72 69 63 20 74 6f 20 74 68 65 20 72 65 61 64 20 72 6f 75 2d 0a 20 20 20 20 20 74 69 ┆mmetric to the read rou- ti┆
0x1360…1380 6e 65 73 2c 20 65 78 63 6c 75 64 69 6e 67 20 74 68 65 20 5f 08 68 5f 08 6f 5f 08 77 20 61 6e 64 ┆nes, excluding the _ h_ o_ w and┆
0x1380…13a0 20 5f 08 70 5f 08 63 5f 08 68 5f 08 64 5f 08 72 20 70 61 72 61 6d 65 74 65 72 73 2e 20 54 68 65 ┆ _ p_ c_ h_ d_ r parameters. The┆
0x13a0…13c0 20 5f 08 66 5f 08 6c 5f 08 61 5f 08 67 5f 08 73 0a 20 20 20 20 20 70 61 72 61 6d 65 74 65 72 20 ┆ _ f_ l_ a_ g_ s parameter ┆
0x13c0…13e0 69 73 20 61 20 62 69 74 20 6d 61 73 6b 20 74 68 61 74 20 64 65 66 69 6e 65 73 20 77 68 61 74 20 ┆is a bit mask that defines what ┆
0x13e0…1400 74 61 62 6c 65 20 73 68 6f 75 6c 64 20 62 65 0a 20 20 20 20 20 77 72 69 74 74 65 6e 2e 20 5f 08 ┆table should be written. _ ┆
0x1400…1420 53 5f 08 74 5f 5f 08 70 2a 20 5f 08 63 5f 08 6f 5f 08 6e 5f 08 73 5f 08 74 5f 08 61 5f 08 6e 5f ┆S_ t__ p* _ c_ o_ n_ s_ t_ a_ n_┆
0x1420…1440 08 74 5f 08 73 20 5f 08 66 5f 08 6f 5f 08 72 20 5f 08 65 5f 08 61 5f 08 63 5f 08 68 20 5f 08 74 ┆ t_ s _ f_ o_ r _ e_ a_ c_ h _ t┆
0x1440…1460 5f 08 61 5f 08 62 5f 08 6c 5f 08 65 2c 20 5f 08 64 5f 08 65 5f 08 66 5f 08 69 5f 08 6e 5f 08 65 ┆_ a_ b_ l_ e, _ d_ e_ f_ i_ n_ e┆
0x1460…1480 5f 08 64 20 5f 08 69 5f 08 6e 0a 20 20 20 20 20 5f 08 73 5f 08 74 5f 08 73 5f 08 75 5f 08 70 5f ┆_ d _ i_ n _ s_ t_ s_ u_ p_┆
0x1480…14a0 08 70 5f 08 6f 5f 08 72 5f 08 74 2e 5f 08 68 2c 20 63 61 6e 20 62 65 20 4f 52 65 64 2e 20 49 66 ┆ p_ o_ r_ t._ h, can be ORed. If┆
0x14a0…14c0 20 5f 08 66 5f 08 6c 5f 08 61 5f 08 67 5f 08 73 20 65 71 75 61 6c 73 20 60 2d 31 27 2c 20 61 6c ┆ _ f_ l_ a_ g_ s equals `-1', al┆
0x14c0…14e0 6c 20 74 61 62 6c 65 73 0a 20 20 20 20 20 61 72 65 20 77 72 69 74 74 65 6e 2e 0a 0a 20 20 20 20 ┆l tables are written. ┆
0x14e0…1500 20 54 68 65 20 77 72 69 74 65 20 72 6f 75 74 69 6e 65 73 20 77 72 69 74 65 20 73 65 63 74 69 6f ┆ The write routines write sectio┆
0x1500…1520 6e 73 20 6f 66 20 74 68 65 20 74 61 62 6c 65 20 69 6e 20 74 68 65 0a 20 20 20 20 20 61 70 70 72 ┆ns of the table in the appr┆
0x1520…1540 6f 76 65 64 20 6f 72 64 65 72 2c 20 61 73 20 73 70 65 63 69 66 69 65 64 20 69 6e 20 74 68 65 20 ┆oved order, as specified in the ┆
0x1540…1560 6c 69 6e 6b 20 65 64 69 74 6f 72 20 28 5f 08 6c 5f 08 64 29 20 73 70 65 63 69 66 2d 0a 20 20 20 ┆link editor (_ l_ d) specif- ┆
0x1560…1580 20 20 69 63 61 74 69 6f 6e 2e 0a 0a 20 20 20 20 20 4c 69 6e 65 20 6e 75 6d 62 65 72 73 20 61 72 ┆ ication. Line numbers ar┆
0x1580…15a0 65 20 63 6f 6d 70 72 65 73 73 65 64 20 6f 6e 20 64 69 73 6b 2e 20 20 53 65 65 20 54 08 54 08 54 ┆e compressed on disk. See T T T┆
0x15a0…15c0 08 54 58 08 58 08 58 08 58 20 50 08 50 08 50 08 50 72 08 72 08 72 08 72 6f 08 6f 08 6f 08 6f 67 ┆ TX X X X P P P Pr r r ro o o og┆
0x15c0…15e0 08 67 08 67 08 67 72 08 72 08 72 08 72 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 6d 08 6d 08 6d ┆ g g gr r r ra a a am m m mm m m┆
0x15e0…1600 08 6d 65 08 65 08 65 08 65 72 08 72 08 72 08 72 27 08 27 08 27 08 27 73 08 73 08 73 08 73 0a 20 ┆ me e e er r r r' ' ' 's s s s ┆
0x1600…1620 20 20 20 20 47 08 47 08 47 08 47 75 08 75 08 75 08 75 69 08 69 08 69 08 69 64 08 64 08 64 08 64 ┆ G G G Gu u u ui i i id d d d┆
0x1620…1640 65 08 65 08 65 08 65 2e 0a 0a 20 20 20 20 20 54 68 65 20 77 72 69 74 65 20 72 6f 75 74 69 6e 65 ┆e e e e. The write routine┆
0x1640…1660 73 20 73 74 61 72 74 20 61 6c 6c 20 73 65 63 74 69 6f 6e 73 20 6f 66 20 74 68 65 20 73 79 6d 62 ┆s start all sections of the symb┆
0x1660…1680 6f 6c 20 74 61 62 6c 65 20 6f 6e 0a 20 20 20 20 20 66 6f 75 72 2d 62 79 74 65 20 62 6f 75 6e 64 ┆ol table on four-byte bound┆
0x1680…16a0 61 72 69 65 73 2e 0a 0a 20 20 20 20 20 49 66 20 74 68 65 20 77 72 69 74 65 20 72 6f 75 74 69 6e ┆aries. If the write routin┆
0x16a0…16c0 65 73 20 65 6e 63 6f 75 6e 74 65 72 20 61 6e 20 65 72 72 6f 72 2c 20 5f 08 73 5f 08 74 5f 5f 08 ┆es encounter an error, _ s_ t__ ┆
0x16c0…16e0 65 5f 08 72 5f 08 72 5f 08 6f 5f 08 72 20 69 73 0a 20 20 20 20 20 63 61 6c 6c 65 64 2e 20 41 66 ┆e_ r_ r_ o_ r is called. Af┆
0x16e0…1700 74 65 72 20 77 72 69 74 69 6e 67 20 74 68 65 20 73 79 6d 62 6f 6c 20 74 61 62 6c 65 2c 20 66 75 ┆ter writing the symbol table, fu┆
0x1700…1720 72 74 68 65 72 20 61 63 63 65 73 73 20 74 6f 0a 20 20 20 20 20 74 68 65 20 74 61 62 6c 65 20 62 ┆rther access to the table b┆
0x1720…1740 79 20 6f 74 68 65 72 20 72 6f 75 74 69 6e 65 73 20 69 73 20 75 6e 64 65 66 69 6e 65 64 2e 0a 0a ┆y other routines is undefined. ┆
0x1740…1760 41 08 41 08 41 08 41 55 08 55 08 55 08 55 54 08 54 08 54 08 54 48 08 48 08 48 08 48 4f 08 4f 08 ┆A A A AU U U UT T T TH H H HO O ┆
0x1760…1780 4f 08 4f 52 08 52 08 52 08 52 0a 20 20 20 20 20 4d 61 72 6b 20 49 2e 20 48 69 6d 65 6c 73 74 65 ┆O OR R R R Mark I. Himelste┆
0x1780…17a0 69 6e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 ┆in S S S SE E E EE E E E A A A ┆
0x17a0…17c0 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 4c 69 62 72 ┆AL L L LS S S SO O O O Libr┆
0x17c0…17e0 61 72 79 20 46 75 6e 63 74 69 6f 6e 73 20 28 33 29 3a 20 73 74 63 75 2c 20 73 74 66 65 2c 20 73 ┆ary Functions (3): stcu, stfe, s┆
0x17e0…1800 74 66 64 0a 20 20 20 20 20 46 69 6c 65 20 46 6f 72 6d 61 74 73 20 28 35 29 3a 20 73 79 6d 73 0a ┆tfd File Formats (5): syms ┆
0x1800…1820 20 20 20 20 20 54 08 54 08 54 08 54 58 08 58 08 58 08 58 20 50 08 50 08 50 08 50 72 08 72 08 72 ┆ T T T TX X X X P P P Pr r r┆
0x1820…1840 08 72 6f 08 6f 08 6f 08 6f 67 08 67 08 67 08 67 72 08 72 08 72 08 72 61 08 61 08 61 08 61 6d 08 ┆ ro o o og g g gr r r ra a a am ┆
0x1840…1860 6d 08 6d 08 6d 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 72 08 72 08 72 08 72 27 08 27 08 27 08 ┆m m mm m m me e e er r r r' ' ' ┆
0x1860…1880 27 73 08 73 08 73 08 73 20 47 08 47 08 47 08 47 75 08 75 08 75 08 75 69 08 69 08 69 08 69 64 08 ┆'s s s s G G G Gu u u ui i i id ┆
0x1880…18a0 64 08 64 08 64 65 08 65 08 65 08 65 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 20 20 20 20 20 ┆d d de e e e March 1989 ┆
0x18a0…18c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 50 72 6f 67 72 61 6d ┆ TX Program┆
0x18c0…18e0 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆mer's Reference ┆
0x18e0…18e3 0a 0a 0a ┆ ┆