diff options
author | Cary Coutant <ccoutant@gmail.com> | 2018-08-06 13:36:42 -0700 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2018-08-06 13:36:42 -0700 |
commit | dc1f2887c513c4c2110d2d997ab33ce36b9696fc (patch) | |
tree | 5f08963152f40f43f80af3ded6bee42728c4f059 /gold/x86_64.cc | |
parent | 296956befef3711ed458c7cba8041fde0dab9c50 (diff) | |
download | gdb-dc1f2887c513c4c2110d2d997ab33ce36b9696fc.zip gdb-dc1f2887c513c4c2110d2d997ab33ce36b9696fc.tar.gz gdb-dc1f2887c513c4c2110d2d997ab33ce36b9696fc.tar.bz2 |
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.
Diffstat (limited to 'gold/x86_64.cc')
-rw-r--r-- | gold/x86_64.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gold/x86_64.cc b/gold/x86_64.cc index 27f273d..9d742f6 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) { |