diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-10-27 06:39:59 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2025-01-14 05:22:04 +0800 |
commit | 04cd256685fae4bf54beec1a461298e8fc574890 (patch) | |
tree | 3e160333512dc733f05e81d7d8561eb9c61b7f1c | |
parent | 7d10ff50bd56cf780145a3f6e10fee3558620a8f (diff) | |
download | binutils-04cd256685fae4bf54beec1a461298e8fc574890.zip binutils-04cd256685fae4bf54beec1a461298e8fc574890.tar.gz binutils-04cd256685fae4bf54beec1a461298e8fc574890.tar.bz2 |
h8300: Handle .gnu_object_only section
PR ld/12291
PR ld/12430
PR ld/13298
* config/tc-h8300.c (h8300_elf_section): Handle .gnu_object_only
section.
-rw-r--r-- | gas/config/tc-h8300.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gas/config/tc-h8300.c b/gas/config/tc-h8300.c index f8e5406..105461d 100644 --- a/gas/config/tc-h8300.c +++ b/gas/config/tc-h8300.c @@ -146,8 +146,10 @@ pint (int arg ATTRIBUTE_UNUSED) static void h8300_elf_section (int push) { - static const char * known_data_sections [] = { ".rodata", ".tdata", ".tbss" }; - static const char * known_data_prefixes [] = { ".debug", ".zdebug", ".gnu.warning" }; + static const char * known_data_sections [] + = { ".rodata", ".tdata", ".tbss", ".gnu_object_only" }; + static const char * known_data_prefixes [] + = { ".debug", ".zdebug", ".gnu.warning" }; char * saved_ilp = input_line_pointer; const char * name; |