diff options
author | Ian Lance Taylor <iant@google.com> | 2007-12-01 06:50:09 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-12-01 06:50:09 +0000 |
commit | c92003e082adbe60975da2701eac1ba03ecba486 (patch) | |
tree | bfda074245f5abbb94baa9681dc59a23db523d04 /gold | |
parent | ae3e2ab146c03a6e2d451e9fde002a66b10ea46f (diff) | |
download | gdb-c92003e082adbe60975da2701eac1ba03ecba486.zip gdb-c92003e082adbe60975da2701eac1ba03ecba486.tar.gz gdb-c92003e082adbe60975da2701eac1ba03ecba486.tar.bz2 |
Compile shared library code with -fPIC. Also, alphabetize.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/Makefile.am | 2 | ||||
-rw-r--r-- | gold/Makefile.in | 4 | ||||
-rw-r--r-- | gold/testsuite/Makefile.am | 6 | ||||
-rw-r--r-- | gold/testsuite/Makefile.in | 6 |
4 files changed, 9 insertions, 9 deletions
diff --git a/gold/Makefile.am b/gold/Makefile.am index 84c39b9..59501c6 100644 --- a/gold/Makefile.am +++ b/gold/Makefile.am @@ -50,8 +50,8 @@ CCFILES = \ reloc.cc \ resolve.cc \ script.cc \ - symtab.cc \ stringpool.cc \ + symtab.cc \ target-select.cc \ version.cc \ workqueue.cc \ diff --git a/gold/Makefile.in b/gold/Makefile.in index cae5524..9345701 100644 --- a/gold/Makefile.in +++ b/gold/Makefile.in @@ -78,7 +78,7 @@ am__objects_1 = archive.$(OBJEXT) common.$(OBJEXT) \ merge.$(OBJEXT) object.$(OBJEXT) options.$(OBJEXT) \ output.$(OBJEXT) parameters.$(OBJEXT) readsyms.$(OBJEXT) \ reloc.$(OBJEXT) resolve.$(OBJEXT) script.$(OBJEXT) \ - symtab.$(OBJEXT) stringpool.$(OBJEXT) target-select.$(OBJEXT) \ + stringpool.$(OBJEXT) symtab.$(OBJEXT) target-select.$(OBJEXT) \ version.$(OBJEXT) workqueue.$(OBJEXT) \ workqueue-threads.$(OBJEXT) am__objects_2 = @@ -307,8 +307,8 @@ CCFILES = \ reloc.cc \ resolve.cc \ script.cc \ - symtab.cc \ stringpool.cc \ + symtab.cc \ target-select.cc \ version.cc \ workqueue.cc \ diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index 1b0da6e..c7a5571 100644 --- a/gold/testsuite/Makefile.am +++ b/gold/testsuite/Makefile.am @@ -141,11 +141,11 @@ debug_msg.err: debug_msg.o odr_violation1.o odr_violation2.o gcctestdir/ld # See if we can also detect problems when we're linking .so's, not .o's. debug_msg.so: debug_msg.cc - $(CXXCOMPILE) -O0 -g -shared -w -o $@ $(srcdir)/debug_msg.cc + $(CXXCOMPILE) -O0 -g -shared -fPIC-w -o $@ $(srcdir)/debug_msg.cc odr_violation1.so: odr_violation1.cc - $(CXXCOMPILE) -O0 -g -shared -w -o $@ $(srcdir)/odr_violation1.cc + $(CXXCOMPILE) -O0 -g -shared -fPIC -w -o $@ $(srcdir)/odr_violation1.cc odr_violation2.so: odr_violation2.cc - $(CXXCOMPILE) -O0 -g -shared -w -o $@ $(srcdir)/odr_violation2.cc + $(CXXCOMPILE) -O0 -g -shared -fPIC -w -o $@ $(srcdir)/odr_violation2.cc debug_msg_so.err: debug_msg.so odr_violation1.so odr_violation2.so gcctestdir/ld @echo $(CXXLINK) -Bgcctestdir/ -Wl,--detect-odr-violations -o debug_msg_so debug_msg.so odr_violation1.so odr_violation2.so "2>$@" @if $(CXXLINK) -Bgcctestdir/ -Wl,--detect-odr-violations -o debug_msg_so debug_msg.so odr_violation1.so odr_violation2.so 2>$@; \ diff --git a/gold/testsuite/Makefile.in b/gold/testsuite/Makefile.in index a3d6aa5..f6a3c20 100644 --- a/gold/testsuite/Makefile.in +++ b/gold/testsuite/Makefile.in @@ -1230,11 +1230,11 @@ uninstall-am: uninstall-info-am # See if we can also detect problems when we're linking .so's, not .o's. @GCC_TRUE@@NATIVE_LINKER_TRUE@debug_msg.so: debug_msg.cc -@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(CXXCOMPILE) -O0 -g -shared -w -o $@ $(srcdir)/debug_msg.cc +@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(CXXCOMPILE) -O0 -g -shared -fPIC-w -o $@ $(srcdir)/debug_msg.cc @GCC_TRUE@@NATIVE_LINKER_TRUE@odr_violation1.so: odr_violation1.cc -@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(CXXCOMPILE) -O0 -g -shared -w -o $@ $(srcdir)/odr_violation1.cc +@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(CXXCOMPILE) -O0 -g -shared -fPIC -w -o $@ $(srcdir)/odr_violation1.cc @GCC_TRUE@@NATIVE_LINKER_TRUE@odr_violation2.so: odr_violation2.cc -@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(CXXCOMPILE) -O0 -g -shared -w -o $@ $(srcdir)/odr_violation2.cc +@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(CXXCOMPILE) -O0 -g -shared -fPIC -w -o $@ $(srcdir)/odr_violation2.cc @GCC_TRUE@@NATIVE_LINKER_TRUE@debug_msg_so.err: debug_msg.so odr_violation1.so odr_violation2.so gcctestdir/ld @GCC_TRUE@@NATIVE_LINKER_TRUE@ @echo $(CXXLINK) -Bgcctestdir/ -Wl,--detect-odr-violations -o debug_msg_so debug_msg.so odr_violation1.so odr_violation2.so "2>$@" @GCC_TRUE@@NATIVE_LINKER_TRUE@ @if $(CXXLINK) -Bgcctestdir/ -Wl,--detect-odr-violations -o debug_msg_so debug_msg.so odr_violation1.so odr_violation2.so 2>$@; \ |