login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
December
»
18
Re: [PATCH 1/2] strip generated symbols from *.ko
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Sam Ravnborg
Subject:
Re: [PATCH 1/2] strip generated symbols from *.ko
Date: Thursday, December 18, 2008 - 1:13 pm
On Tue, Dec 16, 2008 at 11:28:14AM +0000, Jan Beulich wrote:
quoted text
> This patch changes the way __crc_ symbols are being resolved from > using ld to do so to using the assembler, thus allowing these symbols > to be marked local (the linker creates then as global ones) and hence > allow stripping (for modules) or ignoring (for vmlinux) them. While at > this, also strip other generated symbols during module installation. > > One potentially debatable point is the handling of the flags passeed > to gcc when translating the intermediate assembly file into an object: > passing $(c_flags) unchanged doesn't work as gcc passes --gdwarf2 to > gas whenever is sees any -g* option, even for -g0, and despite the > fact that the compiler would have already produced all necessary debug > info in the C->assembly translation phase. I took the approach of just > filtering out all -g* options, but an alternative to such negative > filtering might be to have a positive filter which might, in the ideal > case allow just all the -Wa,* options to pass through. > > Signed-off-by: Jan Beulich <jbeulich@novell.com>
Both patches are encoded so I end up with "=20", "=3D" in the saved file. Can you please resend as attachment or fix your mailer. Thanks, Sam --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 1/2] strip generated symbols from *.ko
, Jan Beulich
, (Tue Dec 16, 4:28 am)
Re: [PATCH 1/2] strip generated symbols from *.ko
, Sam Ravnborg
, (Thu Dec 18, 1:13 pm)
Re: [PATCH 1/2] strip generated symbols from *.ko
, Sam Ravnborg
, (Fri Dec 19, 2:59 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...