diff options
author | bapt <bapt@FreeBSD.org> | 2014-10-10 06:24:09 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-10-10 06:24:09 +0000 |
commit | c4ad6de85563108a0d0c3c40bdabdc276acef508 (patch) | |
tree | 8a4ddae4a0aaf962ffd82d7fb419973645abab04 /contrib/binutils/ld | |
parent | 82f995d6f356b994e66f41e2426e3e609e6a58cc (diff) | |
download | FreeBSD-src-c4ad6de85563108a0d0c3c40bdabdc276acef508.zip FreeBSD-src-c4ad6de85563108a0d0c3c40bdabdc276acef508.tar.gz |
Rename elf*-powerpc into elf*-powerpc-freebsd in binutils
The powerpc support was the only supported architecture not prepending the elf format name
with "-freebsd" in base this change makes it consistent with other architectures.
On newer version of binutils the powerpc format is also prepended with "-freebsd".
Also modify the kernel ldscripts in that regards.
As a result it is now possible cross build the kernel on powerpc using newer binutils
Differential Revision: https://reviews.freebsd.org/D926
Differential Revision: https://reviews.freebsd.org/D928
Diffstat (limited to 'contrib/binutils/ld')
-rw-r--r-- | contrib/binutils/ld/emulparams/elf32ppc_fbsd.sh | 2 | ||||
-rw-r--r-- | contrib/binutils/ld/emulparams/elf64ppc_fbsd.sh | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/contrib/binutils/ld/emulparams/elf32ppc_fbsd.sh b/contrib/binutils/ld/emulparams/elf32ppc_fbsd.sh index 2bac85c..2f8b72e 100644 --- a/contrib/binutils/ld/emulparams/elf32ppc_fbsd.sh +++ b/contrib/binutils/ld/emulparams/elf32ppc_fbsd.sh @@ -1,2 +1,4 @@ . ${srcdir}/emulparams/elf32ppc.sh . ${srcdir}/emulparams/elf_fbsd.sh + +OUTPUT_FORMAT="elf32-powerpc-freebsd" diff --git a/contrib/binutils/ld/emulparams/elf64ppc_fbsd.sh b/contrib/binutils/ld/emulparams/elf64ppc_fbsd.sh index ec2374f..3f73ed9 100644 --- a/contrib/binutils/ld/emulparams/elf64ppc_fbsd.sh +++ b/contrib/binutils/ld/emulparams/elf64ppc_fbsd.sh @@ -1,3 +1,4 @@ . ${srcdir}/emulparams/elf64ppc.sh . ${srcdir}/emulparams/elf_fbsd.sh +OUTPUT_FORMAT="elf64-powerpc-freebsd" |