--- Additional Comments From hjl at lucon dot org 2006-10-06 12:25 ---
Your SPTest.o is bad. I can't reproduce your bad SPTest.o with
gcc-4.1.1-1.fc5
binutils-2.16.91.0.6-5
on FC5. Can you provide your SPTest.s?
--
What|Removed |Added
--
--- Additional Comments From jmbnyc at gmail dot com 2006-10-06 13:21
---
Subject: Re: bad relocation section name `'
I'll run again and upload what you ask for. However, I upgraded
binutils so I can only give you something for 2.17 (but I get the
same behavior with both so it should
When we are outputing an empty loadable section, we consider it not loadable.
But we still align it at page boundary:
[EMAIL PROTECTED] empty-10]$ !cat
cat foo.c
extern char *__init_array_start;
int xxx = 10;
_start ()
{
return __init_array_start != 0;
}
[EMAIL PROTECTED] empty-10]$ make LD=ld
--- Additional Comments From hjl at lucon dot org 2006-10-06 13:41 ---
The patch is at
http://sourceware.org/ml/binutils/2006-10/msg00043.html
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3314
--- You are receiving this mail because: ---
You are on the CC list for the b
--- Additional Comments From jmbnyc at gmail dot com 2006-10-06 13:42
---
Created an attachment (id=1353)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1353&action=view)
updated tar gzip with requested SPTest.s
Here is the requested SPTest.s. I also redid everything and redid t
Basically, I compile an executable from same set of source files.
First I compile .c modules into .o with -ffunction-sections
-fdata-sections, and then I can do something a-la
"gcc -o executable -Wl,--gc-sections *.o"
or I can bundle almost all .o files into lib.a using ar and do
"gcc -o executable
--- Additional Comments From vda dot linux at googlemail dot com
2006-10-06 15:48 ---
Created an attachment (id=1354)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1354&action=view)
objdump of ld *.o result
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3315
--- You
--- Additional Comments From vda dot linux at googlemail dot com
2006-10-06 15:49 ---
Created an attachment (id=1355)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1355&action=view)
objdump of ld main.o lib.a result
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3315
--
--- Additional Comments From hjl at lucon dot org 2006-10-06 16:20 ---
The updated patch is at
http://sourceware.org/ml/binutils/2006-10/msg00045.html
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3314
--- You are receiving this mail because: ---
You are on the CC list f
--- Additional Comments From hjl at lucon dot org 2006-10-06 16:30 ---
I created a good SPTest.o from your SPTest.s with as in
binutils-2.16.91.0.6-5. I can only assume that something is
wrong with your OS/hardware. Please assemble it on a different
machine.
--
What|Remov
--- Additional Comments From jmbnyc at gmail dot com 2006-10-06 16:38
---
Subject: Re: bad relocation section name `'
Can you send me the command line that you used to create SPTest.o.
/JMB
On 6 Oct 2006 16:30:59 -, hjl at lucon dot org
<[EMAIL PROTECTED]> wrote:
>
> --- Addit
--- Additional Comments From hjl at lucon dot org 2006-10-06 17:05 ---
I used "/usr/bin/as -o SPTest.o SPTest.s".
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3307
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone wh
--- Additional Comments From jmbnyc at gmail dot com 2006-10-06 17:17
---
Subject: Re: bad relocation section name `'
I just executed your command line and produced a file that is one byte
different than what I sent. Not sure what is wrong with my environment
as this is stock latest FC
--- Additional Comments From hjl at lucon dot org 2006-10-06 17:52 ---
What did
# gcc -v -c SPTest.s
say?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3307
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.
--- Additional Comments From jmbnyc at gmail dot com 2006-10-06 17:57
---
Subject: Re: bad relocation section name `'
[EMAIL PROTECTED] bugs]$ gcc -v -c SPTest.s
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--info
--- Additional Comments From hjl at lucon dot org 2006-10-06 18:05 ---
Are you saying SPTest.o generated by "gcc -c" is different from
"/usr/bin/as -o"? Can you compare SPTest.o generated by
# /usr/bin/as -V -Qy -o SPTest.o SPTest.s
# /usr/bin/as -o SPTest.o SPTest.s
# as -V -Qy -o SPTes
16 matches
Mail list logo