This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
This is mostly how the existing the 'small' memory model works, which is the default. All code and data are in the lower 2GB of address space, which allows the use of 32 bit relocs and 32 bit PC-relative branches which saves a lot of overhead in the common cases.
1) Objects whose addresses are known at load time. 2) Objects allocated on the stack. 3) Objects allocated in the heap.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |