Bug 4480 - Error for DT_TEXTREL in shared object option
Summary: Error for DT_TEXTREL in shared object option
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: 2.18
: P3 enhancement
Target Milestone: ---
Assignee: Alan Modra
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-09 23:38 UTC by Robert Connolly
Modified: 2021-06-03 12:03 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
Patch to add --error-shared-textrel (1.69 KB, patch)
2007-05-09 23:39 UTC, Robert Connolly
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Connolly 2007-05-09 23:38:24 UTC
Using the options '--warn-shared-textrel --fatal-warnings' will cause all 
warnings to be fatal, not just shared-textrel. I'm attaching a patch to add 
a --error-shared-textrel option, to make DT_TEXTREL in a shared object a fatal 
error.
Comment 1 Robert Connolly 2007-05-09 23:39:27 UTC
Created attachment 1780 [details]
Patch to add --error-shared-textrel
Comment 2 Alan Modra 2021-06-03 12:03:42 UTC
-z text is how this was implemented