This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib 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] | |
What does the memory heap (malloc, etc) need from an ld script?
That entirely depends on how your implementation of malloc works. It might require you to define symbols in the linker script that it can refer to later to know the amount of memory available. Or your malloc implementation might depend on something else in your BSP to test, measure, deduce or infer the amount of memory. You'll have to find out what library code you're using and look at how it works.
Thanks, - Bryce Schober
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |