diff options
| author | ruki <[email protected]> | 2025-12-21 21:57:56 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-21 21:57:56 +0800 |
| commit | 4a16fe7f90f6d9d5a06e9d34866c075af07d73b5 (patch) | |
| tree | ad74dfbc3348cb21bf1bf684da9e268234dc8d33 /xmake/core/base/binutils.lua | |
| parent | a836f5742fc9c704c89281ae5f525cdaa4a903de (diff) | |
remove unused codes
Diffstat (limited to 'xmake/core/base/binutils.lua')
| -rw-r--r-- | xmake/core/base/binutils.lua | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/xmake/core/base/binutils.lua b/xmake/core/base/binutils.lua index 9258f99a3..b513be0b1 100644 --- a/xmake/core/base/binutils.lua +++ b/xmake/core/base/binutils.lua @@ -32,8 +32,6 @@ binutils._bin2elf = binutils._bin2elf or binutils.bin2elf binutils._readsyms = binutils._readsyms or binutils.readsyms binutils._deplibs = binutils._deplibs or binutils.deplibs binutils._rpath_list = binutils._rpath_list or binutils.rpath_list -binutils._rpath_insert = binutils._rpath_insert or binutils.rpath_insert -binutils._rpath_remove = binutils._rpath_remove or binutils.rpath_remove binutils._rpath_clean = binutils._rpath_clean or binutils.rpath_clean binutils._extractlib = binutils._extractlib or binutils.extractlib @@ -125,22 +123,6 @@ function binutils.rpath_list(binaryfile) end -- insert rpath to binary file (auto-detect format: ELF or Mach-O) -function binutils.rpath_insert(binaryfile, rpath) - if binutils._rpath_insert then - return binutils._rpath_insert(binaryfile, rpath) - else - return false, "binutils: internal rpath_insert not supported!" - end -end - --- remove rpath from binary file (auto-detect format: ELF or Mach-O) -function binutils.rpath_remove(binaryfile, rpath) - if binutils._rpath_remove then - return binutils._rpath_remove(binaryfile, rpath) - else - return false, "binutils: internal rpath_remove not supported!" - end -end -- clean rpaths from binary file (auto-detect format: ELF or Mach-O) function binutils.rpath_clean(binaryfile) @@ -173,4 +155,3 @@ end -- return module return binutils - |
