diff options
author | Claudiu Zissulescu <claziss@gmail.com> | 2020-03-31 13:04:24 +0300 |
---|---|---|
committer | Claudiu Zissulescu <claziss@gmail.com> | 2020-03-31 13:04:49 +0300 |
commit | cea1fc6f67d5b57bb9b500121b6dd6d74b36bd80 (patch) | |
tree | 3bebc612f09acaffe76ff0d587186c65e060e8da /gcc | |
parent | e81d0d9ec7a337dd6a649390e1824930dc57847d (diff) | |
download | gcc-cea1fc6f67d5b57bb9b500121b6dd6d74b36bd80.zip gcc-cea1fc6f67d5b57bb9b500121b6dd6d74b36bd80.tar.gz gcc-cea1fc6f67d5b57bb9b500121b6dd6d74b36bd80.tar.bz2 |
arc: Allow more ABIs in GLIBC_DYNAMIC_LINKER
Enable big-endian suffixed dynamic linker per glibc multi-abi support.
And to avoid a future churn and version pairingi hassles, also allow
arc700 although glibc for ARC currently doesn't support it.
gcc/
xxxx-xx-xx Vineet Gupta <vgupta@synopsys.com>
* config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/arc/linux.h | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 097a222..1367118 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2020-0-31 Vineet Gupta <vgupta@synopsys.com> + + * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700. + 2020-03-31 Srinath Parvathaneni <srinath.parvathaneni@arm.com> * config/arm/arm_mve.h (vaddlvq): Move the polymorphic variant to the diff --git a/gcc/config/arc/linux.h b/gcc/config/arc/linux.h index 0b99da3..0863f1c 100644 --- a/gcc/config/arc/linux.h +++ b/gcc/config/arc/linux.h @@ -29,7 +29,8 @@ along with GCC; see the file COPYING3. If not see } \ while (0) -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-arc.so.2" +#define GLIBC_DYNAMIC_LINKER \ + "/lib/ld-linux-arc%{mbig-endian:eb}%{mcpu=arc700:700}.so.2" #define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" /* Note that the default is to link against dynamic libraries, if they are |