summaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2003-10-14 22:28:28 +0000
committerBob Wilson <bob.wilson@acm.org>2003-10-14 22:28:28 +0000
commit0b3b2694d667b09df3bdf66897d555155ed62fe5 (patch)
tree8feefd89bf6367ec7f8041c735281cd6b8be28cc /gas/config
parente05eff41b6e331421c397d98e2107238bc1b3cf9 (diff)
downloadbinutils-redhat-0b3b2694d667b09df3bdf66897d555155ed62fe5.tar.gz
bfd ChangeLog:
2003-10-14 Bob Wilson <bob.wilson@acm.org> * elf32-xtensa.c (get_is_linkonce_section): Delete. (xtensa_is_property_section, xtensa_is_littable_section): Use XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Do not recognize linkonce sections containing ".xt.insn" and ".xt.lit" substrings. (xtensa_get_property_section_name): Check section name instead of calling get_is_linkonce_section. Remove unused bfd parameter. Use XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Never generate linkonce section names by appending ".xt.insn" or ".xt.lit". (xtensa_read_table_entries): Remove bfd argument in call to xtensa_get_property_section_name. Free section name when done. (elf_xtensa_combine_prop_entries): Free leaking table. gas ChangeLog: 2003-10-14 Bob Wilson <bob.wilson@acm.org> * config/tc-xtensa.c (xtensa_create_property_segments): Remove bfd argument in call to xtensa_get_property_section_name. Formatting. include ChangeLog: 2003-10-14 Bob Wilson <bob.wilson@acm.org> * elf/xtensa.h: Formatting. Fix comments about property section names for linkonce sections.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-xtensa.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c
index afd983dbc1..99509bdb95 100644
--- a/gas/config/tc-xtensa.c
+++ b/gas/config/tc-xtensa.c
@@ -677,7 +677,7 @@ static bfd_boolean get_frag_is_insn
/* Import from elf32-xtensa.c in BFD library. */
extern char *xtensa_get_property_section_name
- PARAMS ((bfd *, asection *, const char *));
+ PARAMS ((asection *, const char *));
/* TInsn and IStack functions. */
static bfd_boolean tinsn_has_symbolic_operands
@@ -7916,12 +7916,11 @@ xtensa_create_property_segments (property_function, section_name_base,
segT sec = *seclist;
if (section_has_property (sec, property_function))
{
- char * property_section_name =
- xtensa_get_property_section_name (stdoutput, sec,
- section_name_base);
+ char *property_section_name =
+ xtensa_get_property_section_name (sec, section_name_base);
segT insn_sec = retrieve_xtensa_section (property_section_name);
segment_info_type *xt_seg_info = retrieve_segment_info (insn_sec);
- xtensa_block_info ** xt_blocks =
+ xtensa_block_info **xt_blocks =
&xt_seg_info->tc_segment_info_data.blocks[sec_type];
/* Walk over all of the frchains here and add new sections. */
add_xt_block_frags (sec, insn_sec, xt_blocks, property_function);