Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218733
b: refs/heads/master
c: 2502c64
h: refs/heads/master
i:
  218731: f58ddf6
v: v3
  • Loading branch information
Mark Salter authored and David Howells committed Oct 27, 2010
1 parent 6eae8da commit a9a0e8b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5a226c6f5c374a0d565dac609907085b944979b5
refs/heads/master: 2502c64eeb125c5d57e3e7dc38320b500d69e088
10 changes: 10 additions & 0 deletions trunk/arch/mn10300/include/asm/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@
#define R_MN10300_SYM_DIFF 33 /* Adjustment when relaxing. */
#define R_MN10300_ALIGN 34 /* Alignment requirement. */

/*
* AM33/AM34 HW Capabilities
*/
#define HWCAP_MN10300_ATOMIC_OP_UNIT 1 /* Has AM34 Atomic Operations */


/*
* ELF register definitions..
*/
Expand Down Expand Up @@ -128,7 +134,11 @@ do { \
* instruction set this CPU supports. This could be done in user space,
* but it's not easy, and we've already done it here.
*/
#ifdef CONFIG_MN10300_HAS_ATOMIC_OPS_UNIT
#define ELF_HWCAP (HWCAP_MN10300_ATOMIC_OP_UNIT)
#else
#define ELF_HWCAP (0)
#endif

/*
* This yields a string that ld.so will use to load implementation
Expand Down

0 comments on commit a9a0e8b

Please sign in to comment.