diff options
| author | 2025-12-12 17:40:35 +0100 | |
|---|---|---|
| committer | 2025-12-12 17:40:35 +0100 | |
| commit | 24bcc929477751b056e81e7772dc2bb3d11ce4a5 (patch) | |
| tree | f83eb0c32df505f25c828d0a62f17806dc2736b1 /obj | |
| parent | 3cd8e39ff61217a37b41cee47f2682f5291317d6 (diff) | |
s/amd64/x86_64/
Diffstat (limited to 'obj')
| -rw-r--r-- | obj/elf.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -43,7 +43,7 @@ elfinit(void) hdr.i_abiversion = 0; hdr.h32.type = ET_REL; switch (targ_mcisa) { - case ISamd64: hdr.h32.machine = EM_X86_64; break; + case ISx86_64: hdr.h32.machine = EM_X86_64; break; } hdr.h32.version = ELFVERSION; if (targ_64bit) { @@ -127,7 +127,7 @@ elfaddsym(const char *nam, int info, enum section sect, uvlong value, uvlong siz } static const ushort relktab[][NRELOCKIND] = { - [ISamd64] = { + [ISx86_64] = { [REL_ABS64] = 1, /* R_X86_64_64 */ [REL_ABS32] = 10, /* R_X86_64_32 */ [REL_ABS32S] = 11, /* R_X86_64_32S */ @@ -356,7 +356,7 @@ wordalign(struct wbuf *out, int align) while (off++ & (align - 1)) ioputc(out, 0); } -static const bool userelatab[] = { [ISamd64] = 1 }; +static const bool userelatab[] = { [ISx86_64] = 1 }; void elffini(struct wbuf *out) |