⛏️ index : buildtools.git

author François Revol <revol@free.fr> 2007-10-26 16:58:21.0 +00:00:00
committer François Revol <revol@free.fr> 2007-10-26 16:58:21.0 +00:00:00
commit
d6ccef5ab06e69b3f1ec0a01d50f90cf36ceeeb4 [patch]
tree
844eb3fb47611dd6f779b37fa09c9793538580e5
parent
df8195dfa4318616354218bc583357df8c09d3cc
download
d6ccef5ab06e69b3f1ec0a01d50f90cf36ceeeb4.tar.gz

This is the only way I could get reg-printf.c from glibc, some stupid handling of comments used to discard gcc output... Wonder why it doesn't happen on x86 ? (maybe cause comment chars are different ?) cf. http://sources.redhat.com/ml/binutils/2004-04/msg00646.html

git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22737 a95241bf-73f2-0310-859d-f6bbb57e9c96

Diff

 binutils/gas/read.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/binutils/gas/read.c b/binutils/gas/read.c
index 0485d72..e78ba89 100644
--- a/binutils/gas/read.c
+++ b/binutils/gas/read.c
@@ -1011,7 +1011,12 @@
	      bump_line_counters ();
	      s = input_line_pointer;
	      if (strncmp (s, "APP\n", 4))
		continue;	/* We ignore it */
		{
		  /* We ignore it */
		  ignore_rest_of_line ();
		  continue;
		}
	      bump_line_counters ();
	      s += 4;

	      sb_new (&sbuf);