mirror of
https://github.com/samsonjs/compiler.git
synced 2026-03-25 08:45:52 +00:00
cleaned up comments on relocation info
This commit is contained in:
parent
c452fc1c28
commit
0269598c16
1 changed files with 5 additions and 5 deletions
10
asm/macho.rb
10
asm/macho.rb
|
|
@ -137,11 +137,11 @@ module MachO
|
|||
#
|
||||
# (CStruct should eventually support bitfields, but doesn't right now.)
|
||||
#
|
||||
# uint32 r_symbolnum : 24 -- symbol index if r_extern == 1 or section ordinal if r_extern == 0
|
||||
# int r_pcrel : 1 -- was relocated pc relative already
|
||||
# int r_length : 2 -- 0=byte, 1=word, 2=long, 3=quad
|
||||
# int r_extern : 1 -- 1 for exported symbols, 0 othewise
|
||||
# int r_type : 4 -- if not 0, machine specific relocation type (always 0)
|
||||
# r_symbolnum : 24 -- symbol index if r_extern == 1 or section ordinal if r_extern == 0
|
||||
# r_pcrel : 1 -- was relocated pc relative already
|
||||
# r_length : 2 -- 0=byte, 1=word, 2=long, 3=quad
|
||||
# r_extern : 1 -- 1 for exported symbols, 0 othewise
|
||||
# r_type : 4 -- if not 0, machine specific relocation type (always 0)
|
||||
|
||||
R_ABS = 0 # Absolute relocation type
|
||||
# (r_symbolnum == R_ABS for absolute symbols that don't need reloc)
|
||||
|
|
|
|||
Loading…
Reference in a new issue