We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55c323f commit 62e45faCopy full SHA for 62e45fa
src/link.sh
@@ -18,7 +18,7 @@ OD=`which objdump 2>/dev/null`
18
[ -n "$OD" ] || OD=`which llvm-objdump 2>/dev/null`
19
[ -n "$OD" ] || die "objdump not found"
20
21
-FLG=$($OD -T $L | grep _shm_flags | sed -E 's/0{12}([^ ]+) .+/0x\1/')
+FLG=$($OD -T $L | grep _shm_flags | sed -E 's/0*([^ ]+) .+/0x\1/')
22
CMD="$LNK -d $D $L -f $FLG -o $O $*"
23
echo $CMD
24
$CMD
0 commit comments