projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7e0abc
)
modpost: handle -ffunction-sections
author
Rusty Russell
<
[email protected]
>
Wed, 15 Apr 2015 03:58:08 +0000
(13:28 +0930)
committer
Rusty Russell
<
[email protected]
>
Wed, 22 Apr 2015 08:01:31 +0000
(17:31 +0930)
52dc0595d540
introduced OTHER_TEXT_SECTIONS for identifying what
sections could validly have __ex_table entries. Unfortunately, it
wasn't tested with -ffunction-sections, which some architectures
use.
Reported-by: kbuild test robot <
[email protected]
>
Cc: Quentin Casasnovas <
[email protected]
>
Signed-off-by: Rusty Russell <
[email protected]
>
scripts/mod/modpost.c
patch
|
blob
|
history
diff --git
a/scripts/mod/modpost.c
b/scripts/mod/modpost.c
index 6a925f200b253db1b6721c2d0005a75d815d3dc6..22dbc604cdb9eaa037742e59baa455dd73d80d4c 100644
(file)
--- a/
scripts/mod/modpost.c
+++ b/
scripts/mod/modpost.c
@@
-876,7
+876,7
@@
static void check_section(const char *modname, struct elf_info *elf,
#define TEXT_SECTIONS ".text", ".text.unlikely", ".sched.text", \
".kprobes.text"
#define OTHER_TEXT_SECTIONS ".ref.text", ".head.text", ".spinlock.text", \
- ".fixup", ".entry.text", ".
text.fixup", ".exception.text
"
+ ".fixup", ".entry.text", ".
exception.text", ".text.*
"
#define INIT_SECTIONS ".init.*"
#define MEM_INIT_SECTIONS ".meminit.*"