diff options
author | Roland McGrath <roland@gnu.org> | 2009-07-24 23:49:51 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2009-07-24 23:49:51 +0000 |
commit | 01fb1836cef65536bcb25fd593a8e230702fa509 (patch) | |
tree | 489a3956cbbd893607abfaf97f714f9b725a8ab9 /gas | |
parent | c3b65ac4d0f98770c149f41a5a80a1b34a3a821a (diff) | |
download | gdb-01fb1836cef65536bcb25fd593a8e230702fa509.zip gdb-01fb1836cef65536bcb25fd593a8e230702fa509.tar.gz gdb-01fb1836cef65536bcb25fd593a8e230702fa509.tar.bz2 |
2009-07-24 Roland McGrath <roland@redhat.com>
* config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS
flags on .comment section.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 17 | ||||
-rw-r--r-- | gas/config/obj-elf.c | 6 |
2 files changed, 15 insertions, 8 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index a321835..8f9edd2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2009-07-24 Roland McGrath <roland@redhat.com> + + * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS + flags on .comment section. + 2009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> Alan Modra <amodra@bigpond.net.au> @@ -200,7 +205,7 @@ * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS. (build_modrm_byte): Add support to handle FMA4 instructions. (md_show_usage): Add fma4. - + 2009-07-04 Alan Modra <amodra@bigpond.net.au> * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections. @@ -219,7 +224,7 @@ (i386_target_format): Add a case for bfd_target_mach_o_flavour. * config/obj-macho.h: New file. * config/obj-macho.c: New file. - + 2009-07-01 Nick Clifton <nickc@redhat.com> PR 10168 @@ -250,7 +255,7 @@ * config/tc-mep.h ((mep_relax_frag): New. 2009-06-22 Martin Thuresson <martin@mtme.org> - + * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c, gas/config/atof-ieee.c, gas/config/obj-aout.c, gas/config/obj-coff.c, gas/config/obj-ecoff.c, @@ -436,7 +441,7 @@ (insns_between): Add 24k errata checks. (append_insn): Remove declaration and references to nhdx_24k. Remove calls to check_for_24k_errata. - + 2009-05-26 Nick Clifton <nickc@redhat.com> * po/id.po: Updated Indonesian translation. @@ -484,7 +489,7 @@ (md_assemble): Remove DREX handling support. (process_operands): Remove DREX, SSE5 support. (i386_insn): Remove DREX. - + 2009-05-22 Alan Modra <amodra@bigpond.net.au> * Makefile.am: Run "make dep-am". @@ -553,7 +558,7 @@ BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_THUMB_PCREL_BRANCH25. (arm_apply_sym_value): New function. - + 2009-05-04 Tristan Gingold <gingold@adacore.com> * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX. diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c index c9c7a9c..f85267b 100644 --- a/gas/config/obj-elf.c +++ b/gas/config/obj-elf.c @@ -496,7 +496,7 @@ get_section (bfd *abfd ATTRIBUTE_UNUSED, asection *sec, void *inf) { const char *gname = inf; const char *group_name = elf_group_name (sec); - + return (group_name == gname || (group_name != NULL && gname != NULL @@ -1723,7 +1723,9 @@ obj_elf_ident (int ignore ATTRIBUTE_UNUSED) char *p; comment_section = subseg_new (".comment", 0); bfd_set_section_flags (stdoutput, comment_section, - SEC_READONLY | SEC_HAS_CONTENTS); + SEC_READONLY | SEC_HAS_CONTENTS + | SEC_MERGE | SEC_STRINGS); + comment_section->entsize = 1; p = frag_more (1); *p = 0; } |