Skip to content

Commit

Permalink
clang?
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Feb 9, 2024
1 parent 8e186a3 commit c6ba90f
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 -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\xec\xb2\xb2\x2b\xa8\xc4\x05\xed\x20\x22\x14\xe9\xd5\x90\x92\x50\x0b\xda\x96\x66\x52\xaa\x14\x6c\xe9\xc5\x9b\x57\x2f\x5e\xf2\x17\x78\x2c\x1e\xa4\x78\x30\xf8\x1f\xe8\xb1\xb7\x82\x27\x6f\x16\x04\x25\x93\x37\x9a\x46\x83\x17\x4f\x32\x3f\x28\xdf\xbc\xaf\xef\xe5\x95\x66\x4e\xdf\xb3\x5b\x77\x6f\x1b\x8c\x41\x61\xe0\x06\x64\xb5\x65\xcb\xda\x26\xff\xf5\xf6\xcf\x16\xd8\x38\xc2\x1a\x6c\xac\xa3\x2c\x7b\x4b\xc8\x62\xaf\xe8\x49\x7a\xb4\x52\x6c\xa5\x92\x94\xe5\x4c\xad\xf6\x29\xed\x92\xad\x54\xf5\x95\xe8\xb3\x20\x7b\x41\x7b\x94\x5e\x22\x5f\x69\x29\xa3\x3b\x00\xd6\x00\x54\xef\xd5\xf1\xfc\xf8\x5b\xf5\xcd\x95\x17\xaf\xa2\x4f\xf7\xbd\xb7\xe7\x76\x6a\xf3\xda\xfb\x77\xd0\x68\x34\x1a\x8d\x46\xa3\xd1\x68\x34\x1a\x8d\xe6\x3f\x85\xef\xcd\xcc\x88\x4f\xbe\x6e\x0c\xef\xf0\x29\x80\x51\x62\x9a\xd1\x75\x06\x8c\x86\x87\x3c\x9e\x31\xd9\xf4\xc1\x8c\xf8\x78\xce\x2e\xbe\x04\x1f\x2f\x13\x09\x77\xf9\x94\x51\x7b\xfa\xf5\x64\xce\xf8\x64\xc9\x42\xe3\xf3\x26\x8f\xe3\x9b\x00\xe4\xe1\x38\x39\x80\xc7\xb3\x6b\xc9\x83\xcb\x45\xbf\x23\xcd\x11\xbe\x7c\xcf\xfb\x26\xa5\x12\x75\x95\x0f\x10\xa7\xc8\x7f\x90\xf3\x4f\x93\xdf\xcc\xf9\xe7\x65\x84\x60\xfc\xca\x19\x88\xb3\xca\xbf\xb0\xea\x5f\x2e\xf0\x2b\x05\x3e\xfc\x41\x4b\x54\x0e\xfd\x83\xab\xee\x91\xd5\x41\x7f\x0f\xfd\x7d\xe9\xc1\x71\x1a\x41\xe0\x04\xc2\xed\x09\x38\xbe\xe7\x0a\x17\x8e\xdf\xf6\x00\x2b\x78\xf2\x58\xb8\x0d\x58\x81\xe8\xa5\xfa\x50\x9d\xda\x1d\xe1\x5b\xcd\x76\x68\x35\xc2\xd6\x23\xaf\xd2\xf2\x60\x09\x7f\x20\xfe\xc1\xfb\xde\x05\xb0\x21\xff\xa1\x7c\x7e\xb2\x9a\x9b\x20\x97\x9f\x28\x2c\x7a\x57\xeb\xc8\xe7\x36\xb9\xbc\xa6\x60\x9e\x65\x76\x67\xe9\xd2\xfc\xc7\xcc\x5c\x72\x59\x4e\x50\x7d\x86\x74\x93\x32\x9c\xdf\xee\x31\xe5\x53\xfb\x7f\xd8\x97\x65\xbb\x60\xfe\x29\xcd\x1f\xfc\x65\xfe\x47\x00\x00\x00\xff\xff\x6d\xad\x6c\x62\x30\x13\x00\x00"

0 comments on commit c6ba90f

Please sign in to comment.