diff mbox

[4.8,changes] PATCH: Mention -maddress-mode=[short|long]

Message ID 20130211180529.GA5457@intel.com
State New
Headers show

Commit Message

H.J. Lu Feb. 11, 2013, 6:05 p.m. UTC
Hi,

This patch updates GCC 4.8 changes.html to mention
-maddress-mode=[short|long] for x32.  OK to install?


H.J.
---

Comments

Richard Biener Feb. 12, 2013, 11:16 a.m. UTC | #1
On Mon, Feb 11, 2013 at 7:05 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> Hi,
>
> This patch updates GCC 4.8 changes.html to mention
> -maddress-mode=[short|long] for x32.  OK to install?
>
>
> H.J.
> ---
> Index: changes.html
> ===================================================================
> RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/changes.html,v
> retrieving revision 1.95
> diff -u -p -r1.95 changes.html
> --- changes.html        11 Feb 2013 15:12:58 -0000      1.95
> +++ changes.html        11 Feb 2013 18:03:31 -0000
> @@ -460,6 +460,10 @@ B b(42); // OK
>      wrong results.  You must build all
>      modules with <code>-mpreferred-stack-boundary=3</code>, including any
>      libraries.  This includes the system libraries and startup modules.</li>
> +    <li>New <code>-maddress-mode=[short|long]</code> option for x32.
> +    <code>-maddress-mode=short</code> overrides default 64-bit addresses to
> +    32-bit by emitting 0x67 size prefix. This is the default address mode for

Use <code>0x67</code>, otherwise ok.

Thanks,
Richard.

> +    x32.</li>
>      <li> New built-in functions to detect run-time CPU type and ISA:
>      <ul>
>        <li>A built-in function <code>__builtin_cpu_is</code> has been added to
diff mbox

Patch

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/changes.html,v
retrieving revision 1.95
diff -u -p -r1.95 changes.html
--- changes.html	11 Feb 2013 15:12:58 -0000	1.95
+++ changes.html	11 Feb 2013 18:03:31 -0000
@@ -460,6 +460,10 @@  B b(42); // OK
     wrong results.  You must build all
     modules with <code>-mpreferred-stack-boundary=3</code>, including any
     libraries.  This includes the system libraries and startup modules.</li>
+    <li>New <code>-maddress-mode=[short|long]</code> option for x32.
+    <code>-maddress-mode=short</code> overrides default 64-bit addresses to
+    32-bit by emitting 0x67 size prefix. This is the default address mode for
+    x32.</li>
     <li> New built-in functions to detect run-time CPU type and ISA:
     <ul>
       <li>A built-in function <code>__builtin_cpu_is</code> has been added to