Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 542816 Details for
Bug 663194
=sys-devel/binutils-2.31.1 does not compile with clang
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix types for clang compilation
0001-Fix-type-checking-errors.patch (text/plain), 2.31 KB, created by
David Carlos Manuelda
on 2018-08-08 21:36:58 UTC
(
hide
)
Description:
fix types for clang compilation
Filename:
MIME Type:
Creator:
David Carlos Manuelda
Created:
2018-08-08 21:36:58 UTC
Size:
2.31 KB
patch
obsolete
>From dc1f2887c513c4c2110d2d997ab33ce36b9696fc Mon Sep 17 00:00:00 2001 >From: Cary Coutant <ccoutant@gmail.com> >Date: Mon, 6 Aug 2018 13:36:42 -0700 >Subject: [PATCH] Fix type checking errors. > >gold/ > * target.h (Sized_target::record_gnu_property): Change first two > parameters to unsigned int. > * x86_64.cc (Target_x86_64::record_gnu_property): Likewise. >--- > gold/ChangeLog | 6 ++++++ > gold/target.h | 3 ++- > gold/x86_64.cc | 5 +++-- > 3 files changed, 11 insertions(+), 3 deletions(-) > >diff --git a/gold/ChangeLog b/gold/ChangeLog >index d5cc02b14b..befa832b11 100644 >--- a/gold/ChangeLog >+++ b/gold/ChangeLog >@@ -1,3 +1,9 @@ >+2018-08-06 Cary Coutant <ccoutant@gmail.com> >+ >+ * target.h (Sized_target::record_gnu_property): Change first two >+ parameters to unsigned int. >+ * x86_64.cc (Target_x86_64::record_gnu_property): Likewise. >+ > 2018-07-30 Nick Clifton <nickc@redhat.com> > > * layout.cc (section_name_mapping): Add an entry for >diff --git a/gold/target.h b/gold/target.h >index bb312067b5..bbc87396f6 100644 >--- a/gold/target.h >+++ b/gold/target.h >@@ -1147,7 +1147,8 @@ class Sized_target : public Target > // Record a target-specific program property in the .note.gnu.property > // section. > virtual void >- record_gnu_property(int, int, size_t, const unsigned char*, const Object*) >+ record_gnu_property(unsigned int, unsigned int, size_t, >+ const unsigned char*, const Object*) > { } > > // Merge the target-specific program properties from the current object. >diff --git a/gold/x86_64.cc b/gold/x86_64.cc >index 27f273d64b..9d742f6f13 100644 >--- a/gold/x86_64.cc >+++ b/gold/x86_64.cc >@@ -1307,7 +1307,8 @@ class Target_x86_64 : public Sized_target<size, false> > // Record a target-specific program property in the .note.gnu.property > // section. > void >- record_gnu_property(int, int, size_t, const unsigned char*, const Object*); >+ record_gnu_property(unsigned int, unsigned int, size_t, >+ const unsigned char*, const Object*); > > // Merge the target-specific program properties from the current object. > void >@@ -1579,7 +1580,7 @@ Target_x86_64<size>::rela_irelative_section(Layout* layout) > template<int size> > void > Target_x86_64<size>::record_gnu_property( >- int, int pr_type, >+ unsigned int, unsigned int pr_type, > size_t pr_datasz, const unsigned char* pr_data, > const Object* object) > { >-- >2.18.0 >
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 663194
: 542816 |
542824