diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2018-05-22 21:48:09 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2018-06-04 10:36:39 -0700 |
commit | 8255c61b8ad5ac933672d26e5c9454aaf09ccaeb (patch) | |
tree | 4943f03256f08b0ec0bd4729b5a5b6eaa8e9616c /opcodes/xtensa-dis.c | |
parent | 95da9854466ada2572b42f5528711a06a2d42db1 (diff) | |
download | binutils-8255c61b8ad5ac933672d26e5c9454aaf09ccaeb.zip binutils-8255c61b8ad5ac933672d26e5c9454aaf09ccaeb.tar.gz binutils-8255c61b8ad5ac933672d26e5c9454aaf09ccaeb.tar.bz2 |
xtensa: add separate property sections option
It is currently not possible to correctly match .xt.prop information
for sections with identical VMA. Allow creation of separate property
sections in the BFD. Add assembler option --separate-prop-tables to
allow creation of separate property sections.
2018-06-04 Volodymyr Arbatov <arbatov@cadence.com>
bfd/
* elf32-xtensa.c (elf32xtensa_separate_props): New global
variable.
(xtensa_add_names): New function.
(xtensa_property_section_name): Add new parameter
separate_sections, use it to choose property section name.
(xtensa_get_separate_property_section): New function.
(xtensa_get_property_section): Invoke
xtensa_get_separate_property_section to get individual property
section if it exists, common property section otherwise.
(xtensa_make_property_section): Pass elf32xtensa_separate_props
to xtensa_property_section_name.
gas/
* config/tc-xtensa.c (elf32xtensa_separate_props): New
declaration.
(option_separate_props, option_no_separate_props): New
enumeration constants.
(md_longopts): Add separate-prop-tables option.
(md_parse_option): Add cases for option_separate_props and
option_no_separate_props.
(md_show_usage): Add help for [no-]separate-prop-tables options.
Diffstat (limited to 'opcodes/xtensa-dis.c')
0 files changed, 0 insertions, 0 deletions