mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:04:57 +00:00
AK+readelf: Issue error when using ARCH(arch) with nonexistent arch
This disallows erroneous `#if ARCH(x86_64)` (note lowercase x).
This commit is contained in:
parent
11b40dbcf5
commit
4536b80a62
3 changed files with 14 additions and 5 deletions
|
@ -186,7 +186,7 @@ static char const* object_symbol_binding_to_string(ElfW(Word) type)
|
|||
static char const* object_relocation_type_to_string(ElfW(Word) type)
|
||||
{
|
||||
switch (type) {
|
||||
#if ARCH(x86_64)
|
||||
#if ARCH(X86_64)
|
||||
case R_X86_64_NONE:
|
||||
return "R_X86_64_NONE";
|
||||
case R_X86_64_64:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue