Projects
Eulaceura:Factory
native-turbo
_service:obs_scm:objreloc.sh
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:objreloc.sh of Package native-turbo
#!/bin/bash if [ $# -eq 0 ]; then echo "Usage: $0 <Files to be split>" exit 1 fi LIB_FILE="$1" if [ ! -f "$LIB_FILE" ]; then echo "Error: $LIB_FILE does not exist" exit 1 fi # Remove debug and unnecessary sections, and create relocation and primary files objcopy --strip-debug --strip-dwo --strip-unneeded "$LIB_FILE" "$LIB_FILE.relocation" xz -z "$LIB_FILE.relocation" mv -f "$LIB_FILE.relocation.xz" "$LIB_FILE.relocation" # objcopy --remove-relocations=".*" "$LIB_FILE" "$LIB_FILE.prim"
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2