Skip to content

Commit 0f15d47

Browse files
committed
goto-ld: accept (but do not process) further ld options
1 parent 4c6cfc0 commit 0f15d47

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/goto-cc/ld_cmdline.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,28 @@ const char *ld_options_with_argument[]=
7171
"-Y",
7272
"--assert",
7373
"--defsym",
74+
"--file-alignment",
7475
"--fini",
7576
"--hash-size",
77+
"--heap",
78+
"--image-base",
7679
"--init",
7780
"--Map",
81+
"--major-image-version",
82+
"--major-os-version",
83+
"--major-subsystem-version",
84+
"--minor-image-version",
85+
"--minor-os-version",
86+
"--minor-subsystem-version",
7887
"--oformat",
7988
"--retain-symbols-file",
8089
"--rpath",
8190
"--rpath-link",
91+
"--section-alignment",
8292
"--sort-section",
8393
"--spare-dynamic-tags",
94+
"--stack",
95+
"--subsystem",
8496
"--task-link",
8597
"--section-start",
8698
"--Tbss",

0 commit comments

Comments
 (0)