The December 2002 developer tools include a new option to ld, -exported_symbols_list. This allows you to limit the exported symbols without using nmedit (faster, since you don't need a second pass). We should add an autoconf test for this and use it if it's available. Also, we don't use MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS when MOZ_DEBUG is set on other platforms; we shouldn't run nmedit in that case either (for developers with older tools)... it's really slow on a debug libgklayout.
Comment on attachment 115742 [details] [diff] [review] patch r=cls