aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2006-09-12 22:10:31 +0000
committerH.J. Lu <hjl.tools@gmail.com>2006-09-12 22:10:31 +0000
commit41198d0cfa94b0197dc8bdfb9542ad55ce980850 (patch)
tree793f1aeedaa770464a7da60d4d7cbfab4d803cde /ld
parentcd269619269e6b7700e65e194d1a05288f87f928 (diff)
downloadgdb-41198d0cfa94b0197dc8bdfb9542ad55ce980850.zip
gdb-41198d0cfa94b0197dc8bdfb9542ad55ce980850.tar.gz
gdb-41198d0cfa94b0197dc8bdfb9542ad55ce980850.tar.bz2
bfd/
2006-09-12 H.J. Lu <hongjiu.lu@intel.com> PR ld/3197 * elflink.c (elf_link_output_extsym): Compute bucket only if needed. ld/testsuite/ 2006-09-12 H.J. Lu <hongjiu.lu@intel.com> PR ld/3197 * ld-elf/hash.d: New test.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-elf/hash.d8
2 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 9e90891..d482c48 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-12 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/3197
+ * ld-elf/hash.d: New test.
+
2006-09-04 Vladimir Prus <vladimir@codesourcery.com>
* ld-arm/use-thumb-lib.sym: Use regexps instead of
diff --git a/ld/testsuite/ld-elf/hash.d b/ld/testsuite/ld-elf/hash.d
new file mode 100644
index 0000000..20c7790
--- /dev/null
+++ b/ld/testsuite/ld-elf/hash.d
@@ -0,0 +1,8 @@
+#source: start.s
+#readelf: -d
+#ld: -shared --hash-style=gnu
+#target: *-*-linux*
+
+#...
+[ ]*0x[0-9a-z]+[ ]+\(GNU_HASH\)[ ]+0x[0-9a-z]+
+#...