* archive.c (adjust_relative_path): Fix comment to prevent it
[deliverable/binutils-gdb.git] / bfd / archive.c
index 14136a045e4864ceef4f6eff3d1599f296bfb9aa..77f8829dc1f752681162131016f0bd8fc2d1c011 100644 (file)
@@ -1346,14 +1346,18 @@ normalize (bfd *abfd ATTRIBUTE_UNUSED, const char *file)
      bar.o          foo/lib.a       ../bar.o
      foo/bar.o      baz/lib.a       ../foo/bar.o
      bar.o          ../lib.a        <parent of current dir>/bar.o
-     ../bar.o       ../lib.a        bar.o
-     ../bar.o       lib.a           ../bar.o
+   ; ../bar.o       ../lib.a        bar.o
+   ; ../bar.o       lib.a           ../bar.o
      foo/bar.o      ../lib.a        <parent of current dir>/foo/bar.o
      bar.o          ../../lib.a     <grandparent>/<parent>/bar.o
      bar.o          foo/baz/lib.a   ../../bar.o
 
-     Note - the returned string is in a static buffer.  */
+   Note - the semicolons above are there to prevent the BFD chew
+   utility from interpreting those lines as prototypes to put into
+   the autogenerated bfd.h header...
 
+   Note - the string is returned in a static buffer.  */
+   
 static const char *
 adjust_relative_path (const char * path, const char * ref_path)
 {
This page took 0.024082 seconds and 4 git commands to generate.