strrchr.S (e5451c8f8330e03ad3cfa16048b4daf961af434f) | strrchr.S (00fc0e0dda6286407f3854cd71a125f519a5689c) |
---|---|
1/* 2 * arch/alpha/lib/strrchr.S 3 * Contributed by Richard Henderson (rth@tamu.edu) 4 * 5 * Return the address of the last occurrence of a given character 6 * within a null-terminated string, or null if it is not found. 7 */ | 1/* 2 * arch/alpha/lib/strrchr.S 3 * Contributed by Richard Henderson (rth@tamu.edu) 4 * 5 * Return the address of the last occurrence of a given character 6 * within a null-terminated string, or null if it is not found. 7 */ |
8 | 8#include <asm/export.h> |
9#include <asm/regdef.h> 10 11 .set noreorder 12 .set noat 13 14 .align 3 15 .ent strrchr 16 .globl strrchr --- 63 unchanged lines hidden (view full) --- 80 addq v0, t1, v0 # e0 : 81 ret # .. e1 : 82 83$retnull: 84 mov zero, v0 # e0 : 85 ret # .. e1 : 86 87 .end strrchr | 9#include <asm/regdef.h> 10 11 .set noreorder 12 .set noat 13 14 .align 3 15 .ent strrchr 16 .globl strrchr --- 63 unchanged lines hidden (view full) --- 80 addq v0, t1, v0 # e0 : 81 ret # .. e1 : 82 83$retnull: 84 mov zero, v0 # e0 : 85 ret # .. e1 : 86 87 .end strrchr |
88 EXPORT_SYMBOL(strrchr) |
|