[PATCH 2/2] Implement operator new
Metzger, Markus T
markus.t.metzger@intel.com
Fri Jul 6 09:28:00 GMT 2012
> -----Original Message-----
> From: Tom Tromey [mailto:tromey@redhat.com]
> Sent: Thursday, July 05, 2012 8:01 PM
> To: Metzger, Markus T
[...]
> >> + sym = lookup_symbol ("__aeabi_vec_ctor_cookie_nodtor",
> >> + NULL, VAR_DOMAIN, NULL);
> >> + if (sym != NULL)
> >> + {
> >> + /* ARM EABI has an extra slot. */
> >> + *include_size = 1;
> >> + multiplier = 2;
> >> + }
> >> + else
> >> + *include_size = 0;
>
> Markus> Shouldn't we be able to query the ABI from the ELF?
>
> I don't know how.
Searching for "arm elf", I found this document: http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044d/IHI0044D_aaelf.pdf.
Not sure if it's the latest version. Page 16 describes the ELF header for EABI compliant files.
Regards,
Markus.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7228 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20120706/46a72999/attachment.p7s>
-------------- next part --------------
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer, Christian Lamprechter
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052
More information about the Gdb-patches
mailing list