PR ld/12759
authorNick Clifton <nickc@redhat.com>
Tue, 17 May 2011 16:02:31 +0000 (16:02 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 17 May 2011 16:02:31 +0000 (16:02 +0000)
commit84bff83f799013476b466a24f8eb639dc4e16a77
tree3c1b7ca0f9dedbe4b38c62adccef85d36c395bde
parent393eab54507ddd97a857a97ab8d3300ad63edb9c
PR ld/12759
* emultempl/rxelf.em (ignore_lma): New variable.
(rx_elf_create_output_section_statements): Pass the setiing of
ignore_lma to bfd_elf32_rx_set_target_flags.
(OPTION_IGNORE_LMA): Define.
(OPTION_NO_IGNORE_LMA): Define.
(PARSE_AND_LIST_LONGOPTS): Add ignore lma.
(PARSE_AND_LIST_OPTIONS): Add ignore lma.
(PARSE_AND_LIST_ARGS_CASES): Add ignore lma.

* elf32-rx.c (ignore_lma): New variable.
(bfd_elf32_rx_set_target_flags): Add ignore_lma parameter.
(rx_modify_program_headers): Only copy the LMA into the VMA if
ignore_lma is true.
bfd/ChangeLog
bfd/elf32-rx.c
ld/ChangeLog
ld/emultempl/rxelf.em