Exception Tables

You need exception tables only for C++ code. To create one, add the EXCEPTION command at the end of your code section, The following listing is an example.

The program identifies the two symbols __exception_table_start__ and __exception_table_end__ at runtime.

Listing: Creating an Exception Table

  __exception_table_start__ = .;

  EXCEPTION

  __exception_table_end__ = .;