Opened 9 years ago
Closed 9 years ago
#12445 closed enhancement (fixed)
gcc 2, gcc 4: Correct LINK_SPEC
Reported by: | simonsouth | Owned by: | korli |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | System | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
The attached patch fixes a few issues I've recognized with my recent changes to LINK_SPEC
in gcc 2 and 4 (see #12430 and #12439).
With the patch applied, the two compilers will
- Set appropriate dynamic-link options for any type of dynamically linked executable, not only position-independent ones;
- Not omit these options if
-pie
is specified by the user; and - Recognize the
-static
option.
Additionally I've re-added a hyphen that was missing from --no-undefined
.
Attachments (1)
Change History (4)
by , 9 years ago
Attachment: | 0001-gcc2-gcc4-Correct-LINK_SPEC.patch added |
---|
comment:1 by , 9 years ago
patch: | 0 → 1 |
---|
comment:2 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Applied in btrev43112. Thanks!
Note:
See TracTickets
for help on using tickets.
gcc2, gcc4: Correct LINK_SPEC