Closed Bug 733087 Opened 13 years ago Closed 13 years ago

Support DT_FLAGS a little bit

Categories

(Firefox for Android Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 13

People

(Reporter: jrmuizel, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

This ignores the DF_SYMBOLIC flag.
Attached patch Support DT_FLAGS a little bit (obsolete) — Splinter Review
Attachment #603002 - Flags: review?(mh+mozilla)
Comment on attachment 603002 [details] [diff] [review] Support DT_FLAGS a little bit Out of curiosity, what toolchain do you use that creates a lib with DT_FLAGS instead of DT_SYMBOLIC?
Attachment #603002 - Flags: review?(mh+mozilla) → review+
Comment on attachment 603002 [details] [diff] [review] Support DT_FLAGS a little bit Review of attachment 603002 [details] [diff] [review]: ----------------------------------------------------------------- ::: mozglue/linker/CustomElf.cpp @@ +549,5 @@ > break; > + case DT_FLAGS: > + { > + Word flags = dyn->d_un.d_val; > + flags &= ~DF_SYMBOLIC; /* we can treat this like having a DT_SYMBOLIC tag */ I guess this is larger than 80 characters. Please wrap. @@ +551,5 @@ > + { > + Word flags = dyn->d_un.d_val; > + flags &= ~DF_SYMBOLIC; /* we can treat this like having a DT_SYMBOLIC tag */ > + log("%s: Warning: unhandled flags #%" PRIxAddr" not handled", > + GetPath(), flags); I missed that originally: please do not display when flags == DT_SYMBOLIC.
Attachment #603002 - Flags: review+ → review-
A better version. I saw this when linking apitrace with gold.
Attachment #603002 - Attachment is obsolete: true
Attachment #603011 - Flags: review?(mh+mozilla)
Comment on attachment 603011 [details] [diff] [review] Support DT_FLAGS a little bit v2 Review of attachment 603011 [details] [diff] [review]: ----------------------------------------------------------------- I'll land it straight away.
Attachment #603011 - Flags: review?(mh+mozilla) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 13
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: