[Bug ld/996] Linking requires one open file per object file

2005-06-09 Thread mark at codesourcery dot com

--- Additional Comments From mark at codesourcery dot com  2005-06-09 07:49 
---
Fixed with:

  http://sourceware.org/ml/binutils/2005-06/msg00208.html

-- 
   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://sources.redhat.com/bugzilla/show_bug.cgi?id=996

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


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


[Bug binutils/1000] [Regression]: "nm -l" no longer works on assembly file

2005-06-09 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2005-06-09 14:25 ---
Fixed.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://sources.redhat.com/bugzilla/show_bug.cgi?id=1000

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


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


[Bug ld/996] Linking requires one open file per object file

2005-06-09 Thread jepler at sds2 dot com

--- Additional Comments From jepler at sds2 dot com  2005-06-09 14:46 
---
It worked for me with the patch in #4 or patch linked from #5.  I tried only
with my test script (increasing the limit to 1000 object files with the same
limit of 25 file descriptors), not with my real application.  strace shows the
right behavior, with the file descriptor high-water mark being around 15.

Thanks guys.

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=996

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


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


[Bug ld/797] Alignment in empty section changes the output layout

2005-06-09 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2005-06-09 17:03 ---
The way I looked at

  .text2 :
  {
. = ALIGN(4096);
*(.text2)
  }

it will align .text2 to 4096 byte. If .text2 doesn't exist, the
alignment shouldn't apply. Another one

  .text2 :
  {   
*(.text2)
. = ALIGN(4096);
  }

it pads .text2 to 4096 byte. If .text2 doesn't exist, it shouldn't be padded
to 4096 byte. I would argue that `.' is a special symbol, which shouldn't be
treated as the normal symbol when deciding if a section should be kept.

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=797

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


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


[Bug ld/797] Alignment in empty section changes the output layout

2005-06-09 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2005-06-09 16:40 ---
This bug came back with

http://sourceware.org/ml/binutils/2005-06/msg00197.html

The problem is that now assignment to "dot" will caus the section to be
kept.

-- 
   What|Removed |Added

 CC||amodra at bigpond dot net
   ||dot au
 Status|RESOLVED|REOPENED
 Resolution|FIXED   |


http://sources.redhat.com/bugzilla/show_bug.cgi?id=797

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


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


[Bug ld/797] Alignment in empty section changes the output layout

2005-06-09 Thread amodra at bigpond dot net dot au

--- Additional Comments From amodra at bigpond dot net dot au  2005-06-09 
23:58 ---
I disagree.  An assignment to "dot" inside an output section statement that
moves "dot" has made the section non-empty.  There is no fundamental difference
between an assignment to "dot" with ALIGN on the rhs and other assignments to 
"dot".

If you want to align a section, use

  .text2 ALIGN(4096) :
  {
*(.text2)
  }

This will be removed, and following sections not affected by the alignment, if
all the .text2 input sections are empty.  Aligning both the start and end of a
section also allows the section to be removed:

  .text2 ALIGN (4096) :
  {
*(.text2)
. = ALIGN (4096);
  }

Aligning only the end of a section is a little tricky, but can be accomplished 
with:

  .text3 :
  {
*(.text3)
. = ALIGN (. != 0 ? 4096 : 1);
  }

This also will allow the section to be removed if no non-zero sized .text3 input
sections are linked.

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=797

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


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