mbox series

[v2,0/2] Mini-OS: hide mini-os internal symbols

Message ID 20231123160804.17621-1-jgross@suse.com (mailing list archive)
Headers show
Series Mini-OS: hide mini-os internal symbols | expand

Message

Jürgen Groß Nov. 23, 2023, 4:08 p.m. UTC
In order to avoid conflicts due to symbols with the same name when
linking Mini-OS with an application, hide all Mini9-OS internal symbols
from the application by linking the Mini-OS kernel individually and
then removing all symbols which should be used internally only.

Changes in V2:
- added more symbols in patch 2

Juergen Gross (2):
  Mini-OS: link kernel separately
  Mini-OS: keep a positive list of externally visible symbols

 Makefile    |   8 +-
 mini-os.map | 295 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 301 insertions(+), 2 deletions(-)
 create mode 100644 mini-os.map