[Bug gas/16858] weak external reference has wrong value

2014-04-25 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16858

Nick Clifton  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

--- Comment #6 from Nick Clifton  ---
Hi Bernd,

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

Cheers
  Nick

-- 
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/16858] weak external reference has wrong value

2014-04-25 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16858

Nick Clifton  changed:

   What|Removed |Added

 CC||nickc at redhat dot com

--- Comment #5 from Nick Clifton  ---
Created attachment 7560
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7560&action=edit
Proposed patch

-- 
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/16807] Bad behavior with resources of Windows applications with recent binutils upgrade on Cygwin64

2014-04-25 Thread angelo.graziosi at alice dot it
https://sourceware.org/bugzilla/show_bug.cgi?id=16807

--- Comment #10 from Angelo Graziosi  ---
(In reply to Angelo Graziosi from comment #9)

Just for completeness,

> (In reply to Nick Clifton from comment #8)
> > 
> >   Sorry about my previous post.  You were right - the uploaded patch did not
> > work.  But I have now tracked down the problem - an undocumented requirement
> > that resource data be 8-byte aligned.  I have checked in a patch to fix this
> > and you should now find that the linker merges resources correctly.
> > 
> 
> yesterday I haven't time to follow your request. I am sure you have done a
> very good work.. :)
> 
> As I flagged on Cygwin list,
> http://cygwin.com/ml/cygwin/2014-04/msg00405.html, the issue is already
> fixed on mingw64 side..

I tried to build today trunk of binutils but it fails, so I tried with the
sources which come with the mingw64 package (2.24.0.3.85cf705-1). I did:

./configure --prefix=$HOME/binutils
make
make install

Then I added the $HOME/binutils/bin to PATH...

export PATH="$HOME/binutils:$PATH"


..and now my applications work as expected also on Cygwin side.. :-)

I would say your patches are right, definitively.. :)


Thanks,
Angelo.

-- 
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 gold/16320] Gold generates odd MemSiz for TLS segment

2014-04-25 Thread ccoutant at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16320

Cary Coutant  changed:

   What|Removed |Added

   Assignee|ian at airs dot com|ccoutant at google dot 
com

-- 
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 gold/16321] Gold generates unnecessary padding for .bss section offset

2014-04-25 Thread ccoutant at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16321

Cary Coutant  changed:

   What|Removed |Added

   Assignee|ian at airs dot com|ccoutant at google dot 
com

-- 
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 gold/16320] Gold generates odd MemSiz for TLS segment

2014-04-25 Thread ccoutant at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16320

Cary Coutant  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #1 from Cary Coutant  ---
I tried your test case and got:

Program Headers:
  Type   Offset   VirtAddr   PhysAddr   FileSiz  MemSiz
  Flg Align
  PHDR   0x40 0x0040 0x0040 0x000188
0x000188 R   0x8
  LOAD   0x00 0x 0x 0x000330
0x000330 R E 0x1000
  LOAD   0x000ea0 0x1ea0 0x1ea0 0x000168
0x000168 RW  0x1000
  DYNAMIC0x000f08 0x1f08 0x1f08 0xf0
0xf0 RW  0x8
  GNU_STACK  0x00 0x 0x 0x00
0x00 RW  0
  TLS0x000ea0 0x1ea0 0x1ea0 0x2c
0x2c R   0x4
  GNU_RELRO  0x000ea0 0x1ea0 0x1ea0 0x000160
0x000160 RW  0x20

The TLS segment has FileSiz and MemSiz both set to 0x2c.

-- 
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 gold/16320] Gold generates odd MemSiz for TLS segment

2014-04-25 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16320

--- Comment #2 from H.J. Lu  ---
Created attachment 7561
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7561&action=edit
x86-64 foo.o

As of GNU gold (GNU Binutils 2.24.51.20140425) 1.11, I still got:

[hjl@gnu-6 pr16320]$ ./ld.gold -shared -z relro -o libx.so foo.o
[hjl@gnu-6 pr16320]$ readelf -lW libx.so | grep TLS
  TLS0x000f20 0x1f20 0x1f20 0x2c
0x30 R   0x10
[hjl@gnu-6 pr16320]$

-- 
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 gold/16320] Gold generates odd MemSiz for TLS segment

2014-04-25 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16320

H.J. Lu  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WORKSFORME  |---

--- Comment #3 from H.J. Lu  ---
I still got the same result with the uploaded foo.o

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