forked from lede-project/source
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
toolchain/arc: update to the most recent release arc-2016.09
arc-2016.09 is the most recent toolchain for ARC cores and it is based on top of upstream Binutils 2.27 and GCC 6.2.1. With updated major version of GCC we copied all GCC 6.x patches for ARC as well as Bintils 2.27 patches. Note that toochain sports ARCv4 ABI and so must be used with 4.8+ Linux kernels. Even though it will build v4.4 kernel perfectly fine on attempt to run user-space apps they won't work with older kernel. That said previuosly sent RFC patches with Linux kernel update are required: [1] https://patchwork.ozlabs.org/patch/726686/ [2] https://patchwork.ozlabs.org/patch/726687/ Signed-off-by: Alexey Brodkin <[email protected]>
- Loading branch information
Showing
41 changed files
with
573 additions
and
523 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
toolchain/binutils/patches/arc-2016.03/200-arc-fix-target-mask.patch
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
toolchain/binutils/patches/arc-2016.09-release/300-001_ld_makefile_patch.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- a/ld/Makefile.am | ||
+++ b/ld/Makefile.am | ||
@@ -57,7 +57,7 @@ endif | ||
# We put the scripts in the directory $(scriptdir)/ldscripts. | ||
# We can't put the scripts in $(datadir) because the SEARCH_DIR | ||
# directives need to be different for native and cross linkers. | ||
-scriptdir = $(tooldir)/lib | ||
+scriptdir = $(libdir) | ||
|
||
EMUL = @EMUL@ | ||
EMULATION_OFILES = @EMULATION_OFILES@ | ||
--- a/ld/Makefile.in | ||
+++ b/ld/Makefile.in | ||
@@ -451,7 +451,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) | ||
# We put the scripts in the directory $(scriptdir)/ldscripts. | ||
# We can't put the scripts in $(datadir) because the SEARCH_DIR | ||
# directives need to be different for native and cross linkers. | ||
-scriptdir = $(tooldir)/lib | ||
+scriptdir = $(libdir) | ||
BASEDIR = $(srcdir)/.. | ||
BFDDIR = $(BASEDIR)/bfd | ||
INCDIR = $(BASEDIR)/include |
20 changes: 20 additions & 0 deletions
20
toolchain/binutils/patches/arc-2016.09-release/300-012_check_ldrunpath_length.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- a/ld/emultempl/elf32.em | ||
+++ b/ld/emultempl/elf32.em | ||
@@ -1244,6 +1244,8 @@ fragment <<EOF | ||
&& command_line.rpath == NULL) | ||
{ | ||
lib_path = (const char *) getenv ("LD_RUN_PATH"); | ||
+ if ((lib_path) && (strlen (lib_path) == 0)) | ||
+ lib_path = NULL; | ||
if (gld${EMULATION_NAME}_search_needed (lib_path, &n, | ||
force)) | ||
break; | ||
@@ -1525,6 +1527,8 @@ gld${EMULATION_NAME}_before_allocation ( | ||
rpath = command_line.rpath; | ||
if (rpath == NULL) | ||
rpath = (const char *) getenv ("LD_RUN_PATH"); | ||
+ if ((rpath) && (strlen (rpath) == 0)) | ||
+ rpath = NULL; | ||
|
||
for (abfd = link_info.input_bfds; abfd; abfd = abfd->link.next) | ||
if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
config GCC_VERSION_4_8_ARC | ||
config GCC_VERSION_6_2_ARC | ||
default y if (!TOOLCHAINOPTS && arc) | ||
bool | ||
|
||
config GCC_VERSION | ||
string | ||
default "arc-2016.03" if GCC_VERSION_4_8_ARC | ||
default "arc-2016.09-release" if GCC_VERSION_6_2_ARC | ||
default "6.3.0" if GCC_USE_VERSION_6 | ||
default "5.4.0" | ||
|
||
config GCC_VERSION_4_8 | ||
config GCC_VERSION_6_2 | ||
bool | ||
default y if GCC_VERSION_4_8_ARC | ||
default y if GCC_VERSION_6_2_ARC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
94 changes: 0 additions & 94 deletions
94
toolchain/gcc/patches/arc-2016.03/003-universal_initializer.patch
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
toolchain/gcc/patches/arc-2016.03/020-no-plt-backport.patch
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
toolchain/gcc/patches/arc-2016.03/210-disable_libsanitizer_off_t_check.patch
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.