Re: [PATCH] ARM now uses .init.text

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

 




----- Original Message -----
> Recent ARM kernels (since
> http://git.kernel.org/linus/1604d79d372bcf0cf1aebcbdee251bd0f3d56665),
> use .init.text instead of .init for the init text.
> 
> The patch below handles this.
> 
> Rabin

Thanks Rabin -- queued for crash-6.0.3.

Dave
 
> diff --git a/symbols.c b/symbols.c
> index a68b585..f836101 100755
> --- a/symbols.c
> +++ b/symbols.c
> @@ -480,14 +480,14 @@ no_debugging_data(int error_type)
>  void
>  get_text_init_space(void)
>  {
> -	asection *section;
> +	asection *section = NULL;
>  
>  	if (pc->flags & SYSMAP)
>  		return;
>  
>  	if (machine_type("ARM"))
>  		section = get_kernel_section(".init");
> -	else if ((section = get_kernel_section(".text.init")) == NULL)
> +	if (!section && (section = get_kernel_section(".text.init")) == NULL)
>  		section = get_kernel_section(".init.text");
>  	if (!section) {
>  		error(WARNING, "cannot determine text init space\n");
> 

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility


[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux