0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-11-06 17:05:23 +00:00
Files
termux-packages/packages/binutils-libs/gold-ffsll.c.patch
Tee KOBAYASHI 5c73c3f40f binutils: Overhaul
* Rename main package to binutils-libs

* Install executables into libexec/binutils/

* Create subpackage binutils-bin not conflicting with binutils-is-llvm

  - binutils-bin contains symlinks bin/{as,elfedit,gprof,ld.bfd}

* Make binutils essentially a metapackage only containing symlinks
2022-11-12 13:28:39 +00:00

24 lines
560 B
Diff

--- ./gold/ffsll.c.orig 2020-12-25 18:14:59.949086305 +0000
+++ ./gold/ffsll.c 2020-12-25 19:16:32.733522188 +0000
@@ -29,20 +29,3 @@
/* This file implements ffsll for systems which don't have it. We use
ffsll if possible because gcc supports it as a builtin which will
use a machine instruction if there is one. */
-
-int
-ffsll (long long arg)
-{
- unsigned long long i;
- int ret;
-
- if (arg == 0)
- ret = 0;
- else
- {
- ret = 1;
- for (i = (unsigned long long) arg; (i & 1) == 0; i >>= 1)
- ++ret;
- }
- return ret;
-}