Question: Object files and Address extern variable

2008-08-21 Thread Sebastien DONADIO
Hello, I created a pragma to change the locality of data a in my code. When I put "#pragma foo a" in file1.c and file2.c, I got the good result: 2.00 0x80900850 But if it is only in file1.c, the result is 0.00 0x0. I'm using Binutils 2.18. Which part of the code I need to modify? But if

[Bug ld/6833] Linker sometimes produces 2MB section gap

2008-08-21 Thread jan dot kratochvil at redhat dot com
--- Additional Comments From jan dot kratochvil at redhat dot com 2008-08-21 13:14 --- http://sourceware.org/ml/binutils/2008-08/msg00182.html http://sourceware.org/ml/binutils-cvs/2008-08/msg00117.html PR ld/6833 * ldexp.c (fold_binary ): Do not align EXPLD.DATAS

Build fails make check.

2008-08-21 Thread Vital Mission Software
I am building I configured binutils-2.17 using the procedures set down in LFS.6.3. I created a separate build directory and configured from there. ../binutils-2.17/configure --prefix=/usr --enable-shared Make was uneventful. make check failed. The relevant lines are Running /sources/binutils

Re: question about "invalid string offset" & "could not read symbols: Malformed archive" linker errors (fwd)

2008-08-21 Thread Roger Moore
Hi, We built the libxvtmapi.a ourselves. Yes, I've tried deleting it and rebuilding but I still get the file format not recognized error message. The following lines show the size of the library file: [EMAIL PROTECTED] testapp]$ ls -l outdir/debug/libxvtxmapi.a -rw-rw-r-- 1 roger roger 3583

[Bug gas/6848] Strange assembler error message on .set

2008-08-21 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2008-08-21 09:38 --- http://sourceware.org/ml/binutils-cvs/2008-08/msg00108.html -- What|Removed |Added