diff options
| author | Ulrich Drepper <[email protected]> | 2006-06-11 09:07:37 +0000 |
|---|---|---|
| committer | Ulrich Drepper <[email protected]> | 2006-06-11 09:07:37 +0000 |
| commit | 54f33a779527d6764b4fc4068267715a718c422c (patch) | |
| tree | bd4ffaa0168671f0909ff2ea5fffc0d9bb8e639e /src/ld.c | |
| parent | 4f0a7a89be199fa86d9c5c7a56f4be9c5cfb2a4e (diff) | |
Recognize --eh=frame-hdr option.
Don't create output sections in executables and DSOs with SHF_GROUP set.
Diffstat (limited to 'src/ld.c')
| -rw-r--r-- | src/ld.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -73,6 +73,7 @@ enum ARGP_conserve, ARGP_as_needed, ARGP_no_as_needed, + ARGP_eh_frame_hdr, #if YYDEBUG ARGP_yydebug, #endif @@ -199,6 +200,9 @@ Default rules of extracting from archive; weak references are not enough."), { "no-as-needed", ARGP_no_as_needed, NULL, 0, N_("Always set DT_NEEDED for following dynamic libs"), 0 }, + { "eh-frame-hdr", ARGP_eh_frame_hdr, NULL, 0, + N_("Create .eh_frame_hdr section"), 0 }, + #if YYDEBUG { "yydebug", ARGP_yydebug, NULL, 0, N_("Select to get parser debug information"), 0 }, @@ -627,6 +631,10 @@ parse_opt_1st (int key, char *arg, ld_state.gc_sections = key == ARGP_gc_sections; break; + case ARGP_eh_frame_hdr: + ld_state.eh_frame_hdr = true; + break; + case 's': if (arg == NULL) { |
