mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-02-15 19:05:57 +01:00
Add arm64 (aka aarch64) to nlist()
This commit is contained in:
parent
7196b4dcca
commit
cf683a275a
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright © 2009 Guillem Jover <guillem@hadrons.org>
|
* Copyright © 2009, 2012 Guillem Jover <guillem@hadrons.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@ -59,6 +59,16 @@
|
|||||||
#define ELF_TARG_DATA ELFDATA2LSB
|
#define ELF_TARG_DATA ELFDATA2LSB
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#elif defined(__aarch64__)
|
||||||
|
|
||||||
|
#define ELF_TARG_MACH EM_AARCH64
|
||||||
|
#define ELF_TARG_CLASS ELFCLASS64
|
||||||
|
#if defined(__AARCH64EB__)
|
||||||
|
#define ELF_TARG_DATA ELFDATA2MSB
|
||||||
|
#else
|
||||||
|
#define ELF_TARG_DATA ELFDATA2LSB
|
||||||
|
#endif
|
||||||
|
|
||||||
#elif defined(__avr32__)
|
#elif defined(__avr32__)
|
||||||
|
|
||||||
#ifndef EM_AVR32
|
#ifndef EM_AVR32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user