VirtualBox

Ignore:
Timestamp:
Apr 7, 2024 4:29:33 PM (10 months ago)
Author:
vboxsync
Message:

bldprogs/VBoxDef2LazyLoad: Get it working on linux.arm64/ELF, bugref:10391

File:
1 edited

Legend:

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

    r100276 r104213  
    145145#if defined(__clang__)
    146146# define PAGE(a_Symbol) a_Symbol ## @PAGE
    147 #elif defined(__GNUC__)
    148 # define PAGE(a_Symbol) a_Symbol
     147#elif defined(__GNUC__) && defined(ASM_FORMAT_ELF)
     148# define PAGE(a_Symbol) :got: ## a_Symbol
    149149#else
    150150# error "Port me!"
     
    159159#if defined(__clang__)
    160160# define PAGEOFF(a_Symbol) a_Symbol ## @PAGEOFF
    161 #elif defined(__GNUC__)
    162 # define PAGEOFF(a_Symbol) :lo12: ## a_Symbol
     161#elif defined(__GNUC__) && defined(ASM_FORMAT_ELF)
     162# define PAGEOFF(a_Symbol) :got_lo12: ## a_Symbol
    163163#else
    164164# error "Port me!"
Note: See TracChangeset for help on using the changeset viewer.

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