[Bug ld/3163] New: Provide example of assignment to a symbol within a section in linker scripts

2006-08-31 Thread david dot cook at st dot com
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

[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer

2006-08-31 Thread hjl at lucon dot org
-- 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

[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer

2006-08-31 Thread tomri at gmx dot net
--- 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

[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer

2006-08-31 Thread hjl at lucon dot org
--- 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

[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer

2006-08-31 Thread tomri at gmx dot net
--- 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

[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer

2006-08-31 Thread hjl at lucon dot org
--- 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

[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer

2006-08-31 Thread tomri at gmx dot net
--- 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

[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer

2006-08-31 Thread hjl at lucon dot org
--- 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

[Bug ld/3015] -z relro may create PT_NULL segment

2006-08-31 Thread hjl at lucon dot org
--- 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

[Bug gas/3159] New: generated code mismatches between 2.15 and 2.16

2006-08-31 Thread michaelryan at mindspring dot com
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

[Bug ld/3149] ld 2.17 bug ( relocation R_X86_64_PC32 )

2006-08-31 Thread aliens_predator at inbox dot ru
--- 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