From: Richard W. <ri...@no...> - 2016-06-12 22:55:22
|
Am 12.06.2016 um 23:41 schrieb Vegard Nossum: > I see... nice and hacky ;-) I'll try the same for snprintf and see if > that works around my bug. > >> A much better approach would be having a real linker scope. >> Some time ago I posted some thoughts on that: >> https://lkml.org/lkml/2015/11/19/758 >> >> Due to -ENOTIME this never materialized, though. ;-( > > Cool, objcopy -G/--keep-global-symbol(s) seems like a good solution. > Doesn't look like it should be too difficult. I might give it a try. Not really difficult but unpleasant. ;-) IIRC last time I looked I figured that UML's source structure and build process would need a big rework to achieve that. Would be cool if you could work on it, I'll happily assist as far as my spare time permits. Thanks, //richard |