FreeBSD Bugzilla – Attachment 217320 Details for
Bug 248735
devel/binutils: Fix build with -fno-common (clang 11 and gcc 10)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix build with -fno-common (clang 11 and gcc 10)
devel__binutils-fix-common-1.diff (text/plain), 3.86 KB, created by
Dimitry Andric
on 2020-08-18 21:11:24 UTC
(
hide
)
Description:
Fix build with -fno-common (clang 11 and gcc 10)
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2020-08-18 21:11:24 UTC
Size:
3.86 KB
patch
obsolete
>Index: devel/binutils/files/patch-binutils_coffdump.c >=================================================================== >--- devel/binutils/files/patch-binutils_coffdump.c (nonexistent) >+++ devel/binutils/files/patch-binutils_coffdump.c (working copy) >@@ -0,0 +1,11 @@ >+--- binutils/coffdump.c.orig 2019-09-09 13:19:43 UTC >++++ binutils/coffdump.c >+@@ -456,8 +456,6 @@ coff_dump (struct coff_ofile *ptr) >+ dump_coff_section (ptr->sections + i); >+ } >+ >+-char * program_name; >+- >+ static void >+ show_usage (FILE *file, int status) >+ { > >Property changes on: devel/binutils/files/patch-binutils_coffdump.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: devel/binutils/files/patch-binutils_srconv.c >=================================================================== >--- devel/binutils/files/patch-binutils_srconv.c (nonexistent) >+++ devel/binutils/files/patch-binutils_srconv.c (working copy) >@@ -0,0 +1,11 @@ >+--- binutils/srconv.c.orig 2019-09-09 13:19:43 UTC >++++ binutils/srconv.c >+@@ -1687,8 +1687,6 @@ prescan (struct coff_ofile *otree) >+ } >+ } >+ >+-char *program_name; >+- >+ ATTRIBUTE_NORETURN static void >+ show_usage (FILE *ffile, int status) >+ { > >Property changes on: devel/binutils/files/patch-binutils_srconv.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: devel/binutils/files/patch-binutils_sysdump.c >=================================================================== >--- devel/binutils/files/patch-binutils_sysdump.c (nonexistent) >+++ devel/binutils/files/patch-binutils_sysdump.c (working copy) >@@ -0,0 +1,11 @@ >+--- binutils/sysdump.c.orig 2019-09-09 13:19:43 UTC >++++ binutils/sysdump.c >+@@ -633,8 +633,6 @@ module (void) >+ } >+ } >+ >+-char *program_name; >+- >+ ATTRIBUTE_NORETURN static void >+ show_usage (FILE *ffile, int status) >+ { > >Property changes on: devel/binutils/files/patch-binutils_sysdump.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: devel/binutils/files/patch-libctf_swap.h >=================================================================== >--- devel/binutils/files/patch-libctf_swap.h (nonexistent) >+++ devel/binutils/files/patch-libctf_swap.h (working copy) >@@ -0,0 +1,34 @@ >+--- libctf/swap.h.orig 2019-09-09 13:19:45 UTC >++++ libctf/swap.h >+@@ -28,13 +28,13 @@ >+ #else >+ >+ /* Provide our own versions of the byteswap functions. */ >+-inline uint16_t >++static inline uint16_t >+ bswap_16 (uint16_t v) >+ { >+ return ((v >> 8) & 0xff) | ((v & 0xff) << 8); >+ } >+ >+-inline uint32_t >++static inline uint32_t >+ bswap_32 (uint32_t v) >+ { >+ return ( ((v & 0xff000000) >> 24) >+@@ -43,13 +43,13 @@ bswap_32 (uint32_t v) >+ | ((v & 0x000000ff) << 24)); >+ } >+ >+-inline uint64_t >++static inline uint64_t >+ bswap_identity_64 (uint64_t v) >+ { >+ return v; >+ } >+ >+-inline uint64_t >++static inline uint64_t >+ bswap_64 (uint64_t v) >+ { >+ return ( ((v & 0xff00000000000000ULL) >> 56) > >Property changes on: devel/binutils/files/patch-libctf_swap.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 248735
: 217320