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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 06 May 2008 13:56:22 +0200
From:	Peter Oberparleiter <peter.oberparleiter@...ibm.com>
To:	Andrew Morton <akpm@...ux-foundation.org>
CC:	ltp-list@...ts.sourceforge.net,
	Rusty Russell <rusty@...tcorp.com.au>,
	ltp-coverage@...ts.sourceforge.net, sam@...nborg.org,
	linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH 1/6] kernel: call constructors

Andrew Morton wrote:
> On Mon, 05 May 2008 17:24:04 +0200 Peter Oberparleiter <peter.oberparleiter@...ibm.com> wrote:
> 
>> From: Peter Oberparleiter <peter.oberparleiter@...ibm.com>
>> --- linux-2.6.26-rc1.orig/arch/powerpc/kernel/vmlinux.lds.S
>> +++ linux-2.6.26-rc1/arch/powerpc/kernel/vmlinux.lds.S
>> @@ -193,6 +193,9 @@ SECTIONS
>>  		*(.toc)
>>  	}
>>  #endif
>> +	.data.gcov : {
>> +		CONSTRUCTORS
>> +	}
> 
> Why did powerpc (and only powerpc) need this touchup?  It already includes
> asm-generic/vmlinux.lds.h?

asm-generic/vmlinux.lds.h defines CONSTRUCTORS but it needs to be
referenced in the actual linker script to become active. For some reason
unknown to me, CONSTRUCTORS shows up in all arch/*/vmlinux.lds.S scripts
except for powerpc (see also my other reply about the CONSTRUCTORS
section).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ