[Bug gas/12282] New: .note.GNU-stack is referenced in .ARM.exidx

2010-12-02 Thread jzhang918 at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12282

   Summary: .note.GNU-stack is referenced in .ARM.exidx
   Product: binutils
   Version: 2.22 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassig...@sources.redhat.com
ReportedBy: jzhang...@gmail.com


Created attachment 5142
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5142
The test case

This patch

http://sourceware.org/ml/binutils/2010-12/msg00032.html

caused a regression of gas of arm-none-linux-gnueabi target. The test case is
attached.

Steps to reproduce:

./as-new -o emutls.o emutls.s -meabi=5
../binutils/readelf -r emutls.o

Before this patch:

Relocation section '.rel.ARM.exidx' at offset 0xc88 contains 7 entries:
 Offset InfoTypeSym.Value  Sym. Name
  022a R_ARM_PREL31     .text
  1f00 R_ARM_NONE   __aeabi_unwind_cpp_pr1
0004  092a R_ARM_PREL31     .ARM.extab
0008  022a R_ARM_PREL31     .text
0010  022a R_ARM_PREL31     .text
0010  2800 R_ARM_NONE   __aeabi_unwind_cpp_pr0
0018  022a R_ARM_PREL31     .text

After this patch:

Relocation section '.rel.ARM.exidx' at offset 0xc88 contains 7 entries:
 Offset InfoTypeSym.Value  Sym. Name
  1b2a R_ARM_PREL31     .note.GNU-stack
  1f00 R_ARM_NONE   __aeabi_unwind_cpp_pr1
0004  1b2a R_ARM_PREL31     .note.GNU-stack
0008  1b2a R_ARM_PREL31     .note.GNU-stack
0010  1b2a R_ARM_PREL31     .note.GNU-stack
0010  2800 R_ARM_NONE   __aeabi_unwind_cpp_pr0
0018  1b2a R_ARM_PREL31     .note.GNU-stack

.note.GNU-stack should not be referenced in .ARM.exidx.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/12283] New: bfd/doc doesn't support parallel build

2010-12-02 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12283

   Summary: bfd/doc doesn't support parallel build
   Product: binutils
   Version: 2.22 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
AssignedTo: unassig...@sources.redhat.com
ReportedBy: hjl.to...@gmail.com


"make -j8" fails at random due to bfd/doc/Makefile.am:

# We do not depend on chew directly so that we can distribute the info
# files, and permit people to rebuild them, without requiring the makeinfo
# program.  If somebody tries to rebuild info, but none of the .texi files
# have changed, then nothing will be rebuilt.

aoutx.texi: chew.c $(srcdir)/../aoutx.h $(srcdir)/doc.str
$(MAKE) $(MKDOC)
./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../aoutx.h >aoutx.tmp
$(SHELL) $(srcdir)/../../move-if-change aoutx.tmp aoutx.texi

archive.texi: chew.c $(srcdir)/../archive.c $(srcdir)/doc.str
$(MAKE) $(MKDOC)
./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../archive.c >archive.tmp
$(SHELL) $(srcdir)/../../move-if-change archive.tmp archive.texi

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils