--- old/jdk/make/common/shared/Compiler-gcc.gmk 2012-01-27 17:05:32.966313788 -0500 +++ new/jdk/make/common/shared/Compiler-gcc.gmk 2012-01-27 17:05:32.870315317 -0500 @@ -67,7 +67,7 @@ CXX = $(COMPILER_PATH)g++ endif # Option used to create a shared library - SHARED_LIBRARY_FLAG = -shared -mimpure-text + SHARED_LIBRARY_FLAG = -shared SUN_COMP_VER := $(shell $(CC) --verbose 2>&1 ) endif --- old/jdk/src/share/demo/jvmti/compiledMethodLoad/sample.makefile.txt 2012-01-27 17:05:33.293308579 -0500 +++ new/jdk/src/share/demo/jvmti/compiledMethodLoad/sample.makefile.txt 2012-01-27 17:05:33.177310427 -0500 @@ -90,7 +90,7 @@ OBJECTS=$(SOURCES:%.c=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES=-lc # Building a shared library --- old/jdk/src/share/demo/jvmti/gctest/sample.makefile.txt 2012-01-27 17:05:33.597303737 -0500 +++ new/jdk/src/share/demo/jvmti/gctest/sample.makefile.txt 2012-01-27 17:05:33.489305457 -0500 @@ -90,7 +90,7 @@ OBJECTS=$(SOURCES:%.c=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES=-lc # Building a shared library --- old/jdk/src/share/demo/jvmti/heapTracker/sample.makefile.txt 2012-01-27 17:05:33.923298544 -0500 +++ new/jdk/src/share/demo/jvmti/heapTracker/sample.makefile.txt 2012-01-27 17:05:33.807300392 -0500 @@ -94,7 +94,7 @@ OBJECTS=$(SOURCES:%.c=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES=-L $(JDK)/jre/lib/$(LIBARCH) -ljava_crw_demo -lc # Building a shared library --- old/jdk/src/share/demo/jvmti/heapViewer/sample.makefile.txt 2012-01-27 17:05:34.243293447 -0500 +++ new/jdk/src/share/demo/jvmti/heapViewer/sample.makefile.txt 2012-01-27 17:05:34.127295295 -0500 @@ -90,7 +90,7 @@ OBJECTS=$(SOURCES:%.c=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES=-lc # Building a shared library --- old/jdk/src/share/demo/jvmti/hprof/sample.makefile.txt 2012-01-27 17:05:34.584288016 -0500 +++ new/jdk/src/share/demo/jvmti/hprof/sample.makefile.txt 2012-01-27 17:05:34.457290039 -0500 @@ -130,7 +130,7 @@ OBJECTS=$(SOURCES:%.c=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES= -ldl -lc # Building a shared library --- old/jdk/src/share/demo/jvmti/index.html 2012-01-27 17:05:34.905282903 -0500 +++ new/jdk/src/share/demo/jvmti/index.html 2012-01-27 17:05:34.795284655 -0500 @@ -308,7 +308,7 @@
For AMD64: @@ -316,7 +316,7 @@
@@ -339,7 +339,7 @@
  • -Library: Use -static-libgcc -mimpure-text. +Library: Use -static-libgcc.
    When building the shared library (-shared option), this option allows for maximum portability of the library between different --- old/jdk/src/share/demo/jvmti/java_crw_demo/sample.makefile.txt 2012-01-27 17:05:35.259277264 -0500 +++ new/jdk/src/share/demo/jvmti/java_crw_demo/sample.makefile.txt 2012-01-27 17:05:35.135279239 -0500 @@ -90,7 +90,7 @@ OBJECTS=$(SOURCES:%.c=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES=-lc # Building a shared library --- old/jdk/src/share/demo/jvmti/minst/sample.makefile.txt 2012-01-27 17:05:35.583272103 -0500 +++ new/jdk/src/share/demo/jvmti/minst/sample.makefile.txt 2012-01-27 17:05:35.472273872 -0500 @@ -94,7 +94,7 @@ OBJECTS=$(SOURCES:%.c=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES=-L $(JDK)/jre/lib/$(LIBARCH) -ljava_crw_demo -lc # Building a shared library --- old/jdk/src/share/demo/jvmti/mtrace/sample.makefile.txt 2012-01-27 17:05:35.904266991 -0500 +++ new/jdk/src/share/demo/jvmti/mtrace/sample.makefile.txt 2012-01-27 17:05:35.787268854 -0500 @@ -94,7 +94,7 @@ OBJECTS=$(SOURCES:%.c=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES=-L $(JDK)/jre/lib/$(LIBARCH) -ljava_crw_demo -lc # Building a shared library --- old/jdk/src/share/demo/jvmti/versionCheck/sample.makefile.txt 2012-01-27 17:05:36.226261862 -0500 +++ new/jdk/src/share/demo/jvmti/versionCheck/sample.makefile.txt 2012-01-27 17:05:36.111263693 -0500 @@ -90,7 +90,7 @@ OBJECTS=$(SOURCES:%.c=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES=-lc # Building a shared library --- old/jdk/src/share/demo/jvmti/waiters/sample.makefile.txt 2012-01-27 17:05:36.545256781 -0500 +++ new/jdk/src/share/demo/jvmti/waiters/sample.makefile.txt 2012-01-27 17:05:36.435258533 -0500 @@ -91,7 +91,7 @@ OBJECTS=$(SOURCES:%.cpp=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES= # Building a shared library