Skip to content

Commit

Permalink
Update ELF/constants.jl (#48)
Browse files Browse the repository at this point in the history
* Update ELF/constants.jl

Point to glibc where these constants live.

* Update src/ELF/constants.jl

Co-authored-by: Mosè Giordano <[email protected]>

---------

Co-authored-by: Mosè Giordano <[email protected]>
  • Loading branch information
eschnett and giordano authored Dec 22, 2024
1 parent f80bbe5 commit 50c6fc8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ELF/constants.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# These constants are in glibc and llvm:
# * https://github.com/bminor/glibc/blob/969d7cf89966d55fbf0732ae7bc0949a970c837d/elf/elf.h
# * https://github.com/llvm/llvm-project/blob/b2d7312d52f299a2f854c673796ad1a699e0d79f/llvm/include/llvm/BinaryFormat/ELF.h

# e_ident[EIBCLASS]
const ELFCLASSNONE = 0 #Invalid class
const ELFCLASS32 = 1 #32-bit objects
Expand Down

0 comments on commit 50c6fc8

Please sign in to comment.