Implement tp_richcompare for gdb.Block
[binutils-gdb.git] / ld / emulparams / extern_protected_data.sh
blobcb855a65689a79a6ed8f4de653edcf6f2aeaccf5
1 PARSE_AND_LIST_OPTIONS_NOEXTEN_PROTECTED_DATA='
2 fprintf (file, _("\
3 -z noextern-protected-data Do not treat protected data symbol as external\n"));
4 fprintf (file, _("\
5 -z indirect-extern-access Enable indirect external access\n"));
6 fprintf (file, _("\
7 -z noindirect-extern-access Disable indirect external access (default)\n"));
10 # Set link_info.indirect_extern_access to 2 to indicate that it is set
11 # by "-z indirect-extern-access".
12 PARSE_AND_LIST_ARGS_CASE_Z_NOEXTEN_PROTECTED_DATA='
13 else if (strcmp (optarg, "noextern-protected-data") == 0)
14 link_info.extern_protected_data = false;
15 else if (strcmp (optarg, "indirect-extern-access") == 0)
16 link_info.indirect_extern_access = 2;
17 else if (strcmp (optarg, "noindirect-extern-access") == 0)
18 link_info.indirect_extern_access = 0;
22 PARSE_AND_LIST_OPTIONS="$PARSE_AND_LIST_OPTIONS $PARSE_AND_LIST_OPTIONS_NOEXTEN_PROTECTED_DATA"
23 PARSE_AND_LIST_ARGS_CASE_Z="$PARSE_AND_LIST_ARGS_CASE_Z $PARSE_AND_LIST_ARGS_CASE_Z_NOEXTEN_PROTECTED_DATA"