darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Handle the ambiguity between -seg_addr_table and -seg_addr_table_filename.

* config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Handle the
        ambiguity between -seg_addr_table and -seg_addr_table_filename.
        (WORD_SWITCH_TAKES_ARG): Likewise.
        (LINK_SPEC): Likewise.
Radar 3941990

From-SVN: r108876
This commit is contained in:
Mike Stump 2005-12-20 23:46:18 +00:00 committed by Mike Stump
parent f91a0bebda
commit b6563b2337
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2005-12-20 Mike Stump <mrs@apple.com>
* config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Handle the
ambiguity between -seg_addr_table and -seg_addr_table_filename.
(WORD_SWITCH_TAKES_ARG): Likewise.
(LINK_SPEC): Likewise.
2005-12-20 Kenneth Zadeck <zadeck@naturalbridge.com>
* cfganal.c (flow_reverse_top_sort_order_compute):

View File

@ -123,7 +123,7 @@ Boston, MA 02110-1301, USA. */
{ "-segs_read_only_addr", "-Zsegs_read_only_addr" }, \
{ "-segs_read_write_addr", "-Zsegs_read_write_addr" }, \
{ "-seg_addr_table", "-Zseg_addr_table" }, \
{ "-seg_addr_table_filename", "-Zseg_addr_table_filename" }, \
{ "-seg_addr_table_filename", "-Zfn_seg_addr_table_filename" }, \
{ "-filelist", "-Xlinker -filelist -Xlinker" }, \
{ "-framework", "-Xlinker -framework -Xlinker" }, \
{ "-flat_namespace", "-Zflat_namespace" }, \
@ -167,7 +167,7 @@ Boston, MA 02110-1301, USA. */
!strcmp (STR, "Zsegs_read_only_addr") ? 1 : \
!strcmp (STR, "Zsegs_read_write_addr") ? 1 : \
!strcmp (STR, "Zseg_addr_table") ? 1 : \
!strcmp (STR, "Zseg_addr_table_filename") ?1 :\
!strcmp (STR, "Zfn_seg_addr_table_filename") ? 1 :\
!strcmp (STR, "seg1addr") ? 1 : \
!strcmp (STR, "segprot") ? 3 : \
!strcmp (STR, "sub_library") ? 1 : \
@ -272,7 +272,7 @@ Boston, MA 02110-1301, USA. */
%{Zsegs_read_only_addr*:-segs_read_only_addr %*} \
%{Zsegs_read_write_addr*:-segs_read_write_addr %*} \
%{Zseg_addr_table*: -seg_addr_table %*} \
%{Zseg_addr_table_filename*:-seg_addr_table_filename %*} \
%{Zfn_seg_addr_table_filename*:-seg_addr_table_filename %*} \
%{sub_library*} %{sub_umbrella*} \
%{isysroot*:-syslibroot %*} \
%{twolevel_namespace} %{twolevel_namespace_hints} \