|
|
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: 5416 (0x1528)
Names: »scnhdr.5«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat5/scnhdr.5«
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 63 6e 68 64 72 20 2d 20 73 65 63 74 69 6f 6e 20 68 65 61 64 65 ┆ E E scnhdr - section heade┆
0x0080…00a0 72 20 66 6f 72 20 61 20 4d 49 50 53 20 6f 62 6a 65 63 74 20 66 69 6c 65 0a 0a 53 08 53 08 53 08 ┆r for a MIPS object file S S S ┆
0x00a0…00c0 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 ┆SY Y Y YN N N NT T T TA A A AX X┆
0x00c0…00e0 08 58 08 58 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 ┆ X X # # # #i i i in n n nc┆
0x00e0…0100 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 ┆ c c cl l l lu u u ud d d de e e┆
0x0100…0120 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 63 08 63 08 63 08 63 6e 08 6e 08 6e 08 6e 68 ┆ e < < < <s s s sc c c cn n n nh┆
0x0120…0140 08 68 08 68 08 68 64 08 64 08 64 08 64 72 08 72 08 72 08 72 2e 08 2e 08 2e 08 2e 68 08 68 08 68 ┆ h h hd d d dr r r r. . . .h h h┆
0x0140…0160 08 68 3e 08 3e 08 3e 08 3e 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 ┆ h> > > > D D D DE E E ES S S S┆
0x0160…0180 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 ┆
0x0180…01a0 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 45 76 ┆T TI I I IO O O ON N N N Ev┆
0x01a0…01c0 65 72 79 20 6f 62 6a 65 63 74 20 66 69 6c 65 20 68 61 73 20 61 20 74 61 62 6c 65 20 6f 66 20 73 ┆ery object file has a table of s┆
0x01c0…01e0 65 63 74 69 6f 6e 20 68 65 61 64 65 72 73 20 74 6f 20 73 70 65 63 69 66 79 0a 20 20 20 20 20 74 ┆ection headers to specify t┆
0x01e0…0200 68 65 20 6c 61 79 6f 75 74 20 6f 66 20 74 68 65 20 64 61 74 61 20 77 69 74 68 69 6e 20 74 68 65 ┆he layout of the data within the┆
0x0200…0220 20 66 69 6c 65 2e 20 20 45 61 63 68 20 73 65 63 74 69 6f 6e 20 77 69 74 68 69 6e 0a 20 20 20 20 ┆ file. Each section within ┆
0x0220…0240 20 61 6e 20 6f 62 6a 65 63 74 20 66 69 6c 65 20 68 61 73 20 69 74 73 20 6f 77 6e 20 68 65 61 64 ┆ an object file has its own head┆
0x0240…0260 65 72 2e 20 20 54 68 65 20 43 20 73 74 72 75 63 74 75 72 65 20 61 70 70 65 61 72 73 0a 20 20 20 ┆er. The C structure appears ┆
0x0260…0280 20 20 62 65 6c 6f 77 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 73 74 72 75 63 74 20 73 63 6e 68 64 ┆ below: struct scnhd┆
0x0280…02a0 72 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 61 72 20 20 20 20 20 20 ┆r { char ┆
0x02a0…02c0 20 20 20 20 20 20 73 5f 6e 61 6d 65 5b 38 5d 3b 20 20 2f 2a 20 73 65 63 74 69 6f 6e 20 6e 61 6d ┆ s_name[8]; /* section nam┆
0x02c0…02e0 65 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 6e 67 20 20 20 20 20 ┆e */ long ┆
0x02e0…0300 20 20 20 20 20 20 20 73 5f 70 61 64 64 72 3b 20 20 20 20 2f 2a 20 70 68 79 73 69 63 61 6c 20 61 ┆ s_paddr; /* physical a┆
0x0300…0320 64 64 72 65 73 73 2c 20 61 6c 69 61 73 65 64 20 73 5f 6e 6c 69 62 20 2a 2f 0a 20 20 20 20 20 20 ┆ddress, aliased s_nlib */ ┆
0x0320…0340 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 6e 67 20 20 20 20 20 20 20 20 20 20 20 20 73 5f 76 61 ┆ long s_va┆
0x0340…0360 64 64 72 3b 20 20 20 20 2f 2a 20 76 69 72 74 75 61 6c 20 61 64 64 72 65 73 73 20 2a 2f 0a 20 20 ┆ddr; /* virtual address */ ┆
0x0360…0380 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 6e 67 20 20 20 20 20 20 20 20 20 20 20 20 ┆ long ┆
0x0380…03a0 73 5f 73 69 7a 65 3b 20 20 20 20 20 2f 2a 20 73 65 63 74 69 6f 6e 20 73 69 7a 65 20 2a 2f 0a 20 ┆s_size; /* section size */ ┆
0x03a0…03c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 6e 67 20 20 20 20 20 20 20 20 20 20 20 ┆ long ┆
0x03c0…03e0 20 73 5f 73 63 6e 70 74 72 3b 20 20 20 2f 2a 20 66 69 6c 65 20 70 74 72 20 74 6f 20 72 61 77 20 ┆ s_scnptr; /* file ptr to raw ┆
0x03e0…0400 64 61 74 61 20 66 6f 72 20 73 65 63 74 69 6f 6e 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆data for section */ ┆
0x0400…0420 20 20 20 20 20 20 6c 6f 6e 67 20 20 20 20 20 20 20 20 20 20 20 20 73 5f 72 65 6c 70 74 72 3b 20 ┆ long s_relptr; ┆
0x0420…0440 20 20 2f 2a 20 66 69 6c 65 20 70 74 72 20 74 6f 20 72 65 6c 6f 63 61 74 69 6f 6e 20 2a 2f 0a 20 ┆ /* file ptr to relocation */ ┆
0x0440…0460 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 6e 67 20 20 20 20 20 20 20 20 20 20 20 ┆ long ┆
0x0460…0480 20 73 5f 6c 6e 6e 6f 70 74 72 3b 20 20 2f 2a 20 66 69 6c 65 20 70 74 72 20 74 6f 20 67 70 20 74 ┆ s_lnnoptr; /* file ptr to gp t┆
0x0480…04a0 61 62 6c 65 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 6e 73 69 67 6e ┆able */ unsign┆
0x04a0…04c0 65 64 20 73 68 6f 72 74 20 20 73 5f 6e 72 65 6c 6f 63 3b 20 20 20 2f 2a 20 6e 75 6d 62 65 72 20 ┆ed short s_nreloc; /* number ┆
0x04c0…04e0 6f 66 20 72 65 6c 6f 63 61 74 69 6f 6e 20 65 6e 74 72 69 65 73 20 2a 2f 0a 20 20 20 20 20 20 20 ┆of relocation entries */ ┆
0x04e0…0500 20 20 20 20 20 20 20 20 20 20 20 75 6e 73 69 67 6e 65 64 20 73 68 6f 72 74 20 20 73 5f 6e 6c 6e ┆ unsigned short s_nln┆
0x0500…0520 6e 6f 3b 20 20 20 20 2f 2a 20 6e 75 6d 62 65 72 20 6f 66 20 67 70 20 74 61 62 6c 65 20 65 6e 74 ┆no; /* number of gp table ent┆
0x0520…0540 72 69 65 73 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 6e 67 20 20 ┆ries */ long ┆
0x0540…0560 20 20 20 20 20 20 20 20 20 20 73 5f 66 6c 61 67 73 3b 20 20 20 20 2f 2a 20 66 6c 61 67 73 20 2a ┆ s_flags; /* flags *┆
0x0560…0580 2f 0a 20 20 20 20 20 20 20 20 20 20 7d 3b 0a 0a 20 20 20 20 20 46 69 6c 65 20 70 6f 69 6e 74 65 ┆/ }; File pointe┆
0x0580…05a0 72 73 20 61 72 65 20 62 79 74 65 20 6f 66 66 73 65 74 73 20 69 6e 74 6f 20 74 68 65 20 66 69 6c ┆rs are byte offsets into the fil┆
0x05a0…05c0 65 3b 20 74 68 65 79 20 63 61 6e 20 62 65 0a 20 20 20 20 20 75 73 65 64 20 61 73 20 74 68 65 20 ┆e; they can be used as the ┆
0x05c0…05e0 6f 66 66 73 65 74 20 69 6e 20 61 20 63 61 6c 6c 20 74 6f 20 46 53 45 45 4b 20 5b 73 65 65 20 5f ┆offset in a call to FSEEK [see _┆
0x05e0…0600 08 6c 5f 08 64 5f 08 66 5f 08 63 5f 08 6e 28 35 29 5d 2e 20 20 49 66 20 61 0a 20 20 20 20 20 73 ┆ l_ d_ f_ c_ n(5)]. If a s┆
0x0600…0620 65 63 74 69 6f 6e 20 69 73 20 69 6e 69 74 69 61 6c 69 7a 65 64 2c 20 74 68 65 20 66 69 6c 65 20 ┆ection is initialized, the file ┆
0x0620…0640 63 6f 6e 74 61 69 6e 73 20 74 68 65 20 61 63 74 75 61 6c 20 62 79 74 65 73 2e 0a 20 20 20 20 20 ┆contains the actual bytes. ┆
0x0640…0660 41 6e 20 75 6e 69 6e 69 74 69 61 6c 69 7a 65 64 20 73 65 63 74 69 6f 6e 20 69 73 20 73 6f 6d 65 ┆An uninitialized section is some┆
0x0660…0680 77 68 61 74 20 64 69 66 66 65 72 65 6e 74 2e 20 20 49 74 20 68 61 73 20 61 0a 20 20 20 20 20 73 ┆what different. It has a s┆
0x0680…06a0 69 7a 65 2c 20 73 79 6d 62 6f 6c 73 20 64 65 66 69 6e 65 64 20 69 6e 20 69 74 2c 20 61 6e 64 20 ┆ize, symbols defined in it, and ┆
0x06a0…06c0 73 79 6d 62 6f 6c 73 20 74 68 61 74 20 72 65 66 65 72 20 74 6f 20 69 74 2e 0a 20 20 20 20 20 42 ┆symbols that refer to it. B┆
0x06c0…06e0 75 74 20 69 74 20 63 61 6e 20 68 61 76 65 20 6e 6f 20 72 65 6c 6f 63 61 74 69 6f 6e 20 65 6e 74 ┆ut it can have no relocation ent┆
0x06e0…0700 72 69 65 73 20 6f 72 20 64 61 74 61 2e 20 20 43 6f 6e 73 65 2d 0a 20 20 20 20 20 71 75 65 6e 74 ┆ries or data. Conse- quent┆
0x0700…0720 6c 79 2c 20 61 6e 20 75 6e 69 6e 69 74 69 61 6c 69 7a 65 64 20 73 65 63 74 69 6f 6e 20 68 61 73 ┆ly, an uninitialized section has┆
0x0720…0740 20 6e 6f 20 72 61 77 20 64 61 74 61 20 69 6e 20 74 68 65 0a 20 20 20 20 20 6f 62 6a 65 63 74 20 ┆ no raw data in the object ┆
0x0740…0760 66 69 6c 65 2c 20 61 6e 64 20 74 68 65 20 76 61 6c 75 65 73 20 66 6f 72 20 5f 08 73 5f 5f 08 73 ┆file, and the values for _ s__ s┆
0x0760…0780 5f 08 63 5f 08 6e 5f 08 70 5f 08 74 5f 08 72 2c 20 5f 08 73 5f 5f 08 72 5f 08 65 5f 08 6c 5f 08 ┆_ c_ n_ p_ t_ r, _ s__ r_ e_ l_ ┆
0x0780…07a0 70 5f 08 74 5f 08 72 2c 20 61 6e 64 0a 20 20 20 20 20 5f 08 73 5f 5f 08 6e 5f 08 72 5f 08 65 5f ┆p_ t_ r, and _ s__ n_ r_ e_┆
0x07a0…07c0 08 6c 5f 08 6f 5f 08 63 20 61 72 65 20 7a 65 72 6f 2e 0a 0a 20 20 20 20 20 54 68 65 20 65 6e 74 ┆ l_ o_ c are zero. The ent┆
0x07c0…07e0 72 69 65 73 20 74 68 61 74 20 72 65 66 65 72 20 74 6f 20 6c 69 6e 65 20 6e 75 6d 62 65 72 73 20 ┆ries that refer to line numbers ┆
0x07e0…0800 28 5f 08 73 5f 5f 08 6c 5f 08 6e 5f 08 6e 5f 08 6f 5f 08 70 5f 08 74 5f 08 72 2c 20 61 6e 64 0a ┆(_ s__ l_ n_ n_ o_ p_ t_ r, and ┆
0x0800…0820 20 20 20 20 20 5f 08 73 5f 5f 08 6e 5f 08 6c 5f 08 6e 5f 08 6e 5f 08 6f 29 20 61 72 65 20 6e 6f ┆ _ s__ n_ l_ n_ n_ o) are no┆
0x0820…0840 74 20 75 73 65 64 20 66 6f 72 20 6c 69 6e 65 20 6e 75 6d 62 65 72 73 20 62 79 20 4d 49 50 53 20 ┆t used for line numbers by MIPS ┆
0x0840…0860 63 6f 6d 70 69 6c 65 72 73 2e 0a 20 20 20 20 20 53 65 65 20 74 68 65 20 68 65 61 64 65 72 20 66 ┆compilers. See the header f┆
0x0860…0880 69 6c 65 20 5f 08 73 5f 08 79 5f 08 6d 2e 5f 08 68 20 66 6f 72 20 74 68 65 20 65 6e 74 72 69 65 ┆ile _ s_ y_ m._ h for the entrie┆
0x0880…08a0 73 20 74 6f 20 67 65 74 20 74 6f 20 74 68 65 20 6c 69 6e 65 0a 20 20 20 20 20 6e 75 6d 62 65 72 ┆s to get to the line number┆
0x08a0…08c0 20 74 61 62 6c 65 2e 20 20 54 68 65 20 65 6e 74 72 69 65 73 20 74 68 61 74 20 77 65 72 65 20 66 ┆ table. The entries that were f┆
0x08c0…08e0 6f 72 20 6c 69 6e 65 20 6e 75 6d 62 65 72 73 20 69 6e 20 74 68 65 0a 20 20 20 20 20 73 65 63 74 ┆or line numbers in the sect┆
0x08e0…0900 69 6f 6e 20 68 65 61 64 65 72 20 61 72 65 20 75 73 65 64 20 66 6f 72 20 67 70 20 74 61 62 6c 65 ┆ion header are used for gp table┆
0x0900…0920 73 2e 0a 0a 20 20 20 20 20 54 68 65 20 67 70 20 74 61 62 6c 65 20 67 69 76 65 73 20 74 68 65 20 ┆s. The gp table gives the ┆
0x0920…0940 73 65 63 74 69 6f 6e 20 73 69 7a 65 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 74 6f 20 65 61 ┆section size corresponding to ea┆
0x0940…0960 63 68 0a 20 20 20 20 20 61 70 70 6c 69 63 61 62 6c 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 ┆ch applicable value of the ┆
0x0960…0980 63 6f 6d 70 69 6c 65 72 20 6f 70 74 69 6f 6e 20 2d 08 2d 08 2d 08 2d 47 08 47 08 47 08 47 20 5f ┆compiler option - - - -G G G G _┆
0x0980…09a0 08 6e 5f 08 75 5f 08 6d 20 28 61 6c 77 61 79 73 0a 20 20 20 20 20 69 6e 63 6c 75 64 69 6e 67 20 ┆ n_ u_ m (always including ┆
0x09a0…09c0 30 29 2c 20 73 6f 72 74 65 64 20 62 79 20 73 6d 61 6c 6c 65 73 74 20 73 69 7a 65 20 66 69 72 73 ┆0), sorted by smallest size firs┆
0x09c0…09e0 74 2e 20 49 74 20 69 73 20 70 6f 69 6e 74 65 64 0a 20 20 20 20 20 74 6f 20 62 79 20 74 68 65 20 ┆t. It is pointed to by the ┆
0x09e0…0a00 5f 08 73 5f 5f 08 6c 5f 08 6e 5f 08 6e 5f 08 6f 5f 08 70 5f 08 74 5f 08 72 20 66 69 65 6c 64 20 ┆_ s__ l_ n_ n_ o_ p_ t_ r field ┆
0x0a00…0a20 69 6e 20 74 68 65 20 73 65 63 74 69 6f 6e 20 68 65 61 64 65 72 20 61 6e 64 20 69 74 73 0a 20 20 ┆in the section header and its ┆
0x0a20…0a40 20 20 20 6e 75 6d 62 65 72 20 6f 66 20 65 6e 74 72 69 65 73 20 28 69 6e 63 6c 75 64 69 6e 67 20 ┆ number of entries (including ┆
0x0a40…0a60 74 68 65 20 68 65 61 64 65 72 29 20 69 73 20 69 6e 20 74 68 65 20 5f 08 73 5f 5f 08 6e 5f 08 6c ┆the header) is in the _ s__ n_ l┆
0x0a60…0a80 5f 08 6e 5f 08 6e 5f 08 6f 0a 20 20 20 20 20 66 69 65 6c 64 20 69 6e 20 74 68 65 20 73 65 63 74 ┆_ n_ n_ o field in the sect┆
0x0a80…0aa0 69 6f 6e 20 68 65 61 64 65 72 2e 20 20 54 68 69 73 20 74 61 62 6c 65 20 6f 6e 6c 79 20 6e 65 65 ┆ion header. This table only nee┆
0x0aa0…0ac0 64 73 20 74 6f 20 65 78 69 73 74 0a 20 20 20 20 20 66 6f 72 20 74 68 65 20 2e 5f 08 73 5f 08 64 ┆ds to exist for the ._ s_ d┆
0x0ac0…0ae0 5f 08 61 5f 08 74 5f 08 61 20 61 6e 64 20 2e 5f 08 73 5f 08 62 5f 08 73 5f 08 73 20 73 65 63 74 ┆_ a_ t_ a and ._ s_ b_ s_ s sect┆
0x0ae0…0b00 69 6f 6e 73 2e 20 20 49 66 20 74 68 65 72 65 20 69 73 20 6e 6f 20 60 60 73 6d 61 6c 6c 27 27 0a ┆ions. If there is no ``small'' ┆
0x0b00…0b20 20 20 20 20 20 73 65 63 74 69 6f 6e 20 74 68 65 6e 20 74 68 65 20 67 70 20 74 61 62 6c 65 20 66 ┆ section then the gp table f┆
0x0b20…0b40 6f 72 20 69 74 20 69 73 20 61 74 74 61 63 68 65 64 20 74 6f 20 74 68 65 0a 20 20 20 20 20 63 6f ┆or it is attached to the co┆
0x0b40…0b60 72 65 73 70 6f 6e 64 69 6e 67 20 60 60 6c 61 72 67 65 27 27 20 73 65 63 74 69 6f 6e 20 73 6f 20 ┆responding ``large'' section so ┆
0x0b60…0b80 74 68 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 73 74 69 6c 6c 20 67 65 74 73 0a 20 20 20 20 20 ┆the information still gets ┆
0x0b80…0ba0 74 6f 20 74 68 65 20 6c 69 6e 6b 20 65 64 69 74 6f 72 2c 20 5f 08 6c 5f 08 64 28 31 29 2e 20 20 ┆to the link editor, _ l_ d(1). ┆
0x0ba0…0bc0 54 68 65 20 43 20 75 6e 69 6f 6e 20 66 6f 72 20 74 68 65 20 67 70 20 74 61 62 6c 65 0a 20 20 20 ┆The C union for the gp table ┆
0x0bc0…0be0 20 20 61 70 70 65 61 72 73 20 62 65 6c 6f 77 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 75 6e 69 6f ┆ appears below. unio┆
0x0be0…0c00 6e 20 67 70 5f 74 61 62 6c 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 ┆n gp_table { s┆
0x0c00…0c20 74 72 75 63 74 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆truct { ┆
0x0c20…0c40 20 20 6c 6f 6e 67 20 20 20 20 63 75 72 72 65 6e 74 5f 67 5f 76 61 6c 75 65 3b 2f 2a 20 61 63 74 ┆ long current_g_value;/* act┆
0x0c40…0c60 75 61 6c 20 76 61 6c 75 65 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ual value */ ┆
0x0c60…0c80 20 20 20 20 20 20 20 6c 6f 6e 67 20 20 20 20 75 6e 75 73 65 64 3b 0a 20 20 20 20 20 20 20 20 20 ┆ long unused; ┆
0x0c80…0ca0 20 20 20 20 20 20 20 20 20 7d 20 68 65 61 64 65 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ } header; ┆
0x0ca0…0cc0 20 20 20 20 20 73 74 72 75 63 74 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ struct { ┆
0x0cc0…0ce0 20 20 20 20 20 20 20 20 6c 6f 6e 67 20 20 20 20 67 5f 76 61 6c 75 65 3b 20 20 20 20 20 20 20 20 ┆ long g_value; ┆
0x0ce0…0d00 2f 2a 20 68 79 70 6f 74 68 65 74 69 63 61 6c 20 76 61 6c 75 65 20 2a 2f 0a 0a 0a 0a 0a 0a 0a 20 ┆/* hypothetical value */ ┆
0x0d00…0d20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 6e 67 20 20 20 ┆ long ┆
0x0d20…0d40 20 62 79 74 65 73 3b 20 20 2f 2a 20 73 65 63 74 69 6f 6e 20 73 69 7a 65 20 63 6f 72 72 65 73 70 ┆ bytes; /* section size corresp┆
0x0d40…0d60 6f 6e 64 69 6e 67 20 74 6f 20 68 79 70 6f 74 68 65 74 69 63 61 6c 20 76 61 6c 75 65 20 2a 2f 0a ┆onding to hypothetical value */ ┆
0x0d60…0d80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 65 6e 74 72 79 3b 0a 20 20 20 20 20 ┆ } entry; ┆
0x0d80…0da0 20 20 20 20 20 7d 3b 0a 0a 20 20 20 20 20 45 61 63 68 20 67 70 20 74 61 62 6c 65 20 68 61 73 20 ┆ }; Each gp table has ┆
0x0da0…0dc0 6f 6e 65 20 68 65 61 64 65 72 20 73 74 72 75 63 74 75 72 65 20 74 68 61 74 20 63 6f 6e 74 61 69 ┆one header structure that contai┆
0x0dc0…0de0 6e 73 20 74 68 65 0a 20 20 20 20 20 61 63 74 75 61 6c 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 ┆ns the actual value of the ┆
0x0de0…0e00 2d 08 2d 08 2d 08 2d 47 08 47 08 47 08 47 20 5f 08 6e 5f 08 75 5f 08 6d 20 6f 70 74 69 6f 6e 20 ┆- - - -G G G G _ n_ u_ m option ┆
0x0e00…0e20 75 73 65 64 20 74 6f 20 70 72 6f 64 75 63 65 20 74 68 65 20 6f 62 6a 65 63 74 0a 20 20 20 20 20 ┆used to produce the object ┆
0x0e20…0e40 66 69 6c 65 2e 20 20 41 6e 20 65 6e 74 72 79 20 6d 75 73 74 20 65 78 69 73 74 20 66 6f 72 20 65 ┆file. An entry must exist for e┆
0x0e40…0e60 76 65 72 79 20 61 70 70 6c 69 63 61 62 6c 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 0a 20 20 20 ┆very applicable value of the ┆
0x0e60…0e80 20 20 2d 08 2d 08 2d 08 2d 47 08 47 08 47 08 47 20 5f 08 6e 5f 08 75 5f 08 6d 20 6f 70 74 69 6f ┆ - - - -G G G G _ n_ u_ m optio┆
0x0e80…0ea0 6e 2e 20 20 54 68 65 20 61 70 70 6c 69 63 61 62 6c 65 20 76 61 6c 75 65 73 20 61 72 65 20 61 6c ┆n. The applicable values are al┆
0x0ea0…0ec0 6c 20 74 68 65 20 73 69 7a 65 73 20 6f 66 0a 20 20 20 20 20 74 68 65 20 64 61 74 61 20 69 74 65 ┆l the sizes of the data ite┆
0x0ec0…0ee0 6d 73 20 69 6e 20 74 68 61 74 20 73 65 63 74 69 6f 6e 2e 0a 0a 20 20 20 20 20 46 6f 72 20 2e 5f ┆ms in that section. For ._┆
0x0ee0…0f00 08 6c 5f 08 69 5f 08 62 20 73 65 63 74 69 6f 6e 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 ┆ l_ i_ b sections the number of ┆
0x0f00…0f20 73 68 61 72 65 64 20 6c 69 62 72 61 72 69 65 73 20 69 73 20 69 6e 20 74 68 65 0a 20 20 20 20 20 ┆shared libraries is in the ┆
0x0f20…0f40 5f 08 73 5f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 62 20 66 69 65 6c 64 20 28 61 6e 20 61 6c 69 61 73 ┆_ s__ n_ l_ i_ b field (an alias┆
0x0f40…0f60 20 74 6f 20 5f 08 73 5f 5f 08 70 5f 08 61 5f 08 64 5f 08 64 5f 08 72 29 2e 20 20 54 68 65 20 2e ┆ to _ s__ p_ a_ d_ d_ r). The .┆
0x0f60…0f80 5f 08 6c 5f 08 69 5f 08 62 20 73 65 63 74 69 6f 6e 20 69 73 0a 20 20 20 20 20 6d 61 64 65 20 75 ┆_ l_ i_ b section is made u┆
0x0f80…0fa0 70 20 6f 66 20 5f 08 73 5f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 62 20 64 65 73 63 72 69 70 74 69 6f ┆p of _ s__ n_ l_ i_ b descriptio┆
0x0fa0…0fc0 6e 73 20 6f 66 20 73 68 61 72 65 64 20 6c 69 62 72 61 72 69 65 73 2e 20 20 45 61 63 68 0a 20 20 ┆ns of shared libraries. Each ┆
0x0fc0…0fe0 20 20 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 61 20 73 68 61 72 65 64 20 6c 69 62 72 61 ┆ description of a shared libra┆
0x0fe0…1000 72 79 20 69 73 20 61 20 5f 08 6c 5f 08 69 5f 08 62 5f 08 73 5f 08 63 5f 08 6e 20 73 74 72 75 63 ┆ry is a _ l_ i_ b_ s_ c_ n struc┆
0x1000…1020 74 75 72 65 20 66 6f 6c 2d 0a 20 20 20 20 20 6c 6f 77 65 64 20 62 79 20 74 68 65 20 70 61 74 68 ┆ture fol- lowed by the path┆
0x1020…1040 20 6e 61 6d 65 20 74 6f 20 74 68 65 20 73 68 61 72 65 64 20 6c 69 62 72 61 72 79 2e 20 20 54 68 ┆ name to the shared library. Th┆
0x1040…1060 65 20 43 20 73 74 72 75 63 2d 0a 20 20 20 20 20 74 75 72 65 20 61 70 70 65 61 72 73 20 62 65 6c ┆e C struc- ture appears bel┆
0x1060…1080 6f 77 20 61 6e 64 20 69 73 20 64 65 66 69 6e 65 64 20 69 6e 20 5f 08 73 5f 08 63 5f 08 6e 5f 08 ┆ow and is defined in _ s_ c_ n_ ┆
0x1080…10a0 68 5f 08 64 5f 08 72 2e 5f 08 68 20 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 73 74 72 75 63 74 20 ┆h_ d_ r._ h . struct ┆
0x10a0…10c0 6c 69 62 73 63 6e 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 6e 67 20 ┆libscn { long ┆
0x10c0…10e0 20 20 20 73 69 7a 65 3b 20 20 20 20 20 20 20 20 20 20 20 2f 2a 20 73 69 7a 65 20 6f 66 20 74 68 ┆ size; /* size of th┆
0x10e0…1100 69 73 20 65 6e 74 72 79 20 28 69 6e 63 6c 75 64 69 6e 67 20 74 61 72 67 65 74 20 6e 61 6d 65 29 ┆is entry (including target name)┆
0x1100…1120 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 6e 67 20 20 20 20 6f 66 ┆ */ long of┆
0x1120…1140 66 73 65 74 3b 20 20 20 20 20 20 20 20 20 2f 2a 20 6f 66 66 73 65 74 20 66 72 6f 6d 20 73 74 61 ┆fset; /* offset from sta┆
0x1140…1160 72 74 20 6f 66 20 65 6e 74 72 79 20 74 6f 20 74 61 72 67 65 74 20 6e 61 6d 65 20 2a 2f 0a 20 20 ┆rt of entry to target name */ ┆
0x1160…1180 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 6e 67 20 20 20 20 74 73 69 7a 65 3b 20 20 ┆ long tsize; ┆
0x1180…11a0 20 20 20 20 20 20 20 20 2f 2a 20 74 65 78 74 20 73 69 7a 65 20 69 6e 20 62 79 74 65 73 2c 20 70 ┆ /* text size in bytes, p┆
0x11a0…11c0 61 64 64 65 64 20 74 6f 20 44 57 20 62 6f 75 6e 64 61 72 79 20 2a 2f 0a 20 20 20 20 20 20 20 20 ┆added to DW boundary */ ┆
0x11c0…11e0 20 20 20 20 20 20 20 20 20 20 6c 6f 6e 67 20 20 20 20 64 73 69 7a 65 3b 20 20 20 20 20 20 20 20 ┆ long dsize; ┆
0x11e0…1200 20 20 2f 2a 20 69 6e 69 74 69 61 6c 69 7a 65 64 20 64 61 74 61 20 73 69 7a 65 20 2a 2f 0a 20 20 ┆ /* initialized data size */ ┆
0x1200…1220 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 6e 67 20 20 20 20 62 73 69 7a 65 3b 20 20 ┆ long bsize; ┆
0x1220…1240 20 20 20 20 20 20 20 20 2f 2a 20 75 6e 69 6e 69 74 69 61 6c 69 7a 65 64 20 64 61 74 61 20 2a 2f ┆ /* uninitialized data */┆
0x1240…1260 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 6e 67 20 20 20 20 74 65 78 74 5f ┆ long text_┆
0x1260…1280 73 74 61 72 74 3b 20 20 20 20 20 2f 2a 20 62 61 73 65 20 6f 66 20 74 65 78 74 20 75 73 65 64 20 ┆start; /* base of text used ┆
0x1280…12a0 66 6f 72 20 74 68 69 73 20 6c 69 62 72 61 72 79 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆for this library */ ┆
0x12a0…12c0 20 20 20 20 20 20 6c 6f 6e 67 20 20 20 20 64 61 74 61 5f 73 74 61 72 74 3b 20 20 20 20 20 2f 2a ┆ long data_start; /*┆
0x12c0…12e0 20 62 61 73 65 20 6f 66 20 64 61 74 61 20 75 73 65 64 20 66 6f 72 20 74 68 69 73 20 6c 69 62 72 ┆ base of data used for this libr┆
0x12e0…1300 61 72 79 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 6e 67 20 20 20 ┆ary */ long ┆
0x1300…1320 20 62 73 73 5f 73 74 61 72 74 3b 20 20 20 20 20 20 2f 2a 20 62 61 73 65 20 6f 66 20 62 73 73 20 ┆ bss_start; /* base of bss ┆
0x1320…1340 75 73 65 64 20 66 6f 72 20 74 68 69 73 20 6c 69 62 72 61 72 79 20 2a 2f 0a 20 20 20 20 20 20 20 ┆used for this library */ ┆
0x1340…1360 20 20 20 20 20 20 20 20 20 20 20 2f 2a 20 70 61 74 68 6e 61 6d 65 20 6f 66 20 74 61 72 67 65 74 ┆ /* pathname of target┆
0x1360…1380 20 73 68 61 72 65 64 20 6c 69 62 72 61 72 79 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 7d 3b 0a ┆ shared library */ }; ┆
0x1380…13a0 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 41 4c 08 ┆ S S S SE E E EE E E E A A A AL ┆
0x13a0…13c0 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 55 73 65 72 20 63 6f ┆L L LS S S SO O O O User co┆
0x13c0…13e0 6d 6d 61 6e 64 73 20 28 31 29 3a 20 6c 64 0a 20 20 20 20 20 46 69 6c 65 20 46 6f 72 6d 61 74 73 ┆mmands (1): ld File Formats┆
0x13e0…1400 20 28 35 29 3a 20 61 2e 6f 75 74 0a 0a 4b 08 4b 08 4b 08 4b 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f ┆ (5): a.out K K K KN N N NO O O┆
0x1400…1420 08 4f 57 08 57 08 57 08 57 4e 08 4e 08 4e 08 4e 20 50 08 50 08 50 08 50 52 08 52 08 52 08 52 4f ┆ OW W W WN N N N P P P PR R R RO┆
0x1420…1440 08 4f 08 4f 08 4f 42 08 42 08 42 08 42 4c 08 4c 08 4c 08 4c 45 08 45 08 45 08 45 4d 08 4d 08 4d ┆ O O OB B B BL L L LE E E EM M M┆
0x1440…1460 08 4d 53 08 53 08 53 08 53 0a 20 20 20 20 20 54 68 65 20 5f 08 73 5f 5f 08 6e 5f 08 72 5f 08 65 ┆ MS S S S The _ s__ n_ r_ e┆
0x1460…1480 5f 08 6c 5f 08 6f 5f 08 63 20 66 69 65 6c 64 20 68 61 73 20 62 65 65 6e 20 6b 6e 6f 77 6e 20 74 ┆_ l_ o_ c field has been known t┆
0x1480…14a0 6f 20 6f 76 65 72 66 6c 6f 77 20 6f 6e 20 66 75 6c 6c 79 0a 20 20 20 20 20 6c 69 6e 6b 65 64 20 ┆o overflow on fully linked ┆
0x14a0…14c0 6f 62 6a 65 63 74 73 20 77 68 65 6e 20 74 68 65 20 72 65 6c 6f 63 61 74 69 6f 6e 20 65 6e 74 72 ┆objects when the relocation entr┆
0x14c0…14e0 69 65 73 20 61 72 65 20 73 61 76 65 64 2e 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 20 20 20 ┆ies are saved. March 1989 ┆
0x14e0…1500 20 20 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 ┆ TX Progr┆
0x1500…1520 61 6d 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 ┆ammer's Reference ┆
0x1520…1528 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆