]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/rs6000/rs6000.c
rs6000.c (rs6000_assemble_visibility): Protect declaration inside macro.
authorDavid Edelsohn <edelsohn@gnu.org>
Tue, 10 Sep 2002 12:39:20 +0000 (12:39 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Tue, 10 Sep 2002 12:39:20 +0000 (08:39 -0400)
commit5add3202082f40197d4fa3a8e82909193a876858
treee9887fdd9c2b8170440e94b7745aff536c151ec0
parent65a8189ea77a75afeb8847970fc9373969ebd247
rs6000.c (rs6000_assemble_visibility): Protect declaration inside macro.

        * rs6000.c (rs6000_assemble_visibility): Protect declaration
        inside macro.  Correct function definition typo.
        (rs6000_xcoff_section_type_flags): New function.
        (TARGET_SECTION_TYPE_FLAGS): Remove definition.
        (rs6000_elf_section_type_flags): Call default_section_type_flags_1
        with appropriate PIC test.
        (rs6000_xcoff_select_section): Use decl_readonly_section_1 to
        determine readonly.
        (rs6000_binds_local_p): Combine PIC flags.
        * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define.
        * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define.

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