diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 2467acea98e..e22765dfb86 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* ld-elf/shared.exp: Comment out dl3b.
+
 2009-07-30  Hans-Peter Nilsson  <hp@bitrange.com>
 
 	* ld-scripts/empty-address-3a.d, ld-scripts/empty-address-3b.d:
diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp
index 4f45bdd6569..2ccfc72dcf1 100644
--- a/ld/testsuite/ld-elf/shared.exp
+++ b/ld/testsuite/ld-elf/shared.exp
@@ -299,9 +299,10 @@ set run_cxx_tests {
     {"Run with libdl3a.so"
      "tmpdir/libdl3a.so" ""
      {dl3main.cc} "dl3a" "dl3a.out" "" "c++"}
-    {"Run with libdl3b.so"
-     "tmpdir/libdl3b.so" ""
-     {dl3main.cc} "dl3b" "dl3b.out" "" "c++"}
+# "-shared -Bsymbolic" only works with gcc 4.5.0 and newer.
+#    {"Run with libdl3b.so"
+#     "tmpdir/libdl3b.so" ""
+#     {dl3main.cc} "dl3b" "dl3b.out" "" "c++"}
     {"Run with libdl3c.so"
      "tmpdir/libdl3c.so" ""
      {dl3main.cc} "dl3c" "dl3a.out" "" "c++"}