[PATCH 0/5] Add libdl support to MicroBlaze

Alex White alex.white at oarcorp.com
Mon Aug 28 01:30:08 UTC 2023


Hi,

This patch set adds libdl support to MicroBlaze. All tests pass except for dl05
and dl06. To get dl07, dl08, and dl09 to pass, I removed the use of floating
point numbers from those tests.

Alex

Alex White (5):
  microblaze: Add libdl support
  testsuites/libtests: Remove floats from libdl tests
  microblaze: Align exception-related sections
  microblaze: Add dl06 to expected failures
  microblaze: Add dl05 to expected failures

 cpukit/libdl/rtl-mdreloc-microblaze.c         | 291 ++++++++++++++++++
 cpukit/libdl/rtl-tls.c                        |   2 +-
 .../microblaze/include/machine/elf_machdep.h  |  83 +++++
 .../microblaze/microblaze_fpga/linkcmds.yml   |   8 +-
 .../microblaze_fpga/tstkcu105_qemu.yml        |  10 +-
 spec/build/cpukit/cpumicroblaze.yml           |   3 +
 spec/build/cpukit/objdl.yml                   |   2 +
 spec/build/cpukit/objdlmicroblaze.yml         |  15 +
 spec/build/cpukit/optlibdl.yml                |   1 +
 testsuites/libtests/dl07/dl-o1.h              |  11 +-
 testsuites/libtests/dl07/dl-o2.h              |   8 +-
 testsuites/libtests/dl07/dl-o4.h              |   1 -
 testsuites/libtests/dl07/dl07-o1.c            |  16 +-
 testsuites/libtests/dl07/dl07-o2.c            |  13 +-
 testsuites/libtests/dl07/dl07-o3.c            |   6 -
 testsuites/libtests/dl07/dl07-o4.c            |   5 -
 testsuites/libtests/dl07/dl07-o5.c            |   3 -
 testsuites/libtests/dl08/dl-o1.h              |  11 +-
 testsuites/libtests/dl08/dl-o2.h              |   8 +-
 testsuites/libtests/dl08/dl-o4.h              |   1 -
 testsuites/libtests/dl08/dl08-o1.c            |  16 +-
 testsuites/libtests/dl08/dl08-o2.c            |  10 +-
 testsuites/libtests/dl08/dl08-o3.c            |   1 -
 testsuites/libtests/dl08/dl08-o4.c            |   2 -
 testsuites/libtests/dl09/dl-o1.h              |  11 +-
 testsuites/libtests/dl09/dl-o2.h              |   8 +-
 testsuites/libtests/dl09/dl-o4.h              |   1 -
 testsuites/libtests/dl09/dl09-o1.c            |  16 +-
 testsuites/libtests/dl09/dl09-o2.c            |  10 +-
 testsuites/libtests/dl09/dl09-o3.c            |   1 -
 testsuites/libtests/dl09/dl09-o4.c            |   2 -
 31 files changed, 454 insertions(+), 122 deletions(-)
 create mode 100644 cpukit/libdl/rtl-mdreloc-microblaze.c
 create mode 100644 cpukit/score/cpu/microblaze/include/machine/elf_machdep.h
 create mode 100644 spec/build/cpukit/objdlmicroblaze.yml

-- 
2.34.1



More information about the devel mailing list