On Sun, Nov 30, 2008 at 5:28 AM, Steve Kargl
<[EMAIL PROTECTED]> wrote:
> First, I'll preface this with "I'm probably doing something wrong."
> I'm adding support to gfortran for the ERRMSG argument to [DE]ALLOCATE.
> Here's, some code to demonstrate:
>
> program a
> call works
> call fails
> e
I'm porting for a microcontroler which has segmented
memory.
THe memory is devided into many pages, each page is
16K. And I'm going to use 256 pages for code. But
these 256 pages are not continuous in physical memory,
so when I want to jump to a function, I have to know
what is the segment address
Andrew, thank you very much for your answer. I have just used the
option you suggested for benchmark galgel, it works!
Since I can not modify the source code of SPEC2000 benchmark, I don't
quite understand when you say I need "alt sources which remove the
cast as lvalue". Where I can find the alt
On Nov 30, 2008, at 21:08 , yx wrote:
Andrew, thank you very much for your answer. I have just used the
option you suggested for benchmark galgel, it works!
Since I can not modify the source code of SPEC2000 benchmark, I don't
quite understand when you say I need "alt sources which remove the
On Sun, Nov 30, 2008 at 5:28 AM, Steve Kargl
<[EMAIL PROTECTED]> wrote:
> First, I'll preface this with "I'm probably doing something wrong."
> I'm adding support to gfortran for the ERRMSG argument to [DE]ALLOCATE.
> Here's, some code to demonstrate:
>
> program a
> call works
> call fails
> e
Look at the implementation of the IP2K compiler and linker.
It uses a segmented paged architecture just like the machine you are
describing.
In essence what we did was implement linker relaxation to deal with
this.
When we called any function, we emitted the appropriate long-call by
settin
"Linker relaxation" is maybe what I'm looking for.
But I've searched it on google , but there are few
doccuments about it, now I haven't imagined yet how to
implement Linker Relaxation.
Could you tell me some of doccuments about it and
where in the binutils that it was implemented ?
--- Ala