~ubuntu-branches/ubuntu/trusty/qemu/trusty

« back to all changes in this revision

Viewing changes to include/elf.h

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn
  • Date: 2013-10-22 22:47:07 UTC
  • mfrom: (1.8.3) (10.1.42 sid)
  • Revision ID: package-import@ubuntu.com-20131022224707-1lya34fw3k3f24tv
Tags: 1.6.0+dfsg-2ubuntu1
* Merge 1.6.0~rc0+dfsg-2exp from debian experimental.  Remaining changes:
  - debian/control
    * update maintainer
    * remove libiscsi, usb-redir, vde, vnc-jpeg, and libssh2-1-dev
      from build-deps
    * enable rbd
    * add qemu-system and qemu-common B/R to qemu-keymaps
    * add D:udev, R:qemu, R:qemu-common and B:qemu-common to
      qemu-system-common
    * qemu-system-arm, qemu-system-ppc, qemu-system-sparc:
      - add qemu-kvm to Provides
      - add qemu-common, qemu-kvm, kvm to B/R
      - remove openbios-sparc from qemu-system-sparc D
      - drop openbios-ppc and openhackware Depends to Suggests (for now)
    * qemu-system-x86:
      - add qemu-common to Breaks/Replaces.
      - add cpu-checker to Recommends.
    * qemu-user: add B/R:qemu-kvm
    * qemu-kvm:
      - add armhf armel powerpc sparc to Architecture
      - C/R/P: qemu-kvm-spice
    * add qemu-common package
    * drop qemu-slof which is not packaged in ubuntu
  - add qemu-system-common.links for tap ifup/down scripts and OVMF link.
  - qemu-system-x86.links:
    * remove pxe rom links which are in kvm-ipxe
    * add symlink for kvm.1 manpage
  - debian/rules
    * add kvm-spice symlink to qemu-kvm
    * call dh_installmodules for qemu-system-x86
    * update dh_installinit to install upstart script
    * run dh_installman (Closes: #709241) (cherrypicked from 1.5.0+dfsg-2)
  - Add qemu-utils.links for kvm-* symlinks.
  - Add qemu-system-x86.qemu-kvm.upstart and .default
  - Add qemu-system-x86.modprobe to set nesting=1
  - Add qemu-system-common.preinst to add kvm group
  - qemu-system-common.postinst: remove bad group acl if there, then have
    udev relabel /dev/kvm.
  - New linaro patches from qemu-linaro rebasing branch
  - Dropped patches:
    * xen-simplify-xen_enabled.patch
    * sparc-linux-user-fix-missing-symbols-in-.rel-.rela.plt-sections.patch
    * main_loop-do-not-set-nonblocking-if-xen_enabled.patch
    * xen_machine_pv-do-not-create-a-dummy-CPU-in-machine-.patch
    * virtio-rng-fix-crash
  - Kept patches:
    * expose_vms_qemu64cpu.patch - updated
    * linaro arm patches from qemu-linaro rebasing branch
  - New patches:
    * fix-pci-add: change CONFIG variable in ifdef to make sure that
      pci_add is defined.
* Add linaro patches
* Add experimental mach-virt patches for arm virtualization.
* qemu-system-common.install: add debian/tmp/usr/lib to install the
  qemu-bridge-helper

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
 
130
130
#define EM_XTENSA   94      /* Tensilica Xtensa */
131
131
 
 
132
#define EM_AARCH64  183
 
133
 
132
134
/* This is the info that is needed to parse the dynamic section of the file */
133
135
#define DT_NULL         0
134
136
#define DT_NEEDED       1
616
618
/* Keep this the last entry.  */
617
619
#define R_ARM_NUM               256
618
620
 
 
621
/* ARM Aarch64 relocation types */
 
622
#define R_AARCH64_NONE                256 /* also accepts R_ARM_NONE (0) */
 
623
/* static data relocations */
 
624
#define R_AARCH64_ABS64               257
 
625
#define R_AARCH64_ABS32               258
 
626
#define R_AARCH64_ABS16               259
 
627
#define R_AARCH64_PREL64              260
 
628
#define R_AARCH64_PREL32              261
 
629
#define R_AARCH64_PREL16              262
 
630
/* static aarch64 group relocations */
 
631
/* group relocs to create unsigned data value or address inline */
 
632
#define R_AARCH64_MOVW_UABS_G0        263
 
633
#define R_AARCH64_MOVW_UABS_G0_NC     264
 
634
#define R_AARCH64_MOVW_UABS_G1        265
 
635
#define R_AARCH64_MOVW_UABS_G1_NC     266
 
636
#define R_AARCH64_MOVW_UABS_G2        267
 
637
#define R_AARCH64_MOVW_UABS_G2_NC     268
 
638
#define R_AARCH64_MOVW_UABS_G3        269
 
639
/* group relocs to create signed data or offset value inline */
 
640
#define R_AARCH64_MOVW_SABS_G0        270
 
641
#define R_AARCH64_MOVW_SABS_G1        271
 
642
#define R_AARCH64_MOVW_SABS_G2        272
 
643
/* relocs to generate 19, 21, and 33 bit PC-relative addresses */
 
644
#define R_AARCH64_LD_PREL_LO19        273
 
645
#define R_AARCH64_ADR_PREL_LO21       274
 
646
#define R_AARCH64_ADR_PREL_PG_HI21    275
 
647
#define R_AARCH64_ADR_PREL_PG_HI21_NC 276
 
648
#define R_AARCH64_ADD_ABS_LO12_NC     277
 
649
#define R_AARCH64_LDST8_ABS_LO12_NC   278
 
650
#define R_AARCH64_LDST16_ABS_LO12_NC  284
 
651
#define R_AARCH64_LDST32_ABS_LO12_NC  285
 
652
#define R_AARCH64_LDST64_ABS_LO12_NC  286
 
653
#define R_AARCH64_LDST128_ABS_LO12_NC 299
 
654
/* relocs for control-flow - all offsets as multiple of 4 */
 
655
#define R_AARCH64_TSTBR14             279
 
656
#define R_AARCH64_CONDBR19            280
 
657
#define R_AARCH64_JUMP26              282
 
658
#define R_AARCH64_CALL26              283
 
659
/* group relocs to create pc-relative offset inline */
 
660
#define R_AARCH64_MOVW_PREL_G0        287
 
661
#define R_AARCH64_MOVW_PREL_G0_NC     288
 
662
#define R_AARCH64_MOVW_PREL_G1        289
 
663
#define R_AARCH64_MOVW_PREL_G1_NC     290
 
664
#define R_AARCH64_MOVW_PREL_G2        291
 
665
#define R_AARCH64_MOVW_PREL_G2_NC     292
 
666
#define R_AARCH64_MOVW_PREL_G3        293
 
667
/* group relocs to create a GOT-relative offset inline */
 
668
#define R_AARCH64_MOVW_GOTOFF_G0      300
 
669
#define R_AARCH64_MOVW_GOTOFF_G0_NC   301
 
670
#define R_AARCH64_MOVW_GOTOFF_G1      302
 
671
#define R_AARCH64_MOVW_GOTOFF_G1_NC   303
 
672
#define R_AARCH64_MOVW_GOTOFF_G2      304
 
673
#define R_AARCH64_MOVW_GOTOFF_G2_NC   305
 
674
#define R_AARCH64_MOVW_GOTOFF_G3      306
 
675
/* GOT-relative data relocs */
 
676
#define R_AARCH64_GOTREL64            307
 
677
#define R_AARCH64_GOTREL32            308
 
678
/* GOT-relative instr relocs */
 
679
#define R_AARCH64_GOT_LD_PREL19       309
 
680
#define R_AARCH64_LD64_GOTOFF_LO15    310
 
681
#define R_AARCH64_ADR_GOT_PAGE        311
 
682
#define R_AARCH64_LD64_GOT_LO12_NC    312
 
683
#define R_AARCH64_LD64_GOTPAGE_LO15   313
 
684
/* General Dynamic TLS relocations */
 
685
#define R_AARCH64_TLSGD_ADR_PREL21            512
 
686
#define R_AARCH64_TLSGD_ADR_PAGE21            513
 
687
#define R_AARCH64_TLSGD_ADD_LO12_NC           514
 
688
#define R_AARCH64_TLSGD_MOVW_G1               515
 
689
#define R_AARCH64_TLSGD_MOVW_G0_NC            516
 
690
/* Local Dynamic TLS relocations */
 
691
#define R_AARCH64_TLSLD_ADR_PREL21            517
 
692
#define R_AARCH64_TLSLD_ADR_PAGE21            518
 
693
#define R_AARCH64_TLSLD_ADD_LO12_NC           519
 
694
#define R_AARCH64_TLSLD_MOVW_G1               520
 
695
#define R_AARCH64_TLSLD_MOVW_G0_NC            521
 
696
#define R_AARCH64_TLSLD_LD_PREL19             522
 
697
#define R_AARCH64_TLSLD_MOVW_DTPREL_G2        523
 
698
#define R_AARCH64_TLSLD_MOVW_DTPREL_G1        524
 
699
#define R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC     525
 
700
#define R_AARCH64_TLSLD_MOVW_DTPREL_G0        526
 
701
#define R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC     527
 
702
#define R_AARCH64_TLSLD_ADD_DTPREL_HI12       528
 
703
#define R_AARCH64_TLSLD_ADD_DTPREL_LO12       529
 
704
#define R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC    530
 
705
#define R_AARCH64_TLSLD_LDST8_DTPREL_LO12     531
 
706
#define R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC  532
 
707
#define R_AARCH64_TLSLD_LDST16_DTPREL_LO12    533
 
708
#define R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC 534
 
709
#define R_AARCH64_TLSLD_LDST32_DTPREL_LO12    535
 
710
#define R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC 536
 
711
#define R_AARCH64_TLSLD_LDST64_DTPREL_LO12    537
 
712
#define R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC 538
 
713
/* initial exec TLS relocations */
 
714
#define R_AARCH64_TLSIE_MOVW_GOTTPREL_G1      539
 
715
#define R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC   540
 
716
#define R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21   541
 
717
#define R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC 542
 
718
#define R_AARCH64_TLSIE_LD_GOTTPREL_PREL19    543
 
719
/* local exec TLS relocations */
 
720
#define R_AARCH64_TLSLE_MOVW_TPREL_G2         544
 
721
#define R_AARCH64_TLSLE_MOVW_TPREL_G1         545
 
722
#define R_AARCH64_TLSLE_MOVW_TPREL_G1_NC      546
 
723
#define R_AARCH64_TLSLE_MOVW_TPREL_G0         547
 
724
#define R_AARCH64_TLSLE_MOVW_TPREL_G0_NC      548
 
725
#define R_AARCH64_TLSLE_ADD_TPREL_HI12        549
 
726
#define R_AARCH64_TLSLE_ADD_TPREL_LO12        550
 
727
#define R_AARCH64_TLSLE_ADD_TPREL_LO12_NC     551
 
728
#define R_AARCH64_TLSLE_LDST8_TPREL_LO12      552
 
729
#define R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC   553
 
730
#define R_AARCH64_TLSLE_LDST16_TPREL_LO12     554
 
731
#define R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC  555
 
732
#define R_AARCH64_TLSLE_LDST32_TPREL_LO12     556
 
733
#define R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC  557
 
734
#define R_AARCH64_TLSLE_LDST64_TPREL_LO12     558
 
735
#define R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC  559
 
736
/* Dynamic Relocations */
 
737
#define R_AARCH64_COPY         1024
 
738
#define R_AARCH64_GLOB_DAT     1025
 
739
#define R_AARCH64_JUMP_SLOT    1026
 
740
#define R_AARCH64_RELATIVE     1027
 
741
#define R_AARCH64_TLS_DTPREL64 1028
 
742
#define R_AARCH64_TLS_DTPMOD64 1029
 
743
#define R_AARCH64_TLS_TPREL64  1030
 
744
#define R_AARCH64_TLS_DTPREL32 1031
 
745
#define R_AARCH64_TLS_DTPMOD32 1032
 
746
#define R_AARCH64_TLS_TPREL32  1033
 
747
 
619
748
/* s390 relocations defined by the ABIs */
620
749
#define R_390_NONE              0       /* No reloc.  */
621
750
#define R_390_8                 1       /* Direct 8 bit.  */
1219
1348
 
1220
1349
/* Notes used in ET_CORE */
1221
1350
#define NT_PRSTATUS     1
 
1351
#define NT_FPREGSET     2
1222
1352
#define NT_PRFPREG      2
1223
1353
#define NT_PRPSINFO     3
1224
1354
#define NT_TASKSTRUCT   4
1225
1355
#define NT_AUXV         6
1226
1356
#define NT_PRXFPREG     0x46e62b7f      /* copied from gdb5.1/include/elf/common.h */
 
1357
#define NT_S390_PREFIX  0x305           /* s390 prefix register */
 
1358
#define NT_S390_CTRS    0x304           /* s390 control registers */
 
1359
#define NT_S390_TODPREG 0x303           /* s390 TOD programmable register */
 
1360
#define NT_S390_TODCMP  0x302           /* s390 TOD clock comparator register */
 
1361
#define NT_S390_TIMER   0x301           /* s390 timer register */
1227
1362
 
1228
1363
 
1229
1364
/* Note header in a PT_NOTE section */