It should be made clear by use of an example that assignment of an absolute
expression to a symbol within an output section description will result in the
symbol having the value ADDR(section) + (value of absolute expression) rather
than just the value.
This is the intended behaviour as noted by t
--
What|Removed |Added
CC|hjl at lucon dot org|
http://sourceware.org/bugzilla/show_bug.cgi?id=3146
--- You are receiving this mail because: ---
You
--- Additional Comments From tomri at gmx dot net 2006-08-31 17:34 ---
Above the code line (see patch) there's a test for "if rtype == NULL", and below
this test, there“s a code sequnce using this NULL pointer.
So you can test this, by setting "rtype == NULL" above the lines from the pat
--- Additional Comments From hjl at lucon dot org 2006-08-31 17:25 ---
I have built cross binutils for Linux/alpha. Readelf doesn't fail because of
NULL pointer reference. I want to see how it fails in gdb.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3146
--- You are receiv
--- Additional Comments From tomri at gmx dot net 2006-08-31 17:20 ---
Well, feel free to take a look at the patch. If you haven't an alpha system,
than you haven't the problem. This is a BUG in the source code from readelf, not
from the input to readelf.
--
http://sourceware.org/bug
--- Additional Comments From hjl at lucon dot org 2006-08-31 17:01 ---
I don't have an Alpha machine. I need to see the readelf failure on Linux/x86.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3146
--- You are receiving this mail because: ---
You are on the CC list for
--- Additional Comments From tomri at gmx dot net 2006-08-31 16:44 ---
Oh yes, if you remove the if .. ALPHA.. with X86, you can see the problem too.
Redhat supports glibc and binutils, so only for x86?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3146
--- You are receiving
--- Additional Comments From hjl at lucon dot org 2006-08-31 15:54 ---
Please provide a testcase such that I can see the problem on Linux/x86.
--
What|Removed |Added
--- Additional Comments From hjl at lucon dot org 2006-08-31 15:41 ---
It is not fixed for all targets. "-z relro" doesn't work on Linux/ia64. Instead
of ignoring the option, a PT_NULL segment is created. This patch should fix
it:
http://sourceware.org/ml/binutils/2006-08/msg00263.html
I discovered the second example when trying to correct for the first.
This small program:
.intel_syntax noprefix
.altmacro
.text
.global testa
.macro zzz a
add rax,OFFSET \a+8
sub rax,OFFSET \a+8
.endm
.macro yyy a
local q
.eq
--- Additional Comments From aliens_predator at inbox dot ru 2006-08-31
08:58 ---
And today I was tested output file and it worked correctly!
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3149
--- You are receiving this mail because: ---
You are on the CC list for the bu
11 matches
Mail list logo