[Bug binutils/1312] LD outputting huge files.

2005-09-12 Thread TheMoken at gmail dot com

--- Additional Comments From TheMoken at gmail dot com  2005-09-12 18:07 
---

Idx Name  Size  VMA   LMA   File off  Algn
  0 .rodata   0021      0010  2**0
  CONTENTS, ALLOC, LOAD, READONLY, DATA
  1 .text 1d06  c010  c010  0020  2**3
  CONTENTS, ALLOC, LOAD, READONLY, CODE
  2 .data   c0101d08  c0101d08  00201d08  2**3
  CONTENTS, ALLOC, LOAD, DATA
  3 .bss  0014  c0101d08  c0101d08  00201d08  2**3
  ALLOC
  4 .comment  02ec      00201d08  2**0
  CONTENTS, READONLY
  5 .note.GNU-stack       00201ff4  2**0
  CONTENTS, READONLY

is returned on the resulting 2.1M elf file and that is the objdump -h of the elf
file.

Upon converting to binary, it expands from 2.1M to the old 3GB.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=1312

--- 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/1312] LD outputting huge files.

2005-09-12 Thread TheMoken at gmail dot com

--- Additional Comments From TheMoken at gmail dot com  2005-09-12 18:08 
---
>From looking at the dump, it appears that I need to add a .rodata section to 
>the
linker script?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=1312

--- 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/1312] LD outputting huge files.

2005-09-13 Thread TheMoken at gmail dot com

--- Additional Comments From TheMoken at gmail dot com  2005-09-13 14:18 
---
That did the trick, sorry to take up your time

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=1312

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