OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* config/sh/elf.h (LIB_SPEC): Define.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
config
/
sh
/
elf.h
diff --git
a/gcc/config/sh/elf.h
b/gcc/config/sh/elf.h
index
633f6a8
..
15f106a
100644
(file)
--- a/
gcc/config/sh/elf.h
+++ b/
gcc/config/sh/elf.h
@@
-86,6
+86,9
@@
along with GCC; see the file COPYING3. If not see
#define ENDFILE_SPEC \
"%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+#undef LIB_SPEC
+#define LIB_SPEC "-lc"
+
/* ASM_OUTPUT_CASE_LABEL is defined in elfos.h. With it,
a redundant .align was generated. */
#undef ASM_OUTPUT_CASE_LABEL