[Bug binutils/13622] readelf crashes when reading binary with shredded section header offset

2012-01-25 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13622

--- Comment #2 from Nick Clifton nickc at redhat dot com 2012-01-25 14:27:10 
UTC ---
Created attachment 6174
  -- http://sourceware.org/bugzilla/attachment.cgi?id=6174
Better handling of corrupt ELF header

-- 
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
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/13622] readelf crashes when reading binary with shredded section header offset

2012-01-25 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13622

Nick Clifton nickc at redhat dot com changed:

   What|Removed |Added

 Status|NEW |WAITING
 CC||nickc at redhat dot com

--- Comment #3 from Nick Clifton nickc at redhat dot com 2012-01-25 14:28:02 
UTC ---
Hi Jan,

  Please could you try out the uploaded patch and let me know if it works for
you.

Cheers
  Nick

-- 
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
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/13622] readelf crashes when reading binary with shredded section header offset

2012-01-25 Thread j...@das-labor.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13622

--- Comment #4 from Jan Lieven j...@das-labor.org 2012-01-25 20:02:22 UTC ---
Thanks, the patch fixes the issue.

-- 
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
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/13081] Assertion fail /bfd/elf.c:6668; internal error, aborting...

2012-01-25 Thread jrnieder at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13081

Jonathan Nieder jrnieder at gmail dot com changed:

   What|Removed |Added

 CC||jrnieder at gmail dot com

-- 
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
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/13621] dangling global hidden symbol in symtab

2012-01-25 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13621

H.J. Lu hjl.tools at gmail dot com changed:

   What|Removed |Added

 CC||hjl.tools at gmail dot com

--- Comment #1 from H.J. Lu hjl.tools at gmail dot com 2012-01-25 22:11:15 
UTC ---
Since __TMC_END__ is 0, it is placed in .bss section.

-- 
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
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/845] GAS .rept pseudo op-code

2012-01-25 Thread makhaloff at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=845

Alexey Makhalov makhaloff at gmail dot com changed:

   What|Removed |Added

 CC||makhaloff at gmail dot com

-- 
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
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/13616] linker should pad executable sections with nops, not zeros

2012-01-25 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13616

H.J. Lu hjl.tools at gmail dot com changed:

   What|Removed |Added

   Attachment #6173|0   |1
is obsolete||

--- Comment #2 from H.J. Lu hjl.tools at gmail dot com 2012-01-26 01:48:53 
UTC ---
Created attachment 6175
  -- http://sourceware.org/bugzilla/attachment.cgi?id=6175
An improved patch

-- 
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
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/13624] New: Unpredictable behavior in the directives .rept, .macro and perhaps in some other

2012-01-25 Thread makhaloff at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13624

 Bug #: 13624
   Summary: Unpredictable behavior in the directives .rept, .macro
and perhaps in some other
   Product: binutils
   Version: 2.23 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassig...@sourceware.org
ReportedBy: makhal...@gmail.com
Classification: Unclassified


Created attachment 6176
  -- http://sourceware.org/bugzilla/attachment.cgi?id=6176
Patch to fix this bug

Hello.

I got the same error as described in the bug #845.
I got it on my target KVARC (http://km211.biz/en/kvarc-32bit), which is not
present in official sources of binutils.
My case. I have a big .s file, size 65K bytes. There is a code fragment in the
middle of file

.rept   (0x100 - 0x20)
 .long TrapAll
 .long 0x0
.endr

It generates error

interrupt.s: Assembler messages:
interrupt.s:3120: Error: unknown pseudo-op: `.lon'

If I add new line before this code fragment then get another error

interrupt.s: Assembler messages:
interrupt.s:3121: Error: unknown pseudo-op: `.l'


The reason is as follows:
* gas/app.c (app_push): Variable add_newlines should be set to zero after
saving. 

Patch is attached.

Sorry, It's hard to reproduce for you. But I can tell you how it leads to the
error, if necessary

Thanks.

-- 
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
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/13624] Unpredictable behavior in the directives .rept, .macro and perhaps in some others

2012-01-25 Thread makhaloff at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13624

Alexey Makhalov makhaloff at gmail dot com changed:

   What|Removed |Added

Summary|Unpredictable behavior in   |Unpredictable behavior in
   |the directives .rept,   |the directives .rept,
   |.macro and perhaps in some  |.macro and perhaps in some
   |other   |others

-- 
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
https://lists.gnu.org/mailman/listinfo/bug-binutils