lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 17 Mar 2017 19:47:33 +1030
From:   Alan Modra <amodra@...il.com>
To:     Arnd Bergmann <arnd@...db.de>
Cc:     Nicolas Pitre <nico@...xnic.net>,
        Nicholas Piggin <npiggin@...il.com>,
        Russell King <linux@...linux.org.uk>,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [EXPERIMENTAL, v2] enable thin archives and
 --gc-sections on ARM

On Wed, Mar 15, 2017 at 05:50:00PM +0100, Arnd Bergmann wrote:
> I'm still build testing with an experimental change to enable
> thin architeves and --gc-sections on ARM, which should bring
> multiple benefits
> 
> - improve build times
> - allow 'allyesconfig' to succeed without exceeding the
>   section size when linking drivers/built-in.o
> - reduce the kernel image size
> 
> However, I have now run into a build error binutils commit
> f02cb05 ("Always descend into output section statements in
> lang_do_assignments") in binutils-2.28 and later:
> 
>    no __ex_table in  file: vmlinux
> 
> Any idea what's going wrong here?

I presume you checked that section really had disappeared?

>  	__ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) {
>  		__start___ex_table = .;
>  #ifdef CONFIG_MMU
> -		*(__ex_table)
> +		KEEP(*(__ex_table))
>  #endif
>  		__stop___ex_table = .;
>  	}

I think that if CONFIG_MMU is not defined, then ld will remove the
empty section.

-- 
Alan Modra
Australia Development Lab, IBM

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ