aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-04-13 16:44:08 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-04-13 16:44:08 +0000
commite75a280b02f870156957a6fa46cd7888714698ef (patch)
treecfc451d7cd863620820869ca1f5c130fcce8e05e /ld
parent776dbd277f12a10a7dddd6ffe3c6bc9e66c4cbea (diff)
downloadgdb-e75a280b02f870156957a6fa46cd7888714698ef.zip
gdb-e75a280b02f870156957a6fa46cd7888714698ef.tar.gz
gdb-e75a280b02f870156957a6fa46cd7888714698ef.tar.bz2
bfd/
2005-04-13 Daniel Jacobowitz <dan@codesourcery.com> * elflink.c (elf_link_input_bfd): Update check for removed sections. ld/testsuite/ 2005-04-13 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/empty.d: New file. * ld-elf/empty.s: Likewise.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-elf/empty.d7
-rw-r--r--ld/testsuite/ld-elf/empty.s10
3 files changed, 22 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 6ac830c..1c0c370 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ld-elf/empty.d: New file.
+ * ld-elf/empty.s: Likewise.
+
2005-04-11 David S. Miller <davem@davemloft.net>
* ld-sparc/tlssunbin32.dd: Update for TLS relocation fixes.
diff --git a/ld/testsuite/ld-elf/empty.d b/ld/testsuite/ld-elf/empty.d
new file mode 100644
index 0000000..ecf8aea
--- /dev/null
+++ b/ld/testsuite/ld-elf/empty.d
@@ -0,0 +1,7 @@
+#source: empty.s
+#ld:
+#readelf: -s
+
+#...
+[ ]+[0-9]+:[ ]+[0-9a-f]+[ ]+[0-9]+[ ]+FUNC[ ]+GLOBAL DEFAULT[ ]+[1-9] _start
+#pass
diff --git a/ld/testsuite/ld-elf/empty.s b/ld/testsuite/ld-elf/empty.s
new file mode 100644
index 0000000..3176f66
--- /dev/null
+++ b/ld/testsuite/ld-elf/empty.s
@@ -0,0 +1,10 @@
+ .section .bss
+bar:
+ .text
+ .type _start,"function"
+ .global _start
+_start:
+ .type __start,"function"
+ .global __start
+__start:
+ .long 0