diff options
author | Michael Meissner <meissner@gcc.gnu.org> | 1994-04-02 13:15:24 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 1994-04-02 13:15:24 +0000 |
commit | 4563275aa69c581ed14801e31603407db1a18d0e (patch) | |
tree | cfa78b14fad194bc70b88facf8257707dc08d6c3 /gcc/config/i386 | |
parent | b6083bc9f8e8a4cac36c9c8cd9a7e90304ffac40 (diff) | |
download | gcc-4563275aa69c581ed14801e31603407db1a18d0e.zip gcc-4563275aa69c581ed14801e31603407db1a18d0e.tar.gz gcc-4563275aa69c581ed14801e31603407db1a18d0e.tar.bz2 |
Correct -fpic ELF -pg code
From-SVN: r6958
Diffstat (limited to 'gcc/config/i386')
-rw-r--r-- | gcc/config/i386/osfrose.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/i386/osfrose.h b/gcc/config/i386/osfrose.h index faab15e..0a62a6c 100644 --- a/gcc/config/i386/osfrose.h +++ b/gcc/config/i386/osfrose.h @@ -239,7 +239,7 @@ do \ fprintf (FILE, "%sPc%d:\tpopl %%eax\n", lprefix, call_no); \ fprintf (FILE, "\taddl $_GLOBAL_OFFSET_TABLE_+[.-%sPc%d],%%eax\n", \ lprefix, call_no++); \ - fprintf (FILE, "\tleal $%sP%d@GOTOFF(%%eax),%%edx\n", \ + fprintf (FILE, "\tleal %sP%d@GOTOFF(%%eax),%%edx\n", \ lprefix, labelno); \ fprintf (FILE, "\tmovl %s_mcount_ptr@GOT(%%eax),%%eax\n", \ prefix); \ @@ -310,9 +310,9 @@ do \ { \ fprintf (FILE, "\tmovl 4(%%ebp),%%ecx\n"); \ fprintf (FILE, "\tpushl %%ecx\n"); \ - fprintf (FILE, "\tleal $%sP%d@GOTOFF(%%ebx),%%edx\n", \ + fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \ lprefix, labelno); \ - fprintf (FILE, "\tmovl _mcount_ptr@GOT(%%eax),%%eax\n"); \ + fprintf (FILE, "\tmovl _mcount_ptr@GOT(%%ebx),%%eax\n"); \ fprintf (FILE, "\tcall *(%%eax)\n"); \ fprintf (FILE, "\tpopl %%eax\n"); \ } \ |