NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-arm/52934: The binary whitch has 4K p_aligin in the Elf Phdr cause to system hangup in the NetBSD/earm RPI (Kernel PageSize is 8k).



The following reply was made to PR port-arm/52934; it has been noted by GNATS.

From: Nick Hudson <skrll%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost, port-arm-maintainer%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-arm/52934: The binary whitch has 4K p_aligin in the Elf Phdr
 cause to system hangup in the NetBSD/earm RPI (Kernel PageSize is 8k).
Date: Sat, 20 Jan 2018 12:55:10 +0000

 This is a multi-part message in MIME format.
 --------------4B9AB0682FF65F322F1B0336
 Content-Type: text/plain; charset=utf-8; format=flowed
 Content-Transfer-Encoding: 7bit
 
 On 01/20/18 05:50, oshima-ya%yagoto-urayama.jp@localhost wrote:
 >> Number:         52934
 >> Category:       port-arm
 >> Synopsis:       The binary whitch has 4K p_aligin in the Elf Phdr cause to system hangup in the NetBSD/earm RPI (Kernel PageSize is 8k).
 I think the correct fix is to mark as 8K p_align. This patch should do it
 
 Nick
 
 --------------4B9AB0682FF65F322F1B0336
 Content-Type: text/x-patch;
  name="arm.pagesize.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="arm.pagesize.diff"
 
 Index: external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd.sh
 ===================================================================
 RCS file: /cvsroot/src/external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd.sh,v
 retrieving revision 1.9
 diff -u -p -r1.9 armelf_nbsd.sh
 --- external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd.sh	11 Oct 2016 07:05:29 -0000	1.9
 +++ external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd.sh	20 Jan 2018 12:54:55 -0000
 @@ -1,5 +1,5 @@
  . ${srcdir}/emulparams/armelf.sh
 -MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
 +COMMONPAGESIZE=0x2000
  TEXT_START_ADDR=0x00010000
  TARGET2_TYPE=got-rel
  GENERATE_PIE_SCRIPT=yes
 
 --------------4B9AB0682FF65F322F1B0336--
 


Home | Main Index | Thread Index | Old Index