[Fwd: Storing the memory configuration used at link-time into a binary.]

Denis FERRANTI denis.ferranti@st.com
Wed Feb 25 08:10:00 GMT 2009


Hi,

here is the correct URL to access the repository:

http://repo.or.cz/w/libmeminfo.git

Best regards,

-------- Original Message --------
Subject: 	Storing the memory configuration used at link-time into a binary.
Date: 	Wed, 25 Feb 2009 08:59:40 +0100
From: 	Denis Ferranti <denis.ferranti@st.com>
Organisation: 	STMicroelectronics
To: 	bu-sourceware <binutils@sourceware.org>



Hello maintainers of the GNU linker,

Our co-workers at STMicroelectronics develop on many SoCs at a time
which sometimes only differ from memory configurations, so they have
[to take care] to use a compatible linker-script (among many).  That's
why we introduced a new linker-script statement "CREATE_MEMINFO_TABLE"
which stores the memory configuration used at link-time into a binary,
then the embedded "meminfo" table can be used by loaders to make
compatibility checks or by simulators for auto-configuration.

Actually, I would like to know if you are interested in such a feature
and, if so, how can we help altogether for a further integration into
the upstream?

Best regards,

PS: the library "libmeminfo" used to extract such tables is freely
   available on-line http://repo.or.cz/w/libmeminfo (BSD-licensed)
   and currently hosts the patch against the GNU linker 2.18 and 
2.19.51.01.

-- 
Denis Ferranti




-- 
Denis Ferranti



More information about the Binutils mailing list