From 86b441c5a4984d2b4593f857bd9e30f19ebed6fe Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Mon, 18 Sep 2017 16:40:52 -0500 Subject: [PATCH] Display full paths in armlink output --- tools/profiles/debug.json | 2 +- tools/profiles/develop.json | 2 +- tools/profiles/release.json | 2 +- tools/toolchains/arm.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/profiles/debug.json b/tools/profiles/debug.json index b4489eb2c6..ad4fab345a 100644 --- a/tools/profiles/debug.json +++ b/tools/profiles/debug.json @@ -34,7 +34,7 @@ "asm": [], "c": ["--md", "--no_depend_system_headers", "--c99", "-D__ASSERT_MSG"], "cxx": ["--cpp", "--no_rtti", "--no_vla"], - "ld": [] + "ld": ["--show_full_path"] }, "uARM": { "common": ["-c", "--gnu", "-Otime", "--split_sections", diff --git a/tools/profiles/develop.json b/tools/profiles/develop.json index e9712a0e0b..6142485a5f 100644 --- a/tools/profiles/develop.json +++ b/tools/profiles/develop.json @@ -31,7 +31,7 @@ "asm": [], "c": ["--md", "--no_depend_system_headers", "--c99", "-D__ASSERT_MSG"], "cxx": ["--cpp", "--no_rtti", "--no_vla"], - "ld": [] + "ld": ["--show_full_path"] }, "uARM": { "common": ["-c", "--gnu", "-Otime", "--split_sections", diff --git a/tools/profiles/release.json b/tools/profiles/release.json index 01cac07011..eedbce067f 100644 --- a/tools/profiles/release.json +++ b/tools/profiles/release.json @@ -31,7 +31,7 @@ "asm": [], "c": ["--md", "--no_depend_system_headers", "--c99", "-D__ASSERT_MSG"], "cxx": ["--cpp", "--no_rtti", "--no_vla"], - "ld": [] + "ld": ["--show_full_path"] }, "uARM": { "common": ["-c", "--gnu", "-Ospace", "--split_sections", diff --git a/tools/toolchains/arm.py b/tools/toolchains/arm.py index 3895700b2f..08b3179dab 100644 --- a/tools/toolchains/arm.py +++ b/tools/toolchains/arm.py @@ -74,7 +74,7 @@ class ARM(mbedToolchain): self.cc = [main_cc] + self.flags['common'] + self.flags['c'] self.cppc = [main_cc] + self.flags['common'] + self.flags['c'] + self.flags['cxx'] - self.ld = [join(ARM_BIN, "armlink")] + self.ld = [join(ARM_BIN, "armlink")] + self.flags['ld'] self.ar = join(ARM_BIN, "armar") self.elf2bin = join(ARM_BIN, "fromelf")