This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: PR ld/11628: "ld -Ttext-segment=ORG" does not set PT_LOAD.p_vaddr


On Mon, May 24, 2010 at 1:54 PM, Ian Lance Taylor <iant@google.com> wrote:
> "H.J. Lu" <hongjiu.lu@intel.com> writes:
>
>> ORG in "ld -Ttext-segment=ORG" should be multiple of maximum page size.
>> This patch issues an error if ORG isn't multiple of maximum page size.
>> OK to install?
>
> If -n or -N is used there should not be such a requirement.
>
> Ian
>

How about this patch?

-- 
H.J.
---

ld/

2010-05-25  H.J. Lu  <hongjiu.lu@intel.com>

 	PR ld/11628
	* ldexp.c (fold_binary): Warn if value of SEGMENT_START isn't
	multiple of maximum page size.

ld/testsuite/

2010-05-25  H.J. Lu  <hongjiu.lu@intel.com>

 	PR ld/11628
	* ld-elf/textaddr3.d: New.
	* ld-elf/textaddr4.d: Likewise.
	* ld-elf/textaddr5.d: Likewise.
	* ld-elf/textaddr6.d: Likewise.
	* ld-elf/textaddr7.d: Likewise.

Attachment: binutils-pr11628-2.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]