Discarded input sections .group 0x00000000 0xc build/gpio.o .group 0x00000000 0xc build/gpio.o .group 0x00000000 0xc build/gpio.o .group 0x00000000 0xc build/gpio.o .group 0x00000000 0xc build/gpio.o .group 0x00000000 0xc build/gpio.o .group 0x00000000 0xc build/gpio.o .group 0x00000000 0xc build/gpio.o .group 0x00000000 0xc build/gpio.o .group 0x00000000 0xc build/gpio.o .group 0x00000000 0xc build/gpio.o .group 0x00000000 0xc build/gpio.o .group 0x00000000 0xc build/gpio.o .group 0x00000000 0xc build/gpio.o .text 0x00000000 0x0 build/gpio.o .data 0x00000000 0x0 build/gpio.o .bss 0x00000000 0x0 build/gpio.o .group 0x00000000 0xc build/main.o .group 0x00000000 0xc build/main.o .group 0x00000000 0xc build/main.o .group 0x00000000 0xc build/main.o .group 0x00000000 0xc build/main.o .group 0x00000000 0xc build/main.o .group 0x00000000 0xc build/main.o .group 0x00000000 0xc build/main.o .group 0x00000000 0xc build/main.o .group 0x00000000 0xc build/main.o .group 0x00000000 0xc build/main.o .group 0x00000000 0xc build/main.o .group 0x00000000 0xc build/main.o .group 0x00000000 0xc build/main.o .group 0x00000000 0xc build/main.o .group 0x00000000 0xc build/main.o .group 0x00000000 0xc build/main.o .text 0x00000000 0x0 build/main.o .data 0x00000000 0x0 build/main.o .bss 0x00000000 0x0 build/main.o .debug_macro 0x00000000 0x22 build/main.o .debug_macro 0x00000000 0x75 build/main.o .debug_macro 0x00000000 0x2a build/main.o .debug_macro 0x00000000 0x5c build/main.o .debug_macro 0x00000000 0x3c build/main.o .debug_macro 0x00000000 0x103 build/main.o .debug_macro 0x00000000 0x3a build/main.o .debug_macro 0x00000000 0x57 build/main.o .debug_macro 0x00000000 0x6a build/main.o .debug_macro 0x00000000 0x1df build/main.o .debug_macro 0x00000000 0x89 build/main.o .debug_macro 0x00000000 0x4cc build/main.o .debug_macro 0x00000000 0x22 build/main.o .group 0x00000000 0xc build/startup.o .group 0x00000000 0xc build/startup.o .group 0x00000000 0xc build/startup.o .group 0x00000000 0xc build/startup.o .group 0x00000000 0xc build/startup.o .group 0x00000000 0xc build/startup.o .text 0x00000000 0x0 build/startup.o .data 0x00000000 0x0 build/startup.o .bss 0x00000000 0x0 build/startup.o .debug_macro 0x00000000 0x22 build/startup.o .debug_macro 0x00000000 0x103 build/startup.o .debug_macro 0x00000000 0x6a build/startup.o .debug_macro 0x00000000 0x1df build/startup.o Memory Configuration Name Origin Length Attributes flash 0x08000000 0x00080000 xr sram 0x20000000 0x00020000 xrw *default* 0x00000000 0xffffffff Linker script and memory map LOAD /nix/store/yr89i11mszv2az19r26l372zgaiivj1c-gcc-arm-embedded-12.3.rel1/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/lib/libc_nano.a LOAD /nix/store/yr89i11mszv2az19r26l372zgaiivj1c-gcc-arm-embedded-12.3.rel1/bin/../lib/gcc/arm-none-eabi/12.3.1/libgcc.a LOAD build/gpio.o LOAD build/main.o LOAD build/startup.o 0x20020000 stack_start = (ORIGIN (sram) + LENGTH (sram)) .isr_vector 0x08000000 0x198 0x08000000 . = ALIGN (0x4) *(.isr_vector) .isr_vector 0x08000000 0x198 build/startup.o 0x08000000 interrupt_vector_table 0x08000198 . = ALIGN (0x4) .text 0x08000198 0x2f4 0x08000198 . = ALIGN (0x4) *(.text) *(.text.*) .text.gpio_set_mode 0x08000198 0x62 build/gpio.o 0x08000198 gpio_set_mode .text.gpio_write 0x080001fa 0x4c build/gpio.o 0x080001fa gpio_write *fill* 0x08000246 0x2 .text.system_clock_init 0x08000248 0x144 build/main.o .text.spin 0x0800038c 0x22 build/main.o *fill* 0x080003ae 0x2 .text.main 0x080003b0 0x60 build/main.o 0x080003b0 main .text.init_memory 0x08000410 0x64 build/startup.o 0x08000410 init_memory .text.reset 0x08000474 0x10 build/startup.o 0x08000474 reset .text.default_handler 0x08000484 0x8 build/startup.o 0x08000484 exti0 0x08000484 debug_monitor 0x08000484 rcc 0x08000484 x 0x08000484 sdio 0x08000484 usage_fault 0x08000484 tim1_up_tim10 0x08000484 usart1 0x08000484 i2c3_er 0x08000484 spi2 0x08000484 dma1_stream1 0x08000484 bus_fault 0x08000484 spi5 0x08000484 exti3 0x08000484 dma2_stream5 0x08000484 tim2 0x08000484 dma1_stream6 0x08000484 default_handler 0x08000484 i2c1_er 0x08000484 hard_fault 0x08000484 usart6 0x08000484 exti15_10 0x08000484 usart2 0x08000484 pend_sv 0x08000484 i2c1_ev 0x08000484 wwdg 0x08000484 adc 0x08000484 rtc_alarm 0x08000484 spi3 0x08000484 exti1 0x08000484 mem_manage 0x08000484 dma2_stream1 0x08000484 dma1_stream2 0x08000484 dma2_stream3 0x08000484 sv_call 0x08000484 tim3 0x08000484 otg_fs 0x08000484 dma1_stream5 0x08000484 dma2_stream6 0x08000484 flash 0x08000484 tamp_stamp 0x08000484 i2c3_ev 0x08000484 rtc_wkup 0x08000484 dma2_stream0 0x08000484 pvd 0x08000484 fpu 0x08000484 exti4 0x08000484 exti2 0x08000484 spi1 0x08000484 dma1_stream0 0x08000484 tim1_brk_tim9 0x08000484 i2c2_ev 0x08000484 otg_fs_wkup 0x08000484 spi4 0x08000484 dma2_stream2 0x08000484 tim1_cc 0x08000484 tim1_trg_com_tim11 0x08000484 exti9_5 0x08000484 dma1_stream3 0x08000484 dma2_stream4 0x08000484 i2c2_er 0x08000484 dma2_stream7 0x08000484 dma1_stream7 0x08000484 nmi 0x08000484 systick 0x08000484 tim4 0x08000484 tim5 0x08000484 dma1_stream4 *(.rodata) *(.rodata.*) 0x0800048c . = ALIGN (0x4) 0x0800048c _data_addr = LOADADDR (.data) .glue_7 0x0800048c 0x0 .glue_7 0x0800048c 0x0 linker stubs .glue_7t 0x0800048c 0x0 .glue_7t 0x0800048c 0x0 linker stubs .vfp11_veneer 0x0800048c 0x0 .vfp11_veneer 0x0800048c 0x0 linker stubs .v4_bx 0x0800048c 0x0 .v4_bx 0x0800048c 0x0 linker stubs .iplt 0x0800048c 0x0 .iplt 0x0800048c 0x0 build/main.o .rel.dyn 0x0800048c 0x0 .rel.iplt 0x0800048c 0x0 build/main.o .data 0x20000000 0x0 load address 0x0800048c 0x20000000 . = ALIGN (0x4) 0x20000000 _data_start = . *(.data) *(.data.*) 0x20000000 . = ALIGN (0x4) 0x20000000 _data_end = . .igot.plt 0x20000000 0x0 load address 0x0800048c .igot.plt 0x20000000 0x0 build/main.o .bss 0x20000000 0x0 load address 0x0800048c 0x20000000 . = ALIGN (0x4) 0x20000000 _bss_start = . *(.bss) *(.bss.*) 0x20000000 _bss_end = . 0x20000000 . = ALIGN (0x4) OUTPUT(build/final.elf elf32-littlearm) LOAD linker stubs .debug_info 0x00000000 0x6f5 .debug_info 0x00000000 0x21a build/gpio.o .debug_info 0x0000021a 0x353 build/main.o .debug_info 0x0000056d 0x188 build/startup.o .debug_abbrev 0x00000000 0x397 .debug_abbrev 0x00000000 0x12b build/gpio.o .debug_abbrev 0x0000012b 0x145 build/main.o .debug_abbrev 0x00000270 0x127 build/startup.o .debug_aranges 0x00000000 0x88 .debug_aranges 0x00000000 0x28 build/gpio.o .debug_aranges 0x00000028 0x30 build/main.o .debug_aranges 0x00000058 0x30 build/startup.o .debug_rnglists 0x00000000 0x58 .debug_rnglists 0x00000000 0x19 build/gpio.o .debug_rnglists 0x00000019 0x20 build/main.o .debug_rnglists 0x00000039 0x1f build/startup.o .debug_macro 0x00000000 0x2f1d .debug_macro 0x00000000 0xb56 build/gpio.o .debug_macro 0x00000b56 0x22 build/gpio.o .debug_macro 0x00000b78 0x75 build/gpio.o .debug_macro 0x00000bed 0x2a build/gpio.o .debug_macro 0x00000c17 0x5c build/gpio.o .debug_macro 0x00000c73 0x3c build/gpio.o .debug_macro 0x00000caf 0x103 build/gpio.o .debug_macro 0x00000db2 0x3a build/gpio.o .debug_macro 0x00000dec 0x57 build/gpio.o .debug_macro 0x00000e43 0x6a build/gpio.o .debug_macro 0x00000ead 0x1df build/gpio.o .debug_macro 0x0000108c 0x89 build/gpio.o .debug_macro 0x00001115 0x4cc build/gpio.o .debug_macro 0x000015e1 0x22 build/gpio.o .debug_macro 0x00001603 0x34 build/gpio.o .debug_macro 0x00001637 0xb7d build/main.o .debug_macro 0x000021b4 0x11e build/main.o .debug_macro 0x000022d2 0x2e build/main.o .debug_macro 0x00002300 0x46 build/main.o .debug_macro 0x00002346 0x2e build/main.o .debug_macro 0x00002374 0xb02 build/startup.o .debug_macro 0x00002e76 0x56 build/startup.o .debug_macro 0x00002ecc 0x51 build/startup.o .debug_line 0x00000000 0x3ee .debug_line 0x00000000 0x116 build/gpio.o .debug_line 0x00000116 0x1ee build/main.o .debug_line 0x00000304 0xea build/startup.o .debug_str 0x00000000 0x5d86 .debug_str 0x00000000 0x5372 build/gpio.o 0x551a (size before relaxing) .debug_str 0x00005372 0x98c build/main.o 0x5e56 (size before relaxing) .debug_str 0x00005cfe 0x88 build/startup.o 0x3cdf (size before relaxing) .comment 0x00000000 0x45 .comment 0x00000000 0x45 build/gpio.o 0x46 (size before relaxing) .comment 0x00000045 0x46 build/main.o .comment 0x00000045 0x46 build/startup.o .ARM.attributes 0x00000000 0x34 .ARM.attributes 0x00000000 0x34 build/gpio.o .ARM.attributes 0x00000034 0x34 build/main.o .ARM.attributes 0x00000068 0x34 build/startup.o .debug_line_str 0x00000000 0x273 .debug_line_str 0x00000000 0x24e build/gpio.o 0x260 (size before relaxing) .debug_line_str 0x0000024e 0x1b build/main.o 0x274 (size before relaxing) .debug_line_str 0x00000269 0xa build/startup.o 0x21b (size before relaxing) .debug_frame 0x00000000 0x144 .debug_frame 0x00000000 0x60 build/gpio.o .debug_frame 0x00000060 0x78 build/main.o .debug_frame 0x000000d8 0x6c build/startup.o