This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ARM mapping symbols
- From: Nick Clifton <nickc at redhat dot com>
- To: bdebus at elis dot ugent dot be
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 22 Apr 2004 11:03:59 +0100
- Subject: Re: ARM mapping symbols
Hi Bruno,
I have now applied your patch. I created this ChangeLog entry for
it:
2004-04-22 Bruno De Bus <bdebus@elis.ugent.be>
* config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED
state.
(TC_SEGMENT_INFO_TYPE): Define to enum mstate.
* config/tc-arm.c (enum mstate): Delete from here.
(mapping_state): Remove the static mapstate variable and instead
store the state in the segment. This allows a per-section mapping
state. Handle and ignore MAP_UNDEFINED states.
(arm_elf_change_section): Get the current mapping state from the
new section.
(s_ltorg): Set the mapping state to MAP_DATA.
(arm_cleanup): Use arm_elf_change_section to get the mapping state
for each pool as it is emitted.
Cheers
Nick