History

Remove ifdef STT_GNU_IFUNC test in tccrun.c

STT_GNU_IFUNC is always defined (there is no conditional definition of it) so the ifdef test for STT_GNU_IFUNC in tccrun.c has no reason to be.

Thomas Preud'homme committed 16 years ago

Commit 036d9411 parent c1c40401 file · +1 −5Browse files

Unified · Split

tccrun.c+1−5
@@ -306,11 +306,7 @@ static uplong rt_printline(uplong wanted_pc) · 305 unmodified lines
306306 sym < sym_end;
307307 sym++) {
308308 type = ELFW(ST_TYPE)(sym->st_info);
309− if (type == STT_FUNC
310−#ifdef STT_GNU_IFUNC
311− || type == STT_GNU_IFUNC
312−#endif
313− ) {
309+ if (type == STT_FUNC || type == STT_GNU_IFUNC) {
314310 if (wanted_pc >= sym->st_value &&
315311 wanted_pc < sym->st_value + sym->st_size) {
316312 pstrcpy(last_func_name, sizeof(last_func_name),

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t