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

Side by Side Diff: simd/jsimdext.inc

Issue 8036033: Make libjpeg-turbo PIC-clean on 32-bit Linux. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo/
Patch Set: Created 9 years, 2 months 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 | « google.patch ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; 1 ;
2 ; jsimdext.inc - common declarations 2 ; jsimdext.inc - common declarations
3 ; 3 ;
4 ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB 4 ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
5 ; Copyright 2010 D. R. Commander 5 ; Copyright 2010 D. R. Commander
6 ; 6 ;
7 ; Based on 7 ; Based on
8 ; x86 SIMD extension for IJG JPEG library - version 1.02 8 ; x86 SIMD extension for IJG JPEG library - version 1.02
9 ; 9 ;
10 ; Copyright (C) 1999-2006, MIYASAKA Masaru. 10 ; Copyright (C) 1999-2006, MIYASAKA Masaru.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 ; -- segment definition -- 66 ; -- segment definition --
67 ; 67 ;
68 %define SEG_TEXT .text align=16 public use32 class=CODE 68 %define SEG_TEXT .text align=16 public use32 class=CODE
69 %define SEG_CONST .data align=16 public use32 class=DATA 69 %define SEG_CONST .data align=16 public use32 class=DATA
70 70
71 %elifdef ELF ; ----(nasm -felf[64] -DELF ...)------------ 71 %elifdef ELF ; ----(nasm -felf[64] -DELF ...)------------
72 ; * Linux 72 ; * Linux
73 ; * *BSD family Unix using elf format 73 ; * *BSD family Unix using elf format
74 ; * Unix System V, including Solaris x86, UnixWare and SCO Unix 74 ; * Unix System V, including Solaris x86, UnixWare and SCO Unix
75 75
76 ; PIC is the default on Linux
77 %define PIC
78
76 ; mark stack as non-executable 79 ; mark stack as non-executable
77 section .note.GNU-stack noalloc noexec nowrite progbits 80 section .note.GNU-stack noalloc noexec nowrite progbits
78 81
79 ; -- segment definition -- 82 ; -- segment definition --
80 ; 83 ;
81 %ifdef __x86_64__ 84 %ifdef __x86_64__
82 %define SEG_TEXT .text progbits align=16 85 %define SEG_TEXT .text progbits align=16
83 %define SEG_CONST .rodata progbits align=16 86 %define SEG_CONST .rodata progbits align=16
84 %else 87 %else
85 %define SEG_TEXT .text progbits alloc exec nowrite align=16 88 %define SEG_TEXT .text progbits alloc exec nowrite align=16
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 %ifdef MACHO ; ----(nasm -fmacho -DMACHO ...)-------- 380 %ifdef MACHO ; ----(nasm -fmacho -DMACHO ...)--------
378 %define PRIVATE :private_extern 381 %define PRIVATE :private_extern
379 %elifdef ELF ; ----(nasm -felf[64] -DELF ...)------------ 382 %elifdef ELF ; ----(nasm -felf[64] -DELF ...)------------
380 %define PRIVATE :hidden 383 %define PRIVATE :hidden
381 %else 384 %else
382 %define PRIVATE 385 %define PRIVATE
383 %endif 386 %endif
384 ; End chromium edits 387 ; End chromium edits
385 388
386 ; -------------------------------------------------------------------------- 389 ; --------------------------------------------------------------------------
OLDNEW
« no previous file with comments | « google.patch ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698