Skip to content

Commit

Permalink
feat: release dynamic linking
Browse files Browse the repository at this point in the history
  • Loading branch information
Huweicai committed Jun 30, 2024
1 parent 85ff7b5 commit 374d0f0
Show file tree
Hide file tree
Showing 17 changed files with 2,106 additions and 0 deletions.
35 changes: 35 additions & 0 deletions archives/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1417,6 +1417,41 @@ <h1 class="mb-2 h1" style="font-weight: 300;" >







<div style="font-family: 'Brush Script MT'; font-size: 3rem"
class="post-heading ">
——0001——
</div>

<div style="font-size: 21px">





<a class="font-weight-bold post-line-date">0001-01-01</a>
<a style="display: inline-block; width: 400px;
text-align: left" target="_blank" href="https://huweicai.com/dynamic-linking/">动态链接是如何实现的</a>
<a class="font-weight-bold post-line-date">4416 Words</a>












</div>




</div>
</div>
Expand Down
906 changes: 906 additions & 0 deletions dynamic-linking/index.html

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@ <h1 class="display-3"><strong>Hello, World!</strong></h1>








Expand Down Expand Up @@ -478,6 +480,10 @@ <h1 class="display-3"><strong>Hello, World!</strong></h1>

<li><a href="https://huweicai.com/tags/%E5%91%BD%E4%BB%A4%E8%A1%8C" role="button"><span>命令行 (2)</span></a></li>

<li><a href="https://huweicai.com/tags/c&#43;&#43;" role="button"><span>c&#43;&#43; (1)</span></a></li>

<li><a href="https://huweicai.com/tags/compiler" role="button"><span>compiler (1)</span></a></li>

<li><a href="https://huweicai.com/tags/cpp" role="button"><span>cpp (1)</span></a></li>

<li><a href="https://huweicai.com/tags/cpu" role="button"><span>cpu (1)</span></a></li>
Expand Down
9 changes: 9 additions & 0 deletions index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -365,5 +365,14 @@ It&amp;rsquo;s possible to edit the source code of kernel, adding log to print t
<description></description>
</item>

<item>
<title>动态链接是如何实现的</title>
<link>https://huweicai.com/dynamic-linking/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>

<guid>https://huweicai.com/dynamic-linking/</guid>
<description>函数链接 根据函数在编译期间的链接方式, 我们可以将函数分为三种: 直接调用(Direct Call):这是最直接的一种方式,函数地址在编译时就已经确定,调用时直接跳转到目标地址。 静态链接(Static Linking):在编译时将库与程序合并,尽管在单个编译单元内不确定函数的具体地址,但在链接阶段会解析所有符号,最终生成的可执行文件包含所有必要的代码,无需依赖外部库。 动态链接(Dynamic Linking</description>
</item>

</channel>
</rss>
6 changes: 6 additions & 0 deletions page/2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@ <h1 class="display-3"><strong>Hello, World!</strong></h1>








Expand Down Expand Up @@ -478,6 +480,10 @@ <h1 class="display-3"><strong>Hello, World!</strong></h1>

<li><a href="https://huweicai.com/tags/%E5%91%BD%E4%BB%A4%E8%A1%8C" role="button"><span>命令行 (2)</span></a></li>

<li><a href="https://huweicai.com/tags/c&#43;&#43;" role="button"><span>c&#43;&#43; (1)</span></a></li>

<li><a href="https://huweicai.com/tags/compiler" role="button"><span>compiler (1)</span></a></li>

<li><a href="https://huweicai.com/tags/cpp" role="button"><span>cpp (1)</span></a></li>

<li><a href="https://huweicai.com/tags/cpu" role="button"><span>cpu (1)</span></a></li>
Expand Down
6 changes: 6 additions & 0 deletions page/3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@ <h1 class="display-3"><strong>Hello, World!</strong></h1>








Expand Down Expand Up @@ -478,6 +480,10 @@ <h1 class="display-3"><strong>Hello, World!</strong></h1>

<li><a href="https://huweicai.com/tags/%E5%91%BD%E4%BB%A4%E8%A1%8C" role="button"><span>命令行 (2)</span></a></li>

<li><a href="https://huweicai.com/tags/c&#43;&#43;" role="button"><span>c&#43;&#43; (1)</span></a></li>

<li><a href="https://huweicai.com/tags/compiler" role="button"><span>compiler (1)</span></a></li>

<li><a href="https://huweicai.com/tags/cpp" role="button"><span>cpp (1)</span></a></li>

<li><a href="https://huweicai.com/tags/cpu" role="button"><span>cpu (1)</span></a></li>
Expand Down
6 changes: 6 additions & 0 deletions page/4/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@ <h1 class="display-3"><strong>Hello, World!</strong></h1>








Expand Down Expand Up @@ -478,6 +480,10 @@ <h1 class="display-3"><strong>Hello, World!</strong></h1>

<li><a href="https://huweicai.com/tags/%E5%91%BD%E4%BB%A4%E8%A1%8C" role="button"><span>命令行 (2)</span></a></li>

<li><a href="https://huweicai.com/tags/c&#43;&#43;" role="button"><span>c&#43;&#43; (1)</span></a></li>

<li><a href="https://huweicai.com/tags/compiler" role="button"><span>compiler (1)</span></a></li>

<li><a href="https://huweicai.com/tags/cpp" role="button"><span>cpp (1)</span></a></li>

<li><a href="https://huweicai.com/tags/cpu" role="button"><span>cpu (1)</span></a></li>
Expand Down
6 changes: 6 additions & 0 deletions page/5/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@ <h1 class="display-3"><strong>Hello, World!</strong></h1>








Expand Down Expand Up @@ -478,6 +480,10 @@ <h1 class="display-3"><strong>Hello, World!</strong></h1>

<li><a href="https://huweicai.com/tags/%E5%91%BD%E4%BB%A4%E8%A1%8C" role="button"><span>命令行 (2)</span></a></li>

<li><a href="https://huweicai.com/tags/c&#43;&#43;" role="button"><span>c&#43;&#43; (1)</span></a></li>

<li><a href="https://huweicai.com/tags/compiler" role="button"><span>compiler (1)</span></a></li>

<li><a href="https://huweicai.com/tags/cpp" role="button"><span>cpp (1)</span></a></li>

<li><a href="https://huweicai.com/tags/cpu" role="button"><span>cpu (1)</span></a></li>
Expand Down
59 changes: 59 additions & 0 deletions page/6/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@ <h1 class="display-3"><strong>Hello, World!</strong></h1>








Expand Down Expand Up @@ -478,6 +480,10 @@ <h1 class="display-3"><strong>Hello, World!</strong></h1>

<li><a href="https://huweicai.com/tags/%E5%91%BD%E4%BB%A4%E8%A1%8C" role="button"><span>命令行 (2)</span></a></li>

<li><a href="https://huweicai.com/tags/c&#43;&#43;" role="button"><span>c&#43;&#43; (1)</span></a></li>

<li><a href="https://huweicai.com/tags/compiler" role="button"><span>compiler (1)</span></a></li>

<li><a href="https://huweicai.com/tags/cpp" role="button"><span>cpp (1)</span></a></li>

<li><a href="https://huweicai.com/tags/cpu" role="button"><span>cpu (1)</span></a></li>
Expand Down Expand Up @@ -596,6 +602,59 @@ <h1 class="display-3"><strong>Hello, World!</strong></h1>
</div>


<div class="post-wrapper white-bg post-card">

<a href="https://huweicai.com/dynamic-linking/">
<div class="post-header text-center">
<div class="px-4 post-heading">动态链接是如何实现的</div>
<ul class="post-meta li-x mt-1">

<li>0001-01-01</li>



<li class="middot"></li>
<li>9 minutes read</li>

</ul>
</div>



函数链接 根据函数在编译期间的链接方式, 我们可以将函数分为三种: 直接调用(Direct Call):这是最直接的一种方式,函数地址在编译时就已经确定,调用时直接跳转到目标地址。 静态链接(Static Linking):在编译时将库与程序合并,尽管在单个编译单元内不确定函数的具体地址,但在链接阶段会解析所有符号,最终生成的可执行文件包含所有必要的代码,无需依赖外部库。 动态链接(Dynamic Linking......

</a>



<div class="post-meta li-x mt-2 div-x">
<div>


</div>

<div>


<div class="li-x div-x post-meta">
<li class="pr-0"><a href="https://huweicai.com/tags/"><i class="fas fa-tags"></i></a></li>
<div class="tags-sm">

<li><a href="https://huweicai.com/tags/c&#43;&#43;" role="button">c&#43;&#43; </a></li>


<li><a href="https://huweicai.com/tags/compiler" role="button">compiler </a></li>


</div>
</div>

</div>
</div>

</div>


<div class="post-wrapper white-bg post-card">

<a href="https://huweicai.com/personal/">
Expand Down
12 changes: 12 additions & 0 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,14 @@
</url><url>
<loc>https://huweicai.com/untitled/</loc>
<priority>0</priority>
</url><url>
<loc>https://huweicai.com/tags/c&#43;&#43;/</loc>
<changefreq>daily</changefreq>
<priority>0.5</priority>
</url><url>
<loc>https://huweicai.com/tags/compiler/</loc>
<changefreq>daily</changefreq>
<priority>0.5</priority>
</url><url>
<loc>https://huweicai.com/personal/</loc>
<changefreq>daily</changefreq>
Expand All @@ -450,5 +458,9 @@
<loc>https://huweicai.com/series/</loc>
<changefreq>daily</changefreq>
<priority>0.5</priority>
</url><url>
<loc>https://huweicai.com/dynamic-linking/</loc>
<changefreq>daily</changefreq>
<priority>0.5</priority>
</url>
</urlset>
Loading

0 comments on commit 374d0f0

Please sign in to comment.