Skip to content

Commit

Permalink
clang?
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <[email protected]>
  • Loading branch information
crazy-max committed Feb 9, 2024
1 parent 8e186a3 commit 6a413bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions hack/dockerfiles/archutil.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ ARG ALPINE_VERSION=3.19
ARG DEBIAN_VERSION=trixie

FROM debian:${DEBIAN_VERSION}-slim AS base
RUN apt-get update && apt-get --no-install-recommends install -y git binutils \
gcc-x86-64-linux-gnu \
RUN apt-get update && apt-get --no-install-recommends install -y git binutils clang lld \
binutils-x86-64-linux-gnu \
binutils-arm-linux-gnueabihf \
binutils-aarch64-linux-gnu \
Expand All @@ -20,7 +19,7 @@ WORKDIR /src

FROM base AS exit-amd64
COPY util/archutil/fixtures/exit.amd64.S .
RUN x86_64-linux-gnu-gcc -O0 -fno-ident -g0 -static -nostdlib -Wa,--noexecstack -Wl,--build-id -o exit exit.amd64.S
RUN clang -target x86_64-linux-gnu -O0 -g0 -static -nostdlib -o exit exit.amd64.S

FROM base AS exit-386
COPY util/archutil/fixtures/exit.386.s .
Expand Down
2 changes: 1 addition & 1 deletion util/archutil/amd64_binary.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ package archutil
// This file is generated by running "make archutil".
// Do not edit manually.

const Binaryamd64 = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x02\xff\xec\x98\xc1\x8b\xd3\x40\x14\xc6\xbf\x89\xed\xae\x0b\x42\xba\x22\x28\xac\x87\xae\x7a\x52\x8c\xac\x08\x7a\x50\xc9\xca\xaa\x83\xd4\x85\x05\xf7\x6a\x48\x37\x61\x2d\x6e\xdb\xd0\x4c\x6a\x85\x82\x2d\x3d\xf9\x1f\x78\xee\x5f\xe0\xcd\x1e\x7b\x0b\xfe\x07\xe2\xad\x07\xbd\x78\xd1\x9b\x15\x44\x49\xf2\xa6\x26\xd1\x50\x0f\x1e\x3c\xcc\x0f\xca\x97\xf7\xf5\xbd\x99\xa1\x93\x4b\xbf\x17\x77\x6b\xf7\x34\xc6\x20\xd1\x70\x1b\x71\x55\x31\xe3\xda\x24\xff\xf5\xfa\xa2\x05\x26\x6e\xa0\x04\x13\x2b\x28\xc7\xbd\x25\xa4\x31\x33\xba\x43\x4b\x4b\x45\x25\x91\xa8\x2c\xa7\x6a\xb9\x9f\x54\x8f\x6c\xa9\xb2\xaf\x44\x9f\x2a\xad\x57\x65\x66\x46\x2f\x50\xbb\x54\x79\xb6\xbd\x0f\xc2\x59\xc1\xdf\x53\x49\xcd\x9f\x02\x70\x0c\xc0\xfd\xdd\x7d\xbc\xff\xec\x5d\x72\x6b\x83\x47\x2f\x37\x9f\xf6\xde\x7c\xfb\xfe\xf0\xe3\xde\x66\x0d\x0a\x85\x42\xa1\x50\x28\x14\x0a\x85\x42\xa1\x50\xfc\xe7\xf0\xad\xa9\x3e\xe6\xa3\xaf\xab\xfd\x07\x7c\x02\x60\x10\x99\xfa\xf8\x16\x03\x06\xfd\xeb\x3c\x9c\xb2\xb8\xe9\xad\x3e\xe6\xc3\x19\x3b\xf7\x0a\x7c\x38\x8f\x24\xd8\xe0\x13\x46\xed\xc9\xd7\xa3\x19\xe3\xa3\x39\x0b\xb4\x4f\x6b\x3c\x0c\xb7\x01\xc4\x0f\x77\xa2\x07\xf0\x70\x7a\x33\x5a\xb8\x5c\x74\x8e\x24\x47\xf8\xf2\x23\xef\x9f\xa0\x54\x62\x5f\xe6\x03\x84\x4e\xfe\xe3\x9c\x7f\x92\xfc\xc3\x9c\x7f\x36\xfe\x4f\xaf\xfd\xca\x19\x88\xd3\xd2\xaf\x66\xfd\xf3\x05\xfe\xc5\x02\x1f\x07\x07\x3b\xcd\xa3\xed\x5d\xcf\x68\xa3\xbb\x85\xee\x55\xb8\xbd\x86\x80\x65\xd5\x7d\xdf\xf2\x85\xdd\x11\xb0\x5c\xc7\x16\x36\x2c\xb7\xe5\x00\x86\xff\xbc\x29\xec\x3a\x0c\x5f\x74\x12\x7d\x22\x9f\x5a\x6d\xe1\x1a\x87\xad\xc0\xa8\x07\x8d\x23\xe7\x72\xc3\x81\x21\xdc\x9e\xf8\x37\xf7\xbd\x01\x60\x35\xfe\x85\xf2\xf9\x49\x36\x37\x41\x2e\x3f\x91\x18\x74\x57\x8b\x2c\x65\x91\xdb\xe4\xf2\x9a\xd4\xbd\xe6\x6b\xed\x0f\xe7\xf2\x68\xfe\x5d\x6a\xdf\xe8\x65\x39\x4e\xf5\x19\xd2\x35\xca\x62\x7e\x7b\x8f\x29\x9f\xba\xb2\x64\xff\xf5\x82\xf9\x67\x34\x7f\x6d\xc9\xfc\xcf\x00\x00\x00\xff\xff\x4b\x09\x6e\x33\x30\x13\x00\x00"
const Binaryamd64 = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x02\xff\xec\x98\xc1\x8b\xd3\x40\x14\xc6\xbf\xc9\xb6\xbb\x2e\x08\xd9\x95\x15\xc4\x05\x15\x11\x6f\x0d\xee\xb2\x45\x0f\x2a\x71\x41\x77\x10\x11\x16\xd9\xab\x21\x21\xb1\x16\xb4\x2d\xcd\xa4\x54\x29\xd8\xd2\x8b\x37\xaf\x5e\xbc\xe4\x2f\xf0\x58\x3c\x48\xf1\x60\xf0\x3f\xd0\x63\x6f\x05\x4f\xde\x2c\x08\x4a\x26\x6f\x34\x8d\x06\x2f\x9e\x64\x7e\x50\xbe\x79\x5f\xdf\xcb\x2b\xcd\x9c\xbe\x67\x37\xef\xdc\x32\x18\x83\xc2\xc0\x75\xc8\x6a\xc3\x96\xb5\x4d\xfe\xeb\xcd\x9f\x2d\xb0\x71\x05\x2b\xb0\xb1\x8a\xaa\xec\xad\x20\x8f\xbd\xa4\xc7\xe9\xd1\x4a\xb1\x91\x49\x5a\x56\x73\xb5\xda\xa7\xb4\x43\xb6\x52\xd5\x57\xa1\xcf\x9c\xec\x39\xed\x51\x7a\x81\x7c\xa5\x95\x9c\x6e\x01\x58\x01\x70\x70\xf7\x08\xcf\xf7\xbf\x1d\xbc\xa9\xbf\x78\x15\x7f\xba\xe7\xbf\x3d\xb3\x75\x38\x3b\x7c\xff\x0e\x1a\x8d\x46\xa3\xd1\x68\x34\x1a\x8d\x46\xa3\xd1\xfc\xa7\xf0\x9d\xa9\x19\xf3\xf1\xd7\xb5\xc1\x6d\x3e\x01\x30\x4c\x4d\x33\xbe\xc6\x80\xe1\xe0\x32\x4f\xa6\x4c\x36\x7d\x30\x63\x3e\x9a\xb1\xf3\x2f\xc1\x47\x8b\x54\xa2\x6d\x3e\x61\xd4\x9e\x7d\x3d\x9e\x31\x3e\x5e\xb0\xc8\xf8\xbc\xce\x93\xe4\x06\x00\x79\xd8\x4f\x0f\xe0\xc9\xf4\x6a\xfa\xe0\x6a\xd9\xef\xc8\x72\x84\x2f\xdf\x8b\xbe\x49\xa9\xc4\x91\xca\x07\x88\x13\xe4\xdf\x2f\xf8\x27\xc9\x6f\x14\xfc\xb3\x32\x42\x30\x7e\xe5\x0c\xc4\x69\xe5\x9f\x5b\xf6\x2f\x96\xf8\xb5\x12\x1f\x41\xbf\x29\x6a\x0f\xf6\xea\x97\xea\x9e\xd5\x46\x6f\x07\xbd\x5d\xe9\xc1\x71\xbc\x30\x74\x42\xe1\x76\x05\x9c\xc0\x77\x85\x0b\x27\x68\xf9\x80\x15\x3e\x79\x2c\x5c\x0f\x56\x28\xba\x99\x3e\x54\xa7\x56\x5b\x04\x56\xa3\x15\x59\x5e\xd4\x7c\xe4\xd7\x9a\x3e\x2c\x11\xf4\xc5\x3f\x78\xdf\xdb\x00\xd6\xe4\x3f\x54\xcc\x4f\x96\x73\x13\x14\xf2\x13\x85\x45\xef\x6a\x15\xc5\xdc\xa6\x90\xd7\x94\xcc\xb3\xdc\xee\x3c\x1d\x9a\xff\x98\x9b\x4b\x2f\xcb\x31\xaa\x4f\x91\xae\x53\x86\xf3\xdb\x3d\xa6\x7c\x6a\xf7\x0f\xfb\xf2\x6c\x96\xcc\x3f\xa5\xf9\xbd\xbf\xcc\xff\x08\x00\x00\xff\xff\x2c\x13\x6f\xb2\x30\x13\x00\x00"

0 comments on commit 6a413bf

Please sign in to comment.