Title: [149714] trunk
Revision
149714
Author
[email protected]
Date
2013-05-08 00:03:55 -0700 (Wed, 08 May 2013)

Log Message

[Automake] Pass --no-demangle to the linker by default to get the mangled symbols
https://bugs.webkit.org/show_bug.cgi?id=115732

Reviewed by Gustavo Noronha Silva.

* GNUmakefile.am: Pass the --no-demangle option to the linker by default. This is done by appending
the flag to the LDFLAGS variable. While the AM_LDFLAGS variable would be more appropriate, it's not
at all used when linking installable libraries like libwebkitgtk and libwebkit2gtk, so the LDFLAGS
variable is used instead.

Modified Paths

Diff

Modified: trunk/ChangeLog (149713 => 149714)


--- trunk/ChangeLog	2013-05-08 07:00:31 UTC (rev 149713)
+++ trunk/ChangeLog	2013-05-08 07:03:55 UTC (rev 149714)
@@ -1,3 +1,15 @@
+2013-05-08  Zan Dobersek  <[email protected]>
+
+        [Automake] Pass --no-demangle to the linker by default to get the mangled symbols
+        https://bugs.webkit.org/show_bug.cgi?id=115732
+
+        Reviewed by Gustavo Noronha Silva.
+
+        * GNUmakefile.am: Pass the --no-demangle option to the linker by default. This is done by appending
+        the flag to the LDFLAGS variable. While the AM_LDFLAGS variable would be more appropriate, it's not
+        at all used when linking installable libraries like libwebkitgtk and libwebkit2gtk, so the LDFLAGS
+        variable is used instead.
+
 2013-05-07  Gyuyoung Kim  <[email protected]>
 
         [CMAKE] Remove SHADOW_DOM from cmakeconfig.h.cmake

Modified: trunk/GNUmakefile.am (149713 => 149714)


--- trunk/GNUmakefile.am	2013-05-08 07:00:31 UTC (rev 149713)
+++ trunk/GNUmakefile.am	2013-05-08 07:03:55 UTC (rev 149714)
@@ -178,6 +178,11 @@
 	-DGCC_INSTRUMENT_PROGRAM_FLOW_ARCS
 endif
 
+# Default to outputting demangled symbols in case of reporting unresolved references or similar.
+# Using AM_LDFLAGS would be more appropriate here, but these are not used at all when linking installable libraries
+# like libwebkitgtk and libwebkit2gtk, so appending the linker flag to the LDFLAGS variable is done instead.
+LDFLAGS += -Wl,--no-demangle
+
 EXTRA_DIST += \
 	$(srcdir)/Source/autotools/symbols.filter \
 	$(srcdir)/Source/WebKit/LICENSE
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to