Changeset de6b301 in mainline for arch/ppc32


Ignore:
Timestamp:
2006-03-12T18:27:33Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f972b89
Parents:
a82500ce
Message:

Basic support for loading ELF object files.
ia64, amd64, ia32 working.
mips32 requires some attention.

Location:
arch/ppc32
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/Makefile.inc

    ra82500ce rde6b301  
    4141LFLAGS += -no-check-sections -N
    4242
     43DEFS += -D__32_BITS__
     44
    4345## Own configuration directives
    4446#
  • arch/ppc32/include/elf.h

    ra82500ce rde6b301  
    2727 */
    2828
    29 #ifndef __ia32_ELF_H__
    30 #define __ia32_ELF_H__
    31 
    32 #include <elf32.h>
     29#ifndef __ppc32_ELF_H__
     30#define __ppc32_ELF_H__
    3331
    3432#define ELF_MACHINE             EM_PPC
     
    3634#define ELF_CLASS               ELFCLASS32
    3735
    38 /*
    39  * Main ELF loader function
    40  */
    41 #define elf_load(header, as) elf32_load(header, as)
    42 
    4336#endif
  • arch/ppc32/include/types.h

    ra82500ce rde6b301  
    3333
    3434typedef signed char __s8;
     35typedef signed short __s16;
     36typedef signed long __s32;
     37typedef signed long long __s64;
    3538
    3639typedef unsigned char __u8;
    3740typedef unsigned short __u16;
    3841typedef unsigned long __u32;
    39 typedef long long __u64;
     42typedef unsigned long long __u64;
    4043
    4144typedef __u32 __address;
Note: See TracChangeset for help on using the changeset viewer.