Skip to content

Commit ecf4008

Browse files
authored
Merge pull request #12825 from kjbracey-arm/linkinline
Turn on ARM linker --inline
2 parents 4021b1a + 4caab1c commit ecf4008

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tools/profiles/develop.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"asm": [],
2525
"c": ["-D__ASSERT_MSG", "-std=gnu11"],
2626
"cxx": ["-fno-rtti", "-fno-c++-static-destructors", "-std=gnu++14"],
27-
"ld": ["--show_full_path", "--legacyalign", "--any_contingency",
27+
"ld": ["--show_full_path", "--legacyalign", "--inline", "--any_contingency",
2828
"--keep=os_cb_sections"]
2929
},
3030
"ARM": {
@@ -34,7 +34,7 @@
3434
"asm": [],
3535
"c": ["--md", "--no_depend_system_headers", "--c99", "-D__ASSERT_MSG"],
3636
"cxx": ["--cpp11", "--no_rtti", "--no_vla"],
37-
"ld": ["--show_full_path", "--any_contingency", "--keep=os_cb_sections"]
37+
"ld": ["--show_full_path", "--any_contingency", "--inline", "--keep=os_cb_sections"]
3838
},
3939
"uARM": {
4040
"common": ["-c", "--gnu", "-Ospace", "--split_sections",
@@ -45,7 +45,7 @@
4545
"asm": [],
4646
"c": ["--md", "--no_depend_system_headers", "--c99", "-D__ASSERT_MSG"],
4747
"cxx": ["--cpp11", "--no_rtti", "--no_vla"],
48-
"ld": ["--library_type=microlib"]
48+
"ld": ["--inline", "--library_type=microlib"]
4949
},
5050
"IAR": {
5151
"common": [

tools/profiles/release.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"asm": [],
2525
"c": ["-D__ASSERT_MSG", "-std=gnu11"],
2626
"cxx": ["-fno-rtti", "-fno-c++-static-destructors", "-std=gnu++14"],
27-
"ld": ["--show_full_path", "--legacyalign", "--any_contingency",
27+
"ld": ["--show_full_path", "--legacyalign", "--inline", "--any_contingency",
2828
"--keep=os_cb_sections"]
2929
},
3030
"ARM": {
@@ -34,7 +34,7 @@
3434
"asm": [],
3535
"c": ["--md", "--no_depend_system_headers", "--c99", "-D__ASSERT_MSG"],
3636
"cxx": ["--cpp11", "--no_rtti", "--no_vla"],
37-
"ld": ["--show_full_path", "--any_contingency", "--keep=os_cb_sections"]
37+
"ld": ["--show_full_path", "--any_contingency", "--inline", "--keep=os_cb_sections"]
3838
},
3939
"uARM": {
4040
"common": ["-c", "--gnu", "-Ospace", "--split_sections",
@@ -44,7 +44,7 @@
4444
"asm": [],
4545
"c": ["--md", "--no_depend_system_headers", "--c99", "-D__ASSERT_MSG"],
4646
"cxx": ["--cpp11", "--no_rtti", "--no_vla"],
47-
"ld": ["--library_type=microlib"]
47+
"ld": ["--inline", "--library_type=microlib"]
4848
},
4949
"IAR": {
5050
"common": [

0 commit comments

Comments
 (0)