<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>FromNand</author_name>
  <author_url>https://blog.hatena.ne.jp/FromNand/</author_url>
  <blog_title>FromNandの日記</blog_title>
  <blog_url>https://fromnand.hatenadiary.jp/</blog_url>
  <categories>
    <anon>リンカ・ローダ</anon>
  </categories>
  <description>リンカスクリプトにはいろいろな面白い機能がある。 今回はシンボルをリンカスクリプトで定義して、それをC言語側の関数から表示してみたい。 まず、リンカスクリプトはこれ。 SECTIONS{ . = 0x8048000 + SIZEOF_HEADERS; .text : { stext = .; *(.text) etext = .; } .rodata : { srodata = .; *(.rodata) erodata = .; } .data : { sdata = .; *(.data) edata = .; } .bss : { sbss = .; *(.bss) ebss = .; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffromnand.hatenadiary.jp%2Fentry%2F2019%2F11%2F28%2F194617&quot; title=&quot;リンカスクリプトのシンボル機能を使って各セクションのアドレスを表示してみる - FromNandの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-11-28 19:46:17</published>
  <title>リンカスクリプトのシンボル機能を使って各セクションのアドレスを表示してみる</title>
  <type>rich</type>
  <url>https://fromnand.hatenadiary.jp/entry/2019/11/28/194617</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
