[rtems-crossrpms commit] New.

Ralf Corsepius ralf at rtems.org
Thu Jan 30 18:03:14 UTC 2014


Module:    rtems-crossrpms
Branch:    master
Commit:    5dc10c333564b7c9cb69db5975f8b77bac333503
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=5dc10c333564b7c9cb69db5975f8b77bac333503

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Wed Dec 11 05:34:27 2013 +0100

New.

---

 patches/cygwin-binutils-2.23.51-1-20131211.diff |  255 +++++++++++++++++++++++
 patches/cygwin-binutils-2.23.52-5-20131211.diff |   15 ++
 2 files changed, 270 insertions(+), 0 deletions(-)

diff --git a/patches/cygwin-binutils-2.23.51-1-20131211.diff b/patches/cygwin-binutils-2.23.51-1-20131211.diff
new file mode 100644
index 0000000..92e8771
--- /dev/null
+++ b/patches/cygwin-binutils-2.23.51-1-20131211.diff
@@ -0,0 +1,255 @@
+diff -Naur binutils-2.23.51-1.orig/gas/ChangeLog binutils-2.23.51-1/gas/ChangeLog
+--- binutils-2.23.51-1.orig/gas/ChangeLog	2013-03-09 23:06:40.000000000 +0100
++++ binutils-2.23.51-1/gas/ChangeLog	2013-12-11 04:55:42.489055846 +0100
+@@ -1,3 +1,22 @@
++2013-03-14  Andreas Schwab  <schwab at suse.de>
++
++	* doc/c-arc.texi (ARC Directives): Revert last change and use
++	@itemize instead of @table.
++	* doc/c-arm.texi (ARM-Instruction-Set): Likewise.
++
++2013-03-14  Nick Clifton  <nickc at redhat.com>
++
++	PR gas/15212
++	* doc/c-arc.texi (ARC Directives): Use @code instead of @bullet
++	for table format.
++	* doc/c-arm.texi (ARM-Instruction-Set): Likewise.  Also add text
++	to the @item directives.
++	(ARM-Neon-Alignment): Move to correct place in the document.
++	* doc/c-cr16.texi (CR16 Operand Qualifiers): Fix up table
++	formatting.
++	* doc/c-tic54x.texi (TIC54X-Subsyms): Correct use of
++	@smallexample.
++
+ 2013-03-08  Chung-Lin Tang  <cltang at codesourcery.com>
+ 
+ 	* write.h (struct fix): Add fx_dot_frag field.
+@@ -33,7 +52,7 @@
+ 2013-02-28  H.J. Lu  <hongjiu.lu at intel.com>
+ 
+ 	* config/tc-i386.c (_i386_insn): Add rep_prefix.
+-	(md_assemble): Check if REP prefix is OK. 
++	(md_assemble): Check if REP prefix is OK.
+ 	(parse_insn): Remove expecting_string_instruction.  Set
+ 	i.rep_prefix.
+ 
+diff -Naur binutils-2.23.51-1.orig/gas/doc/c-arc.texi binutils-2.23.51-1/gas/doc/c-arc.texi
+--- binutils-2.23.51-1.orig/gas/doc/c-arc.texi	2013-01-16 16:20:11.000000000 +0100
++++ binutils-2.23.51-1/gas/doc/c-arc.texi	2013-12-11 04:55:42.489055846 +0100
+@@ -1,4 +1,4 @@
+- at c Copyright 2000, 2001, 2005, 2006, 2007, 2011 Free Software Foundation, Inc.
++ at c Copyright 2000-2013 Free Software Foundation, Inc.
+ @c This is part of the GAS manual.
+ @c For copying conditions, see the file as.texinfo.
+ 
+@@ -220,7 +220,7 @@
+ encodings for use of these instructions according to the specification
+ by the user.  The parameters are:
+ 
+- at table @bullet
++ at itemize @bullet
+ @item @var{name}
+ Name of the extension instruction
+ 
+@@ -279,7 +279,7 @@
+ with SYNTAX_20P.
+ 
+ @end itemize
+- at end table
++ at end itemize
+ 
+ For example, defining 64-bit multiplier with immediate operands:
+ 
+diff -Naur binutils-2.23.51-1.orig/gas/doc/c-arm.texi binutils-2.23.51-1/gas/doc/c-arm.texi
+--- binutils-2.23.51-1.orig/gas/doc/c-arm.texi	2013-03-06 17:33:09.000000000 +0100
++++ binutils-2.23.51-1/gas/doc/c-arm.texi	2013-12-11 04:55:42.490055837 +0100
+@@ -1,5 +1,4 @@
+- at c Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
+- at c 2006, 2007, 2008, 2009, 2010, 2011  Free Software Foundation, Inc.
++ at c Copyright 1996-2013 Free Software Foundation, Inc.
+ @c This is part of the GAS manual.
+ @c For copying conditions, see the file as.texinfo.
+ 
+@@ -390,7 +389,7 @@
+ @code{unified} syntax, which can be selected via the @code{.syntax}
+ directive, and has the following main features:
+ 
+- at table @bullet
++ at itemize @bullet
+ @item
+ Immediate operands do not require a @code{#} prefix.
+ 
+@@ -415,7 +414,7 @@
+ @item
+ All instructions set the flags if and only if they have an @code{s}
+ affix.
+- at end table
++ at end itemize
+ 
+ @node ARM-Chars
+ @subsection Special Characters
+@@ -451,28 +450,6 @@
+ @cindex register names, ARM
+ *TODO* Explain about ARM register naming, and the predefined names.
+ 
+- at node ARM-Neon-Alignment
+- at subsection NEON Alignment Specifiers
+-
+- at cindex alignment for NEON instructions
+-Some NEON load/store instructions allow an optional address
+-alignment qualifier.
+-The ARM documentation specifies that this is indicated by
+- at samp{@@ @var{align}}. However GAS already interprets
+-the @samp{@@} character as a "line comment" start,
+-so @samp{: @var{align}} is used instead.  For example:
+-
+- at smallexample
+-        vld1.8 @{q0@}, [r0, :128]
+- at end smallexample
+-
+- at node ARM Floating Point
+- at section Floating Point
+-
+- at cindex floating point, ARM (@sc{ieee})
+- at cindex ARM floating point (@sc{ieee})
+-The ARM family uses @sc{ieee} floating-point numbers.
+-
+ @node ARM-Relocations
+ @subsection ARM relocation generation
+ 
+@@ -519,6 +496,28 @@
+         MOVT r0, #:upper16:foo
+ @end smallexample
+ 
++ at node ARM-Neon-Alignment
++ at subsection NEON Alignment Specifiers
++
++ at cindex alignment for NEON instructions
++Some NEON load/store instructions allow an optional address
++alignment qualifier.
++The ARM documentation specifies that this is indicated by
++ at samp{@@ @var{align}}. However GAS already interprets
++the @samp{@@} character as a "line comment" start,
++so @samp{: @var{align}} is used instead.  For example:
++
++ at smallexample
++        vld1.8 @{q0@}, [r0, :128]
++ at end smallexample
++
++ at node ARM Floating Point
++ at section Floating Point
++
++ at cindex floating point, ARM (@sc{ieee})
++ at cindex ARM floating point (@sc{ieee})
++The ARM family uses @sc{ieee} floating-point numbers.
++
+ @node ARM Directives
+ @section ARM Machine Directives
+ 
+diff -Naur binutils-2.23.51-1.orig/gas/doc/c-cr16.texi binutils-2.23.51-1/gas/doc/c-cr16.texi
+--- binutils-2.23.51-1.orig/gas/doc/c-cr16.texi	2013-01-16 16:20:11.000000000 +0100
++++ binutils-2.23.51-1/gas/doc/c-cr16.texi	2013-12-11 04:55:42.490055837 +0100
+@@ -1,4 +1,4 @@
+- at c Copyright 2007, 2008, 2011 Free Software Foundation, Inc.
++ at c Copyright 2007-2013 Free Software Foundation, Inc.
+ @c This is part of the GAS manual.
+ @c For copying conditions, see the file as.texinfo.
+ 
+@@ -44,26 +44,33 @@
+ CR16 target operand qualifiers and its size (in bits):
+ 
+ @table @samp
+- at item Immediate Operand
+-- s ---- 4 bits
+- at item
+-- m ---- 16 bits, for movb and movw instructions.
+- at item
+-- m ---- 20 bits, movd instructions.
+- at item
+-- l ---- 32 bits
+-
+- at item Absolute Operand
+-- s ---- Illegal specifier for this operand.
+- at item
+-- m ---- 20 bits, movd instructions.
+-
+- at item Displacement Operand
+-- s ---- 8 bits
+- at item
+-- m ---- 16 bits
+- at item
+-- l ---- 24 bits
++ at item Immediate Operand: s
++4 bits.
++
++ at item Immediate Operand: m
++16 bits, for movb and movw instructions.
++
++ at item Immediate Operand: m
++20 bits, movd instructions.
++
++ at item Immediate Operand: l
++32 bits.
++
++ at item Absolute Operand: s
++Illegal specifier for this operand.
++
++ at item Absolute Operand: m
++20 bits, movd instructions.
++
++ at item Displacement Operand: s
++8 bits.
++
++ at item Displacement Operand: m
++16 bits.
++
++ at item Displacement Operand: l
++24 bits.
++
+ @end table
+ 
+ For example:
+diff -Naur binutils-2.23.51-1.orig/gas/doc/c-tic54x.texi binutils-2.23.51-1/gas/doc/c-tic54x.texi
+--- binutils-2.23.51-1.orig/gas/doc/c-tic54x.texi	2013-01-16 16:20:11.000000000 +0100
++++ binutils-2.23.51-1/gas/doc/c-tic54x.texi	2013-12-11 04:55:42.491055828 +0100
+@@ -1,4 +1,4 @@
+- at c Copyright 2000, 2002, 2003, 2006, 2011 Free Software Foundation, Inc.
++ at c Copyright 2000-2013 Free Software Foundation, Inc.
+ @c This is part of the GAS manual.
+ @c For copying conditions, see the file as.texinfo.
+ @c TI TMS320C54X description by Timothy Wall, twall at cygnus.com
+@@ -109,7 +109,7 @@
+ is replaced with x.  At this point, x has already been encountered
+ and the substitution stops.
+ 
+- at smallexample @code
++ at smallexample
+  .asg   "x",SYM1
+  .asg   "SYM1",SYM2
+  .asg   "SYM2",x
+@@ -126,14 +126,14 @@
+ ambiguous by placing colons on either side of the subsym.  The following
+ code:
+ 
+- at smallexample @code
++ at smallexample
+  .eval  "10",x
+ LAB:X:  add     #x, a
+ @end smallexample
+ 
+ When assembled becomes:
+ 
+- at smallexample @code
++ at smallexample
+ LAB10  add     #10, a
+ @end smallexample
+ 
+@@ -309,7 +309,7 @@
+ of a label or address.  For example, if an address @code{_label} resides
+ in extended program memory, the value of @code{_label} may be loaded as
+ follows:
+- at smallexample @code
++ at smallexample
+  ldx     #_label,16,a    ; loads extended bits of _label
+  or      #_label,a       ; loads lower 16 bits of _label
+  bacc    a               ; full address is in accumulator A
diff --git a/patches/cygwin-binutils-2.23.52-5-20131211.diff b/patches/cygwin-binutils-2.23.52-5-20131211.diff
new file mode 100644
index 0000000..32d4d53
--- /dev/null
+++ b/patches/cygwin-binutils-2.23.52-5-20131211.diff
@@ -0,0 +1,15 @@
+diff -Naur binutils-2.23.52-5.orig/bfd/cofflink.c binutils-2.23.52-5/bfd/cofflink.c
+--- binutils-2.23.52-5.orig/bfd/cofflink.c	2013-01-10 21:03:52.000000000 +0100
++++ binutils-2.23.52-5/bfd/cofflink.c	2013-12-11 04:55:55.605935402 +0100
+@@ -3060,6 +3060,11 @@
+ 	  else
+ 	    {
+ 	      sec = sections[symndx];
++
++	      /* If the output section has been discarded then ignore this reloc.  */
++	      if (sec->output_section->vma == 0)
++		continue;
++
+               val = (sec->output_section->vma
+ 		     + sec->output_offset
+ 		     + sym->n_value);




More information about the vc mailing list