• Vivek Goyal's avatar
    [PATCH] x86-64: Overlapping program headers in physical addr space fix · dbaab49f
    Vivek Goyal authored
    o A recent change to vmlinux.ld.S file broke kexec as now resulting vmlinux
      program headers are overlapping in physical address space.
    
    o Now all the vsyscall related sections are placed after data and after
      that mostly init data sections are placed. To avoid physical overlap
      among phdrs, there are three possible solutions.
    	- Place vsyscall sections also in data phdrs instead of user
    	- move vsyscal sections after init data in bss.
    	- create another phdrs say data.init and move all the sections
    	  after vsyscall into this new phdr.
    
    o This patch implements the third solution.
    Signed-off-by: default avatarVivek Goyal <vgoyal@in.ibm.com>
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    Cc: Magnus Damm <magnus@valinux.co.jp>
    Cc: Andi Kleen <ak@suse.de>
    Cc: "Eric W. Biederman" <ebiederm@xmission.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    dbaab49f
vmlinux.lds.S 6.45 KB