diff options
author | Bob Wilson <bob.wilson@acm.org> | 2008-05-07 23:13:09 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@acm.org> | 2008-05-07 23:13:09 +0000 |
commit | 51c8ebc1d0399f147cf2dc5f6d2a75458fdf77f8 (patch) | |
tree | 365d0fb2ca5eca7efcae1c0244316075216e0627 /gas | |
parent | 236369e7e776877959af5263b5e7a21bcce5e0d3 (diff) | |
download | gdb-51c8ebc1d0399f147cf2dc5f6d2a75458fdf77f8.zip gdb-51c8ebc1d0399f147cf2dc5f6d2a75458fdf77f8.tar.gz gdb-51c8ebc1d0399f147cf2dc5f6d2a75458fdf77f8.tar.bz2 |
bfd/
* elf32-xtensa.c (xtensa_property_section_name): New.
(xtensa_make_property_section): New.
(xtensa_get_property_section): Make static. Do not create a new
section if it does not exist.
gas/
* config/tc-xtensa.c (xtensa_create_property_segments): Use
xtensa_make_property_section instead of xtensa_get_property_section.
(xtensa_create_xproperty_segments): Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-xtensa.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index a27a0c9..ac54660 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2008-05-07 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (xtensa_create_property_segments): Use + xtensa_make_property_section instead of xtensa_get_property_section. + (xtensa_create_xproperty_segments): Likewise. + 2008-05-02 H.J. Lu <hongjiu.lu@intel.com> * NEWS: Mention XSAVE, EPT and MOVBE. diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c index 101c150..ace81a8 100644 --- a/gas/config/tc-xtensa.c +++ b/gas/config/tc-xtensa.c @@ -492,7 +492,7 @@ static segT cache_literal_section (bfd_boolean); /* Import from elf32-xtensa.c in BFD library. */ -extern asection *xtensa_get_property_section (asection *, const char *); +extern asection *xtensa_make_property_section (asection *, const char *); /* op_placement_info functions. */ @@ -10395,7 +10395,7 @@ xtensa_create_property_segments (frag_predicate property_function, { segment_info_type *xt_seg_info; xtensa_block_info **xt_blocks; - segT prop_sec = xtensa_get_property_section (sec, section_name_base); + segT prop_sec = xtensa_make_property_section (sec, section_name_base); prop_sec->output_section = prop_sec; subseg_set (prop_sec, 0); @@ -10497,7 +10497,7 @@ xtensa_create_xproperty_segments (frag_flags_fn flag_fn, { segment_info_type *xt_seg_info; xtensa_block_info **xt_blocks; - segT prop_sec = xtensa_get_property_section (sec, section_name_base); + segT prop_sec = xtensa_make_property_section (sec, section_name_base); prop_sec->output_section = prop_sec; subseg_set (prop_sec, 0); |