summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2023-08-28 13:21:48 +1000
committerChris Johns <chrisj@rtems.org>2023-08-28 13:21:48 +1000
commitac6de5a3e91e05f068f8ed2e548056357024b944 (patch)
treeb272bb5a4f573bd7661f1481bbec0f5ef4814023 /testsuites/libtests
parentlibdl: Realloc text memory if there are trampolines (diff)
downloadrtems-ac6de5a3e91e05f068f8ed2e548056357024b944.tar.bz2
cpukit/libdl: Correctly account for section alignments
- Add the section alignment to the size as the allocator may not provide correctly aligned memory - Only include symbols in the section when locating symbols. The powerpc was incorrectly adding SDATA BSS symbols to the BSS offset overrunning the section Closes #4950
Diffstat (limited to 'testsuites/libtests')
-rw-r--r--testsuites/libtests/dl07/dl-load.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuites/libtests/dl07/dl-load.c b/testsuites/libtests/dl07/dl-load.c
index 58e3e06f78..2946120ca6 100644
--- a/testsuites/libtests/dl07/dl-load.c
+++ b/testsuites/libtests/dl07/dl-load.c
@@ -32,6 +32,7 @@
RTEMS_RTL_TRACE_WARNING | \
RTEMS_RTL_TRACE_LOAD | \
RTEMS_RTL_TRACE_UNLOAD | \
+ RTEMS_RTL_TRACE_LOAD_SECT | \
RTEMS_RTL_TRACE_SYMBOL | \
RTEMS_RTL_TRACE_RELOC | \
RTEMS_RTL_TRACE_ALLOCATOR | \