Skip to content

Commit

Permalink
src: deactive mach-o symbol resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
kloetzl committed Dec 27, 2023
1 parent 3ab11d1 commit cfeb798
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/dna4_count_mismatches_rc_x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ size_t
dna4_count_mismatches_rc(const char *begin, const char *end, const char *other)
__attribute__((ifunc("dna4_count_mismatches_rc_select")));

#elif defined(__APPLE__)
#elif defined(__APPLE__) && 0

void *
dna4_count_mismatches_rc_macho(void) __asm__("_dna4_count_mismatches_rc");
Expand Down
2 changes: 1 addition & 1 deletion src/dna4_fill_random_x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void
dna4_fill_random(char *dest, char *end, uint32_t seed)
__attribute__((ifunc("dna4_fill_random_select")));

#elif defined(__APPLE__)
#elif defined(__APPLE__) && 0

void *
dna4_fill_random_macho(void) __asm__("_dna4_fill_random");
Expand Down
2 changes: 1 addition & 1 deletion src/dna4_revcomp_x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ char *
dna4_revcomp(const char *begin, const char *end, char *dest)
__attribute__((ifunc("dna4_revcomp_select")));

#elif defined(__APPLE__)
#elif defined(__APPLE__) && 0

void *
dna4_revcomp_macho(void) __asm__("_dna4_revcomp");
Expand Down
2 changes: 1 addition & 1 deletion src/dnax_count_mismatches_x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ size_t
dnax_count_mismatches(const char *begin, const char *end, const char *other)
__attribute__((ifunc("dnax_count_mismatches_select")));

#elif defined(__APPLE__)
#elif defined(__APPLE__) && 0

void *
dnax_count_mismatches_macho(void) __asm__("_dnax_count_mismatches");
Expand Down
2 changes: 1 addition & 1 deletion src/dnax_extract_dna4_x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ char *
dnax_extract_dna4(const char *begin, const char *end, char *dest)
__attribute__((ifunc("dnax_extract_dna4_select")));

#elif defined(__APPLE__)
#elif defined(__APPLE__) && 0

void *
dnax_extract_dna4_macho(void) __asm__("_dnax_extract_dna4");
Expand Down

0 comments on commit cfeb798

Please sign in to comment.