Movatterモバイル変換


[0]ホーム

URL:


This is the mail archive of thebinutils@sources.redhat.commailing list for thebinutils 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]

fix some test failures


Fixes some testsuite failures.  Actually, the mn10200 change fixes onetest and causes others to fail, but that's better than silentlygenerating bad code.  I suspect no one is particularly interested inthis port anyway.gas/ChangeLog* config/tc-i960.c (line_comment_chars): Add '#'.* config/tc-mn10200.c (tc_gen_reloc): Don't ignore fx_subsy.Index: gas/config/tc-i960.c===================================================================RCS file: /cvs/src/src/gas/config/tc-i960.c,vretrieving revision 1.16diff -u -p -r1.16 tc-i960.c--- gas/config/tc-i960.c16 Dec 2002 09:57:49 -00001.16+++ gas/config/tc-i960.c11 Jun 2003 05:56:39 -0000@@ -206,7 +206,7 @@ const char comment_chars[] = "#";  /* Also note that comments started like this one will always work.  */ -const char line_comment_chars[] = "";+const char line_comment_chars[] = "#";  const char line_separator_chars[] = ";"; Index: gas/config/tc-mn10200.c===================================================================RCS file: /cvs/src/src/gas/config/tc-mn10200.c,vretrieving revision 1.11diff -u -p -r1.11 tc-mn10200.c--- gas/config/tc-mn10200.c12 Dec 2002 22:09:12 -00001.11+++ gas/config/tc-mn10200.c11 Jun 2003 05:56:39 -0000@@ -1233,6 +1233,21 @@ tc_gen_reloc (seg, fixp)   arelent *reloc;   reloc = (arelent *) xmalloc (sizeof (arelent)); +  if (fixp->fx_subsy != NULL)+    {+      /* FIXME: We should resolve difference expressions if possible+ here.  At least this is better than silently ignoring the+ subtrahend.  */+      as_bad_where (fixp->fx_file, fixp->fx_line,+    _("can't resolve `%s' {%s section} - `%s' {%s section}"),+    fixp->fx_addsy ? S_GET_NAME (fixp->fx_addsy) : "0",+    segment_name (fixp->fx_addsy+  ? S_GET_SEGMENT (fixp->fx_addsy)+  : absolute_section),+    S_GET_NAME (fixp->fx_subsy),+    segment_name (S_GET_SEGMENT (fixp->fx_addsy)));+    }+   reloc->howto = bfd_reloc_type_lookup (stdoutput, fixp->fx_r_type);   if (reloc->howto == (reloc_howto_type *) NULL)     {-- Alan ModraIBM OzLabs - Linux Technology Centre

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

[8]ページ先頭

©2009-2025 Movatter.jp