This is the mail archive of the binutils@sources.redhat.com 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]

elf.sc broken


The last change to elf.sc introduced a broken comment: this is shell code
not C. :-)

Andreas.

2000-08-11  Andreas Schwab  <schwab@suse.de>

	* scripttempl/elf.sc: Fix last change to use correct comment
	syntax.

Index: ld/scripttempl/elf.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elf.sc,v
retrieving revision 1.14
diff -u -a -u -r1.14 ld/scripttempl/elf.sc
--- ld/scripttempl/elf.sc	2000/08/10 23:43:57	1.14
+++ ld/scripttempl/elf.sc	2000/08/11 12:20:06
@@ -37,26 +37,25 @@
 # when specifying the start address of the next.
 #
 
-/* Many sections come in three flavours.  There is the 'real' section,
-   like ".data".  Then there are the per-procedure or per-variable
-   sections, generated by -ffunction-sections and -fdata-sections in GCC,
-   and useful for --gc-sections, which for a variable "foo" might be
-   ".data.foo".  Then there are the linkonce sections, for which the linker
-   eliminates duplicates, which are named like ".gnu.linkonce.d.foo".
-   The exact correspondences are:
-
-   Section	Linkonce section
-   .text	.gnu.linkonce.t.foo
-   .rodata	.gnu.linkonce.r.foo
-   .data	.gnu.linkonce.d.foo
-   .bss		.gnu.linkonce.b.foo
-   .sdata	.gnu.linkonce.s.foo
-   .sbss	.gnu.linkonce.sb.foo
-   .sdata2	.gnu.linkonce.s2.foo
-   .sbss2	.gnu.linkonce.sb2.foo
-
-   Each of these can also have corresponding .rel.* and .rela.* sections.
-*/
+#  Many sections come in three flavours.  There is the 'real' section,
+#  like ".data".  Then there are the per-procedure or per-variable
+#  sections, generated by -ffunction-sections and -fdata-sections in GCC,
+#  and useful for --gc-sections, which for a variable "foo" might be
+#  ".data.foo".  Then there are the linkonce sections, for which the linker
+#  eliminates duplicates, which are named like ".gnu.linkonce.d.foo".
+#  The exact correspondences are:
+#
+#  Section	Linkonce section
+#  .text	.gnu.linkonce.t.foo
+#  .rodata	.gnu.linkonce.r.foo
+#  .data	.gnu.linkonce.d.foo
+#  .bss		.gnu.linkonce.b.foo
+#  .sdata	.gnu.linkonce.s.foo
+#  .sbss	.gnu.linkonce.sb.foo
+#  .sdata2	.gnu.linkonce.s2.foo
+#  .sbss2	.gnu.linkonce.sb2.foo
+#
+#  Each of these can also have corresponding .rel.* and .rela.* sections.
 
 test -z "$ENTRY" && ENTRY=_start
 test -z "${BIG_OUTPUT_FORMAT}" && BIG_OUTPUT_FORMAT=${OUTPUT_FORMAT}

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg

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