1234567891011121314151617181920212223242526272829303132333435363738 |
- #ifdef CONFIG_USERSPACE
-
- _kobject_text_area_start = .;
- *(".kobject_data.text*")
- _kobject_text_area_end = .;
- _kobject_text_area_used = _kobject_text_area_end - _kobject_text_area_start;
- #ifndef LINKER_ZEPHYR_FINAL
- #ifdef CONFIG_DYNAMIC_OBJECTS
- PROVIDE(z_object_gperf_find = .);
- PROVIDE(z_object_gperf_wordlist_foreach = .);
- #else
- PROVIDE(z_object_find = .);
- PROVIDE(z_object_wordlist_foreach = .);
- #endif
- #endif
-
- . = MAX(., _kobject_text_area_start + CONFIG_KOBJECT_TEXT_AREA);
- ASSERT(
- CONFIG_KOBJECT_TEXT_AREA >= _kobject_text_area_used,
- "Reserved space for kobject text area is too small. \
- Please change CONFIG_KOBJECT_TEXT_AREA to a larger number."
- );
- #endif
|