From c43cba0c8f52801ba619f687c5647d8a6e1e2490 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Mon, 24 Mar 2008 21:15:04 +0000 Subject: [PATCH] Document the new ltasneededhack component. --- en/gnome/docs/gnome_porting.sgml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/en/gnome/docs/gnome_porting.sgml b/en/gnome/docs/gnome_porting.sgml index 2d1ab0e00c..80c9fd6ea7 100644 --- a/en/gnome/docs/gnome_porting.sgml +++ b/en/gnome/docs/gnome_porting.sgml @@ -1,6 +1,6 @@ - + @@ -100,9 +100,28 @@   + + ltasneededhack + ltasneededhack hacks the port's + libtool so that the -Wl,--as-needed + flag is passed to the linker. This will result + in shared objects with smaller ELF NEEDED + sections which can improve the startup time + and module load time of some applications. + In order to use ltasneededhack + the port must define + USE_AUTOTOOLS=libtool:15. + NOTE: be sure to thoroughly test + the resulting application to make sure + there are no undefined symbol errors after + adding this hack. + +   + + ltverhack - ltverhack noralizes shared + ltverhack normalizes shared object versions so that they do not change needlessly. Using ltverhack keeps shared object versions in line with