This is the mail archive of the binutils@sources.redhat.com 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]

Re: Fix for emulparms/elf


"H . J . Lu" <hjl@lucon.org> writes:

> On Mon, Apr 30, 2001 at 11:37:08AM +0200, Andreas Jaeger wrote:
>> 
>> I've committed the appended patch to synch the bfd and ld files.
>> 
>> Andreas
>> 
>> 2001-04-30  Andreas Jaeger  <aj@suse.de>
>> 
>> 	* emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
>> 
>> 
>> ============================================================
>> Index: ld/emulparams/elf_x86_64.sh
>> --- ld/emulparams/elf_x86_64.sh	2000/11/30 19:30:33	1.1
>> +++ ld/emulparams/elf_x86_64.sh	2001/04/30 09:35:52
>> @@ -2,7 +2,7 @@
>>  ELFSIZE=64
>>  OUTPUT_FORMAT="elf64-x86-64"
>>  TEXT_START_ADDR=0x1000
>> -MAXPAGESIZE=0x1000
>> +MAXPAGESIZE=0x100000
>>  NONPAGED_TEXT_START_ADDR=0x1000
>>  ARCH=i386
>>  MACHINE=
>> 
> 
> It looks very strang to me. It seems that TEXT_START_ADDR and
> NONPAGED_TEXT_START_ADDR may be to set to non-page boundary.

I've committed the appended patch now.  If there's a good reason to
further increase the values, please tell me.  I'm open to suggestions.

Andreas

2001-06-07  Andreas Jaeger  <aj@suse.de>

	* emulparms/elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
	(TEXT_START_ADDR): Likewise.

============================================================
Index: ld/emulparams/elf_x86_64.sh
--- ld/emulparams/elf_x86_64.sh	2001/04/30 09:37:08	1.2
+++ ld/emulparams/elf_x86_64.sh	2001/06/07 11:16:15
@@ -1,9 +1,9 @@
 SCRIPT_NAME=elf
 ELFSIZE=64
 OUTPUT_FORMAT="elf64-x86-64"
-TEXT_START_ADDR=0x1000
+TEXT_START_ADDR=0x400000
 MAXPAGESIZE=0x100000
-NONPAGED_TEXT_START_ADDR=0x1000
+NONPAGED_TEXT_START_ADDR=0x400000
 ARCH=i386
 MACHINE=
 NOP=0x9090

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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