login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
25
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: H. Peter Anvin
Subject:
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
Date: Thursday, October 25, 2007 - 1:53 pm
Mike Frysinger wrote:
quoted text
> On 10/25/07, H. Peter Anvin <hpa@zytor.com> wrote: >> Mike Frysinger wrote: >>>> Do you have any example for your claim "to get gcc to not inline things >>>> when building debug versions"? >>> $ cat test.c >>> __attribute__((always_inline)) int foo(void) { return 0; } >>> int main(void){ return foo(); } >>> $ gcc -g test.c -o test >>> $ readelf -s test | grep FUNC | grep -v _ >>> 61: 00000000004004b8 11 FUNC GLOBAL DEFAULT 13 foo >>> 68: 00000000004004c3 11 FUNC GLOBAL DEFAULT 13 main >>> >>> looks pretty straightforward to me >> For "debug version" meaning -O0, this is true. > > which is what i meant, sorry for not being more clear > > anyways, this is all moot ... we dont want "always inline" nor do we > want "static inline" for our string functions. we want the classical > GNU meaning of "extern inline" which means we're going to either have > a Blackfin specific "extern_inline" define or we get one added to the > common compiler headers and use that. > > Peter (or is it "H. Peter" ?): you going to post a patch or should i ? > -mike
Just "Peter" is fine :) Go right ahead. -hpa -
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:
[2.6 patch] blackfin: "extern inline" -> "static inline"
, Adrian Bunk
, (Wed Oct 24, 9:26 am)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Jie Zhang
, (Wed Oct 24, 7:47 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Mike Frysinger
, (Wed Oct 24, 8:00 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, H. Peter Anvin
, (Wed Oct 24, 8:06 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Mike Frysinger
, (Wed Oct 24, 8:17 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Adrian Bunk
, (Thu Oct 25, 8:05 am)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Mike Frysinger
, (Thu Oct 25, 9:16 am)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Adrian Bunk
, (Thu Oct 25, 9:53 am)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Mike Frysinger
, (Thu Oct 25, 1:07 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Adrian Bunk
, (Thu Oct 25, 1:18 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Mike Frysinger
, (Thu Oct 25, 1:20 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, H. Peter Anvin
, (Thu Oct 25, 1:28 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Mike Frysinger
, (Thu Oct 25, 1:45 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Adrian Bunk
, (Thu Oct 25, 1:46 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Adrian Bunk
, (Thu Oct 25, 1:47 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, H. Peter Anvin
, (Thu Oct 25, 1:53 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, H. Peter Anvin
, (Thu Oct 25, 1:54 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v2 11/11] sched: update tg->shares after cpu.shares write
Ingo Molnar
Re: [RFC] Cpu-hotplug: Using the Process Freezer (try2)
Michal Nazarewicz
Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configur...
Eric W. Biederman
Re: init's children list is long and slows reaping children.
Jeffrey V. Merkey
Re: Versioning file system
git
:
Matthieu Moy
Re: Bugs in Gitosis
Daniel Barkalow
Re: About git and the use of SHA-1
David Lang
Re: mingw, windows, crlf/lf, and git
Shawn O. Pearce
Re: Bugs in Gitosis
Junio C Hamano
Re: [PATCH 14/21] Convert ce_path_match() to use struct pathspec
linux-netdev
:
David Miller
Re: [2.6.30-rc3] powerpc: compilation error of mace module
David Miller
Re: [PATCH] ipv6: fix display of local and remote sit endpoints
Cong Wang
Re: [PATCH] s2io: add dynamic LRO disable support
Tobacco New Year Promo
Eric Dumazet
Re: [PATCH] net: implement emergency route cache rebulds when gc_elasticity is exc...
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB: tm6000: add special usb request to quit i2c tuner transfer
Linux Kernel Mailing List
of/flattree: merge early_init_dt_scan_memory() common code
Linux Kernel Mailing List
b43: N-PHY: add some registers and structs definitions
Linux Kernel Mailing List
powerpc: Move /proc/ppc64 to /proc/powerpc and add symlink
Linux Kernel Mailing List
drivers/acpi: use kasprintf
openbsd-misc
:
Ted Bullock
Re: Proliant DL380 G3 cannot get on network
Eric Furman
Re: Defending OpenBSD Performance
Damien Miller
Re: Patching a SSH 'Weakness'
Tony Abernethy
Re: The Atheros story in much fewer words
Nick Holland
Re: 1 out of 3 hunks failed--saving rejects to kerberosV/src/lib/krb5/crypto.c.rej
Colocation donated by:
Syndicate