diff options
author | Nick Clifton <nickc@redhat.com> | 2015-04-08 10:04:12 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-04-08 10:06:14 +0100 |
commit | 5b8fb10d65871174e7b2ae45a3cd7c43c7a6a1f3 (patch) | |
tree | 8c8878f7a7266d551531adc63956495dd299c30a | |
parent | 0f4510230a14ffe3c941e7f17f12a9bb89383383 (diff) | |
download | cygnal-5b8fb10d65871174e7b2ae45a3cd7c43c7a6a1f3.tar.gz cygnal-5b8fb10d65871174e7b2ae45a3cd7c43c7a6a1f3.tar.bz2 cygnal-5b8fb10d65871174e7b2ae45a3cd7c43c7a6a1f3.zip |
Add .note and DWARF3 sections to RX linker scripts.
* rx/rx.ld: Add .note and DWARF3 sections.
* rx/rx-sim.ld: Likewise.
-rw-r--r-- | libgloss/ChangeLog | 5 | ||||
-rw-r--r-- | libgloss/rx/rx-sim.ld | 6 | ||||
-rw-r--r-- | libgloss/rx/rx.ld | 6 |
3 files changed, 17 insertions, 0 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index d2678d16a..fc3674ebc 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,8 @@ +2015-04-08 Nick Clifton <nickc@redhat.com> + + * rx/rx.ld: Add .note and DWARF3 sections. + * rx/rx-sim.ld: Likewise. + 2015-04-07 Nick Clifton <nickc@redhat.com> * rl78/rl78.ld (.csstart): Add a KEEP directive. diff --git a/libgloss/rx/rx-sim.ld b/libgloss/rx/rx-sim.ld index 4acc6cb87..b5802c511 100644 --- a/libgloss/rx/rx-sim.ld +++ b/libgloss/rx/rx-sim.ld @@ -188,6 +188,7 @@ SECTIONS } /* The rest are all not normally part of the runtime image. */ + .note : { *(.note) } /* Stabs debugging sections. */ .stab 0 : { *(.stab) } @@ -222,5 +223,10 @@ SECTIONS .debug_funcnames 0 : { *(.debug_funcnames) } .debug_typenames 0 : { *(.debug_typenames) } .debug_varnames 0 : { *(.debug_varnames) } + /* DWARF 3 */ + .debug_pubtypes 0 : { *(.debug_pubtypes) } + .debug_ranges 0 : { *(.debug_ranges) } + /* DWARF Extension. */ + .debug_macro 0 : { *(.debug_macro) } /DISCARD/ : { *(.note.GNU-stack) } } diff --git a/libgloss/rx/rx.ld b/libgloss/rx/rx.ld index 7aa263acc..f56fe01ea 100644 --- a/libgloss/rx/rx.ld +++ b/libgloss/rx/rx.ld @@ -192,6 +192,7 @@ SECTIONS } /* The rest are all not normally part of the runtime image. */ + .note : { *(.note) } /* Stabs debugging sections. */ .stab 0 : { *(.stab) } @@ -226,5 +227,10 @@ SECTIONS .debug_funcnames 0 : { *(.debug_funcnames) } .debug_typenames 0 : { *(.debug_typenames) } .debug_varnames 0 : { *(.debug_varnames) } + /* DWARF 3 */ + .debug_pubtypes 0 : { *(.debug_pubtypes) } + .debug_ranges 0 : { *(.debug_ranges) } + /* DWARF Extension. */ + .debug_macro 0 : { *(.debug_macro) } /DISCARD/ : { *(.note.GNU-stack) } } |