- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear everybody,
I have noted a strange behaviour of the GNU linker whenever I have declared a "const char" structure of less than 10 bytes size. Instead to allocate the structure in the .text section, the linker has allocated the structure in the .data section. If the structure is greater than 9 bytes size, the linker allocates its in the .text section. Could you explain this behaviour ? Best Regards /AlessandroLink Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page