2009-07-24 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Fri, 24 Jul 2009 23:49:51 +0000 (23:49 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 24 Jul 2009 23:49:51 +0000 (23:49 +0000)
* config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS
flags on .comment section.

gas/ChangeLog
gas/config/obj-elf.c

index a32183578e517477bf0f10757ab74758528c6dc1..8f9edd23e32db0a42b14c9fbc53334e569501ccc 100644 (file)
@@ -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>
 
        * 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.
        (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
        * 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,
        (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.
        (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".
        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.
index c9c7a9c7ee2b02fa50600c4ecee3fb97d692d35f..f85267bb774095a73a7e9292397eb0d1fd96bb36 100644 (file)
@@ -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;
     }
This page took 0.029451 seconds and 4 git commands to generate.