create_elf_tables() doesn't set AT_PLATFORM for 32bit ARM platforms

Bug #1813034 reported by ShiftPlusOne
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Richard Henderson

Bug Description

The dynamic linker uses AT_PLATFORM from getauxval to substitute $PLATFORM in certain places (man ld.so). It would be nice if it was set to 'v6l', 'v7l' and whatever other platforms there are according to the chosen CPU or via an environment variable. AT_PLATFORM is not guaranteed to be set, so this isn't a major bug, but this is one case where it makes things difficult.

Revision history for this message
Richard Henderson (rth) wrote :
Changed in qemu:
assignee: nobody → Richard Henderson (rth)
Revision history for this message
ShiftPlusOne (schneiderit) wrote :

I've tried the patch and it solves the problem for my use case.

Tested with this build:
https://launchpad.net/~schneiderit/+archive/ubuntu/rpi/+build/16488702

Revision history for this message
Richard Henderson (rth) wrote :

Merged for 4.0 in c4e0780ed1.

Changed in qemu:
status: New → Fix Committed
Thomas Huth (th-huth)
Changed in qemu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.