diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2012-06-20 01:14:40 +0200 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2012-07-03 22:17:06 +0200 |
commit | 0adc32d0798b479dc17e286460ba04570fd8cdb0 (patch) | |
tree | 76595a2f2138eafadb01ba087eb0ebbc5e61d5cd /uisimulator/uisimulator.make | |
parent | 707e9d8945b8866dfc8a1487b3baad49a781dd72 (diff) |
Use -Wl,--start-group and -Wl,--end-group for linking the simulator.
This makes linking always work regardless of symbol order.
Change-Id: I620f55cbfaaff498d4ca095a99e1412f5fbad4e5
Diffstat (limited to 'uisimulator/uisimulator.make')
-rw-r--r-- | uisimulator/uisimulator.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/uisimulator.make b/uisimulator/uisimulator.make index 8756ac65b7..2641353bc9 100644 --- a/uisimulator/uisimulator.make +++ b/uisimulator/uisimulator.make @@ -31,7 +31,7 @@ $(SIMLIB): $$(SIMOBJ) $(UIBMP) $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null $(BUILDDIR)/$(BINARY): $$(OBJ) $(FIRMLIB) $(VOICESPEEXLIB) $(CORE_LIBS) $(SIMLIB) - $(call PRINTS,LD $(BINARY))$(CC) -o $@ $^ $(SIMLIB) $(LDOPTS) $(GLOBAL_LDOPTS) \ + $(call PRINTS,LD $(BINARY))$(CC) -o $@ -Wl,--start-group $^ -Wl,--end-group $(LDOPTS) $(GLOBAL_LDOPTS) \ -Wl,-Map,$(BUILDDIR)/rockbox.map $(SILENT)$(call objcopy,$@,$@) |