|
|
1.1 ! root 1: ! 2: ! 3: end Linker-Defined Symbol end ! 4: ! 5: ! 6: ! 7: extern int end[]; ! 8: ! 9: end is the location after the uninitialized data segment. It is ! 10: defined by the linker when it binds the program together for ex- ! 11: ecution. The value of end is merely an address. The location to ! 12: which it points contains no known value, and may be illegal ! 13: memory locations for the program. The value of end does not ! 14: change while the program is running. ! 15: ! 16: ***** Example ***** ! 17: ! 18: ! 19: ! 20: main() ! 21: { ! 22: extern int end[]; ! 23: printf("end=%lx\n", (long) end); ! 24: } ! 25: ! 26: ! 27: ***** See Also ***** ! 28: ! 29: etext, ld, linker-defined symbols, malloc() ! 30: ! 31: ! 32: ! 33: ! 34: ! 35: ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.