Closed Bug 670329 Opened 13 years ago Closed 13 years ago

Avoid bumping arm target because of neon code

Categories

(Core :: Graphics, defect)

ARM
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla8

People

(Reporter: glandium, Assigned: glandium)

Details

Attachments

(1 file)

We need some binary target correctness: each object file is marked with the target it was built for, and when linking, ld marks the final binary with the greater target it found on the way. With the hacks to allow building unsupported instructions on the target used by the compiler, the resulting objects end up having a bumped target, thus bumping the final binary (libxul) target, which is not expected. Using .object_arch forces the target to be downsized for the given object file, but doesn't affect the final binary target, since other object files are still targeted at whatever target is used by the compiler.
(Not convinced you are the right reviewer for this)
Attachment #544967 - Flags: review?(doug.turner)
Attachment #544967 - Flags: review?(doug.turner) → review?(jmuizelaar)
Comment on attachment 544967 [details] [diff] [review]
Avoid bumping ARM target because of NEON code in gfx

Do we need something like this for pixman as well?
Attachment #544967 - Flags: review?(jmuizelaar) → review+
pixman already has something like this.
http://hg.mozilla.org/integration/mozilla-inbound/rev/b86067d689a9
Assignee: nobody → mh+mozilla
Whiteboard: [inbound]
http://hg.mozilla.org/mozilla-central/rev/b86067d689a9
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: