{"type":"rich","version":"1.0","blog_title":"\u03c6(\u30fb\u30fb*)\u309e \uff73\uff70\uff9d\u3000\u30ab\u30fc\u30cd\u30eb\u3068\u304b\u5f04\u3063\u305f\u308a\u306e\u30e1\u30e2","height":"190","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkernhack.hatenablog.com%2Fentry%2F20100513%2F1273764126\" title=\"ELF\u3092\u81ea\u4f5c\u30ab\u30fc\u30cd\u30eb\u3067\u5b9f\u884c\u3055\u305b\u305f\u3044\u306e\u3067\u3001\u3068\u308a\u3042\u3048\u305a\u30c6\u30b9\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u6e96\u5099\u304b\u3089\u3002 - \u03c6(\u30fb\u30fb*)\u309e \uff73\uff70\uff9d\u3000\u30ab\u30fc\u30cd\u30eb\u3068\u304b\u5f04\u3063\u305f\u308a\u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"title":"ELF\u3092\u81ea\u4f5c\u30ab\u30fc\u30cd\u30eb\u3067\u5b9f\u884c\u3055\u305b\u305f\u3044\u306e\u3067\u3001\u3068\u308a\u3042\u3048\u305a\u30c6\u30b9\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u6e96\u5099\u304b\u3089\u3002","blog_url":"https://kernhack.hatenablog.com/","published":"2010-05-13 00:22:06","categories":["OS"],"width":"100%","url":"https://kernhack.hatenablog.com/entry/20100513/1273764126","description":"\u30c6\u30b9\u30c8\u7528\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002\u5358\u306b\u30b7\u30b9\u30c6\u30e0\u30b3\u30fc\u30eb\u547c\u3076\u3060\u3051\u3067\u3059\u3002 #define UNUSED __attribute__((unused)) int main(UNUSED int argc, UNUSED char **argv) { __asm__(\"mov $1, %eax\\n\\t\" \"int $0x80\\n\\t\" ); return 0; } \u81ea\u4f5c\u30ab\u30fc\u30cd\u30eb\u306f32bit\u7528\u306a\u306e\u3067\u3001gcc\u3068\u304bld\u306b32bit\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3064\u3051\u3066\u307e\u3059\u3002 libc\u3068\u304b\u306f\u5f53\u7136\u7121\u3044\u306e\u3067\u3001ld\u306b\u306f\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u3057\u3066-Bstatic\u3092\u3064\u3051\u3066\u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u306a\u30d0\u30a4\u30ca\u30ea\u306b\u3057\u3066\u307e\u3059\u3002 CC = gcc LD = ld ta\u2026","provider_name":"Hatena Blog","author_name":"masami256","author_url":"https://blog.hatena.ne.jp/masami256/"}