This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: A testcase for section sizing + orphan placement bugs


I am checking this patch for

http://sourceware.org/ml/binutils/2005-11/msg00343.html

It is to make sure that the PR 2065 fix won't break it.

H.J.
----
2005-12-18  H.J. Lu  <hongjiu.lu@intel.com>

	* ld-elf/unknown2.d: New.
	* ld-elf/unknown2.s: Likewise.

--- ld-elf/unknown2.d.shared	2005-12-18 08:08:44.000000000 -0800
+++ ld-elf/unknown2.d	2005-12-18 08:13:29.000000000 -0800
@@ -0,0 +1,7 @@
+#source: unknown2.s
+#ld: -shared
+#readelf: -S
+
+#...
+  \[[ 0-9]+\] \.note.foo[ \t]+NOTE[ \t]+.*
+#pass
--- ld-elf/unknown2.s.shared	2005-12-18 08:08:47.000000000 -0800
+++ ld-elf/unknown2.s	2005-12-18 08:08:17.000000000 -0800
@@ -0,0 +1,6 @@
+	.section .note.foo,"a","note"
+	.space 16
+	.section .data,"aw"
+	.space 3800
+	.section .rodata,"a"
+	.space 4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]