This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

How to limit the size of a program?


Hi All,
I want to limit the size of runtime code and data
(including .text, .data, .bss, .sbss sections) when linking a program.
I want LD to report an error if the size is larger than some specified
value (i.e. 0x4000). I guess this may be related to the linker script.
What should I do?

-------------
Best Regards,
PRC
Oct 14, 2008


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]