gnupic: [gnupic] Code segments and the linker


Previous by date: 27 Jun 2005 10:37:08 +0100 [gnupic] When/Why did gpal get dropped ?, Peter Onion
Next by date: 27 Jun 2005 10:37:08 +0100 Re: [gnupic] When/Why did gpal get dropped ?, Byron A Jeff
Previous in thread:
Next in thread: 27 Jun 2005 10:37:08 +0100 Re: [gnupic] Code segments and the linker, Craig Franklin

Subject: [gnupic] Code segments and the linker
From: Peter Onion ####@####.####
Date: 27 Jun 2005 10:37:08 +0100
Message-Id: <1119865000.32108.18.camel@ratbert.alien.bt.co.uk>

I've just checked in the MPASM/MPLINK manual and I think know the answer
to my question, but it's not 100% clear...

So ...

Will the linker alway put all the code from a segment in the same page ?

In other words, once my code has executed

	pagesel funtion_in_another_segment
	call function_in_another_segment

can I safely call functions from within finction_in_another_segment
which are in the same code segment without worrying about using pagesel
every time ?

Peter


Previous by date: 27 Jun 2005 10:37:08 +0100 [gnupic] When/Why did gpal get dropped ?, Peter Onion
Next by date: 27 Jun 2005 10:37:08 +0100 Re: [gnupic] When/Why did gpal get dropped ?, Byron A Jeff
Previous in thread:
Next in thread: 27 Jun 2005 10:37:08 +0100 Re: [gnupic] Code segments and the linker, Craig Franklin


Powered by ezmlm-browse 0.20.