Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Side by Side Diff: binutils/gas/config/tc-i386.c

Issue 5648005: [binutils] allow immediates in naclrest{bp,sp} (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git@master
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | binutils/opcodes/i386-opc.tbl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
None
OLDNEW
1 /* tc-i386.c -- Assemble code for the Intel 80386 1 /* tc-i386.c -- Assemble code for the Intel 80386
2 Copyright 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2 Copyright 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 3 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
4 Free Software Foundation, Inc. 4 Free Software Foundation, Inc.
5 5
6 This file is part of GAS, the GNU Assembler. 6 This file is part of GAS, the GNU Assembler.
7 7
8 GAS is free software; you can redistribute it and/or modify 8 GAS is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by 9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3, or (at your option) 10 the Free Software Foundation; either version 3, or (at your option)
(...skipping 5774 matching lines...) Expand 10 before | Expand all | Expand 10 after
5785 insert_sp_adjust_sandbox_code (offsetT insn_start_off) 5785 insert_sp_adjust_sandbox_code (offsetT insn_start_off)
5786 { 5786 {
5787 char *p = frag_more (2); 5787 char *p = frag_more (2);
5788 p[0] = 0x8d; // LEA off(%rbp), %esp 5788 p[0] = 0x8d; // LEA off(%rbp), %esp
5789 if (imm_size(0) == 1) 5789 if (imm_size(0) == 1)
5790 p[1] = 0x65; // Off8 5790 p[1] = 0x65; // Off8
5791 else 5791 else
5792 p[1] = 0xa5; // Off32 5792 p[1] = 0xa5; // Off32
5793 output_imm (frag_now, insn_start_off); 5793 output_imm (frag_now, insn_start_off);
5794 // Immediate was already used. 5794 // Immediate was already used.

error: old chunk mismatch

OLDNEW
« no previous file with comments | « no previous file | binutils/opcodes/i386-opc.tbl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698