Support for -fdata-sections

Jeffrey A Law law@cygnus.com
Sun Sep 27 16:26:00 GMT 1998


  In message < 199809261937.MAA02465@cygnus.com >you write:
  > 
  > The following patch provides support for -fdata-sections which will
  > cause unique section names to be generated for various data items.
  > Please let me know if I can check it in.
  > Thanks,
  > Catherine
  > 
  > Sat Sep 26 11:54:03 1998  Catherine Moore  <clm@cygnus.com>
  >  
  >         * flags.h:  Add flag_data_sections.
  >         * toplev.c:  Add option -fdata-sections.  Add flag_data_sections.
  >         (compile_file):  Error if flag_data_sections not supported.
  >         * varasm.c (assemble_variable):  Handle flag_data_sections.
  >         * config/elfos.h:  Modify prefixes for UNIQUE_SECTION_NAME.
  >         * config/svr4.h:  Likewise.
  >         * config/mips/elf.h:  Likewise.
  >         * config/mips/elf64.h:  Likewise.
Basically looks OK.  You need to update invoke.texi though to mention the
new option.

Thanks!
Jeff



More information about the Gcc-patches mailing list