This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Utilize Blackfin L1 SRAM


Hans-Peter Nilsson wrote:
FWIW, the ELF standard encourages special-named sections to use
the cpu name as a prefix, i.e. ".bfin.l1.text" and
".bfin.l1.data" rather than ".l1.text" and ".l1.data".

I didn't realize this before, since there are very few examples in
binutils source code. What I just found in current binutils source code
are four names using a processor prefix:

.xtensa.info
.PPC.EMB.apuinfo
.PPC.EMB.sbss0
.PPC.EMB.sdata0

Others don't. ".l1.data" and ".l1.text" have been used for a long time
in Blackfin GNU toolchain locally here and even longer in Blackfin linux
kernel and u-boot. So I'm afraid it's a little hard to change the name
now. I can add the prefix for future Blackfin specific section names.
But if it's not a strict rule, I would like to keep these two names.
Sounds OK?


Jie



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]