RISC-V: Add --specs=nosys.specs support.
gcc/ * config/riscv/elf.h (LIB_SPEC): Don't include -lgloss when nosys.specs specified. From-SVN: r257109
This commit is contained in:
parent
b5d0b3d27a
commit
ee61fae2b1
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2018-01-26 Jim Wilson <jimw@sifive.com>
|
||||
|
||||
* config/riscv/elf.h (LIB_SPEC): Don't include -lgloss when nosys.specs
|
||||
specified.
|
||||
|
||||
2018-01-26 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
||||
|
||||
* config/aarch64/aarch64.md: Add peepholes for CMP + SUB -> SUBS
|
||||
|
|
|
@ -24,7 +24,7 @@ along with GCC; see the file COPYING3. If not see
|
|||
/* Link against Newlib libraries, because the ELF backend assumes Newlib.
|
||||
Handle the circular dependence between libc and libgloss. */
|
||||
#undef LIB_SPEC
|
||||
#define LIB_SPEC "--start-group -lc -lgloss --end-group"
|
||||
#define LIB_SPEC "--start-group -lc %{!specs=nosys.specs:-lgloss} --end-group"
|
||||
|
||||
#undef STARTFILE_SPEC
|
||||
#define STARTFILE_SPEC "crt0%O%s crtbegin%O%s"
|
||||
|
|
Loading…
Add table
Reference in a new issue