OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libcpu/] [powerpc/] [ppc403/] [vectors/] [README] - Blame information for rev 30

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
#
2
#  $Id: README,v 1.2 2001-09-27 12:01:30 chris Exp $
3
#
4
 
5
The location of the vectors file object is critical.
6
 
7
From the comments at the head of vectors.s:
8
 
9
  The issue with this file is getting it loaded at the right place.
10
  The first vector MUST be at address 0x????0100.
11
  How this is achieved is dependant on the tool chain.
12
 
13
  However the basic mechanism for ELF assemblers is to create a
14
  section called ".vectors", which will be loaded to an address
15
  between 0x????0000 and 0x????0100 (inclusive) via a link script.
16
 
17
  The basic mechanism for XCOFF assemblers is to place it in the
18
  normal text section, and arrange for this file to be located
19
  at an appropriate position on the linker command line.
20
 
21
  The variable 'PPC_VECTOR_FILE_BASE' must be defined to be the
22
  offset from 0x????0000 to the first location in the file.  This
23
  will usually be 0x0000 or 0x0100.
24
 
25
Andrew Bray 18/8/1995

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.