.\"
.TH END 3 2008-07-17 "GNU" "Linux Programmer's Manual"
.\"O .SH NAME
-.SH ̾Á°
+.SH 名前
.\"O etext, edata, end \- end of program segments
-etext, edata, end \- ¥×¥í¥°¥é¥à¥»¥°¥á¥ó¥È¤Î½ª¤ï¤ê
+etext, edata, end \- プログラムセグメントの終わり
.\"O .SH SYNOPSIS
-.SH ½ñ¼°
+.SH 書式
.nf
.BI extern " etext" ;
.BI extern " edata" ;
.BI extern " end" ;
.fi
.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
+.SH 説明
.\"O The addresses of these symbols indicate the end of various program
.\"O segments:
-¤³¤ì¤é¤Î¥·¥ó¥Ü¥ë¤Î¥¢¥É¥ì¥¹¤Ï³Æ¼ï¤Î¥×¥í¥°¥é¥à¥»¥°¥á¥ó¥È¤Î½ª¤ï¤ê¤ò¼¨¤¹¡£
+これらのシンボルのアドレスは各種のプログラムセグメントの終わりを示す。
.TP
.I etext
.\"O This is the first address past the end of the text segment
.\"O (the program code).
-¥Æ¥¥¹¥È¥»¥°¥á¥ó¥È (¥×¥í¥°¥é¥à¤Î¥³¡¼¥É) ¤ÎËöÈø¤Î¼¡¤Î¥¢¥É¥ì¥¹¡£
+テキストセグメント (プログラムのコード) の末尾の次のアドレス。
.TP
.I edata
.\"O This is the first address past the end of the
.\"O initialized data segment.
-½é´ü²½¤µ¤ì¤¿¥Ç¡¼¥¿¤Î¥»¥°¥á¥ó¥È¤ÎËöÈø¤Î¼¡¤Î¥¢¥É¥ì¥¹¡£
+初期化されたデータのセグメントの末尾の次のアドレス。
.TP
.I end
.\"O This is the first address past the end of the
.\"O uninitialized data segment (also known as the BSS segment).
-½é´ü²½¤µ¤ì¤Æ¤¤¤Ê¤¤¥Ç¡¼¥¿¤Î¥»¥°¥á¥ó¥È (BSS ¥»¥°¥á¥ó¥È¤È¤â¸À¤ï¤ì¤ë)
-¤ÎËöÈø¤Î¼¡¤Î¥¢¥É¥ì¥¹¡£
+初期化されていないデータのセグメント (BSS セグメントとも言われる)
+の末尾の次のアドレス。
.\"O .SH CONFORMING TO
-.SH ½àµò
+.SH 準拠
.\"O Although these symbols have long been provided on most UNIX systems,
.\"O they are not standardized; use with caution.
-¤³¤ì¤é¤Î¥·¥ó¥Ü¥ë¤ÏĹǯ¤Û¤È¤ó¤É¤Î UNIX ¥·¥¹¥Æ¥à¤ÇÄ󶡤µ¤ì¤Æ¤¤¤ë¤¬¡¢
-ɸ½à²½¤µ¤ì¤Æ¤Ï¤¤¤Ê¤¤¡£Ãí°Õ¤·¤Æ»È¤¦¤³¤È¡£
+これらのシンボルは長年ほとんどの UNIX システムで提供されているが、
+標準化されてはいない。注意して使うこと。
.\"O .SH NOTES
-.SH Ãí°Õ
+.SH 注意
.\"O The program must explicitly declare these symbols;
.\"O they are not defined in any header file.
-¥×¥í¥°¥é¥à¤Ç¤Ï¤³¤ì¤é¤Î¥·¥ó¥Ü¥ë¤ÏÌÀ¼¨Åª¤ËÀë¸À¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
-¤³¤ì¤é¤Ï¤É¤Î¥Ø¥Ã¥À¥Õ¥¡¥¤¥ë¤Ç¤âÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤¡£
+プログラムではこれらのシンボルは明示的に宣言しなければならない。
+これらはどのヘッダファイルでも定義されていない。
.\"O On some systems the names of these symbols are preceded by underscores,
.\"O thus:
.\"O and
.\"O .IR _end .
.\"O These symbols are also defined for programs compiled on Linux.
-¤¤¤¯¤Ä¤«¤Î¥·¥¹¥Æ¥à¤Ç¤Ï¡¢¤³¤ì¤é¤Î¥·¥ó¥Ü¥ë¤Î̾Á°¤ÏÁ°¤Ë¥¢¥ó¥À¡¼¥¹¥³¥¢¤¬
-ÉÕ¤¤¤Æ¤¤¤Æ¡¢
+いくつかのシステムでは、これらのシンボルの名前は前にアンダースコアが
+付いていて、
.IR _etext ,
.IR _edata ,
.I _end
-¤È¤Ê¤Ã¤Æ¤¤¤ë¡£
-Linux ¤Ç¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¥×¥í¥°¥é¥à¤Ç¤Ï¡¢
-¤³¤ì¤é¤Î¥·¥ó¥Ü¥ë¤Ç¤âÄêµÁ¤µ¤ì¤ë¡£
+となっている。
+Linux でコンパイルされたプログラムでは、
+これらのシンボルでも定義される。
.\"O At the start of program execution,
.\"O the program break will be somewhere near
.\"O Use
.\"O .BR sbrk (2)
.\"O with an argument of zero to find the current value of the program break.
-¥×¥í¥°¥é¥à¤Î¼Â¹Ô³«»Ï»þ¤Ë¡¢¥×¥í¥°¥é¥à¡¦¥Ö¥ì¡¼¥¯¤Ï
+プログラムの実行開始時に、プログラム・ブレークは
.I &end
-¤Î¶á¤¯¤Î¤É¤³¤« (¤ª¤½¤é¤¯¼¡¤Î¥Ú¡¼¥¸¤ÎÀèƬ) ¤Ë¤Ê¤ë¡£
-¤·¤«¤·¤Ê¤¬¤é¡¢
+の近くのどこか (おそらく次のページの先頭) になる。
+しかしながら、
.BR brk (2)
-¤ä
+や
.BR malloc (3)
-¤Ç¥á¥â¥ê¤¬³ä¤êÅö¤Æ¤é¤ì¤ë¤ËÏ¢¤ì¤Æ¡¢¥×¥í¥°¥é¥à¡¦¥Ö¥ì¡¼¥¯¤ÏÊѲ½¤·¤Æ¤¤¤¯¡£
-°ú¤¿ô¤Ë 0 ¤ò»ØÄꤷ¤Æ
+でメモリが割り当てられるに連れて、プログラム・ブレークは変化していく。
+引き数に 0 を指定して
.BR sbrk (2)
-¤ò¸Æ¤Ó½Ð¤¹¤³¤È¤Ç¡¢¥×¥í¥°¥é¥à¡¦¥Ö¥ì¡¼¥¯¤Î¸½ºßÃͤòÃΤ뤳¤È¤¬¤Ç¤¤ë¡£
+を呼び出すことで、プログラム・ブレークの現在値を知ることができる。
.\"O .SH EXAMPLE
-.SH Îã
+.SH 例
.\"O When run, the program below produces output such as the following:
-²¼µ¤Î¥×¥í¥°¥é¥à¤ò¼Â¹Ô¤¹¤ë¤È¡¢¼¡¤Î¤è¤¦¤Ê½ÐÎϤ¬ÆÀ¤é¤ì¤ë¡£
+下記のプログラムを実行すると、次のような出力が得られる。
.in +4n
.nf
uninitialized data (end) 0x804a024
.fi
.\"O .SS Program source
-.SS ¥×¥í¥°¥é¥à¤Î¥½¡¼¥¹
+.SS ã\83\97ã\83ã\82°ã\83©ã\83 ã\81®ã\82½ã\83¼ã\82¹
\&
.in
.nf
}
.fi
.\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
+.SH 関連項目
.BR objdump (1),
.BR readelf (1),
.BR sbrk (2),