Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109250739
D928.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D928.diff
View Options
Index: contrib/binutils/bfd/elf32-ppc.c
===================================================================
--- contrib/binutils/bfd/elf32-ppc.c
+++ contrib/binutils/bfd/elf32-ppc.c
@@ -7572,7 +7572,7 @@
#define TARGET_LITTLE_SYM bfd_elf32_powerpcle_vec
#define TARGET_LITTLE_NAME "elf32-powerpcle"
#define TARGET_BIG_SYM bfd_elf32_powerpc_vec
-#define TARGET_BIG_NAME "elf32-powerpc"
+#define TARGET_BIG_NAME "elf32-powerpc-freebsd"
#define ELF_ARCH bfd_arch_powerpc
#define ELF_MACHINE_CODE EM_PPC
#ifdef __QNXTARGET__
Index: contrib/binutils/bfd/elf64-ppc.c
===================================================================
--- contrib/binutils/bfd/elf64-ppc.c
+++ contrib/binutils/bfd/elf64-ppc.c
@@ -58,7 +58,7 @@
#define TARGET_LITTLE_SYM bfd_elf64_powerpcle_vec
#define TARGET_LITTLE_NAME "elf64-powerpcle"
#define TARGET_BIG_SYM bfd_elf64_powerpc_vec
-#define TARGET_BIG_NAME "elf64-powerpc"
+#define TARGET_BIG_NAME "elf64-powerpc-freebsd"
#define ELF_ARCH bfd_arch_powerpc
#define ELF_MACHINE_CODE EM_PPC64
#define ELF_MAXPAGESIZE 0x10000
Index: contrib/binutils/gas/config/tc-ppc.c
===================================================================
--- contrib/binutils/gas/config/tc-ppc.c
+++ contrib/binutils/gas/config/tc-ppc.c
@@ -1210,7 +1210,7 @@
return "elf32-powerpc-vxworks";
# else
return (target_big_endian
- ? (ppc_obj64 ? "elf64-powerpc" : "elf32-powerpc")
+ ? (ppc_obj64 ? "elf64-powerpc-freebsd" : "elf32-powerpc-freebsd")
: (ppc_obj64 ? "elf64-powerpcle" : "elf32-powerpcle"));
# endif
#endif
Index: contrib/binutils/ld/emulparams/elf32ppc_fbsd.sh
===================================================================
--- contrib/binutils/ld/emulparams/elf32ppc_fbsd.sh
+++ 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"
Index: contrib/binutils/ld/emulparams/elf64ppc_fbsd.sh
===================================================================
--- contrib/binutils/ld/emulparams/elf64ppc_fbsd.sh
+++ 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"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 3, 3:12 PM (21 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16436776
Default Alt Text
D928.diff (2 KB)
Attached To
Mode
D928: Make binutils ld(1) output format consistent with other arches and with upstream binutils
Attached
Detach File
Event Timeline
Log In to Comment