rs6000.c (rs6000_flag_pic): New variable.
authorDavid Edelsohn <edelsohn@gnu.org>
Thu, 5 Sep 2002 03:49:42 +0000 (03:49 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Thu, 5 Sep 2002 03:49:42 +0000 (23:49 -0400)
commit0e5dbd9b2c3cc2d6f3f482066f53cfd53206f824
treee9605a5d23ddad5f2d0a65df19bf1fc5230895be
parentf57f9cb867c637fb60b443770f77f54114c021c9
rs6000.c (rs6000_flag_pic): New variable.

        * config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
        (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED.
        (TARGET_BINDS_LOCAL_P): Define.
        (rs6000_override_options): Save original flag_pic value.
        (rs6000_elf_select_section): Call default_elf_select_section_1.
        (rs6000_elf_unique_section): Call default_unique_section_1.
        (rs6000_elf_in_small_data_p): New function.
        (rs6000_xcoff_asm_named_section): Determine storage mapping class.
        (rs6000_xcoff_select_section): Update based on defaults.
        (rs6000_xcoff_unique_section): Set to basic name if not common.
        (rs6000_binds_local_p): New function.
        * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set
        targetm.have_srodata_section if SDATA_EABI.
        (TARGET_IN_SMALL_DATA_P): Define.

From-SVN: r56826
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/sysv4.h