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] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0906112032560.9154@vinegar-pot.mit.edu>
Date:	Fri, 12 Jun 2009 10:52:06 -0400 (EDT)
From:	Tim Abbott <tabbott@...lice.com>
To:	Sam Ravnborg <sam@...nborg.org>
cc:	linux-kbuild <linux-kbuild@...r.kernel.org>,
	LKML <linux-kernel@...r.kernel.org>,
	linux arch <linux-arch@...r.kernel.org>,
	Anders Kaseorg <andersk@...lice.com>
Subject: Re: [PATCH] Improve vmlinux.lds.h support for arch specific linker
 scripts

On Sun, 7 Jun 2009, Sam Ravnborg wrote:

> Please review and comment..
> It will be part of kbuild-next.git

This patch looks great.  I have a few very minor comments.

> + *	/DISCARD/ : {
> + *		EXIT_TEXT
> + *		EXIT_DATA
> + *		*(.exitcall.exit)
> + *	}

I recommend adding

#define EXIT_CALL *(.exitcall.exit)

and using it in the DISCARD section of the sample linker script so that 
the sample linker script doesn't use any raw section names.

> +#define BSS_SECTION(sbss_align, bss_align)				\
> +	SBSS								\
> +	BSS(bss_align)							\
> +	. = ALIGN(4);							\

This macro should end with the 'ALIGN(4);' -- there's an extra backslash 
at the end of the line.

I recommend changing HEAD_SECTION to HEAD_TEXT_SECTION to better fit the 
naming scheme.  This would involve deleting the recently added 
include/linux/section-names.h and going back to hardcoding .head.text in 
include/linux/init.h (given the way these macros have turned out, 
include/linux/section-names.h doesn't really make sense).

Also, the commit message misspells 'alignment', 'linker', and 'Abbott'.

	-Tim Abbott
--
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