[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/19572] -Ttext-segment accepts out of range value
From: |
nickc at redhat dot com |
Subject: |
[Bug ld/19572] -Ttext-segment accepts out of range value |
Date: |
Fri, 26 Feb 2016 11:48:07 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19572
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #9037|0 |1
is obsolete| |
--- Comment #6 from Nick Clifton <nickc at redhat dot com> ---
Created attachment 9043
--> https://sourceware.org/bugzilla/attachment.cgi?id=9043&action=edit
Revised patch
Hi H.J.
Thanks for the examples. I was unaware of the vagaries of the x32
architecture. This revised patch should work with second test in comment #5,
but it will not work with the test from comment #4. The reason for that is
that the text segment address set in comment #4 is a 32-bit address, which
makes
it valid as far as this patch is concerned. If instead the test used this
linker command:
./ld -Ttext-segment 0x800000000 -m elf32_x86_64 -o x x.o
then the patched code would issue an error message.
Is this version of the patch acceptable to you ?
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/19572] New: -Ttext-segment accepts out of range value, hjl.tools at gmail dot com, 2016/02/05
- [Bug ld/19572] -Ttext-segment accepts out of range value, nickc at redhat dot com, 2016/02/25
- [Bug ld/19572] -Ttext-segment accepts out of range value, hjl.tools at gmail dot com, 2016/02/25
- [Bug ld/19572] -Ttext-segment accepts out of range value, nickc at redhat dot com, 2016/02/25
- [Bug ld/19572] -Ttext-segment accepts out of range value, hjl.tools at gmail dot com, 2016/02/25
- [Bug ld/19572] -Ttext-segment accepts out of range value, hjl.tools at gmail dot com, 2016/02/25
- [Bug ld/19572] -Ttext-segment accepts out of range value,
nickc at redhat dot com <=
- [Bug ld/19572] -Ttext-segment accepts out of range value, nickc at redhat dot com, 2016/02/26
- [Bug ld/19572] -Ttext-segment accepts out of range value, hjl.tools at gmail dot com, 2016/02/26
- [Bug ld/19572] -Ttext-segment accepts out of range value, hjl.tools at gmail dot com, 2016/02/26