]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gold] Fix integer narrowing in switch users/roland/2.31/gold-narrowing-switch
authorRoland McGrath <mcgrathr@google.com>
Fri, 3 Aug 2018 21:38:20 +0000 (14:38 -0700)
committerRoland McGrath <mcgrathr@google.com>
Fri, 3 Aug 2018 21:39:53 +0000 (14:39 -0700)
commitbc893c8e469cd9fb4f91b8eb873b405d52756967
treefcb90509c4938d8ae49154ba7a828aaec0e67b8e
parent75b342fea3bc84d11346dc940830abf7724f75ef
[gold] Fix integer narrowing in switch

gold/
* target.h (Sized_target::record_gnu_property): Use unsigned int
for second argument.
* x86_64.cc (Target_x86_64<size>::record_gnu_property): Likewise.

(cherry picked from commit ccaf6a01bae457aba3a3f6baf1239bb55bc189a4)
gold/ChangeLog
gold/target.h
gold/x86_64.cc