Skip to content

Commit 87794af

Browse files
Fix invalid memory.x usage in TCF wrapper
To use memory.x file it is required to pass option -marcv2elfx to linker as of version 2016.03. It used to be -marcv2elfb previously. TCF wrapper for compiler should be updated respectively. Signed-off-by: Anton Kolesov <[email protected]>
1 parent a8638b0 commit 87794af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extras/arc-tcf-gcc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ sub processXML
125125
# Parse the linker file
126126
my $sn = '/config_list/configuration[@name="gnu_linker_command_file"]';
127127
parseXML ($tcf, $sn);
128-
my $cmdline = " -Wl,-marcv2elfb -L" . $dirname . " ";
128+
my $cmdline = " -Wl,-marcv2elfx -L" . $dirname . " ";
129129

130130

131131
# Parse the compiler options

0 commit comments

Comments
 (0)