summaryrefslogtreecommitdiff
path: root/ldso/ldso/avr32/dl-startup.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/ldso/avr32/dl-startup.h')
-rw-r--r--ldso/ldso/avr32/dl-startup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/ldso/avr32/dl-startup.h b/ldso/ldso/avr32/dl-startup.h
index 066f65fc2..a7179e4cd 100644
--- a/ldso/ldso/avr32/dl-startup.h
+++ b/ldso/ldso/avr32/dl-startup.h
@@ -75,7 +75,7 @@ void PERFORM_BOOTSTRAP_RELOC(ELF_RELOC *rpnt, unsigned long *reloc_addr,
unsigned long symbol_addr,
unsigned long load_addr, Elf32_Sym *symtab)
{
- switch(ELF32_R_TYPE(rpnt->r_info)) {
+ switch(ELF_R_TYPE(rpnt->r_info)) {
case R_AVR32_NONE:
break;
case R_AVR32_GLOB_DAT:
@@ -91,7 +91,7 @@ void PERFORM_BOOTSTRAP_RELOC(ELF_RELOC *rpnt, unsigned long *reloc_addr,
break;
default:
SEND_STDERR("BOOTSTRAP_RELOC: unhandled reloc_type ");
- SEND_NUMBER_STDERR(ELF32_R_TYPE(rpnt->r_info), 1);
+ SEND_NUMBER_STDERR(ELF_R_TYPE(rpnt->r_info), 1);
SEND_STDERR("REL, SYMBOL, LOAD: ");
SEND_ADDRESS_STDERR(reloc_addr, 0);
SEND_STDERR(", ");