Artifact 4eb0272be1be927fffd97abad15096641b38143df9040b7d6f7a635b4a0c30b4:
- File
src/forwarding.S
— part of check-in
[9ce5b241e4]
at
2013-07-30 21:41:31
on branch trunk
— Add forwardingTargetForSelector: for PowerPC/ELF.
Methods returning structs are not yet supported. (user: js, size: 1352) [annotate] [blame] [check-ins using]
- File src/forwarding/forwarding.S — part of check-in [c3623fcb7b] at 2013-09-18 09:41:07 on branch trunk — Move sources for forwarding to src/forwarding. (user: js, size: 1352) [annotate] [blame] [check-ins using]
/* * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of ObjFW. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE.QPL included in * the packaging of this file. * * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" #ifdef OF_APPLE_RUNTIME # if defined(__x86_64__) # include "apple-forwarding-x86_64.S" # elif defined(__i386__) # include "apple-forwarding-i386.S" # elif defined(__arm__) # include "apple-forwarding-arm.S" # elif defined(__ppc__) # include "apple-forwarding-ppc.S" # endif #else # ifdef __ELF__ # if defined(__amd64__) || defined(__x86_64__) # include "forwarding-amd64-elf.S" # elif defined(__i386__) # include "forwarding-x86-elf.S" # elif defined(__arm__) || defined(__ARM__) # include "forwarding-arm-elf.S" # elif defined(__ppc__) || defined(__PPC__) # include "forwarding-ppc-elf.S" # elif (defined(_MIPS_SIM) && _MIPS_SIM == _ABIO32) || \ (defined(__mips_eabi) && _MIPS_SZPTR == 32) # include "forwarding-mips-elf.S" # endif # endif #endif