⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 a.out.htm

📁 这是一个Linux内核。是0.11版本的
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<a name=L101 href="source/include/a.out.h#L101">101</a>     (<a href="ident?i=N_MAGIC">N_MAGIC</a>(<a href="ident?i=x">x</a>)==<a href="ident?i=OMAGIC">OMAGIC</a>? (<a href="ident?i=_N_TXTENDADDR">_N_TXTENDADDR</a>(<a href="ident?i=x">x</a>)) \<a name=L102 href="source/include/a.out.h#L102">102</a>      : (<a href="ident?i=_N_SEGMENT_ROUND">_N_SEGMENT_ROUND</a> (<a href="ident?i=_N_TXTENDADDR">_N_TXTENDADDR</a>(<a href="ident?i=x">x</a>))))<a name=L103 href="source/include/a.out.h#L103">103</a> #endif<a name=L104 href="source/include/a.out.h#L104">104</a> <a name=L105 href="source/include/a.out.h#L105">105</a> <b><i>/* Address of bss segment in memory after it is loaded.  */</i></b><a name=L106 href="source/include/a.out.h#L106">106</a> #ifndef <a href="ident?i=N_BSSADDR">N_BSSADDR</a><a name=L107 href="source/include/a.out.h#L107">107</a> #define <a href="ident?i=N_BSSADDR">N_BSSADDR</a>(<a href="ident?i=x">x</a>) (<a href="ident?i=N_DATADDR">N_DATADDR</a>(<a href="ident?i=x">x</a>) + (<a href="ident?i=x">x</a>).a_data)<a name=L108 href="source/include/a.out.h#L108">108</a> #endif<a name=L109 href="source/include/a.out.h#L109">109</a> <a name=L110 href="source/include/a.out.h#L110">110</a> #ifndef N_NLIST_DECLARED<a name=L111 href="source/include/a.out.h#L111">111</a> struct <a href="ident?i=nlist">nlist</a> {<a name=L112 href="source/include/a.out.h#L112">112</a>   union {<a name=L113 href="source/include/a.out.h#L113">113</a>     char *n_name;<a name=L114 href="source/include/a.out.h#L114">114</a>     struct <a href="ident?i=nlist">nlist</a> *n_next;<a name=L115 href="source/include/a.out.h#L115">115</a>     long n_strx;<a name=L116 href="source/include/a.out.h#L116">116</a>   } n_un;<a name=L117 href="source/include/a.out.h#L117">117</a>   unsigned char n_type;<a name=L118 href="source/include/a.out.h#L118">118</a>   char n_other;<a name=L119 href="source/include/a.out.h#L119">119</a>   short n_desc;<a name=L120 href="source/include/a.out.h#L120">120</a>   unsigned long n_value;<a name=L121 href="source/include/a.out.h#L121">121</a> };<a name=L122 href="source/include/a.out.h#L122">122</a> #endif<a name=L123 href="source/include/a.out.h#L123">123</a> <a name=L124 href="source/include/a.out.h#L124">124</a> #ifndef <a href="ident?i=N_UNDF">N_UNDF</a><a name=L125 href="source/include/a.out.h#L125">125</a> #define <a href="ident?i=N_UNDF">N_UNDF</a> 0<a name=L126 href="source/include/a.out.h#L126">126</a> #endif<a name=L127 href="source/include/a.out.h#L127">127</a> #ifndef <a href="ident?i=N_ABS">N_ABS</a><a name=L128 href="source/include/a.out.h#L128">128</a> #define <a href="ident?i=N_ABS">N_ABS</a> 2<a name=L129 href="source/include/a.out.h#L129">129</a> #endif<a name=L130 href="source/include/a.out.h#L130">130</a> #ifndef <a href="ident?i=N_TEXT">N_TEXT</a><a name=L131 href="source/include/a.out.h#L131">131</a> #define <a href="ident?i=N_TEXT">N_TEXT</a> 4<a name=L132 href="source/include/a.out.h#L132">132</a> #endif<a name=L133 href="source/include/a.out.h#L133">133</a> #ifndef <a href="ident?i=N_DATA">N_DATA</a><a name=L134 href="source/include/a.out.h#L134">134</a> #define <a href="ident?i=N_DATA">N_DATA</a> 6<a name=L135 href="source/include/a.out.h#L135">135</a> #endif<a name=L136 href="source/include/a.out.h#L136">136</a> #ifndef <a href="ident?i=N_BSS">N_BSS</a><a name=L137 href="source/include/a.out.h#L137">137</a> #define <a href="ident?i=N_BSS">N_BSS</a> 8<a name=L138 href="source/include/a.out.h#L138">138</a> #endif<a name=L139 href="source/include/a.out.h#L139">139</a> #ifndef <a href="ident?i=N_COMM">N_COMM</a><a name=L140 href="source/include/a.out.h#L140">140</a> #define <a href="ident?i=N_COMM">N_COMM</a> 18<a name=L141 href="source/include/a.out.h#L141">141</a> #endif<a name=L142 href="source/include/a.out.h#L142">142</a> #ifndef <a href="ident?i=N_FN">N_FN</a><a name=L143 href="source/include/a.out.h#L143">143</a> #define <a href="ident?i=N_FN">N_FN</a> 15<a name=L144 href="source/include/a.out.h#L144">144</a> #endif<a name=L145 href="source/include/a.out.h#L145">145</a> <a name=L146 href="source/include/a.out.h#L146">146</a> #ifndef <a href="ident?i=N_EXT">N_EXT</a><a name=L147 href="source/include/a.out.h#L147">147</a> #define <a href="ident?i=N_EXT">N_EXT</a> 1<a name=L148 href="source/include/a.out.h#L148">148</a> #endif<a name=L149 href="source/include/a.out.h#L149">149</a> #ifndef <a href="ident?i=N_TYPE">N_TYPE</a><a name=L150 href="source/include/a.out.h#L150">150</a> #define <a href="ident?i=N_TYPE">N_TYPE</a> 036<a name=L151 href="source/include/a.out.h#L151">151</a> #endif<a name=L152 href="source/include/a.out.h#L152">152</a> #ifndef <a href="ident?i=N_STAB">N_STAB</a><a name=L153 href="source/include/a.out.h#L153">153</a> #define <a href="ident?i=N_STAB">N_STAB</a> 0340<a name=L154 href="source/include/a.out.h#L154">154</a> #endif<a name=L155 href="source/include/a.out.h#L155">155</a> <a name=L156 href="source/include/a.out.h#L156">156</a> <b><i>/* The following type indicates the definition of a symbol as being</i></b><a name=L157 href="source/include/a.out.h#L157">157</a> <b><i>   an indirect reference to another symbol.  The other symbol</i></b><a name=L158 href="source/include/a.out.h#L158">158</a> <b><i>   appears as an undefined reference, immediately following this symbol.</i></b><a name=L159 href="source/include/a.out.h#L159">159</a> <b><i></i></b><a name=L160 href="source/include/a.out.h#L160">160</a> <b><i>   Indirection is asymmetrical.  The other symbol's value will be used</i></b><a name=L161 href="source/include/a.out.h#L161">161</a> <b><i>   to satisfy requests for the indirect symbol, but not vice versa.</i></b><a name=L162 href="source/include/a.out.h#L162">162</a> <b><i>   If the other symbol does not have a definition, libraries will</i></b><a name=L163 href="source/include/a.out.h#L163">163</a> <b><i>   be searched to find a definition.  */</i></b><a name=L164 href="source/include/a.out.h#L164">164</a> #define <a href="ident?i=N_INDR">N_INDR</a> 0xa<a name=L165 href="source/include/a.out.h#L165">165</a> <a name=L166 href="source/include/a.out.h#L166">166</a> <b><i>/* The following symbols refer to set elements.</i></b><a name=L167 href="source/include/a.out.h#L167">167</a> <b><i>   All the N_SET[ATDB] symbols with the same name form one set.</i></b><a name=L168 href="source/include/a.out.h#L168">168</a> <b><i>   Space is allocated for the set in the text section, and each set</i></b><a name=L169 href="source/include/a.out.h#L169">169</a> <b><i>   element's value is stored into one word of the space.</i></b><a name=L170 href="source/include/a.out.h#L170">170</a> <b><i>   The first word of the space is the length of the set (number of elements).</i></b><a name=L171 href="source/include/a.out.h#L171">171</a> <b><i></i></b><a name=L172 href="source/include/a.out.h#L172">172</a> <b><i>   The address of the set is made into an N_SETV symbol</i></b><a name=L173 href="source/include/a.out.h#L173">173</a> <b><i>   whose name is the same as the name of the set.</i></b><a name=L174 href="source/include/a.out.h#L174">174</a> <b><i>   This symbol acts like a N_DATA global symbol</i></b><a name=L175 href="source/include/a.out.h#L175">175</a> <b><i>   in that it can satisfy undefined external references.  */</i></b><a name=L176 href="source/include/a.out.h#L176">176</a> <a name=L177 href="source/include/a.out.h#L177">177</a> <b><i>/* These appear as input to LD, in a .o file.  */</i></b><a name=L178 href="source/include/a.out.h#L178">178</a> #define <a href="ident?i=N_SETA">N_SETA</a>  0x14            <b><i>/* Absolute set element symbol */</i></b><a name=L179 href="source/include/a.out.h#L179">179</a> #define <a href="ident?i=N_SETT">N_SETT</a>  0x16            <b><i>/* Text set element symbol */</i></b><a name=L180 href="source/include/a.out.h#L180">180</a> #define <a href="ident?i=N_SETD">N_SETD</a>  0x18            <b><i>/* Data set element symbol */</i></b><a name=L181 href="source/include/a.out.h#L181">181</a> #define <a href="ident?i=N_SETB">N_SETB</a>  0x1A            <b><i>/* Bss set element symbol */</i></b><a name=L182 href="source/include/a.out.h#L182">182</a> <a name=L183 href="source/include/a.out.h#L183">183</a> <b><i>/* This is output from LD.  */</i></b><a name=L184 href="source/include/a.out.h#L184">184</a> #define <a href="ident?i=N_SETV">N_SETV</a>  0x1C            <b><i>/* Pointer to set vector in data area.  */</i></b><a name=L185 href="source/include/a.out.h#L185">185</a> <a name=L186 href="source/include/a.out.h#L186">186</a> #ifndef N_RELOCATION_INFO_DECLARED<a name=L187 href="source/include/a.out.h#L187">187</a> <a name=L188 href="source/include/a.out.h#L188">188</a> <b><i>/* This structure describes a single relocation to be performed.</i></b><a name=L189 href="source/include/a.out.h#L189">189</a> <b><i>   The text-relocation section of the file is a vector of these structures,</i></b><a name=L190 href="source/include/a.out.h#L190">190</a> <b><i>   all of which apply to the text section.</i></b><a name=L191 href="source/include/a.out.h#L191">191</a> <b><i>   Likewise, the data-relocation section applies to the data section.  */</i></b><a name=L192 href="source/include/a.out.h#L192">192</a> <a name=L193 href="source/include/a.out.h#L193">193</a> struct <a href="ident?i=relocation_info">relocation_info</a><a name=L194 href="source/include/a.out.h#L194">194</a> {<a name=L195 href="source/include/a.out.h#L195">195</a>   <b><i>/* Address (within segment) to be relocated.  */</i></b><a name=L196 href="source/include/a.out.h#L196">196</a>   int r_address;<a name=L197 href="source/include/a.out.h#L197">197</a>   <b><i>/* The meaning of r_symbolnum depends on r_extern.  */</i></b><a name=L198 href="source/include/a.out.h#L198">198</a>   unsigned int r_symbolnum:24;<a name=L199 href="source/include/a.out.h#L199">199</a>   <b><i>/* Nonzero means value is a pc-relative offset</i></b><a name=L200 href="source/include/a.out.h#L200">200</a> <b><i>     and it should be relocated for changes in its own address</i></b><a name=L201 href="source/include/a.out.h#L201">201</a> <b><i>     as well as for changes in the symbol or section specified.  */</i></b><a name=L202 href="source/include/a.out.h#L202">202</a>   unsigned int r_pcrel:1;<a name=L203 href="source/include/a.out.h#L203">203</a>   <b><i>/* Length (as exponent of 2) of the field to be relocated.</i></b><a name=L204 href="source/include/a.out.h#L204">204</a> <b><i>     Thus, a value of 2 indicates 1&lt;&lt;2 bytes.  */</i></b><a name=L205 href="source/include/a.out.h#L205">205</a>   unsigned int r_length:2;<a name=L206 href="source/include/a.out.h#L206">206</a>   <b><i>/* 1 =&gt; relocate with value of symbol.</i></b><a name=L207 href="source/include/a.out.h#L207">207</a> <b><i>          r_symbolnum is the index of the symbol</i></b><a name=L208 href="source/include/a.out.h#L208">208</a> <b><i>          in file's the symbol table.</i></b><a name=L209 href="source/include/a.out.h#L209">209</a> <b><i>     0 =&gt; relocate with the address of a segment.</i></b><a name=L210 href="source/include/a.out.h#L210">210</a> <b><i>          r_symbolnum is N_TEXT, N_DATA, N_BSS or N_ABS</i></b><a name=L211 href="source/include/a.out.h#L211">211</a> <b><i>          (the N_EXT bit may be set also, but signifies nothing).  */</i></b><a name=L212 href="source/include/a.out.h#L212">212</a>   unsigned int r_extern:1;<a name=L213 href="source/include/a.out.h#L213">213</a>   <b><i>/* Four bits that aren't used, but when writing an object file</i></b><a name=L214 href="source/include/a.out.h#L214">214</a> <b><i>     it is desirable to clear them.  */</i></b><a name=L215 href="source/include/a.out.h#L215">215</a>   unsigned int r_pad:4;<a name=L216 href="source/include/a.out.h#L216">216</a> };<a name=L217 href="source/include/a.out.h#L217">217</a> #endif <b><i>/* no N_RELOCATION_INFO_DECLARED.  */</i></b><a name=L218 href="source/include/a.out.h#L218">218</a> <a name=L219 href="source/include/a.out.h#L219">219</a> <a name=L220 href="source/include/a.out.h#L220">220</a> #endif <b><i>/* __A_OUT_GNU_H__ */</i></b><a name=L221 href="source/include/a.out.h#L221">221</a> </pre><hr><div align=center>   [<b><i>源代码浏览</i></b>] [<a href="diff/include/a.out.h">区别标定</a>] [<a href="ident">标识符搜索</a>] [<a href="search">文本搜索</a>] [<a href="find">文件搜索</a>] </div><hr>本网页由 <a href="http:blurb.html">LXR引擎</a> 自动生成.<br></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -