'__exidx_start' and '__exidx_end', what do they do?

Hello, I have a linker script in which I found this code " __exidx_start = .;" that sets the label value to the location counter value " .". This label is not used anywhere inside the same script builder.

There is a similar label defined by a few lines below the first, and it is defined in the same way as " __exidx_end = .;".

These two labels are section boundaries .textand .rodata, but I don’t know why anyone can define these two if they are not used in the script linker?

+5
source share
1 answer

script, gcc. , :

.../gcc/config/arm/unwind-arm.c:614: undefined reference to `__exidx_start'
.../gcc/config/arm/unwind-arm.c:614: undefined reference to `__exidx_end'
+2

All Articles