Module Name: src Committed By: rin Date: Mon Aug 28 00:09:17 UTC 2023
Modified Files: src/external/gpl3/binutils/dist/bfd: elflink.c Log Message: binutils/bfd/elflink.c: Clean up our local fix. NFC Now, ELF64_R_INFO() macro casts indx argument appropriately. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/binutils/dist/bfd/elflink.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/binutils/dist/bfd/elflink.c diff -u src/external/gpl3/binutils/dist/bfd/elflink.c:1.19 src/external/gpl3/binutils/dist/bfd/elflink.c:1.20 --- src/external/gpl3/binutils/dist/bfd/elflink.c:1.19 Sat Dec 24 20:17:04 2022 +++ src/external/gpl3/binutils/dist/bfd/elflink.c Mon Aug 28 00:09:17 2023 @@ -12075,12 +12075,9 @@ elf_reloc_link_order (bfd *output_bfd, irel[0].r_info = ELF32_R_INFO (indx, howto->type); else #ifdef BFD64 - { - uint64_t indx64 = indx; - irel[0].r_info = ELF64_R_INFO (indx64, howto->type); - } + irel[0].r_info = ELF64_R_INFO (indx, howto->type); #else - BFD_FAIL(); + BFD_FAIL(); #endif rel_hdr = reldata->hdr;