[Bug ld/13410] [avr]: error: relocation truncated to fit: R_AVR_13_PCREL against symbol

2012-02-02 Thread childbear0 at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13410

--- Comment #9 from Vidya Praveen childbear0 at gmail dot com 2012-02-02 
08:38:19 UTC ---
Corrected the log message

2012-02-02  Vidya Praveen (vidya.prav...@atmel.com)

PR bfd/13410
* bfd/elf32-avr.c (elf32_avr_relax_section): Correct the 
condition that qualifies the candidates for relaxation.

Eric,
Please let me know if the resubmission is OK. Thanks

VP

-- 
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/12132] AVR gs() operator does not work directly on jmp or rjmp

2012-02-02 Thread mschulze at ivs dot cs.ovgu.de
http://sourceware.org/bugzilla/show_bug.cgi?id=12132

--- Comment #2 from mschulze at ivs dot cs.ovgu.de 2012-02-02 09:13:24 UTC ---
(In reply to comment #1)
 A gs() makes no sense here. Write rjmp %x[Function]
Yes, you are right. The %x does what I had in mind. Where is this %x modifier
documented. I could not find it. Are there other/further modifiers with special
meanings?

-- 
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/13224] gcc 4.6.1 compilation issue on config/obj-elf.c : clone function with the default config -Werror=shadow,

2012-02-02 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13224

--- Comment #4 from cvs-commit at gcc dot gnu.org cvs-commit at gcc dot 
gnu.org 2012-02-02 09:26:08 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:ni...@sourceware.org2012-02-02 09:26:05

Modified files:
gas: ChangeLog 
gas/config : obj-elf.c 

Log message:
PR gas/13224
* config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
to 'is_clone' to avoid shadowing a gloabl.
(obj_elf_section): Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=srcr1=1.4662r2=1.4663
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/obj-elf.c.diff?cvsroot=srcr1=1.144r2=1.145

-- 
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/13224] gcc 4.6.1 compilation issue on config/obj-elf.c : clone function with the default config -Werror=shadow,

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

Nick Clifton nickc at redhat dot com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #5 from Nick Clifton nickc at redhat dot com 2012-02-02 09:26:35 
UTC ---
Patch checked in.

-- 
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/12132] AVR gs() operator does not work directly on jmp or rjmp

2012-02-02 Thread gjl at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12132

--- Comment #3 from Georg-Johann Lay gjl at gcc dot gnu.org 2012-02-02 
10:58:54 UTC ---
The modifiers are described at top of GCC's AVR machine description file
located at

./gcc/config/avr/avr.md
http://gcc.gnu.org/viewcvs/trunk/gcc/config/avr/avr.md?content-type=text%2Fplainview=co

The function to print assembler code template is

./gcc/config/avr/avr.c:avr_print_operand()
./gcc/final.c:output_asm_insn()

The first is avr-specific output like %A and the second is machine independent
like %n.

-- 
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/13493] Ranlib does not support plugins

2012-02-02 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13493

--- Comment #3 from Dmitry Gorbachev d.g.gorbachev at gmail dot com 
2012-02-02 14:48:57 UTC ---
Thanks.

Binutils' and GCC's makefiles run a separate ranlib process for some reason. It
was more difficult to build them with slim LTO without --plugin support in
ranlib.

-- 
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/13410] [avr]: error: relocation truncated to fit: R_AVR_13_PCREL against symbol

2012-02-02 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13410

--- Comment #10 from cvs-commit at gcc dot gnu.org cvs-commit at gcc dot 
gnu.org 2012-02-02 18:02:17 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:ewedding...@sourceware.org2012-02-02 18:02:10

Modified files:
bfd: ChangeLog elf32-avr.c 

Log message:
2012-02-02  Vidya Praveen (vidya.prav...@atmel.com)

PR bfd/13410
* bfd/elf32-avr.c (elf32_avr_relax_section): Correct the
condition that qualifies the candidates for relaxation.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=srcr1=1.5598r2=1.5599
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-avr.c.diff?cvsroot=srcr1=1.52r2=1.53

-- 
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/13410] [avr]: error: relocation truncated to fit: R_AVR_13_PCREL against symbol

2012-02-02 Thread eric.weddington at atmel dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13410

Eric  Weddington eric.weddington at atmel dot com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
Version|2.21|2.23 (HEAD)
 Resolution||FIXED

--- Comment #11 from Eric  Weddington eric.weddington at atmel dot com 
2012-02-02 18:05:34 UTC ---
Vidya,

You did fine, putting the patch in the bug report as attachment, and ChangeLog
in comment. Yes, you can use your gmail account for communication, but then use
your atmel account for the ChangeLog entry.

Patch committed, after addition of a couple of periods at end of comment
sentences.

Thanks for fixing this bug, Vidya.

-- 
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/13410] [avr]: error: relocation truncated to fit: R_AVR_13_PCREL against symbol

2012-02-02 Thread gjl at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13410

--- Comment #12 from Georg-Johann Lay gjl at gcc dot gnu.org 2012-02-02 
19:29:31 UTC ---
The patch reads:

+  /* If 'shrinkable' is FALSE, do not shrink by deleting bytes while
+ relaxing. Such shrinking can cause issues for the sections such 
+ as .vectors and .jumptables. Instead the unused bytes should be 
+ filled with nop instructions. */
+  bfd_boolean shrinkable = TRUE;
+
+  if (!strcmp (sec-name,.vectors)
+  || !strcmp (sec-name,.jumptables))
+shrinkable = FALSE;

Shouln't this also cover .jumptables* and .progmem.gcc* ?

avr-gcc puts its jumptables into .progmem.gcc_sw_table for instance.

Relaxing must not do harm to them.

-- 
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-02-02 Thread roland at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=13616

--- Comment #5 from Roland McGrath roland at gnu dot org 2012-02-02 22:17:05 
UTC ---
It's been pointed out that zeros are close enough to nops for ARM and Thumb.
I'm not immediately concerned with other targets, so it might be OK to close
this now unless the maintainers for other CPUs really intend to do something
about it soon.

-- 
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/13657] New: dlltool syntax error on LIBRARY line when using pexports with version.dll

2012-02-02 Thread bulk88 at hotmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13657

 Bug #: 13657
   Summary: dlltool syntax error on LIBRARY line when using
pexports with version.dll
   Product: binutils
   Version: unspecified
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
AssignedTo: unassig...@sourceware.org
ReportedBy: bul...@hotmail.com
Classification: Unclassified


Created attachment 6194
  -- http://sourceware.org/bugzilla/attachment.cgi?id=6194
def file that causes syntax error

I am trying to make a lib for version.dll, a MS DLL. Dlltool reports syntax
error on version.def. If I remove the library line (the first line) from
version.def and export is the first line, dlltool doesn't complain. pexports
crashes but does produce a normal to me def file. I haven't tested the
resulting lib file in both scenarios (with library line and without), but in
the syntax error scenario, the lib file is definitely broken. Using a debugger,
I traced the syntax error to inside yyparse().

C:\sources\MinGW\includepexports -h winver.h C:/WINDOWS/system32/version.dll 
version.def

C:\sources\MinGW\includedlltool -l libversion.a -v --def version.def
dlltool: Processing def file: version.def
dlltool: LIBRARY:  base: 
dlltool: Syntax error in def file version.def:0
dlltool: Processed def file
dlltool: Processing definitions
dlltool: Processed definitions
dlltool: Creating library file: libversion.a
dlltool: run: as   -o diajh.o diajh.s
dlltool: run: as   -o diajt.o diajt.s
dlltool: Created lib file


C:\sources\MinGW\includedumpbin /all libversion.a | more
Microsoft (R) COFF/PE Dumper Version 7.10.6030
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file libversion.a

File Type: LIBRARY

Archive member name at 8: /
4F2B118C time/date Thu Feb 02 17:43:24 2012
   0 uid
   0 gid
   0 mode
  36 size
correct header end

2 public symbols

   7A __libversion_a_iname
  2F2 __head_libversion_a

Archive member name at 7A: diajt.o/
4F2B118C time/date Thu Feb 02 17:43:24 2012
   0 uid
-- More  --

-- 
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