Skip to content

Commit a3b4f7a

Browse files
authored
Remove use of whole-archive (#677)
* Add source files wrapper library Allow to not archive HAL/LL object files to core.a. This avoid the linker to select weak definitions instead of non-weak ones when 'whole-archive' option is not used. See: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka15833.html * Remove use of whole-archive * Move newlib syscall implementation outside core archive Due to a bug in the arm none eabi gcc with lto which raise an unresolved reference if syscall is in the archive (_sbrk,...)
1 parent 964576b commit a3b4f7a

File tree

141 files changed

+45
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+45
-5
lines changed

libraries/SrcWrapper/keywords.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#######################################
2+
# Syntax Coloring Map For SrcWrapper
3+
#######################################
4+
5+
#######################################
6+
# Datatypes (KEYWORD1)
7+
#######################################
8+
9+
#######################################
10+
# Methods and Functions (KEYWORD2)
11+
#######################################
12+
13+
#######################################
14+
# Constants (LITERAL1)
15+
#######################################
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name=Source Wrapper
2+
version=1.0.0
3+
author=Frederic Pillon
4+
maintainer=stm32duino
5+
sentence=Source files wrapper (HAL, LL,...)
6+
paragraph=Allow to not archive source object files to core.a. This avoid the linker to select weak definitions instead of non-weak ones when 'whole-archive' option is not used.
7+
category=Other
8+
url=
9+
architectures=stm32
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)