OSDN Git Service
(root)
/
uclinux-h8
/
elf2flt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
223a4da
)
Since the nios2 port is the only one to use the get_gp_value() function,
author
David McCullough
<davidm@snapgear.com>
Thu, 7 May 2009 06:16:36 +0000
(06:16 +0000)
committer
David McCullough
<davidm@snapgear.com>
Thu, 7 May 2009 06:16:36 +0000
(06:16 +0000)
stick it behind a TARGET_nios2 ifdef.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
elf2flt.c
patch
|
blob
|
history
diff --git
a/elf2flt.c
b/elf2flt.c
index
a950ff7
..
9ff0299
100644
(file)
--- a/
elf2flt.c
+++ b/
elf2flt.c
@@
-281,6
+281,7
@@
get_symbol_offset(char *name, asection *sec, asymbol **symbol_table, long number
+#ifdef TARGET_nios2
long
get_gp_value(asymbol **symbol_table, long number_of_symbols)
{
@@
-291,7
+292,8
@@
get_gp_value(asymbol **symbol_table, long number_of_symbols)
}
return -1;
}
-
+#endif
+
int32_t