Use -fno-common consistently in ARM builds
GCC 8.5 emits COMMON globals by default. Apply -fno-common in the shared Make and CMake flags so it covers the OS, bootrom and PM5 armlib. Also remove bootrom archives on clean to avoid reusing old library objects. Built OS and bootrom for PM5/RDV4 with GCC 8.5/13.3 using Make and CMake. No COMMON object symbols remain; PM5 CDC state is inside BSS. Existing build warnings remain. No hardware was flashed.
This commit is contained in:
1 parent
d596fe6b04
commit
121b14ddd8
3 files changed
+3
-1
No files matched your search
@@ -137,6 +137,7 @@ $(OBJDIR)/bootrom.elf: $(VERSIONOBJ) $(ASMOBJ) $(ARMOBJ) $(THUMBOBJ) $(ARMLIB_OB
|
||||
|
||||
clean:
|
||||
$(Q)$(RM) $(OBJDIR)$(PATHSEP)*.o
|
||||
$(Q)$(RM) $(OBJDIR)$(PATHSEP)*.a
|
||||
$(Q)$(RM) $(OBJDIR)$(PATHSEP)*.elf
|
||||
$(Q)$(RM) $(OBJDIR)$(PATHSEP)*.s19
|
||||
$(Q)$(RM) $(OBJDIR)$(PATHSEP)*.map
|
||||
|
||||
Reference in new issue
Block a user