From 94436adca0e345989cd1b8ccf70534c0cf2b2764 Mon Sep 17 00:00:00 2001 From: Boisy Pitre Date: Sun, 4 Aug 2024 07:44:46 -0500 Subject: [PATCH] Added line in SED script to add 'export' for all symbols ending in ':` --- Source/Libs/KLibc/rma2lw.sed | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Libs/KLibc/rma2lw.sed b/Source/Libs/KLibc/rma2lw.sed index 8bac73a..950b189 100644 --- a/Source/Libs/KLibc/rma2lw.sed +++ b/Source/Libs/KLibc/rma2lw.sed @@ -1,3 +1,4 @@ +/^[^ ]*:/ { h; s/:.*/: export/; H; g; } # translate name: into name EXPORT followed by name #s/^\([a-zA-Z_][a-zA-Z0-9$_]\+\):/\1 EXPORT\n\1/ s/^\([a-zA-Z_][a-zA-Z0-9$_]\+\):/_\1 EXPORT\n\1 EXPORT\n_\1\n\1/