Changeset 11911


Ignore:
Timestamp:
Apr 8, 2009, 5:51:07 PM (10 years ago)
Author:
gb
Message:

In the ObjC 2 exception gunk, use pc-relative addressing to reference
a global variable, since hypothetical advanced linkers may not be
able to deal with absolute addresses that aren't in a mapped section.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/x86-spentry64.s

    r11829 r11911  
    50995099        .byte   0x78    /* sleb128 -8; CIE Data Alignment Factor */
    51005100        .byte   0x10    /* CIE RA Column */
    5101         .byte   0xb     /* uleb128 0xb; Augmentation size */
    5102         .byte   0x8c    /* Personality (indirect  sdata8) */
    5103         .quad   lisp_global(objc_2_personality)
     5101        .byte   0x7
     5102        .byte   0x9b
     5103        .long   ___objc_personality_v0+4@GOTPCREL
    51045104        .byte   0x10    /* LSDA Encoding (pcrel) */
    51055105        .byte   0x10    /* FDE Encoding (pcrel) */
Note: See TracChangeset for help on using the changeset viewer.