GCC ã®æé©å㧠printf ã puts ã«ãªãå ´å GCC ã®æé©åã«ãã printf ã®å¼ã³åºãã puts ã«ç½®ãæãããã¨ãããã㨠å æ¥ãæãã¦ããã£ãã®ã§è©¦ãã¦ã¿ã¾ããã 次ã®ãã㪠hello.c ãã¾ãæé©åãªãã§ã³ã³ãã¤ã«ãã¾ãã #include <stdio.h> int main () { printf("hello, world\n"); return 0; } % gcc -o hello hello.c ããã¦ãå®è¡å¯è½ãã¡ã¤ã« hello ã readelf ã³ãã³ãã§è¦ãã¦ã¿ãã¨ã printf ã¨ããæååãè¦ã¤ããã¾ãã puts ã¯è¦ãããã¾ããã % readelf -a hello | egrep 'printf|puts' 080495d0 00000207 R_386_JUMP_SLOT 00000000 printf 2: 0000
{{#tags}}- {{label}}
{{/tags}}