VirtualBox

Changeset 108669 in vbox for trunk/include


Ignore:
Timestamp:
Mar 20, 2025 5:25:30 PM (5 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168082
Message:

include/iprt/asmdefs-arm.h,bldprogs/VBoxDef2LazyLoad.cpp: Make the lazy loader work in PIC mode where we need to go through global offset table (GOT) while keeping it working for non PIC code (guest additions), bugref:10391

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/asmdefs-arm.h

    r108478 r108669  
    177177#elif defined(ASM_FORMAT_ELF)
    178178# define PAGE(a_Symbol) a_Symbol
     179# define PAGE_GOT(a_Symbol) :got: ## a_Symbol
    179180#else
    180181# error "Port me!"
     
    191192#elif defined(ASM_FORMAT_ELF)
    192193# define PAGEOFF(a_Symbol) :lo12: ## a_Symbol
     194# define PAGEOFF_GOT(a_Symbol) :got_lo12: ## a_Symbol
    193195#else
    194196# error "Port me!"
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette