Re: [PATCH] ia64 vDSO vs --build-id

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

 



On Thu, 2007-10-18 at 15:11 -0700, Roland McGrath wrote:
> When gcc uses --build-id by default, the gate.lds.S linker script runs afoul
> of the new note section and produces a bad DSO image.  This fixes it.
> 
> Signed-off-by: Roland McGrath <[email protected]>
> 
> --- a/arch/ia64/kernel/gate.lds.S
> +++ b/arch/ia64/kernel/gate.lds.S
> @@ -20,6 +20,8 @@ SECTIONS
>  	.gnu.version_d		: { *(.gnu.version_d) }
>  	.gnu.version_r		: { *(.gnu.version_r) }
>  
> +	.note			: { *(.note*) }		:readable	:note
> +
>  	.dynamic		: { *(.dynamic) }	:readable	:dynamic
>  
>  	/*
> @@ -83,6 +85,7 @@ PHDRS
>  	epc		PT_LOAD	FILEHDR PHDRS	FLAGS(1);	/* PF_X */
>  #endif
>  	dynamic		PT_DYNAMIC		FLAGS(4);	/* PF_R */
> +	note		PT_NOTE			FLAGS(4);	/* PF_R */
>  	unwind		PT_IA_64_UNWIND;
>  }
>  
> -

Any news on this?  It does not appear to have been commited to git.
This issue is blocking our bringup of Fedora on ia64.  The Fedora gcc
uses the --build-id option by default leading to a hang during bootup
without this patch.

thanks,

- Doug


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux