~ubuntu-branches/ubuntu/trusty/eglibc/trusty

« back to all changes in this revision

Viewing changes to ports/sysdeps/tile/sysdep.h

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2013-01-10 18:39:35 UTC
  • mfrom: (1.5.2) (4.4.24 experimental)
  • Revision ID: package-import@ubuntu.com-20130110183935-afsgfxkmg7wk5eaj
Tags: 2.17-0ubuntu1
* Merge with Debian, bringing in a new upstream and many small fixes:
  - patches/any/cvs-malloc-deadlock.diff: Dropped, merged upstream.
  - patches/ubuntu/lddebug-scopes.diff: Rebase for upstream changes.
  - patches/ubuntu/local-CVE-2012-3406.diff: Rebased against upstream.
  - patches/ubuntu/no-asm-mtune-i686.diff: Fixed in recent binutils.
* This upstream merge fixes a nasty hang in pulseaudio (LP: #1085342)
* Bump MIN_KERNEL_SUPPORTED to 2.6.32 on ARM, now that we no longer
  have to support shonky 2.6.31 kernels on imx51 babbage builders.
* Drop patches/ubuntu/local-disable-nscd-host-caching.diff, as these
  issues were apparently resolved upstream a while ago (LP: #613662)
* Fix the compiled-in bug URL to point to launchpad.net, not Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
#include <feedback.h>
26
26
 
27
 
/* Make use of .type and .size directives.  */
28
 
#define ASM_TYPE_DIRECTIVE(name,typearg) .type name,typearg;
 
27
/* Make use of .size directive.  */
29
28
#define ASM_SIZE_DIRECTIVE(name) .size name,.-name;
30
29
 
31
30
/* Define an entry point visible from C.  */
32
31
#define ENTRY(name)                                                           \
33
 
  ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(name);                                   \
34
 
  ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),@function)                          \
 
32
  .globl C_SYMBOL_NAME(name);                                                 \
 
33
  .type C_SYMBOL_NAME(name),@function;                                        \
35
34
  .align 8;                                                                   \
36
35
  C_LABEL(name)                                                               \
37
36
  cfi_startproc;                                                              \
67
66
#define REGSIZE         4
68
67
#endif
69
68
 
70
 
/* Support a limited form of shared assembly between tile and tilegx.
 
69
/* Support a limited form of shared assembly between tilepro and tilegx.
71
70
   The presumption is that LD/ST are used for manipulating registers.
72
71
   Since opcode parsing is case-insensitive, we don't need to provide
73
72
   definitions for these on tilegx.  */
87
86
#endif
88
87
 
89
88
/* Provide "pointer-oriented" instruction variants.  These differ not
90
 
   just for tile vs tilegx, but also for tilegx -m64 vs -m32.  */
 
89
   just for tilepro vs tilegx, but also for tilegx -m64 vs -m32.  */
91
90
#if defined __tilegx__ && __WORDSIZE == 32
92
91
#define ADD_PTR         addx
93
92
#define ADDI_PTR        addxi